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