]>
Commit | Line | Data |
---|---|---|
c865cb1d | 1 | // |
2 | // Class AliRsnLoopEffDaughter | |
3 | // | |
4 | // Inherits from basic AliRsnAnalysisTaskEff for efficiency, | |
5 | // and computed efficiencies for single-tracks | |
6 | // | |
7 | // author: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it) | |
8 | // | |
9 | ||
10 | #ifndef ALIRSNLOOPEFFDAUGHTER_H | |
11 | #define ALIRSNLOOPEFFDAUGHTER_H | |
12 | ||
13 | #include "AliRsnLoopEff.h" | |
14 | ||
15 | class AliRsnDaughterDef; | |
16 | ||
17 | class AliRsnLoopEffDaughter : public AliRsnLoopEff { | |
18 | ||
19 | public: | |
20 | ||
21 | AliRsnLoopEffDaughter(const char *name, AliRsnDaughterDef *def); | |
547e2d97 | 22 | AliRsnLoopEffDaughter(const AliRsnLoopEffDaughter ©); |
23 | AliRsnLoopEffDaughter &operator=(const AliRsnLoopEffDaughter ©); | |
c865cb1d | 24 | virtual ~AliRsnLoopEffDaughter() {;}; |
25 | ||
547e2d97 | 26 | AliRsnDaughterDef *GetDef() {return fDef;} |
c865cb1d | 27 | void SetDef(AliRsnDaughterDef *def) {fDef = def;} |
28 | ||
29 | virtual Bool_t OkStepMC(TObject *checked, Int_t step); | |
30 | virtual Bool_t OkStepRec(TObject *checked, Int_t step); | |
31 | ||
32 | protected: | |
33 | ||
34 | virtual Int_t ProcessEventESD(AliRsnEvent *rsn); | |
35 | virtual Int_t ProcessEventAOD(AliRsnEvent *rsn); | |
36 | ||
37 | AliRsnDaughterDef *fDef; // used daughter definition | |
38 | ||
39 | ClassDef(AliRsnLoopEffDaughter, 1) | |
40 | }; | |
41 | ||
42 | #endif | |
43 |