Fix in the last caall to CleanOwnPrimaryVertex
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliRDHFCutsDstoKKpi.h
CommitLineData
e3d40058 1#ifndef ALIRDHFCUTSDSTOKKPI_H
2#define ALIRDHFCUTSDSTOKKPI_H
3/* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
27de2dfb 6/* $Id$ */
7
e3d40058 8//***********************************************************
9// Class AliRDHFCutsDstoKKpi
10// class for cuts on AOD reconstructed Ds->KKpi
11// Author: A.Dainese, andrea.dainese@pd.infn.it
12//***********************************************************
13
14#include "AliRDHFCuts.h"
15
16class AliRDHFCutsDstoKKpi : public AliRDHFCuts
17{
18 public:
19
a9b75906 20 AliRDHFCutsDstoKKpi(const char* name="CutsDstoKKpi");
e3d40058 21
22 virtual ~AliRDHFCutsDstoKKpi(){}
23
24 AliRDHFCutsDstoKKpi(const AliRDHFCutsDstoKKpi& source);
25 AliRDHFCutsDstoKKpi& operator=(const AliRDHFCutsDstoKKpi& source);
26
a6003e0a 27 using AliRDHFCuts::GetCutVarsForOpt;
28 virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters){
29 return GetCutVarsForOpt(d,vars,nvars,pdgdaughters,0x0);
30 }
31 virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters,AliAODEvent *aod);
e3d40058 32
33 using AliRDHFCuts::IsSelected;
3787d195 34 virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel){
35 return IsSelected(obj,selectionLevel,0x0);
36 }
37 virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel,AliAODEvent* aod);
38
39
45ab4739 40 virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd);
3787d195 41
42 virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const;
e3d40058 43 Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
44 Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(11,iPtBin)] : 1.e6);}
45
fba41fa4 46
47 enum EDsPid {kConservative, kStrong};
48 void SetPidOption(Int_t opt){
49 fPidOption=opt;
50 }
51 Int_t GetPidOption() const {return fPidOption;}
52
e3d40058 53 protected:
fba41fa4 54 Int_t fPidOption; //pid option
e3d40058 55
56
fba41fa4 57 ClassDef(AliRDHFCutsDstoKKpi,2); // class for cuts on AOD reconstructed Ds->KKpi
e3d40058 58};
59
60#endif