]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaRec/AliTRDpidRefMaker.h
new task introduced by Alex Wilk (calculation of reference data for NN
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDpidRefMaker.h
1 #ifndef ALITRDPIDREFMAKER_H
2 #define ALITRDPIDREFMAKER_H
3
4 //////////////////////////////////////////////////////
5 //
6 // Task to build PID reference tree for the training
7 // of neural networs for the TRD PID
8 //
9 // Author : Alex Wilk <wilka@uni-muenster.de>
10 //
11 ///////////////////////////////////////////////////////
12
13 #ifndef ALITRDRECOTASK_H
14 #include "AliTRDrecoTask.h"
15 #endif
16
17 class AliTRDtrackV1;
18 class AliTRDReconstructor;
19 class AliTRDpidRefMaker : public AliTRDrecoTask
20 {
21
22  public:
23   AliTRDpidRefMaker();
24   virtual ~AliTRDpidRefMaker();
25   
26   void    CreateOutputObjects();
27   void    Exec(Option_t *option);
28   void    GetRefFigure(Int_t ifig, Int_t &first, Int_t &last, Option_t *opt);  
29   Bool_t  PostProcess();
30   void    Terminate(Option_t *);
31
32
33  private:
34   AliTRDpidRefMaker(const AliTRDpidRefMaker&);               // not implemented
35   AliTRDpidRefMaker& operator=(const AliTRDpidRefMaker&);    // not implemented
36
37   void GetV0info(AliTRDtrackV1 *TRDtrack, Float_t *v0pdg);           // get the v0 information
38
39   AliTRDReconstructor *fReconstructor;     //! reconstructor needed for recalculation the PID
40
41   ClassDef(AliTRDpidRefMaker, 1); // TRD reference  maker for NN
42 };
43
44 #endif