Go to the source code of this file.
Initialize the session 
Definition at line 20 of file NHitsPerEvent.C.
References f, gHitPoints, gProjections, h1Sorted, h1Unsorted, h1UnsortedDL, h1UnsortedTL, mg, mvdHitArray, mvdProjectedArray, mvdSorted, mvdUnsorted, t, and trackArray.
Referenced by NHitsPerEvent(), TimeStructure(), and TrackPointsVis().
   22         TFile* 
f = 
new TFile(
"2014-10-27-00-06-02_50_MHz_Filtered_PosCorrected_Event.root", 
"READ");
 
   23         t = (TTree*)f->Get(
"pndsim");
 
   29         t->SetBranchAddress(
"MVDHitsPixelPosCorrected", &
mvdHitArray);
 
TClonesArray * mvdHitArray
 
 
 
      
        
          | output open | ( | "par.root" | , | 
        
          |  |  | "RECREATE" |  | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | Cave SetGeometryFileName | ( | "pndcave.geo" |  | ) |  | 
      
 
 
      
        
          | fRun SetMaterials | ( | "media_pnd.geo" |  | ) |  | 
      
 
 
      
        
          | fRun SetOutputFile | ( | "dummysim.root" |  | ) |  | 
      
 
 
      
        
          | FairModule* Cave = new PndCave("CAVE") | 
      
 
 
      
        
          | FairRunSim* fRun = new FairRunSim() | 
      
 
 
      
        
          | Bool_t kParameterMerged =kTRUE | 
      
 
 
      
        
          | FairPrimaryGenerator* primGen = new FairPrimaryGenerator() | 
      
 
 
      
        
          | FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |