9   nEvents = nofFiles*nofEvents;
 
   10   TString workDir = gSystem->WorkingDirectory();
 
   12   if ( nStations != 3 && nStations != 4 ) {
 
   13     cout << 
"WRONG number of stations, only 3 or 4 allowed." << endl;
 
   22   TString parFile  = Form(
"%s/params_22Part_n%d_f0_sep.root",workDir.Data(),nofEvents);
 
   45   FairRunAna *
fRun= 
new FairRunAna();
 
   46   fRun->SetOutputFile(outFile.Data());
 
   50   fRun->SetInputFile(Form(
"file://%s/points_%dPart_n%d_f%d_sep.root",workDir.Data(),nparts,nofEvents,0));
 
   51   for ( Int_t ifile = 1 ; ifile < nofFiles ; ifile++ )
 
   52     fRun->AddFile   (Form(
"file://%s/points_%dPart_n%d_f%d_sep.root",workDir.Data(),nparts,nofEvents,ifile));
 
   57   if ( nStations == 4 ) allDigiFile = sysFile+
"/macro/params/all4.par";
 
   59   FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   60   FairParRootFileIo* 
parInput1 = 
new FairParRootFileIo();
 
   62   TList* fnamelist = 
new TList();
 
   64   for ( Int_t ifile = 0 ; ifile < nofFiles ; ifile++ )
 
   65     fnamelist->Add(
new TObjString(Form(
"%s/params_%dPart_n%d_f%d_sep.root",workDir.Data(),nparts,nofEvents,ifile)));
 
   68   parInput1->open(fnamelist);       
 
   71   FairParAsciiFileIo* 
parIo1 = 
new FairParAsciiFileIo();
 
   72   parIo1->open(allDigiFile.Data(),
"in");
 
   74   rtdb->setFirstInput(parInput1);
 
   75   rtdb->setSecondInput(parIo1);
 
   82   fRun->AddTask(mvddigi);
 
   88   fRun->AddTask(mvdmccls);
 
   93   fRun->AddTask(sttHitProducer);
 
  100   fRun->AddTask(gemDigitize);
 
  103   fRun->AddTask(gemFindHits);
 
  112   barrelTF->SetVerbose(0);
 
  114   fRun->AddTask(barrelTF);
 
  116   PndBarrelTrackFinderQA* barrelQA = 
new PndBarrelTrackFinderQA();
 
  117   barrelQA->SetVerbose(0);
 
  118   barrelQA->UseMvdSttGem(kTRUE,kTRUE,kTRUE);
 
  119   fRun->AddTask(barrelQA);
 
  139   cout << endl << endl;
 
  140   cout << 
"Macro finished succesfully." << endl;
 
  141   cout << 
"Output file is "    << outFile << endl;
 
  142   cout << 
"Parameter file is " << parFile << endl;
 
  143   cout << 
"Real time " << rtime << 
" s, CPU time " << ctime << 
" s" << endl;
 
PndGemFindHits * gemFindHits
int tracks_BARREL_1000sep_local(Int_t nofFiles=1, Int_t nofEvents=1000)
PndMvdStripClusterTask * mvdmccls
PndSttHitProducerRealFast * sttHitProducer
void SetVerbose(Int_t iVerbose)
FairParRootFileIo * parInput1
PndGemDigitize * gemDigitize
FairParAsciiFileIo * parIo1
void UseMvdSttGem(const Bool_t useMvd, const Bool_t useStt, const Bool_t useGem)