Skip to content

A small collection root scripts for user convenience.

Notifications You must be signed in to change notification settings

abhi-mal/SimpleRootTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleRootTools

Example usage to create a root file from an ASCII file with white space separated data:

root -q -l readASCIINTuple\('"file.dat"'\)

The first row of input file is expected to contain white space separated variable names.

Example usage to create png plot dump of all leaves of all trees in a root file:

root -q -l dumpPlots.C\('"JetAnalyzer-DYJetsToLL.root"'\)

Example usage to create png plot comparison of all leaves of all trees in root file:

root -q -l comparisonPlots.C\('"JetAnalyzer-DYJetsToLL.root"','"JetAnalyzer-WprimeToTauNu.root"'\)

For comparisonPlots.C both root files should have the same structure, same trees and same variables.

Above scripts assume that there are no subdirectories. It should be easy to generalize the case. If you help clean that part up, please feel free to make a pull request.

About

A small collection root scripts for user convenience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%