![]() |
AliPhysics
8dc8609 (8dc8609)
|
#include <AliIntSpotEstimator.h>
Public Member Functions | |
AliIntSpotEstimator (Bool_t initDef=kFALSE) | |
AliIntSpotEstimator (const char *name, Double_t outcut=1e-4, Int_t ntrIP=2, Int_t nPhiBins=12, Int_t nestb=500, Double_t estmin=-2e-2, Double_t estmax=6e-2, Int_t ntrBins=10, Int_t ntMn=2, Int_t ntMx=32, Int_t nPBins=14, Double_t pmn=0.2, Double_t pmx=3., Bool_t ntuple=kFALSE) | |
~AliIntSpotEstimator () | |
AliIntSpotEstimator & | operator+= (const AliIntSpotEstimator &src) |
void | InitEstimators (Int_t nPhiBins=12, Int_t nestb=500, Double_t estmin=-2e-2, Double_t estmax=6e-2, Int_t ntrBins=10, Int_t ntMn=2, Int_t ntMx=32, Int_t nPBins=14, Double_t pmn=0.2, Double_t pmx=3., Bool_t ntuple=kFALSE) |
Bool_t | ProcessEvent (const AliESDEvent *esd, const AliESDVertex *vtx=0) |
Bool_t | ProcessEvent (const TObjArray *tracks) |
Double_t | GetIPCenter (Int_t id, Double_t *err=0) const |
Double_t | GetIPCenIni (Int_t id) const |
Double_t | GetIPSigma (Int_t phibin=0, Double_t *err=0) const |
Double_t | GetVtxSigma (int ntr, Double_t *err=0) const |
Double_t | GetDCASigma (double p, Double_t *err=0) const |
Int_t | GetEventsAccepted () const |
Int_t | GetEventsProcessed () const |
Int_t | GetMinTracksForIP () const |
void | SetOutlierCut (Double_t v=1e-4) |
void | SetIPCenIni (Double_t *xyz) |
void | SetMinTracksForIP (Int_t ntr=2) |
TH2F * | GetHistoIP () const |
TH2F * | GetHistoVtx () const |
TH2F * | GetHistoTrc () const |
TH2F * | GetHistoVtxXY () const |
TNtuple * | GetNtuple () const |
AliVertexerTracks * | GetVertexer () const |
Int_t | GetNPhiBins () const |
Int_t | GetNTrackBins () const |
Int_t | GetMinTracks () const |
Int_t | GetMaxTracks () const |
Int_t | GetNPBins () const |
Double_t | GetTrackMinP () const |
Double_t | GetTrackMaxP () const |
TCanvas * | CreateReport (const char *outname=0) |
virtual void | Print (Option_t *opt="") const |
virtual void | Clear (Option_t *opt="") |
virtual Long64_t | Merge (TCollection *coll) |
Static Public Member Functions | |
static Double_t | CalcMean (TH1 *histo, Double_t ctfact, Double_t *err=0) |
Protected Member Functions | |
Bool_t | IsValid () const |
Bool_t | IsZero (Double_t v, Double_t thresh=1e-15) const |
Bool_t | ProcessTracks () |
Bool_t | ProcessIPCenter (const AliESDVertex *vtx) |
Bool_t | ProcessEstimators (const AliESDEvent *esd) |
void | UpdateEstimators (double rvD, double rtD, double nTracks, double pTrack, double phiTrack) |
Protected Attributes | |
Int_t | fEvProc |
Int_t | fIPCenterStat |
Int_t | fMinTracksForIP |
Double_t | fOutlierCut |
Double_t | fIPCenIni [3] |
Double_t | fIPCenter [3] |
Double_t | fIPCen2 [3] |
TH2F * | fEstimIP |
TH2F * | fEstimVtx |
TH2F * | fEstimTrc |
TH2F * | fHVtxXY |
TNtuple * | fNtuple |
AliVertexerTracks * | fVertexer |
optional ntuple with dca's More... | |
TObjArray * | fTracks |
vertex fitter More... | |
Private Member Functions | |
AliIntSpotEstimator (const AliIntSpotEstimator &src) | |
AliIntSpotEstimator & | operator= (const AliIntSpotEstimator &src) |
Definition at line 18 of file AliIntSpotEstimator.h.
AliIntSpotEstimator::AliIntSpotEstimator | ( | Bool_t | initDef = kFALSE | ) |
Definition at line 36 of file AliIntSpotEstimator.cxx.
AliIntSpotEstimator::AliIntSpotEstimator | ( | const char * | name, |
Double_t | outcut = 1e-4 , |
||
Int_t | ntrIP = 2 , |
||
Int_t | nPhiBins = 12 , |
||
Int_t | nestb = 500 , |
||
Double_t | estmin = -2e-2 , |
||
Double_t | estmax = 6e-2 , |
||
Int_t | ntrBins = 10 , |
||
Int_t | ntMn = 2 , |
||
Int_t | ntMx = 32 , |
||
Int_t | nPBins = 14 , |
||
Double_t | pmn = 0.2 , |
||
Double_t | pmx = 3. , |
||
Bool_t | ntuple = kFALSE |
||
) |
Definition at line 19 of file AliIntSpotEstimator.cxx.
AliIntSpotEstimator::~AliIntSpotEstimator | ( | ) |
Definition at line 49 of file AliIntSpotEstimator.cxx.
|
private |
Definition at line 354 of file AliIntSpotEstimator.cxx.
Referenced by GetDCASigma(), GetIPSigma(), and GetVtxSigma().
|
virtual |
Definition at line 419 of file AliIntSpotEstimator.cxx.
Referenced by InitEstimators().
TCanvas * AliIntSpotEstimator::CreateReport | ( | const char * | outname = 0 | ) |
Definition at line 445 of file AliIntSpotEstimator.cxx.
Definition at line 327 of file AliIntSpotEstimator.cxx.
Referenced by CreateReport(), and Print().
|
inline |
Definition at line 45 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 46 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 53 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 55 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 54 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 56 of file AliIntSpotEstimator.h.
Definition at line 40 of file AliIntSpotEstimator.h.
Referenced by GetIPSigma(), and Print().
Definition at line 566 of file AliIntSpotEstimator.cxx.
Referenced by CreateReport(), GetIPSigma(), and Print().
Definition at line 273 of file AliIntSpotEstimator.cxx.
Referenced by CreateReport(), and Print().
|
inline |
Definition at line 63 of file AliIntSpotEstimator.h.
Referenced by GetVtxSigma().
|
inline |
Definition at line 62 of file AliIntSpotEstimator.h.
Referenced by GetVtxSigma(), ProcessEvent(), and ProcessTracks().
|
inline |
Definition at line 47 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 64 of file AliIntSpotEstimator.h.
Referenced by GetDCASigma(), and Print().
|
inline |
Definition at line 60 of file AliIntSpotEstimator.h.
Referenced by GetIPSigma().
|
inline |
Definition at line 61 of file AliIntSpotEstimator.h.
Referenced by GetVtxSigma(), and Print().
|
inline |
Definition at line 57 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 66 of file AliIntSpotEstimator.h.
Referenced by GetDCASigma(), and ProcessTracks().
|
inline |
Definition at line 65 of file AliIntSpotEstimator.h.
Referenced by GetDCASigma(), ProcessTracks(), and UpdateEstimators().
|
inline |
Definition at line 58 of file AliIntSpotEstimator.h.
Referenced by AliAnalysisTaskIPInfo::CreateOutputObjects(), and AliAnalysisTaskIPInfo::Exec().
Definition at line 301 of file AliIntSpotEstimator.cxx.
Referenced by CreateReport(), and Print().
void AliIntSpotEstimator::InitEstimators | ( | Int_t | nPhiBins = 12 , |
Int_t | nestb = 500 , |
||
Double_t | estmin = -2e-2 , |
||
Double_t | estmax = 6e-2 , |
||
Int_t | ntrBins = 10 , |
||
Int_t | ntMn = 2 , |
||
Int_t | ntMx = 32 , |
||
Int_t | nPBins = 14 , |
||
Double_t | pmn = 0.2 , |
||
Double_t | pmx = 3. , |
||
Bool_t | ntuple = kFALSE |
||
) |
Definition at line 216 of file AliIntSpotEstimator.cxx.
Referenced by AliIntSpotEstimator().
|
inlineprotected |
Definition at line 75 of file AliIntSpotEstimator.h.
Referenced by GetDCASigma(), GetIPSigma(), GetMaxTracks(), GetMinTracks(), GetNPBins(), GetNPhiBins(), GetNTrackBins(), GetTrackMaxP(), GetTrackMinP(), GetVtxSigma(), Print(), and ProcessEvent().
Definition at line 76 of file AliIntSpotEstimator.h.
Referenced by Print(), and ProcessTracks().
|
virtual |
Definition at line 547 of file AliIntSpotEstimator.cxx.
AliIntSpotEstimator & AliIntSpotEstimator::operator+= | ( | const AliIntSpotEstimator & | src | ) |
Definition at line 431 of file AliIntSpotEstimator.cxx.
|
private |
|
virtual |
Definition at line 382 of file AliIntSpotEstimator.cxx.
|
protected |
Bool_t AliIntSpotEstimator::ProcessEvent | ( | const AliESDEvent * | esd, |
const AliESDVertex * | vtx = 0 |
||
) |
Definition at line 78 of file AliIntSpotEstimator.cxx.
Referenced by AliAnalysisTaskIPInfo::Exec().
Definition at line 101 of file AliIntSpotEstimator.cxx.
|
protected |
Definition at line 59 of file AliIntSpotEstimator.cxx.
Referenced by ProcessTracks().
|
protected |
Definition at line 119 of file AliIntSpotEstimator.cxx.
Referenced by ProcessEvent().
|
inline |
Definition at line 50 of file AliIntSpotEstimator.h.
Referenced by AliAnalysisTaskIPInfo::CreateOutputObjects().
|
inline |
Definition at line 51 of file AliIntSpotEstimator.h.
|
inline |
Definition at line 49 of file AliIntSpotEstimator.h.
|
protected |
Definition at line 201 of file AliIntSpotEstimator.cxx.
Referenced by ProcessTracks().
|
protected |
Definition at line 96 of file AliIntSpotEstimator.h.
Referenced by Clear(), CreateReport(), GetHistoIP(), GetIPSigma(), GetNPhiBins(), InitEstimators(), IsValid(), operator+=(), UpdateEstimators(), and ~AliIntSpotEstimator().
|
protected |
Definition at line 98 of file AliIntSpotEstimator.h.
Referenced by Clear(), CreateReport(), GetDCASigma(), GetHistoTrc(), GetNPBins(), GetTrackMaxP(), GetTrackMinP(), InitEstimators(), operator+=(), Print(), UpdateEstimators(), and ~AliIntSpotEstimator().
|
protected |
Definition at line 97 of file AliIntSpotEstimator.h.
Referenced by Clear(), CreateReport(), GetHistoVtx(), GetMaxTracks(), GetMinTracks(), GetNTrackBins(), GetVtxSigma(), InitEstimators(), operator+=(), Print(), UpdateEstimators(), and ~AliIntSpotEstimator().
|
protected |
Definition at line 88 of file AliIntSpotEstimator.h.
Referenced by Clear(), CreateReport(), GetEventsProcessed(), operator+=(), Print(), and ProcessEvent().
|
protected |
Definition at line 99 of file AliIntSpotEstimator.h.
Referenced by GetHistoVtxXY(), InitEstimators(), operator+=(), and ProcessIPCenter().
|
protected |
Definition at line 94 of file AliIntSpotEstimator.h.
Referenced by GetIPCenter(), and ProcessIPCenter().
|
protected |
Definition at line 92 of file AliIntSpotEstimator.h.
Referenced by Clear(), GetIPCenIni(), ProcessTracks(), and SetIPCenIni().
|
protected |
Definition at line 93 of file AliIntSpotEstimator.h.
Referenced by Clear(), GetIPCenter(), operator+=(), and ProcessIPCenter().
|
protected |
Definition at line 89 of file AliIntSpotEstimator.h.
Referenced by Clear(), CreateReport(), GetEventsAccepted(), GetIPCenter(), operator+=(), and ProcessIPCenter().
|
protected |
Definition at line 90 of file AliIntSpotEstimator.h.
Referenced by GetMinTracksForIP(), ProcessTracks(), SetMinTracksForIP(), and UpdateEstimators().
|
protected |
Definition at line 100 of file AliIntSpotEstimator.h.
Referenced by GetNtuple(), InitEstimators(), ProcessTracks(), and ~AliIntSpotEstimator().
|
protected |
Definition at line 91 of file AliIntSpotEstimator.h.
Referenced by CreateReport(), GetDCASigma(), GetIPSigma(), GetVtxSigma(), and SetOutlierCut().
|
protected |
vertex fitter
Definition at line 103 of file AliIntSpotEstimator.h.
Referenced by InitEstimators(), ProcessEvent(), and ProcessTracks().
|
protected |
optional ntuple with dca's
Definition at line 102 of file AliIntSpotEstimator.h.
Referenced by GetVertexer(), InitEstimators(), ProcessEvent(), ProcessTracks(), and ~AliIntSpotEstimator().