IsSelectedPID made non-const
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliRDHFCutsD0toKpi.h
CommitLineData
650b3ced 1#ifndef ALIRDHFCUTSD0TOKPI_H
2#define ALIRDHFCUTSD0TOKPI_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 AliRDHFCutsD0toKpi
8// class for cuts on AOD reconstructed D0->Kpi
9// Author: A.Dainese, andrea.dainese@pd.infn.it
10//***********************************************************
11
12#include "AliRDHFCuts.h"
13
14class AliRDHFCutsD0toKpi : public AliRDHFCuts
15{
16 public:
17
a9b75906 18 AliRDHFCutsD0toKpi(const char* name="CutsD0toKpi");
650b3ced 19
20 virtual ~AliRDHFCutsD0toKpi(){}
21
22 AliRDHFCutsD0toKpi(const AliRDHFCutsD0toKpi& source);
23 AliRDHFCutsD0toKpi& operator=(const AliRDHFCutsD0toKpi& 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);
3cbc09cd 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(1,iPtBin)] : 1.e6);}
650b3ced 32
c96634a2 33 virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const;
34
35 virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd) const;
36
aa8d25fe 37
650b3ced 38 protected:
39
40
3cbc09cd 41 ClassDef(AliRDHFCutsD0toKpi,1); // class for cuts on AOD reconstructed D0->Kpi
650b3ced 42};
43
44#endif
aa8d25fe 45