New values and cuts
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnLoopEffDaughter.h
CommitLineData
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
15class AliRsnDaughterDef;
16
17class AliRsnLoopEffDaughter : public AliRsnLoopEff {
18
19public:
20
21 AliRsnLoopEffDaughter(const char *name, AliRsnDaughterDef *def);
22 AliRsnLoopEffDaughter(const AliRsnLoopEffDaughter& copy);
23 AliRsnLoopEffDaughter& operator=(const AliRsnLoopEffDaughter& copy);
24 virtual ~AliRsnLoopEffDaughter() {;};
25
26 AliRsnDaughterDef* GetDef() {return fDef;}
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
32protected:
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