]>
Commit | Line | Data |
---|---|---|
c865cb1d | 1 | // |
2 | // Class AliRsnLoopEffPair | |
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 ALIRSNLOOPEFFPAIR_H | |
11 | #define ALIRSNLOOPEFFPAIR_H | |
12 | ||
13 | #include "AliRsnMother.h" | |
14 | #include "AliRsnDaughter.h" | |
15 | #include "AliRsnLoopEff.h" | |
16 | ||
17 | class AliRsnPairDef; | |
18 | ||
19 | class AliRsnLoopEffPair : public AliRsnLoopEff { | |
20 | ||
21 | public: | |
22 | ||
23 | AliRsnLoopEffPair(const char *name, AliRsnPairDef *def); | |
24 | AliRsnLoopEffPair(const AliRsnLoopEffPair& copy); | |
25 | AliRsnLoopEffPair& operator=(const AliRsnLoopEffPair& copy); | |
26 | virtual ~AliRsnLoopEffPair() {;} | |
27 | ||
28 | AliRsnPairDef* GetDef() {return fDef;} | |
29 | void SetDef(AliRsnPairDef *def) {fDef = def;} | |
30 | virtual Int_t DoLoop(AliRsnEvent *main, AliRsnDaughterSelector *smain = 0, AliRsnEvent *mix = 0, AliRsnDaughterSelector *smix = 0); | |
31 | ||
32 | protected: | |
33 | ||
34 | AliRsnPairDef *fDef; // used pair definition | |
35 | AliRsnMother fMother; //! check object (mother) | |
36 | AliRsnDaughter fDaughter[2]; //! check object (daughter) | |
37 | ||
38 | ClassDef(AliRsnLoopEffPair, 1) | |
39 | }; | |
40 | ||
41 | #endif | |
42 | ||
43 |