example macros to run on proof
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnPIDManager.h
CommitLineData
c865cb1d 1#ifndef ALIRSNPIDMANAGER_H
2#define ALIRSNPIDMANAGER_H
3
4#include "TNamed.h"
5#include <TObjArray.h>
6
7class AliRsnDaughter;
8class AliRsnCutSet;
9class TEntryList;
10class AliRsnEvent;
11class AliRsnPIDManager : public TNamed {
12
13public:
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
26private:
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