Go to the source code of this file.
int runLumiPixel1Digi |
( |
const int |
nEvents = 10 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutput" , |
|
|
const int |
verboseLevel = 0 , |
|
|
const int |
pitch = 1 |
|
) |
| |
Definition at line 1 of file runLumiPixel1Digi.C.
References ctime, digiparFile, Double_t, fRun, geoPar, gGeoManager, inFile, nEvents, outFile, parFile, parInput1, parInput2, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
24 std::cout <<
"DigiFileName: " << outFile.Data() << std::endl;
27 FairRunAna *
fRun =
new FairRunAna();
29 FairFileSource *input_source =
new FairFileSource(inFile);
31 input_source->SetEventMeanTime(80);
34 fRun->SetSource(input_source);
35 fRun->SetOutputFile(outFile);
38 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
39 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
40 parInput1->open(parFile.Data(),
"UPDATE");
41 rtdb->setFirstInput(parInput1);
42 FairParAsciiFileIo*
parInput2 =
new FairParAsciiFileIo();
43 parInput2->open(digiparFile.Data(),
"in");
44 rtdb->setSecondInput(parInput2);
49 fRun->AddTask(lmdStripProd);
51 rtdb->setOutput(parInput1);
68 cout <<
"Macro finished succesfully." << endl;
69 cout <<
"Output file is " << outFile << endl;
70 cout <<
"Parameter file is " << parFile << endl;
71 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s\a\a" << endl;
TGeoManager * gGeoManager
FairParAsciiFileIo * parInput2
FairParRootFileIo * parInput1