Dplus task used AliAODPidHF via AliRDHFCutsDplustoKpipi (Renu, Francesco)
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliRDHFCutsDplustoKpipi.h
CommitLineData
e3d40058 1#ifndef ALIRDHFCUTSDPLUSTOKPIPI_H
2#define ALIRDHFCUTSDPLUSTOKPIPI_H
3/* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/////////////////////////////////////////////////////////////
8//
9// Class for cuts on AOD reconstructed D+->Kpipi
10//
11// Author: R. Bala bala@to.infn.it
12// G. Ortona ortona@to.infn.it
13/////////////////////////////////////////////////////////////
14
15
16#include "AliRDHFCuts.h"
73173a6a 17#include "AliAODPidHF.h"
e3d40058 18class AliRDHFCutsDplustoKpipi : public AliRDHFCuts
19{
20 public:
21
a9b75906 22 AliRDHFCutsDplustoKpipi(const char* name="CutsDplustoKpipi");
e3d40058 23
73173a6a 24 virtual ~AliRDHFCutsDplustoKpipi(){};
e3d40058 25 AliRDHFCutsDplustoKpipi(const AliRDHFCutsDplustoKpipi& source);
26 AliRDHFCutsDplustoKpipi& operator=(const AliRDHFCutsDplustoKpipi& source);
27
28 virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
29
30 using AliRDHFCuts::IsSelected;
31 virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
73173a6a 32 virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd) const;
33
34
e3d40058 35 Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
4755453e 36 Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);}
e3d40058 37
38 protected:
e3d40058 39
4755453e 40 ClassDef(AliRDHFCutsDplustoKpipi,1); // class for cuts on AOD reconstructed
41 // D+->Kpipi
e3d40058 42};
43
44#endif