-
#ifndef ALICFEVENTGENCUTS_H
#define ALICFEVENTGENCUTS_H
/**************************************************************************
#include "AliCFCutBase.h"
-#include "AliGenEventHeader.h"
class TBits;
-class AliEventGenHeader;
+class AliGenEventHeader;
+class AliMCEvent;
//____________________________________________________________________________
class AliCFEventGenCuts: public AliCFCutBase
{
AliCFEventGenCuts(const AliCFEventGenCuts& c) ;
AliCFEventGenCuts& operator=(const AliCFEventGenCuts& c) ;
~AliCFEventGenCuts();
- void GetBitMap(TObject *obj, TBits *bitmap);
Bool_t IsSelected(TObject* obj);
- void Init(){;};
- static Bool_t IsMBProcessType(Int_t isel, TObject *obj);
+ Bool_t IsSelected(TList* /*list*/) {return kTRUE;}
//number of embedded cuts
enum{kNCuts=5};
kND, kSD, kDD
};
- void SetMBProcessType(PrType process = kND) {fMBProcessType=process;} // cut values setter
- Int_t GetMBProcessType()const {return fMBProcessType;} // cut values getter
+
+ static Int_t ProcType(AliGenEventHeader *genHeader);
+ static Bool_t IsMBProcType(AliMCEvent *ev, PrType iproc);
+
+
+ void SetMBSelProcType(PrType iproc = kND) {fMBProcType=iproc;} // cut values setter
+ Int_t GetMBSelProcType()const {return fMBProcType;} // cut values getter
Double_t GetVertexZMin() const {return fVtxZMin;} // cut values getter
- private:
- TBits * SelectionBitMap(TObject* obj);
- static Int_t MBProcessType(AliGenEventHeader *genHeader);
+ protected:
+
+ void SelectionBitMap(TObject* obj);
- Int_t fMBProcessType ; //the type of selected MB process
+ Int_t fMBProcType ; //the type of selected MB process
Int_t fNTracksMin; //minimum number of particles in the event
Int_t fNTracksMax; //maximum number of particles in the event
Bool_t fRequireVtxCuts ; //The type of trigger to be checked
TBits *fBitMap ; //cut mask
- ClassDef(AliCFEventGenCuts,1);
+ ClassDef(AliCFEventGenCuts,2);
};
#endif