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