]>
Commit | Line | Data |
---|---|---|
c865cb1d | 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 | ||
547e2d97 | 17 | virtual void Print(Option_t *option = "") const; |
c865cb1d | 18 | void Init(); |
19 | void Reset(); | |
20 | ||
547e2d97 | 21 | void SetCut(AliRsnCutSet *cut, const Int_t &pidId); |
c865cb1d | 22 | TEntryList *GetParticles(const Int_t &charge, const Int_t &pidId); |
23 | ||
547e2d97 | 24 | void ApplyCuts(AliRsnEvent *ev); |
c865cb1d | 25 | |
26 | private: | |
27 | ||
28 | TObjArray fIdParticles[2]; | |
29 | TObjArray fCuts; | |
30 | ||
31 | ||
547e2d97 | 32 | void CheckTrack(AliRsnDaughter *d, const Int_t &id); |
c865cb1d | 33 | |
547e2d97 | 34 | AliRsnPIDManager(const AliRsnPIDManager ©); |
c865cb1d | 35 | AliRsnPIDManager &operator=(const AliRsnPIDManager ©); |
36 | ||
37 | ClassDef(AliRsnPIDManager, 1) | |
38 | }; | |
39 | ||
40 | #endif |