Go to the documentation of this file.
178 if (
tree ==
nullptr) {
179 std::cout <<
"sim::sim: tree = 0" << std::endl;
180 TFile *
f = (TFile *)gROOT->GetListOfFiles()->FindObject(
"protons_150gev.root");
182 f =
new TFile(
"protons_150gev.root");
184 tree = (TTree *)gDirectory->Get(
"sim");
193 delete fChain->GetCurrentFile();
204 std::cout <<
"sim::LoadTree: " << std::endl;
216 TChain *chain = (TChain *)
fChain;
217 if (chain->GetTreeNumber() !=
fCurrent) {
333 #endif // #ifdef sim_cxx
TBranch * b_long_nCharged
ULong64_t long_nMuons[kMaxlong]
TBranch * b_shower_EventID
Int_t shower_RandomSeed[10]
UInt_t particle__fBits[kMaxparticle_]
Int_t shower_nParticlesWritten
TBranch * b_cerenkov_ProductionHeight
TBranch * b_particle__fUniqueID
TBranch * b_particle__HadronicGeneration
Float_t shower_nElectrons
Int_t particle__HadronicGeneration[kMaxparticle_]
UInt_t cerenkov_fBits[kMaxcerenkov]
virtual void Init(TTree *tree)
ULong64_t long_nPositrons[kMaxlong]
UInt_t cerenkov_fUniqueID[kMaxcerenkov]
TBranch * b_shower_nPreshower
Float_t cerenkov_nPhotons[kMaxcerenkov]
Int_t shower_nMuonsWritten
TBranch * b_shower_GH_tmax
ULong64_t long_nAntiMuons[kMaxlong]
TBranch * b_shower_nElectronsWritten
Float_t cerenkov_Weight[kMaxcerenkov]
UInt_t long_fUniqueID[kMaxlong]
virtual void Show(Long64_t entry=-1)
Float_t cerenkov_ProductionHeight[kMaxcerenkov]
TBranch * b_shower_TObject_fBits
TBranch * b_cerenkov_fUniqueID
Float_t cerenkov_Time[kMaxcerenkov]
ULong64_t long_nGammas[kMaxlong]
TBranch * b_cerenkov_fBits
virtual Int_t Cut(Long64_t entry)
Double_t particle__Pz[kMaxparticle_]
UInt_t shower_TObject_fBits
TBranch * b_long_nHadrons
Int_t shower_nHadronsWritten
Int_t fCurrent
pointer to the analyzed TTree or TChain
TBranch * b_shower_nHadrons
TBranch * b_shower_GH_Nmax
UInt_t particle__fUniqueID[kMaxparticle_]
Double_t particle__y[kMaxparticle_]
virtual Int_t GetEntry(Long64_t entry)
ULong64_t long_nCharged[kMaxlong]
TBranch * b_shower_FirstTarget
TBranch * b_shower_CPUtime
TBranch * b_cerenkov_Weight
TBranch * b_long_fUniqueID
TBranch * b_shower_nPhotonsWritten
Int_t shower_nPhotonsWritten
Double_t particle__Px[kMaxparticle_]
Int_t shower_RandomOffset[10]
Float_t shower_StartingAltitude
virtual Long64_t LoadTree(Long64_t entry)
TBranch * b_long_nElectrons
Float_t cerenkov_u[kMaxcerenkov]
Double_t particle__Weight[kMaxparticle_]
TBranch * b_shower_RandomSeed
Double_t particle__x[kMaxparticle_]
TBranch * b_long_nCerenkov
TBranch * b_shower_StartingAltitude
TBranch * b_shower_nParticlesWritten
Double_t particle__Time[kMaxparticle_]
UInt_t shower_TObject_fUniqueID
current Tree number in a TChain
TBranch * b_long_nAntiMuons
TBranch * b_shower_nHadronsWritten
TBranch * b_shower_GH_Chi2
Float_t shower_FirstHeight
TBranch * b_cerenkov_Time
ULong64_t long_nElectrons[kMaxlong]
UInt_t long_fBits[kMaxlong]
Float_t long_Depth[kMaxlong]
Float_t cerenkov_x[kMaxcerenkov]
ULong64_t long_nHadrons[kMaxlong]
TBranch * b_particle__fBits
Double_t particle__Py[kMaxparticle_]
Float_t cerenkov_v[kMaxcerenkov]
TBranch * b_long_nPositrons
Int_t shower_nElectronsWritten
TBranch * b_shower_nMuons
TBranch * b_shower_Energy
TBranch * b_shower_nMuonsWritten
TBranch * b_particle__ParticleID
TBranch * b_shower_nElectrons
ULong64_t long_nCerenkov[kMaxlong]
TBranch * b_shower_FirstHeight
TBranch * b_particle__Weight
TBranch * b_shower_TObject_fUniqueID
TBranch * b_cerenkov_nPhotons
Float_t cerenkov_y[kMaxcerenkov]
TBranch * b_particle__Time
const Int_t kMaxparticle_
Int_t particle__ParticleID[kMaxparticle_]
TBranch * b_shower_RandomOffset
TBranch * b_shower_nPhotons
ULong64_t long_nNuclei[kMaxlong]
TBranch * b_particle__ObservationLevel
Int_t particle__ObservationLevel[kMaxparticle_]