AliPhysics  ff1d528 (ff1d528)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  {return IsSelected(obj,selectionLevel,0);}
33  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel,AliAODEvent* aod);
34 
35  Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
36  Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);}
37 
38  protected:
39 
40 
42  ClassDef(AliRDHFCutsJpsitoee,1);
43 };
45 
46 #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:244
int Int_t
Definition: External.C:63
Float_t GetDCACut(Int_t iPtBin=0) const
float Float_t
Definition: External.C:68
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:408
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:281
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
Float_t GetMassCut(Int_t iPtBin=0) const
Int_t GetGlobalIndex(Int_t iVar, Int_t iPtBin) const