5 #ifndef EDepSim_KinemPassThrough_hh 6 #define EDepSim_KinemPassThrough_hh 15 #include "TObjArray.h" 53 namespace EDepSim {
class KinemPassThrough;}
69 const char * inputFileName,
70 const char* generatorName);
74 bool AddEntry(
const TTree * inputTreePtr,
const int origEntry);
char fInputFileTreeName[128]
Used to fill the name of the tree for this file.
TTree * fInputKinemTree
Tree relating all events in the persistent tree to an input file.
std::string fFirstTreeName
Store the first tree name.
TChain * fInputTreeChain
TChain to store input trees.
TreeToInt fFirstEntryMap
for relating input tree to first entry in TChain.
static EDepSim::KinemPassThrough * fKinemPassThrough
Static pointer to singleton instance.
std::vector< std::string > fFileList
Used to store list of files before they are written to tree.
void CleanUp()
Clean up all of the allocated pointers.
void CreateInternalTrees()
double fInputFilePOT
Used to fill input file list tree "filePOT" field.
std::map< const TTree *, int > TreeToInt
for relating input tree pointers to the input file.
std::string SetInputFileName(std::string name)
Set the name of the input file being read.
KinemPassThrough()
Private constructor.
char fInputFileName[1024]
Used to fill input file list tree with input file name.
bool AddEntry(const TTree *inputTreePtr, const int origEntry)
static EDepSim::KinemPassThrough * GetInstance()
Construct a module from components.
TreeToInt fInputTreeMap
for relating input tree pointers to the input file.
TTree * fInputFilesTree
Tree containing list of input files.
bool AddInputTree(const TTree *inputTreePtr, const char *inputFileName, const char *generatorName)
char fInputFileGenerator[128]
Used to fill the name of the generator for this file.
void Init()
Set default values for all fields.
TTree * fPersistentTree
Persistent tree that stores entries from multiple temp trees.