24#include "RebdsimTypes.hh"
51 bool processSamplersIn =
true,
52 bool allBranchesOn =
true,
53 const RBDS::BranchMap* branchesToTurnOn =
nullptr,
54 bool backwardsCompatibleIn =
true);
76 const RBDS::BranchMap* bToTurnOn =
nullptr);
78 inline int DataVersion()
const {
return dataVersion;}
104 bool processSamplers;
106 const RBDS::BranchMap* branchesToTurnOn;
107 bool backwardsCompatible;
117 std::vector<std::string> fileNames;
118 std::vector<std::string> treeNames;
119 std::vector<std::string> branchNames;
120 std::vector<std::string> samplerNames;
121 std::vector<std::string> samplerCNames;
122 std::vector<std::string> samplerSNames;
123 std::vector<std::string> allSamplerNames;
124 std::vector<std::string> allCSamplerNames;
125 std::vector<std::string> allSSamplerNames;
126 std::vector<std::string> collimatorNames;
Loader for a ROOT file using classes used to generate the file.
std::vector< std::string > GetFileNames()
Accessor.
void SetBranchAddress(bool allOn=true, const RBDS::BranchMap *bToTurnOn=nullptr)
Map each chain to the member instance of each storage class in this class.
void BuildEventBranchNameList()
Event * GetEvent()
Accessor.
std::vector< std::string > GetCollimatorNames()
Accessor.
std::vector< std::string > GetSamplerNames()
Accessor.
std::vector< std::string > GetTreeNames()
Accessor.
Beam * GetBeam()
Accessor.
Header * GetHeader()
Accessor.
ParticleData * GetParticleData()
Accessor.
TChain * GetParticleDataTree()
Accessor.
int dataVersion
Integer version of data loaded.
TChain * GetBeamTree()
Accessor.
void CommonCtor(const std::string &fileName)
TChain * GetOptionsTree()
Accessor.
void BuildTreeNameList()
Open the first file in the file list and map the trees in it.
TChain * GetRunTree()
Accessor.
TChain * GetModelTree()
Accessor.
Options * GetOptions()
Accessor.
void BuildInputFileList(std::string inputPath)
Build up the input file list.
void ChainTrees()
Create a tree for each sampler and add all the files to it.
std::vector< std::string > GetBranchNames()
Accessor.
TChain * GetEventTree()
Accessor.
Model * GetModel()
Accessor.
TChain * GetHeaderTree()
Accessor.
Class to overlay a run from a ROOT file with.