]>
Commit | Line | Data |
---|---|---|
70da6c5a | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | // | |
16 | // Cut step class | |
17 | // Select all tracks surviving cuts in one special cut step | |
18 | // Used in AliHFEtrackFilter | |
19 | // | |
c2690925 | 20 | #ifndef ALIHFECUTSTEP_H |
21 | #define ALIHFECUTSTEP_H | |
22 | ||
70da6c5a | 23 | #include <TNamed.h> |
24 | ||
25 | class TObjArray; | |
26 | class AliAnalysisCuts; | |
27 | class AliMCEvent; | |
28 | class AliVEvent; | |
29 | ||
30 | class AliHFEcutStep : public TNamed{ | |
31 | public: | |
32 | AliHFEcutStep(const Char_t *name); | |
33 | AliHFEcutStep(const AliHFEcutStep &o); | |
34 | AliHFEcutStep &operator=(const AliHFEcutStep &o); | |
35 | virtual void Copy(TObject &o) const; | |
36 | ~AliHFEcutStep(); | |
37 | ||
38 | void AddCut(AliAnalysisCuts *cut); | |
39 | AliAnalysisCuts *GetCut(const Char_t *name); | |
40 | Bool_t IsSelected(TObject *o); | |
41 | ||
c2690925 | 42 | void SetMC(const AliMCEvent *mc); |
43 | void SetRecEvent(const AliVEvent *mc); | |
70da6c5a | 44 | |
45 | private: | |
3a72645a | 46 | TObjArray *fCuts; // List of cuts in one cut step |
70da6c5a | 47 | |
48 | ClassDef(AliHFEcutStep, 1) | |
49 | }; | |
50 | #endif | |
51 |