Go to the source code of this file.
|
| TFile * | f = new TFile("DpmSimu1000.root") |
| |
| TTree * | t =f->Get("pndsim") |
| |
| TClonesArray * | fT =new TClonesArray("PndEnDrcPoint") |
| |
| PndEnDrcPoint * | edp |
| |
| fstream | hitsfile |
| |
| cout<<"will loop over "<<t-> GetEntries |
( |
| ) |
|
Definition at line 17 of file root2ascii.C.
References Double_t, i, and point.
Referenced by benchmark(), PndMvdDigiEventAna::CreateMaxHitsHisto(), emc_correction_hist(), emc_correction_parametrization(), PndFtsHoughSpace::FindAllPeaksBinsWoMergingWithSearchWindow(), PndFtsHoughSpace::FindAllPeaksBlanko(), PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins(), PndFtsHoughSpace::FindAllPeaksScanPathsMergeBinsCalculatingPaths(), PndFtsHoughSpace::FindAllPeaksWithTSpectrum2(), PndGemFindHitsQA::Finish(), and PndDiscNoiseGeneration::GetNextNoiseDigit().
22 cout<<
"will loop over "<<
fT->GetEntries()<<
" tracks for event "<<
i<<endl;
23 for (Int_t j=0; j<
fT->GetEntries(); j++){
25 edp=
static_cast<PndEnDrcPoint*
>(
fT->At(j));
| gSystem Load |
( |
"libGeoBase" |
| ) |
|
| gSystem Load |
( |
"libParBase" |
| ) |
|
| gSystem Load |
( |
"libBase" |
| ) |
|
| gSystem Load |
( |
"libEnDrc" |
| ) |
|
| t SetBranchAddress |
( |
"EnDrcTrue" |
, |
|
|
& |
fT |
|
) |
| |
| TFile* f = new TFile("DpmSimu1000.root") |
| TClonesArray* fT =new TClonesArray("PndEnDrcPoint") |
| TTree* t =f->Get("pndsim") |