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 |
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.
Definition at line 41 of file dumpEventsToText.py.
Referenced by tensorflow::TFHandler.Predict(), tensorflow::TensorflowHandler.Predict(), SimpleModel.predict(), lem::MakeMatches.produce(), lem::FindMatchesTranspose.produce(), lem::FindLEMMatches.produce(), lem::MakePID.produce(), lem::LEM.produce(), and lem::LEMClient.produce().
dumpEventsToText.numEntries = tree.GetEntries() |
Definition at line 29 of file dumpEventsToText.py.
Referenced by fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentEnergyDistributionDifferentAngles(), and fragmentYields().
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 binningResolution(), CLAShower(), effPurityStudies(), estimate_energy(), FD_ADA_B(), TMVAClassification(), and TrainingSA().
list dumpEventsToText.outputs = ["0"]*numOutputs |
Definition at line 43 of file dumpEventsToText.py.
Referenced by ana.MakeTextListFile(), tensorflow::TFHandler.Predict(), and tensorflow::TensorflowHandler.Predict().
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.