Go to the source code of this file.
      
        
          | anaMvdTimeData | ( | Int_t | nEvents = 1000 | ) |  | 
      
 
Definition at line 4 of file anaMvdTimeData.C.
References creator, ctime, DigiFile, Double_t, fRun, iVerbose, MCFile, nEvents, outFile, parFile, parInput1, RecoFile, rtdb, rtime, timer, and TString.
   11   gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
   12   gSystem->Load(
"libMCMatchExamples");
 
   22   std::cout << 
"MCFile  : " << MCFile.Data()<< std::endl;
 
   23   std::cout << 
"DigiFile: " << DigiFile.Data()<< std::endl;
 
   24   std::cout << 
"RecoFile: " << RecoFile.Data()<< std::endl;
 
   25   std::cout << 
"TrackFindingFile: " << TrackFFile.Data()<< std::endl;
 
   33   FairRunAna *
fRun= 
new FairRunAna();
 
   34   fRun->SetInputFile(DigiFile);
 
   35   fRun->AddFriend(MCFile);
 
   36   fRun->AddFriend(RecoFile);
 
   38   fRun->SetOutputFile(outFile);
 
   45   FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   46   FairParRootFileIo* 
parInput1 = 
new FairParRootFileIo(kTRUE);
 
   47   parInput1->open(parFile.Data(),
"UPDATE");
 
   48   rtdb->setFirstInput(parInput1);
 
   52   PndMCTestDataCrawler* crawler = 
new PndMCTestDataCrawler();
 
   53   crawler->SetStartBranch(
"MVDHitsPixel");
 
   54   crawler->SetStopBranch(
"EventHeader.");
 
   55   crawler->SetVerbose(2);
 
   56   crawler->SetHistoRange(-20, 40, 601);
 
   57   fRun->AddTask(crawler);
 
   68   rtdb->setOutput(parInput1);
 
   87   cout << 
"Macro finished succesfully." << endl;
 
   88   cout << 
"Output file is "    << outFile << endl;
 
   89   cout << 
"Parameter file is " << parFile << endl;
 
   90   cout << 
"Real time " << rtime << 
" s, CPU time " << ctime << 
" s" << endl;
 
A simple class which adds the corresponding file extensions to a given base class. 
FairParRootFileIo * parInput1
PndMvdCreateDefaultApvMap * creator