AliPhysics  d497547 (d497547)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalAODFilterBitCuts.h
Go to the documentation of this file.
1 #ifndef ALIEMCALAODFILTERBITCUT_H
2 #define ALIEMCALAODFILTERBITCUT_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliVCuts.h"
7 
31 class AliEmcalAODFilterBitCuts : public AliVCuts {
32 public:
38  kSelAny = 0,
39  kSelAll = 1
40  };
41 
46 
52  AliEmcalAODFilterBitCuts(const char *name, const char *title);
53 
55 
60  void AddFilterBitNumber(ULong_t bitnumber) {if(bitnumber < sizeof(ULong_t)*8) fAODfilterBits |= 1 << bitnumber; }
61 
67  void SetFilterBits(ULong_t filterbits) { fAODfilterBits |= filterbits; }
68 
78  virtual Bool_t IsSelected(TObject *o);
79 
80 protected:
83 
85  ClassDef(AliEmcalAODFilterBitCuts, 1)
87 };
88 
89 #endif /* ALIEMCALAODFILTERBITCUT_H */
const char * title
Definition: MakeQAPdf.C:27
SelectionMode_t
Definition of the mode how multiple filter bits are selected.
Implementation of the AOD filter bit selection as virtual cut class.
SelectionMode_t fSelectionMode
Mode of the filter bit selection (any or all)
void AddFilterBitNumber(ULong_t bitnumber)
void SetFilterBits(ULong_t filterbits)
virtual Bool_t IsSelected(TObject *o)
unsigned long ULong_t
Definition: External.C:38
All (all bits must be found in the AOD track)
ULong_t fAODfilterBits
Requested filter bits.
bool Bool_t
Definition: External.C:53