]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnPIDManager.h
Added AliRsnAction, AliRsnPIDRange
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnPIDManager.h
1 #ifndef ALIRSNPIDMANAGER_H
2 #define ALIRSNPIDMANAGER_H
3
4 #include "TNamed.h"
5 #include <TObjArray.h>
6
7 class AliRsnDaughter;
8 class AliRsnCutSet;
9 class TEntryList;
10 class AliRsnEvent;
11 class AliRsnPIDManager : public TNamed {
12
13 public:
14    AliRsnPIDManager(const char *name = "name", const char *title = "title");
15    virtual ~AliRsnPIDManager();
16
17    virtual void Print(Option_t *option = "") const;
18    void Init();
19    void Reset();
20
21    void SetCut(AliRsnCutSet *cut, const Int_t &pidId);
22    TEntryList *GetParticles(const Int_t &charge, const Int_t &pidId);
23
24    void ApplyCuts(AliRsnEvent *ev);
25
26 private:
27
28    TObjArray fIdParticles[2];
29    TObjArray fCuts;
30
31
32    void CheckTrack(AliRsnDaughter *d, const Int_t &id);
33
34    AliRsnPIDManager(const AliRsnPIDManager &copy);
35    AliRsnPIDManager &operator=(const AliRsnPIDManager &copy);
36
37    ClassDef(AliRsnPIDManager, 1)
38 };
39
40 #endif