11         int i=0,j=0, k=0, l=0;
 
   12         gStyle->SetOptFit(1011);
 
   15         TString OutFile=
"out_dummy.root";  
 
   18         TString inPidFile  = prefix+
"_pid.root";    
 
   19         TString inParFile  = prefix+
"_par.root";
 
   22         TString pidParFile = 
TString(gSystem->Getenv(
"VMCWORKDIR"))+
"/macro/params/all.par";    
 
   25         FairLogger::GetLogger()->SetLogToFile(kFALSE);
 
   26         FairRunAna* 
fRun = 
new FairRunAna();
 
   27         FairRuntimeDb* 
rtdb = fRun->GetRuntimeDb();
 
   28         fRun->SetSource(
new FairFileSource(inPidFile));
 
   31         FairParRootFileIo* parIO = 
new FairParRootFileIo();
 
   32         parIO->open(inParFile);
 
   33         FairParAsciiFileIo* parIOPid = 
new FairParAsciiFileIo();
 
   34         parIOPid->open(pidParFile.Data(),
"in");
 
   36         rtdb->setFirstInput(parIO);
 
   37         rtdb->setSecondInput(parIOPid);
 
   38         rtdb->setOutput(parIO);  
 
   40         fRun->SetOutputFile(OutFile);
 
   50         if (nevts==0) nevts= theAnalysis->
GetEntries();
 
   58         while (theAnalysis->
GetEvent() && i++<nevts)
 
   60                 cout<<
"****** Evt " << i << endl;
 
   63                 theAnalysis->
FillList(mctruth,
"McTruth");
 
   75                         cout << 
"Track "<< mctruth[j]->GetTrackNumber()<<
" (PDG:"<<mctruth[j]->PdgCode() <<
") has mother "<<muid;
 
   77                         if (mctruth[j]->NDaughters()>0) cout <<
" and daughter(s) ";
 
   78                         for (k=0;k<mctruth[j]->NDaughters();++k) cout <<mctruth[j]->Daughter(k)->GetTrackNumber()<<
"  ";
 
Int_t GetTrackNumber() const 
Bool_t FillList(RhoCandList &l, TString listkey="All", TString pidTcaNames="", int trackHypothesis=-1)
PndAnalysis(TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")
void tut_ana_mclist(int nevts=0, TString prefix="signal")
Int_t GetEvent(Int_t n=-1)