Go to the source code of this file.
int runLumi1Digi |
( |
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 runLumi1Digi.C.
References ctime, digiparFile, Double_t, fRun, geoPar, inFile, nEvents, outFile, parFile, parInput1, parInput2, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
7 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
8 gSystem->Load(
"libSds");
9 gSystem->Load(
"libSdsReco");
10 gSystem->Load(
"libLmd");
11 gSystem->Load(
"libLmdReco");
12 gSystem->Load(
"libLmdTrk");
42 std::cout <<
"DigiFileName: " << outFile.Data() << std::endl;
45 FairRunAna *
fRun=
new FairRunAna();
46 fRun->SetInputFile(inFile);
47 fRun->SetOutputFile(outFile);
51 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
52 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
53 parInput1->open(parFile.Data(),
"UPDATE");
54 rtdb->setFirstInput(parInput1);
59 FairParAsciiFileIo*
parInput2 =
new FairParAsciiFileIo();
60 parInput2->open(digiparFile.Data(),
"in");
61 rtdb->setSecondInput(parInput2);
95 fRun->AddTask(lmdStripProd);
111 rtdb->setOutput(parInput1);
127 cout << endl << endl;
128 cout <<
"Macro finished succesfully." << endl;
129 cout <<
"Output file is " << outFile << endl;
130 cout <<
"Parameter file is " << parFile << endl;
131 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s\a\a" << endl;
FairParAsciiFileIo * parInput2
FairParRootFileIo * parInput1