2 #include "TDirectory.h"
3 #include "TTreeStream.h"
6 #include "AliAnalysisTask.h"
8 #include "AliTRDrecoTask.h"
10 ClassImp(AliTRDrecoTask)
12 //_______________________________________________________
13 AliTRDrecoTask::AliTRDrecoTask(const char *name, const char *title)
14 : AliAnalysisTask(name, title)
21 DefineInput(0, TObjArray::Class());
22 DefineOutput(0, TObjArray::Class());
25 //_______________________________________________________
26 AliTRDrecoTask::~AliTRDrecoTask()
34 //fContainer->Delete();
40 //_______________________________________________________
41 void AliTRDrecoTask::ConnectInputData(Option_t *)
47 fTracks = dynamic_cast<TObjArray *>(GetInputData(0));
51 //_______________________________________________________
52 void AliTRDrecoTask::GetRefFigure(Int_t /*ifig*/, Int_t &first, Int_t &last)
54 AliWarning("Retrieving reference figures not implemented.");
58 //_______________________________________________________
59 Bool_t AliTRDrecoTask::Load(Char_t */*filename*/)
61 AliWarning("Loading of reference histograms not implemented.");
65 //_______________________________________________________
66 Bool_t AliTRDrecoTask::PostProcess()
68 AliWarning("Post processing of reference histograms not implemented.");
72 //_______________________________________________________
73 void AliTRDrecoTask::SetDebugLevel(Int_t level)
77 TDirectory *savedir = gDirectory;
78 fDebugStream = new TTreeSRedirector(Form("TRD.Debug%s.root", GetName()));