FairRoot/PandaRoot
PndMvdClusterTask.cxx
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndMvdClusterTask source file -----
3 // ----- Created 07/10/08 by R. Kliemt -----
4 // -------------------------------------------------------------------------
5 
6 
7 #include "PndMvdClusterTask.h"
10 // #include "PndMvdTimeWalkCorrTask.h"
11 
13 PndBlackBoxTask("Mvd Hit Reconstruction BlackBox Task")
14 {
15  this->Add(new PndMvdPixelClusterTask());
16  this->Add(new PndMvdStripClusterTask());
17  // this->Add(new PndMvdTimeWalkCorrTask()); // Task to correct Digi-TimeStamp from TimeWalk-Effect. Corrected digis will be saved in output-file
18  SetPersistance(kTRUE);
19 }
20 // -------------------------------------------------------------------------
21 
22 
23 // ----- Destructor ----------------------------------------------------
25 {
26 }
27 // -------------------------------------------------------------------------
28 
30 {
31  //TODO: This is not recursive
32  SetPersistency(pers);
33  TList* thistasks = this->GetListOfTasks();
34  ((PndMvdPixelClusterTask*)thistasks->At(0))->SetPersistency(GetPersistency());
35  ((PndMvdStripClusterTask*)thistasks->At(1))->SetPersistency(GetPersistency());
36  return;
37 }
38 
40 
mychain Add("run.root")
void SetPersistency(Bool_t val=kTRUE)
void SetPersistance(Bool_t pers)
ClassImp(PndAnaContFact)