]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGHF/correlationHF/AliDxHFEParticleSelectionD0.h
adding control histograms to particle selection class
[u/mrichter/AliRoot.git] / PWGHF / correlationHF / AliDxHFEParticleSelectionD0.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
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                           *
7
8 /// @file   AliDxHFEParticleSelectionD0.h
9 /// @author Sedat Altinpinar, Hege Erdal, Matthias Richter
10 /// @date   2012-03-19
11 /// @brief  D0 selection for D-HFE correlations
12 ///
13
14 #ifndef ALIDXHFEPARTICLESELECTIOND0_H
15 #define ALIDXHFEPARTICLESELECTIOND0_H
16
17 #include "AliDxHFEParticleSelection.h"
18
19 /**
20  * @class AliDxHFEParticleSelectionD0
21  * D0 selection for D-HFE correlations, implements the specific
22  * selection criteria.
23  */
24 class AliDxHFEParticleSelectionD0 : public AliDxHFEParticleSelection {
25   public:
26   /// constructor
27   AliDxHFEParticleSelectionD0(const char* opt="");
28   /// destructor
29   virtual ~AliDxHFEParticleSelectionD0();
30
31   /// overloaded from AliDxHFEParticleSelection: init the control objects
32   virtual int InitControlObjects();
33
34   /// overloaded from AliDxHFEParticleSelection: check particle
35   virtual bool IsSelected(AliVParticle* p);
36
37  protected:
38   /// overloaded from AliDxHFEParticleSelection: histogram particle properties
39   virtual int HistogramParticleProperties(AliVParticle* p, bool selected=true);
40
41  private:
42   /// copy contructor prohibited
43   AliDxHFEParticleSelectionD0(const AliDxHFEParticleSelectionD0&);
44   /// assignment operator prohibited
45   AliDxHFEParticleSelectionD0& operator=(const AliDxHFEParticleSelectionD0&);
46
47   THnSparse* fD0Properties; //! the particle properties of selected particles
48   // TODO: at the moment the dimensions of the different THnSparse objects are different
49   // needs to be consolidated
50   // TODO: one might need particle properties of all and/or at different cut stages
51
52   ClassDef(AliDxHFEParticleSelectionD0, 1);
53 };
54
55 #endif