4 //* This file is property of and copyright by the ALICE Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
6 //* See cxx source for full Copyright notice *
8 /// @file AliDxHFEParticleSelectionEl.h
9 /// @author Sedat Altinpinar, Hege Erdal, Matthias Richter
11 /// @brief Electron selection for D-HFE correlations
14 #ifndef ALIDXHFEPARTICLESELECTIONEL_H
15 #define ALIDXHFEPARTICLESELECTIONEL_H
17 #include "AliDxHFEParticleSelection.h"
21 class AliHFEvarManager;
30 * @class AliDxHFEParticleSelectionEl
31 * Electron selection for D-HFE correlations, implements the specific
34 class AliDxHFEParticleSelectionEl : public AliDxHFEParticleSelection {
37 AliDxHFEParticleSelectionEl(const char* opt="");
39 virtual ~AliDxHFEParticleSelectionEl();
47 /// overloaded from AliDxHFEParticleSelection: init the control objects
48 virtual int InitControlObjects();
50 /// overloaded from AliDxHFEParticleSelection: check particle
51 virtual int IsSelected(AliVParticle* p, const AliVEvent*);
53 virtual int HistogramParticleProperties(AliVParticle* p, int selected);
55 // overloaded from AliDxHFEParticleSelection: specific for electrons
56 //virtual TObjArray* Select(const AliVEvent *pEvent);
58 /// set cuts object: a type cast check is implemented in the method
59 virtual void SetCuts(TObject* /*cuts*/, int /*level*/=0);
64 /// copy contructor prohibited
65 AliDxHFEParticleSelectionEl(const AliDxHFEParticleSelectionEl&);
66 /// assignment operator prohibited
67 AliDxHFEParticleSelectionEl& operator=(const AliDxHFEParticleSelectionEl&);
69 /// check cut of specified step, e.g.
70 bool ProcessCutStep(Int_t cutStep, AliVParticle *track);
72 AliHFEpid* fPID; //! the PID object
73 THnSparse* fElectronProperties; // the particle properties of selected particles
74 TH1* fWhichCut; // effective cut for a rejected particle
75 AliHFEcuts* fCuts; //! Cuts for HF electrons
76 AliCFManager* fCFM; //! Correction Framework Manager
79 ClassDef(AliDxHFEParticleSelectionEl, 2);