Go to the source code of this file.
      
        
          | int digi_LMD | ( | const int | nEvents = 2000, | 
        
          |  |  | const int | startEvent = 0, | 
        
          |  |  | TString | storePath = "", | 
        
          |  |  | const int | verboseLevel = 0 | 
        
          |  | ) |  |  | 
      
 
Definition at line 3 of file detectors/lmd/digi_LMD.C.
References ctime, digiparFile, Double_t, fRun, geoPar, inFile, nEvents, outFile, parFile, parInput1, parInput2, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
   27   std::cout << 
"DigiFileName: " << outFile.Data() << std::endl;
 
   30   FairRunAna *
fRun= 
new FairRunAna();
 
   31   fRun->SetInputFile(inFile);
 
   32   fRun->SetOutputFile(outFile);
 
   34   fRun->SetEventMeanTime(80);
 
   39   FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   40   FairParRootFileIo* 
parInput1 = 
new FairParRootFileIo(kTRUE);
 
   41   parInput1->open(parFile.Data(),
"UPDATE");
 
   42   rtdb->setFirstInput(parInput1);
 
   43   FairParAsciiFileIo* 
parInput2 = 
new FairParAsciiFileIo();
 
   44   parInput2->open(digiparFile.Data(),
"in");
 
   45   rtdb->setSecondInput(parInput2);
 
   57   fRun->AddTask(lmdStripProd);
 
   59   rtdb->setOutput(parInput1);
 
   76   cout << 
"Macro finished succesfully." << endl;
 
   77   cout << 
"Output file is "    << outFile << endl;
 
   78   cout << 
"Parameter file is " << parFile << endl;
 
   79   cout << 
"Real time " << rtime << 
" s, CPU time " << ctime << 
" s\a\a" << endl;
 
FairParAsciiFileIo * parInput2
FairParRootFileIo * parInput1