![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Class for handling of ESD v0 cuts. More...
#include <AliESDv0Cuts.h>
Public Member Functions | |
AliESDv0Cuts (const Char_t *name="AliESDv0Cuts", const Char_t *title="") | |
virtual | ~AliESDv0Cuts () |
Bool_t | IsSelected (TObject *) |
Bool_t | IsSelected (TList *listObj) |
Bool_t | IsSelected (TObject *const obj1, TObject *const obj2, TObject *const obj3, TObject *const obj4) |
Bool_t | AcceptV0 (AliESDv0 *const esdV0, AliESDtrack *const trackPos, AliESDtrack *const trackNeg, const AliESDVertex *esdVertex) |
TObjArray * | GetAcceptedV0s (const AliESD *esd) |
Int_t | CountAcceptedV0s (const AliESD *esd) |
TObjArray * | GetAcceptedV0s (const AliESDEvent *esd) |
Int_t | CountAcceptedV0s (const AliESDEvent *esd) |
virtual Long64_t | Merge (TCollection *list) |
virtual void | Copy (TObject &c) const |
AliESDv0Cuts (const AliESDv0Cuts &pd) | |
AliESDv0Cuts & | operator= (const AliESDv0Cuts &c) |
void | SetMinDcaPosToVertex (Float_t min=-1) |
void | SetMinDcaNegToVertex (Float_t min=-1) |
void | SetMaxChi2 (Float_t max=1e10) |
void | SetMaxDcaV0Daughters (Float_t max=1e10) |
void | SetMinRadius (Float_t min=-1) |
void | SetMaxRadius (Float_t max=1e10) |
void | SetMinCosinePointingAngle (Float_t min=-1) |
void | SetRequireOnFlyStatus (Bool_t b=kFALSE) |
void | SetMaxDcaV0ToVertex (Float_t max=1e10) |
void | SetPRange (Float_t r1=0, Float_t r2=1e10) |
void | SetPtRange (Float_t r1=0, Float_t r2=1e10) |
void | SetPxRange (Float_t r1=-1e10, Float_t r2=1e10) |
void | SetPyRange (Float_t r1=-1e10, Float_t r2=1e10) |
void | SetPzRange (Float_t r1=-1e10, Float_t r2=1e10) |
void | SetHistogramsOn (Bool_t b=kFALSE) |
void | DefineHistograms (Int_t color=1) |
virtual Bool_t | LoadHistograms (const Char_t *dir=0) |
void | SaveHistograms (const Char_t *dir=0) |
void | DrawHistograms () |
![]() | |
AliAnalysisCuts () | |
AliAnalysisCuts (const char *name, const char *title) | |
AliAnalysisCuts (const AliAnalysisCuts &obj) | |
AliAnalysisCuts & | operator= (const AliAnalysisCuts &obj) |
virtual | ~AliAnalysisCuts () |
virtual void | SetFilterMask (UInt_t mask) |
virtual UInt_t | GetFilterMask () const |
virtual void | SetSelected (Bool_t dec) |
virtual UInt_t | Selected () const |
virtual TList * | GetOutput () |
virtual TObject * | GetStatistics (Option_t *) const |
![]() | |
AliVCuts () | |
AliVCuts (const char *name, const char *title) | |
virtual | ~AliVCuts () |
AliVCuts (const AliVCuts &evt) | |
AliVCuts & | operator= (const AliVCuts &evt) |
virtual UInt_t | GetSelectionMask (const TObject *) |
Static Public Member Functions | |
static void | EnableNeededBranches (TTree *tree) |
Protected Types | |
enum | { kNCuts = 14 } |
Protected Member Functions | |
void | Init () |
Protected Attributes | |
Float_t | fCutMinDcaPosToVertex |
min dca of the positive daughter to the primary vertex More... | |
Float_t | fCutMinDcaNegToVertex |
min dca of the negative daughter to the primary vertex More... | |
Float_t | fCutMaxChi2 |
max chi2 More... | |
Float_t | fCutMaxDcaV0Daughters |
max dca between the two v0 daughters More... | |
Float_t | fCutMinRadius |
min reconstruction radius (fiducial volume) More... | |
Float_t | fCutMaxRadius |
max reconstruction radius (fiducial volume) More... | |
Float_t | fCutMinCosinePointingAngle |
min cosine of pointing angle More... | |
Bool_t | fCutRequireOnFlyStatus |
require on fly status More... | |
Float_t | fCutMaxDcaV0ToVertex |
max dca of the v0 to the primary vertex More... | |
Float_t | fPMin |
Float_t | fPMax |
definition of the range of the P More... | |
Float_t | fPtMin |
Float_t | fPtMax |
definition of the range of the Pt More... | |
Float_t | fPxMin |
Float_t | fPxMax |
definition of the range of the Px More... | |
Float_t | fPyMin |
Float_t | fPyMax |
definition of the range of the Py More... | |
Float_t | fPzMin |
Float_t | fPzMax |
definition of the range of the Pz More... | |
Bool_t | fHistogramsOn |
histograms on/off More... | |
TH1F * | fhDcaPosToVertex [2] |
TH1F * | fhDcaNegToVertex [2] |
TH1F * | fhChi2 [2] |
TH1F * | fhDcaV0Daughters [2] |
TH1F * | fhRadius [2] |
TH1F * | fhCosinePointingAngle [2] |
TH1F * | fhOnFlyStatus [2] |
TH1F * | fhDcaV0ToVertex [2] |
TH1F * | fhPt [2] |
pt of esd v0s More... | |
TH1F * | fhCutStatistics |
statistics of what cuts the v0s did not survive More... | |
TH2F * | fhCutCorrelation |
2d statistics plot More... | |
Static Protected Attributes | |
static const Char_t * | fgkCutNames [kNCuts] |
! names of cuts (for internal use) More... | |
Class for handling of ESD v0 cuts.
Definition at line 19 of file AliESDv0Cuts.h.
|
protected |
Enumerator | |
---|---|
kNCuts |
Definition at line 74 of file AliESDv0Cuts.h.
AliESDv0Cuts::AliESDv0Cuts | ( | const Char_t * | name = "AliESDv0Cuts" , |
const Char_t * | title = "" |
||
) |
|
virtual |
destructor
Definition at line 130 of file AliESDv0Cuts.cxx.
AliESDv0Cuts::AliESDv0Cuts | ( | const AliESDv0Cuts & | pd | ) |
copy constructor
Definition at line 101 of file AliESDv0Cuts.cxx.
Bool_t AliESDv0Cuts::AcceptV0 | ( | AliESDv0 *const | esdV0, |
AliESDtrack *const | trackPos, | ||
AliESDtrack *const | trackNeg, | ||
const AliESDVertex * | esdVertex | ||
) |
figure out if the v0s survives all the v0 cuts defined
the different quality parameter and kinematic values are first retrieved from the v0. then it is found out what cuts the v0 did not survive and finally the cuts are imposed.
Definition at line 346 of file AliESDv0Cuts.cxx.
Referenced by CountAcceptedV0s(), GetAcceptedV0s(), and IsSelected().
|
virtual |
Copy function
Definition at line 216 of file AliESDv0Cuts.cxx.
Referenced by IsSelected(), and operator=().
Int_t AliESDv0Cuts::CountAcceptedV0s | ( | const AliESD * | esd | ) |
returns an the number of v0s that pass the cuts
Definition at line 516 of file AliESDv0Cuts.cxx.
Referenced by IsSelected().
Int_t AliESDv0Cuts::CountAcceptedV0s | ( | const AliESDEvent * | esd | ) |
returns an the number of v0s that pass the cuts
Definition at line 570 of file AliESDv0Cuts.cxx.
void AliESDv0Cuts::DefineHistograms | ( | Int_t | color = 1 | ) |
diagnostics histograms are defined
Definition at line 596 of file AliESDv0Cuts.cxx.
Referenced by SetHistogramsOn().
void AliESDv0Cuts::DrawHistograms | ( | ) |
draws some histograms
Definition at line 755 of file AliESDv0Cuts.cxx.
Referenced by SetHistogramsOn().
|
static |
enables the branches needed by AcceptV0, for a list see comment of AcceptV0
Definition at line 317 of file AliESDv0Cuts.cxx.
Referenced by SetHistogramsOn().
returns an array of all v0s that pass the cuts
Definition at line 490 of file AliESDv0Cuts.cxx.
Referenced by IsSelected().
TObjArray * AliESDv0Cuts::GetAcceptedV0s | ( | const AliESDEvent * | esd | ) |
Definition at line 542 of file AliESDv0Cuts.cxx.
|
protectedvirtual |
sets everything to zero
Reimplemented from AliAnalysisCuts.
Definition at line 162 of file AliESDv0Cuts.cxx.
Referenced by AliESDv0Cuts(), Copy(), and SetHistogramsOn().
|
inlinevirtual |
Reimplemented from AliAnalysisCuts.
Definition at line 25 of file AliESDv0Cuts.h.
|
virtual |
|
inline |
Definition at line 27 of file AliESDv0Cuts.h.
|
virtual |
loads the histograms from a file if dir is empty a directory with the name of this object is taken (like in SaveHistogram)
Definition at line 664 of file AliESDv0Cuts.cxx.
Referenced by SetHistogramsOn().
|
virtual |
Merge a list of AliESDv0Cuts objects with this (needed for PROOF) Returns the number of merged objects (including this)
Reimplemented from AliAnalysisCuts.
Definition at line 267 of file AliESDv0Cuts.cxx.
Referenced by IsSelected().
AliESDv0Cuts & AliESDv0Cuts::operator= | ( | const AliESDv0Cuts & | c | ) |
void AliESDv0Cuts::SaveHistograms | ( | const Char_t * | dir = 0 | ) |
saves the histograms in a directory (dir)
Definition at line 711 of file AliESDv0Cuts.cxx.
Referenced by SetHistogramsOn().
|
inline |
Definition at line 60 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 44 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 45 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 50 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 47 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 48 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 43 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 42 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 46 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 53 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 54 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 55 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 56 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 57 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
inline |
Definition at line 49 of file AliESDv0Cuts.h.
Referenced by AliESDv0Cuts().
|
protected |
max chi2
Definition at line 82 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMaxChi2().
|
protected |
max dca between the two v0 daughters
Definition at line 83 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMaxDcaV0Daughters().
|
protected |
max dca of the v0 to the primary vertex
Definition at line 88 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMaxDcaV0ToVertex().
|
protected |
max reconstruction radius (fiducial volume)
Definition at line 85 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMaxRadius().
|
protected |
min cosine of pointing angle
Definition at line 86 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMinCosinePointingAngle().
|
protected |
min dca of the negative daughter to the primary vertex
Definition at line 81 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMinDcaNegToVertex().
|
protected |
min dca of the positive daughter to the primary vertex
Definition at line 80 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMinDcaPosToVertex().
|
protected |
min reconstruction radius (fiducial volume)
Definition at line 84 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetMinRadius().
|
protected |
require on fly status
Definition at line 87 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetRequireOnFlyStatus().
|
staticprotected |
! names of cuts (for internal use)
Definition at line 78 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), and DefineHistograms().
|
protected |
Definition at line 106 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 112 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
2d statistics plot
Definition at line 124 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
statistics of what cuts the v0s did not survive
Definition at line 122 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 104 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 102 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 108 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 116 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
histograms on/off
Definition at line 99 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), Init(), Merge(), SaveHistograms(), and SetHistogramsOn().
|
protected |
Definition at line 114 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
pt of esd v0s
Definition at line 119 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
Definition at line 110 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), DefineHistograms(), DrawHistograms(), Init(), LoadHistograms(), Merge(), SaveHistograms(), and ~AliESDv0Cuts().
|
protected |
definition of the range of the P
Definition at line 91 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPRange().
|
protected |
Definition at line 91 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPRange().
|
protected |
definition of the range of the Pt
Definition at line 92 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPtRange().
|
protected |
Definition at line 92 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPtRange().
|
protected |
definition of the range of the Px
Definition at line 93 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPxRange().
|
protected |
Definition at line 93 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPxRange().
|
protected |
definition of the range of the Py
Definition at line 94 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPyRange().
|
protected |
Definition at line 94 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPyRange().
|
protected |
definition of the range of the Pz
Definition at line 95 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPzRange().
|
protected |
Definition at line 95 of file AliESDv0Cuts.h.
Referenced by AcceptV0(), Copy(), Init(), and SetPzRange().