Go to the source code of this file.
|  | 
| FairRunAna * | fRun = new FairRunAna() | 
|  | 
| FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() | 
|  | 
| FairParRootFileIo * | parInput = new FairParRootFileIo() | 
|  | 
| FairParAsciiFileIo * | parOutput2 = new FairParAsciiFileIo() | 
|  | 
      
        
          | fRun AddTask | ( | new | PndTutAccessRTDBTask() | ) |  | 
      
 
 
Initialize the session 
Definition at line 20 of file NHitsPerEvent.C.
   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
 
 
 
      
        
          | gSystem Load | ( | "librtdbtut" |  | ) |  | 
      
 
 
      
        
          | fRun SetInputFile | ( | "dummyana.root" |  | ) |  | 
      
 
 
      
        
          | fRun SetOutputFile | ( | "dummy.root" |  | ) |  | 
      
 
 
      
        
          | FairRunAna* fRun = new FairRunAna() | 
      
 
 
      
        
          | FairParRootFileIo* parInput = new FairParRootFileIo() | 
      
 
 
      
        
          | FairParAsciiFileIo* parOutput2 = new FairParAsciiFileIo() | 
      
 
 
      
        
          | FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |