]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnAnalysisSE.h
Added two new axes (mt and y) for pairs and the possibility to build histograms with...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnAnalysisSE.h
1 //
2 // Class AliRsnAnalysisSE
3 //
4 // Virtual Class derivated from AliRsnVAnalysisTaskSE which will be base class
5 // for all RSN SE tasks
6 //
7 // authors: Martin Vala (martin.vala@cern.ch)
8 //          Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
9 //
10 #ifndef ALIRSNANALYSISSE_H
11 #define ALIRSNANALYSISSE_H
12
13 #include "AliPID.h"
14 #include "AliRsnVAnalysisTaskSE.h"
15 #include "AliRsnAnalysisManager.h"
16 #include "AliRsnPIDIndex.h"
17 #include "AliRsnEvent.h"
18
19 class AliRsnPIDDefESD;
20 class AliRsnCutSet;
21
22 class AliRsnAnalysisSE : public AliRsnVAnalysisTaskSE
23 {
24
25   public:
26     AliRsnAnalysisSE(const char *name = "AliRsnAnalysisSE",Int_t numOfOutputs=1,Bool_t useKine=kFALSE);
27     AliRsnAnalysisSE(const AliRsnAnalysisSE& copy);
28     virtual ~AliRsnAnalysisSE() {;};
29
30     // Implement this
31     virtual void    RsnUserCreateOutputObjects();
32     virtual void    RsnUserExec(Option_t*);
33     virtual void    RsnTerminate(Option_t*);
34
35     AliRsnAnalysisManager *GetAnalysisManager(Int_t index = 0, TString name = "");
36     void                   SetAnalysisManagerName(const char *name, Int_t index = 0)
37                             {fRsnAnalysisManager[index].SetName(name);}
38
39     AliRsnCutSet* GetEventCuts() const {return fEventCuts;}
40     void          SetEventCuts(AliRsnCutSet *const cuts) {fEventCuts = cuts;}
41
42     Double_t GetZeroEventPercentWarning() const { return fZeroEventPercentWarning;}
43     void     SetZeroEventPercentWarning(Double_t val = 50) { fZeroEventPercentWarning = val;}
44     void     UseZeroEventWarning(Bool_t b = true) { fUseZeroEventWarning = b;}
45
46   private:
47
48     AliRsnAnalysisSE& operator=(const AliRsnAnalysisSE& /*copy*/) {return *this;}
49
50     AliRsnAnalysisManager fRsnAnalysisManager[10];  // analysis main engine
51     AliRsnCutSet         *fEventCuts;               // event cuts
52
53     Double_t              fZeroEventPercentWarning; //! Percent Number for Zero Event Warning
54     Bool_t                fUseZeroEventWarning;     //! flag if Zero Event Warning is used (default is true)
55
56     ClassDef(AliRsnAnalysisSE, 1)
57 };
58
59 #endif