Update (Andrea)
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliRDHFCutsD0toKpipipi.h
CommitLineData
4755453e 1#ifndef ALIRDHFCUTSD0TOKPIPIPI_H\r
2#define ALIRDHFCUTSD0TOKPIPIPI_H\r
3/* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *\r
4 * See cxx source for full Copyright notice */\r
5\r
6//***********************************************************\r
7// Class AliRDHFCutsD0toKpipipi\r
8// class for cuts on AOD reconstructed D0->Kpipipi\r
601736df 9// Author: A.Dainese, andrea.dainese@pd.infn.it
10// F.Colamaria, fabio.colamaria@ba.infn.it\r
4755453e 11//***********************************************************\r
12\r
601736df 13#include "AliRDHFCuts.h"
14#include "AliAODRecoDecayHF4Prong.h"\r
4755453e 15\r
16class AliRDHFCutsD0toKpipipi : public AliRDHFCuts \r
17{\r
18 public:\r
19\r
a9b75906 20 AliRDHFCutsD0toKpipipi(const char* name="CutsD0toKpipipi");\r
4755453e 21 \r
22 virtual ~AliRDHFCutsD0toKpipipi(){}\r
23\r
24 AliRDHFCutsD0toKpipipi(const AliRDHFCutsD0toKpipipi& source);\r
25 AliRDHFCutsD0toKpipipi& operator=(const AliRDHFCutsD0toKpipipi& source); \r
26 \r
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);\r
32 \r
4755453e 33 using AliRDHFCuts::IsSelected;\r
601736df 34 virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
35 virtual Int_t IsSelectedFromPID(AliAODRecoDecayHF4Prong *d, Int_t *hyp1, Int_t *hyp2, Int_t *hyp3, Int_t *hyp4);
36 virtual Int_t D01Selected(TObject* obj,Int_t selectionLevel);
37 virtual Int_t D02Selected(TObject* obj,Int_t selectionLevel);
38 virtual Int_t D0bar1Selected(TObject* obj,Int_t selectionLevel);
39 virtual Int_t D0bar2Selected(TObject* obj,Int_t selectionLevel);\r
4755453e 40 \r
41 Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}\r
601736df 42 Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);}
43 Bool_t GetUsePID(Int_t iPtBin=0) const { return (GetCuts() ? (Bool_t)(fCutsRD[GetGlobalIndex(8,iPtBin)]) : kFALSE);}
44
45 virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const;\r
4755453e 46\r
47 protected:\r
48\r
49\r
50 ClassDef(AliRDHFCutsD0toKpipipi,1); // class for cuts on AOD reconstructed D0->Kpipipi\r
51};\r
52\r
53#endif\r