Variables
dumpEventsToText Namespace Reference

Variables

 parser = argparse.ArgumentParser(description='Dump a tree to text.')
 
 type
 
 help
 
 args = parser.parse_args()
 
 infile = args.input
 
 outfileName = infile.replace(".root", ".cvnevents.txt")
 
 outfile = open(outfileName, "w")
 
 rootFile = TFile.Open(infile, "READ")
 
 tree = rootFile.Get("cvndump/CVNTrainTree")
 
 numEntries = tree.GetEntries()
 
 numInputs = None
 
int numOutputs = 11
 
list inputs = [str(pe) for pe in entry.train.fPMap.fPE]
 
list outputs = ["0"]*numOutputs
 

Variable Documentation

dumpEventsToText.args = parser.parse_args()

Definition at line 15 of file dumpEventsToText.py.

dumpEventsToText.help

Definition at line 11 of file dumpEventsToText.py.

dumpEventsToText.infile = args.input

Definition at line 18 of file dumpEventsToText.py.

list dumpEventsToText.inputs = [str(pe) for pe in entry.train.fPMap.fPE]
dumpEventsToText.numEntries = tree.GetEntries()
dumpEventsToText.numInputs = None

Definition at line 30 of file dumpEventsToText.py.

int dumpEventsToText.numOutputs = 11

Definition at line 31 of file dumpEventsToText.py.

dumpEventsToText.outfile = open(outfileName, "w")

Definition at line 22 of file dumpEventsToText.py.

dumpEventsToText.outfileName = infile.replace(".root", ".cvnevents.txt")

Definition at line 20 of file dumpEventsToText.py.

Referenced by CLAShower(), FD_ADA_B(), TMVAClassification(), and TrainingSA().

list dumpEventsToText.outputs = ["0"]*numOutputs
dumpEventsToText.parser = argparse.ArgumentParser(description='Dump a tree to text.')

Definition at line 9 of file dumpEventsToText.py.

dumpEventsToText.rootFile = TFile.Open(infile, "READ")

Definition at line 24 of file dumpEventsToText.py.

Referenced by MakePlots().

dumpEventsToText.tree = rootFile.Get("cvndump/CVNTrainTree")

Definition at line 27 of file dumpEventsToText.py.

dumpEventsToText.type

Definition at line 10 of file dumpEventsToText.py.