3 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
    4         gSystem->Load(
"libriemann.C");
 
   11         TString TrackFFile = 
creator.GetTrackFindingFileName(
false).c_str();
 
   15         TFile* fReco = 
new TFile(RecoFile.Data());
 
   18         TTree* 
t = (TTree*)(fReco->Get(
"pndsim"));
 
   22         TClonesArray* PixReco = 
new TClonesArray(
"PndSdsHit");
 
   23         TClonesArray* StripReco = 
new TClonesArray(
"PndSdsHit");
 
   25         t->SetBranchAddress(
"MVDHitsPixel", &PixReco);
 
   26         t->SetBranchAddress(
"MVDHitsStrip", &StripReco);
 
   30         for (
int l = 0; l < PixReco->GetEntriesFast(); l++)
 
   34                 myPixHit->Position(hit);
 
   35                 h2.Fill(hit.Theta(), hit.Phi());
 
   36                 std::cout << 
"Pixel " << l << 
" : ";
 
   38                 std::cout << 
"Theta: " << hit.Theta() << 
" Phi: " << hit.Phi() << std::endl;
 
   42         for (
int l = 0; l < StripReco->GetEntriesFast(); l++)
 
   46                 myStripHit->Position(striphit);
 
   47                 h2.Fill(striphit.Theta(), striphit.Phi());
 
   48                 std::cout << 
"Strip " << l << 
" : ";
 
   50                 std::cout << 
"Theta: " << striphit.Theta() << 
" Phi: " << striphit.Phi() << std::endl;
 
   52         gStyle->SetPalette(1);
 
A simple class which adds the corresponding file extensions to a given base class. 
PndMvdCreateDefaultApvMap * creator
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)