1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 // Select all tracks surviving cuts in one special cut step
18 // Used in AliHFEtrackFilter
20 #ifndef ALIHFECUTSTEP_H
21 #define ALIHFECUTSTEP_H
26 class AliAnalysisCuts;
30 class AliHFEcutStep : public TNamed{
32 AliHFEcutStep(const Char_t *name);
33 AliHFEcutStep(const AliHFEcutStep &o);
34 AliHFEcutStep &operator=(const AliHFEcutStep &o);
35 virtual void Copy(TObject &o) const;
38 void AddCut(AliAnalysisCuts *cut);
39 AliAnalysisCuts *GetCut(const Char_t *name);
40 Bool_t IsSelected(TObject *o);
42 void SetMC(const AliMCEvent *mc);
43 void SetRecEvent(const AliVEvent *mc);
46 TObjArray *fCuts; // List of cuts in one cut step
48 ClassDef(AliHFEcutStep, 1)