AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliRDHFCutsJpsitoee.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSJPSITOEE_H
2 #define ALIRDHFCUTSJPSITOEE_H
3 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 /* $Id$ */
7 
8 //***********************************************************
12 //***********************************************************
13 
14 #include "AliRDHFCuts.h"
15 
17 {
18  public:
19 
20  AliRDHFCutsJpsitoee(const char* name="CutsJpsitoee");
21 
23 
26 
28  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
29 
31  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
32 
33  Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
34  Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);}
35 
36  protected:
37 
38 
40  ClassDef(AliRDHFCutsJpsitoee,1);
41 };
43 
44 #endif
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
AliRDHFCutsJpsitoee(const char *name="CutsJpsitoee")
const Float_t * GetCuts() const
Definition: AliRDHFCuts.h:238
Float_t GetDCACut(Int_t iPtBin=0) const
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
AliRDHFCutsJpsitoee & operator=(const AliRDHFCutsJpsitoee &source)
Float_t * fCutsRD
fnVars*fnPtBins
Definition: AliRDHFCuts.h:386
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
Float_t GetMassCut(Int_t iPtBin=0) const
Int_t GetGlobalIndex(Int_t iVar, Int_t iPtBin) const