]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGHF/hfe/AliHFEcutStep.h
Update NetParticle: sjena
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEcutStep.h
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 // 
20 #ifndef ALIHFECUTSTEP_H
21 #define ALIHFECUTSTEP_H
22
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
42       void SetMC(const AliMCEvent *mc);
43       void SetRecEvent(const AliVEvent *mc);
44
45     private:
46       TObjArray *fCuts; // List of cuts in one cut step
47       
48       ClassDef(AliHFEcutStep, 1)
49 };
50 #endif
51