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