Major update of cuts classes; now they are used in AliAnalysisVertexingHF and stored...
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliRDHFCutsLctopKpi.h
1 #ifndef ALIRDHFCUTSLCTOPKPI_H
2 #define ALIRDHFCUTSLCTOPKPI_H
3 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //***********************************************************
7 // Class AliRDHFCutsLctopKpi
8 // class for cuts on AOD reconstructed Lc->pKpi
9 // Author: A.Dainese, andrea.dainese@pd.infn.it
10 //***********************************************************
11
12 #include "AliRDHFCuts.h"
13
14 class AliRDHFCutsLctopKpi : public AliRDHFCuts 
15 {
16  public:
17
18   AliRDHFCutsLctopKpi(const char* name="CutsLctopKpi");
19   
20   virtual ~AliRDHFCutsLctopKpi(){}
21
22   AliRDHFCutsLctopKpi(const AliRDHFCutsLctopKpi& source);
23   AliRDHFCutsLctopKpi& operator=(const AliRDHFCutsLctopKpi& source); 
24  
25   virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
26
27   using AliRDHFCuts::IsSelected;
28   virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
29   
30   Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
31   Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(11,iPtBin)] : 1.e6);}
32
33  protected:
34
35
36   ClassDef(AliRDHFCutsLctopKpi,1);  // class for cuts on AOD reconstructed Lc->pKpi
37 };
38
39 #endif