6   Bool_t enablePointDraw = kTRUE;
 
    7   Bool_t enableHitDraw = kTRUE;
 
    8   Bool_t enableTrackDraw = kTRUE;
 
   10   TString  parAsciiFile   = 
"all.par";
 
   12           TString  input          = 
"psi2s_Jpsi2pi_Jpsi_mumu.dec";
 
   32           FairEventManager *
fMan= 
new FairEventManager();
 
   39   if (enablePointDraw) {
 
   40           FairMCTracks *
Track =  
new FairMCTracks (
"Monte-Carlo Tracks");
 
   41           FairMCPointDraw *
MvdPoints =   
new FairMCPointDraw (
"MVDPoint",kBlue,  kFullSquare);
 
   42           FairHitDraw *EMCPoints =   
new FairHitDraw (
"EmcHit");
 
   44                 EMCPoints->SetBoxDimensions(2.,2.,2.);
 
   45                 EMCPoints2->SetBoxDimensions(2.,2.,2.);
 
   46           FairMCPointDraw *TofSciFPoint= 
new FairMCPointDraw (
"SciTPoint",kTeal, kFullSquare);
 
   47           FairMCPointDraw *MdtPoint =    
new FairMCPointDraw (
"MdtPoint",kAzure, kFullSquare);
 
   48           FairMCPointDraw *
PndDrcBarPoint = 
new FairMCPointDraw (
"DrcBarPoint",kGreen, kFullSquare);
 
   49           FairMCPointDraw *
PndDrcPDPoint = 
new FairMCPointDraw (
"DrcPDPoint",kViolet, kFullSquare);
 
   50           FairMCPointDraw *
PndDskParticle = 
new FairMCPointDraw (
"DskParticle",kYellow, kFullSquare);
 
   51           FairMCPointDraw *
PndDskFLGHit = 
new FairMCPointDraw (
"PndDskFLGHit",kPink, kFullSquare);
 
   52           FairMCPointDraw *PndSTTPoint = 
new FairMCPointDraw (
"STTPoint",kMagenta, kFullSquare);
 
   53           FairMCPointDraw *PndGEMPoint = 
new FairMCPointDraw (
"GEMPoint",kRed, kFullSquare);
 
   54           FairMCPointDraw *PndFTSPoint = 
new FairMCPointDraw (
"FTSPoint",kMagenta, kFullSquare);
 
   55           FairMCPointDraw *
PndFtofPoint = 
new FairMCPointDraw (
"FtofPoint",kGreen, kFullSquare);
 
   60           fMan->AddTask(MvdPoints);
 
   61           fMan->AddTask(EMCPoints);
 
   62           fMan->AddTask(EMCPoints2);
 
   63           fMan->AddTask( TofSciFPoint);
 
   64           fMan->AddTask( MdtPoint);
 
   65           fMan->AddTask( PndDrcBarPoint);
 
   66           fMan->AddTask( PndDrcPDPoint);
 
   67           fMan->AddTask( PndDskParticle);
 
   68           fMan->AddTask( PndDskFLGHit);
 
   69           fMan->AddTask( PndSTTPoint);
 
   70           fMan->AddTask( PndGEMPoint);
 
   71           fMan->AddTask( PndFTSPoint);
 
   72           fMan->AddTask( PndFtofPoint);
 
   73           fMan->AddTask(EmcHitCalo);
 
   80           FairHitDraw *MvdRecoHit =   
new FairHitDraw (
"MVDHitsPixel");
 
   81           FairHitDraw *MvdRecoStrip = 
new FairHitDraw (
"MVDHitsStrip");
 
   82           FairHitDraw *STTHits = 
new FairHitDraw (
"STTHit");
 
   85           FairHitDraw *SciTHit = 
new FairHitDraw(
"SciTHit");
 
   86           FairHitDraw *MdtHit = 
new FairHitDraw(
"MdtHit");
 
   87           FairHitDraw *DrcHit = 
new FairHitDraw(
"DrcHit");
 
   88           FairHitDraw *DrcPDHit = 
new FairHitDraw(
"DrcPDHit");
 
   89           FairHitDraw *GEMHit = 
new FairHitDraw(
"GEMHit");
 
   90           FairHitDraw *FTSHit = 
new FairHitDraw(
"FTSHit");
 
   91           FairHitDraw *FtofHit = 
new FairHitDraw(
"FtofHit");
 
   93           EmcBump->SetBoxDimensions(4.0,4.0,4.0);
 
   94           fMan->AddTask(MvdRecoHit);
 
   95           fMan->AddTask(MvdRecoStrip);
 
   96           fMan->AddTask(STTHits);
 
   97           fMan->AddTask(STTIsochrone);
 
   98           fMan->AddTask(SciTHit);
 
   99           fMan->AddTask(MdtHit);
 
  100           fMan->AddTask(DrcHit);
 
  101           fMan->AddTask(DrcPDHit);
 
  102           fMan->AddTask(GEMHit);
 
  103           fMan->AddTask(FTSHit);
 
  104           fMan->AddTask(FtofHit);
 
  105           fMan->AddTask(EmcBump);
 
  108   if (enableTrackDraw) {
 
  115           fMan->AddTask(BarrelTrackDraw);
 
  116           fMan->AddTask(SttMvdTrack);
 
  117           fMan->AddTask(SttMvdGemTrack);
 
  118           fMan->AddTask(SttMvdGemGenTrack);
 
  119           fMan->AddTask(FtsIdealTrack);
 
  120           fMan->AddTask(FtsIdealGenTrack);
 
Class for the master reconstruction chain. 
Bool_t Setup(TString outprefix="")
Initial setup. 
void AddFriend(TString par)
Setter of friend root files. 
FairParRootFileIo * output
void SetInput(TString par)
Input of the macro. 
FairMCPointDraw * MvdPoints
void UseFairLinks(Bool_t val)
void SetOutput(TString par)
Tag of the output file of the macro. 
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.