|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef validateDigitization_h
9 #define validateDigitization_h
219 virtual void Loop(Long64_t maxEvent);
225 void computeDistFromHit(TVector3 &myVect, TVector3 &myVectRef, Double_t &distXY, Double_t &distRZ, Double_t &distZ);
230 #ifdef validateDigitization_cxx
235 std::cout <<
"::validateDigitization init pointer to tree - now still NULL" << std::endl;
236 std::string inputFileName =
"/afs/cern.ch/work/s/stefspa/RPCntuple_GeantinoHits_test125k_condRun00281411.root";
244 std::string histoPathName = inputFileName +
":/RPCvalidNT";
245 std::cout <<
"::validateDigitization - using file: " << inputFileName << std::endl;
246 TFile *
f = (TFile *)gROOT->GetListOfFiles()->FindObject(inputFileName.c_str());
247 if (!
f || !
f->IsOpen()) {
f =
new TFile(inputFileName.c_str()); }
248 TDirectory *
dir = (TDirectory *)
f->Get(histoPathName.c_str());
251 std::cout <<
"::validateDigitization init pointer to tree - now is " << (Long64_t)
tree << std::endl;
259 delete fChain->GetCurrentFile();
271 if (centry < 0)
return centry;
288 std::cout <<
"::Init " << std::endl;
292 std::cout <<
" trying to init chain with the pointer to the tree ... NULL" << std::endl;
295 std::cout <<
"init chain with the pointer to the tree ... " << std::endl;
417 #endif // #ifdef validateDigitization_cxx
Float_t rpc_simhit_localx[10000]
Int_t rpc_rdo_threshold[10000]
TBranch * b_rpc_digit_time
Int_t rpc_simhit_phi[10000]
TBranch * b_rpc_simhit_globaly
Int_t rpc_digit_strip[10000]
TBranch * b_rpc_NdigitColl
Float_t rpc_prd_stripx[10000]
Int_t rpc_pad_lvl1id[100]
Int_t rpc_digit_doublphi[10000]
validateDigitization(TTree *tree=0)
TBranch * b_rpc_digit_doublphi
Float_t rpc_simhit_globalx[10000]
TBranch * b_rpc_prd_stripx
void computeDistFromPart(TVector3 &myVect, Double_t &distXY, Double_t &distRZ, Double_t &distZ)
Float_t rpc_digit_stripx[10000]
Int_t rpc_simhit_gasgap[10000]
Int_t rpc_pad_status[100]
Int_t rpc_rdo_padId[10000]
TBranch * b_rpc_rdo_errcode
Int_t fCurrent
pointer to the analyzed TTree or TChain
Float_t rpc_simhit_trackNumber[10000]
Int_t rpc_rdo_overlap[10000]
virtual void Loop(Long64_t maxEvent)
void computeDistFromHit(TVector3 &myVect, TVector3 &myVectRef, Double_t &distXY, Double_t &distRZ, Double_t &distZ)
TBranch * b_rpc_prd_doublphi
TBranch * b_rpc_rdo_ticks
Int_t rpc_prd_measphi[10000]
virtual Bool_t Notify() final
TBranch * b_rpc_simhit_doublr
TBranch * b_rpc_digit_measphi
TBranch * b_rpc_prd_doublz
TBranch * b_rpc_simhit_localx
Int_t rpc_rdo_bcId[10000]
TBranch * b_rpc_pad_status
TBranch * b_rpc_rdo_status
Float_t rpc_simhit_localz[10000]
Int_t rpc_prd_doublz[10000]
Int_t rpc_rdo_errcode[10000]
TBranch * b_rpc_rdo_padId
TBranch * b_rpc_simhit_gasgap
TBranch * b_rpc_rdo_fel1Id
Float_t rpc_prd_triggerInfo[10000]
Float_t rpc_simhit_time[10000]
Float_t rpc_simhit_localy[10000]
TBranch * b_rpc_prd_station
TBranch * b_rpc_simhit_localz
TBranch * b_rpc_pad_lvl1id
TBranch * b_rpc_digit_gasgap
Int_t rpc_simhit_measphi[10000]
Float_t rpc_simhit_energyDep[10000]
TBranch * b_rpc_simhit_phi
TBranch * b_rpc_digit_doublr
TBranch * b_rpc_prd_strip
TBranch * b_rpc_prd_triggerInfo
TBranch * b_rpc_simhit_stepLen
Int_t rpc_rdo_sector[10000]
virtual Long64_t LoadTree(Long64_t entry)
Int_t rpc_rdo_fel1Id[10000]
Int_t rpc_simhit_doublr[10000]
TBranch * b_rpc_pad_sectorid
Float_t rpc_simhit_stepLen[10000]
Float_t rpc_prd_time[10000]
TBranch * b_rpc_digit_station
TBranch * b_rpc_rdo_cmaId
TBranch * b_rpc_simhit_eta
virtual Int_t GetEntry(Long64_t entry)
Int_t rpc_digit_station[10000]
Int_t rpc_rdo_cmaId[10000]
Float_t rpc_prd_ambigFlag[10000]
TBranch * b_rpc_prd_ambigFlag
Int_t rpc_simhit_pdgId[10000]
TBranch * b_rpc_simhit_measphi
TBranch * b_rpc_digit_stripx
TBranch * b_rpc_digit_stripy
TBranch * b_rpc_rdo_threshold
TBranch * b_rpc_prd_stripz
TBranch * b_rpc_digit_eta
Int_t rpc_prd_gasgap[10000]
Int_t rpc_simhit_doublphi[10000]
Int_t Run
current Tree number in a TChain
Int_t rpc_simhit_doublz[10000]
Int_t rpc_prd_doublr[10000]
TBranch * b_rpc_prd_doublr
TBranch * b_rpc_prd_measphi
TBranch * b_rpc_simhit_time
TBranch * b_rpc_simhit_globalx
Int_t rpc_digit_phi[10000]
TBranch * b_rpc_simhit_localy
Float_t rpc_prd_stripy[10000]
TBranch * b_rpc_prd_stripy
TBranch * b_rpc_digit_phi
Float_t rpc_simhit_globaly[10000]
Int_t rpc_prd_strip[10000]
Int_t rpc_pad_sectorid[100]
Int_t rpc_prd_station[10000]
TBranch * b_rpc_simhit_trackNumber
TBranch * b_rpc_rdo_cmachan
TBranch * b_rpc_digit_stripz
Float_t rpc_simhit_globalz[10000]
Int_t rpc_rdo_ticks[10000]
TBranch * b_rpc_simhit_pdgId
TBranch * b_rpc_simhit_station
TBranch * b_rpc_simhit_energyDep
Int_t rpc_rdo_febcId[10000]
TBranch * b_rpc_rdo_overlap
Int_t rpc_digit_doublr[10000]
Int_t rpc_rdo_status[10000]
TBranch * b_rpc_simhit_doublphi
Float_t rpc_digit_time[10000]
TBranch * b_rpc_simhit_globalz
TBranch * b_rpc_rdo_sector
Int_t rpc_digit_measphi[10000]
TBranch * b_rpc_pad_error
Float_t rpc_digit_stripz[10000]
Int_t rpc_simhit_eta[10000]
Int_t rpc_digit_gasgap[10000]
Float_t rpc_prd_stripz[10000]
TBranch * b_rpc_rdo_febcId
TBranch * b_rpc_digit_strip
Int_t rpc_simhit_station[10000]
TBranch * b_rpc_simhit_doublz
virtual ~validateDigitization()
Int_t rpc_prd_doublphi[10000]
virtual void Show(Long64_t entry=-1)
Int_t rpc_rdo_cmachan[10000]
TBranch * b_rpc_prd_gasgap
TBranch * b_rpc_simhit_kinEnergy
virtual Int_t Cut(Long64_t entry)
TBranch * b_rpc_digit_doublz
Int_t rpc_digit_doublz[10000]
Int_t rpc_digit_eta[10000]
Float_t rpc_simhit_kinEnergy[10000]
Float_t rpc_digit_stripy[10000]