Go to the source code of this file.
int digi_LMD |
( |
const int |
nEvents = 1000 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "" , |
|
|
const int |
verboseLevel = 0 |
|
) |
| |
Definition at line 4 of file QA/lmd/digi_LMD.C.
References CloseGeoManager(), ctime, digiparFile, Double_t, fRun, geoPar, inFile, nEvents, outFile, parFile, parInput1, parInput2, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
28 std::cout <<
"DigiFileName: " << outFile.Data() << std::endl;
31 FairRunAna *
fRun=
new FairRunAna();
32 fRun->SetInputFile(inFile);
33 fRun->SetOutputFile(outFile);
35 fRun->SetEventMeanTime(80);
40 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
41 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
42 parInput1->open(parFile.Data(),
"UPDATE");
43 rtdb->setFirstInput(parInput1);
44 FairParAsciiFileIo*
parInput2 =
new FairParAsciiFileIo();
45 parInput2->open(digiparFile.Data(),
"in");
46 rtdb->setSecondInput(parInput2);
58 fRun->AddTask(lmdStripProd);
60 rtdb->setOutput(parInput1);
77 cout <<
"Macro finished succesfully." << endl;
78 cout <<
"Output file is " << outFile << endl;
79 cout <<
"Parameter file is " << parFile << endl;
80 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s\a\a" << endl;
82 cout <<
" Test passed" << endl;
83 cout <<
" All ok " << endl;
FairParAsciiFileIo * parInput2
FairParRootFileIo * parInput1