AliPhysics  d565ceb (d565ceb)
AliIntSpotEstimator Class Reference

#include <AliIntSpotEstimator.h>

Inheritance diagram for AliIntSpotEstimator:

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 ()
 
AliIntSpotEstimatoroperator+= (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)
 
TH2FGetHistoIP () const
 
TH2FGetHistoVtx () const
 
TH2FGetHistoTrc () const
 
TH2FGetHistoVtxXY () 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]
 
TH2FfEstimIP
 
TH2FfEstimVtx
 
TH2FfEstimTrc
 
TH2FfHVtxXY
 
TNtuple * fNtuple
 
AliVertexerTracks * fVertexer
 optional ntuple with dca's More...
 
TObjArrayfTracks
 vertex fitter More...
 

Private Member Functions

 AliIntSpotEstimator (const AliIntSpotEstimator &src)
 
AliIntSpotEstimatoroperator= (const AliIntSpotEstimator &src)
 

Detailed Description

Definition at line 18 of file AliIntSpotEstimator.h.

Constructor & Destructor Documentation

AliIntSpotEstimator::AliIntSpotEstimator ( Bool_t  initDef = kFALSE)

Definition at line 36 of file AliIntSpotEstimator.cxx.

Referenced by IsZero().

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.

AliIntSpotEstimator::AliIntSpotEstimator ( const AliIntSpotEstimator src)
private

Member Function Documentation

Double_t AliIntSpotEstimator::CalcMean ( TH1 histo,
Double_t  ctfact,
Double_t err = 0 
)
static

Definition at line 354 of file AliIntSpotEstimator.cxx.

Referenced by GetDCASigma(), GetIPSigma(), GetTrackMaxP(), and GetVtxSigma().

void AliIntSpotEstimator::Clear ( Option_t opt = "")
virtual

Definition at line 419 of file AliIntSpotEstimator.cxx.

Referenced by GetTrackMaxP(), and InitEstimators().

TCanvas * AliIntSpotEstimator::CreateReport ( const char *  outname = 0)

Definition at line 445 of file AliIntSpotEstimator.cxx.

Referenced by GetTrackMaxP().

Double_t AliIntSpotEstimator::GetDCASigma ( double  p,
Double_t err = 0 
) const

Definition at line 327 of file AliIntSpotEstimator.cxx.

Referenced by CreateReport(), GetIPCenIni(), and Print().

Int_t AliIntSpotEstimator::GetEventsAccepted ( ) const
inline

Definition at line 45 of file AliIntSpotEstimator.h.

Int_t AliIntSpotEstimator::GetEventsProcessed ( ) const
inline

Definition at line 46 of file AliIntSpotEstimator.h.

TH2F* AliIntSpotEstimator::GetHistoIP ( ) const
inline

Definition at line 53 of file AliIntSpotEstimator.h.

TH2F* AliIntSpotEstimator::GetHistoTrc ( ) const
inline

Definition at line 55 of file AliIntSpotEstimator.h.

TH2F* AliIntSpotEstimator::GetHistoVtx ( ) const
inline

Definition at line 54 of file AliIntSpotEstimator.h.

TH2F* AliIntSpotEstimator::GetHistoVtxXY ( ) const
inline

Definition at line 56 of file AliIntSpotEstimator.h.

Double_t AliIntSpotEstimator::GetIPCenIni ( Int_t  id) const
inline

Definition at line 40 of file AliIntSpotEstimator.h.

Referenced by GetIPSigma(), and Print().

Double_t AliIntSpotEstimator::GetIPCenter ( Int_t  id,
Double_t err = 0 
) const

Definition at line 566 of file AliIntSpotEstimator.cxx.

Referenced by CreateReport(), GetIPSigma(), and Print().

Double_t AliIntSpotEstimator::GetIPSigma ( Int_t  phibin = 0,
Double_t err = 0 
) const

Definition at line 273 of file AliIntSpotEstimator.cxx.

Referenced by CreateReport(), GetIPCenIni(), and Print().

Int_t AliIntSpotEstimator::GetMaxTracks ( ) const
inline

Definition at line 63 of file AliIntSpotEstimator.h.

Referenced by GetVtxSigma().

Int_t AliIntSpotEstimator::GetMinTracks ( ) const
inline

Definition at line 62 of file AliIntSpotEstimator.h.

Referenced by GetVtxSigma(), ProcessEvent(), and ProcessTracks().

Int_t AliIntSpotEstimator::GetMinTracksForIP ( ) const
inline

Definition at line 47 of file AliIntSpotEstimator.h.

Int_t AliIntSpotEstimator::GetNPBins ( ) const
inline

Definition at line 64 of file AliIntSpotEstimator.h.

Referenced by GetDCASigma(), and Print().

Int_t AliIntSpotEstimator::GetNPhiBins ( ) const
inline

Definition at line 60 of file AliIntSpotEstimator.h.

Referenced by GetIPSigma().

Int_t AliIntSpotEstimator::GetNTrackBins ( ) const
inline

Definition at line 61 of file AliIntSpotEstimator.h.

Referenced by GetVtxSigma(), and Print().

TNtuple* AliIntSpotEstimator::GetNtuple ( ) const
inline

Definition at line 57 of file AliIntSpotEstimator.h.

Double_t AliIntSpotEstimator::GetTrackMaxP ( ) const
inline

Definition at line 66 of file AliIntSpotEstimator.h.

Referenced by GetDCASigma(), and ProcessTracks().

Double_t AliIntSpotEstimator::GetTrackMinP ( ) const
inline

Definition at line 65 of file AliIntSpotEstimator.h.

Referenced by GetDCASigma(), ProcessTracks(), and UpdateEstimators().

AliVertexerTracks* AliIntSpotEstimator::GetVertexer ( ) const
inline
Double_t AliIntSpotEstimator::GetVtxSigma ( int  ntr,
Double_t err = 0 
) const

Definition at line 301 of file AliIntSpotEstimator.cxx.

Referenced by CreateReport(), GetIPCenIni(), 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().

Bool_t AliIntSpotEstimator::IsValid ( ) const
inlineprotected
Bool_t AliIntSpotEstimator::IsZero ( Double_t  v,
Double_t  thresh = 1e-15 
) const
inlineprotected

Definition at line 76 of file AliIntSpotEstimator.h.

Referenced by Print(), and ProcessTracks().

Long64_t AliIntSpotEstimator::Merge ( TCollection coll)
virtual

Definition at line 547 of file AliIntSpotEstimator.cxx.

Referenced by GetTrackMaxP().

AliIntSpotEstimator & AliIntSpotEstimator::operator+= ( const AliIntSpotEstimator src)

Definition at line 431 of file AliIntSpotEstimator.cxx.

AliIntSpotEstimator& AliIntSpotEstimator::operator= ( const AliIntSpotEstimator src)
private

Referenced by IsZero().

void AliIntSpotEstimator::Print ( Option_t opt = "") const
virtual

Definition at line 382 of file AliIntSpotEstimator.cxx.

Referenced by GetTrackMaxP().

Bool_t AliIntSpotEstimator::ProcessEstimators ( const AliESDEvent esd)
protected

Referenced by IsZero().

Bool_t AliIntSpotEstimator::ProcessEvent ( const AliESDEvent esd,
const AliESDVertex *  vtx = 0 
)

Definition at line 78 of file AliIntSpotEstimator.cxx.

Referenced by AliAnalysisTaskIPInfo::Exec().

Bool_t AliIntSpotEstimator::ProcessEvent ( const TObjArray tracks)

Definition at line 101 of file AliIntSpotEstimator.cxx.

Bool_t AliIntSpotEstimator::ProcessIPCenter ( const AliESDVertex *  vtx)
protected

Definition at line 59 of file AliIntSpotEstimator.cxx.

Referenced by IsZero(), and ProcessTracks().

Bool_t AliIntSpotEstimator::ProcessTracks ( )
protected

Definition at line 119 of file AliIntSpotEstimator.cxx.

Referenced by IsZero(), and ProcessEvent().

void AliIntSpotEstimator::SetIPCenIni ( Double_t xyz)
inline

Definition at line 50 of file AliIntSpotEstimator.h.

Referenced by AliAnalysisTaskIPInfo::CreateOutputObjects().

void AliIntSpotEstimator::SetMinTracksForIP ( Int_t  ntr = 2)
inline

Definition at line 51 of file AliIntSpotEstimator.h.

void AliIntSpotEstimator::SetOutlierCut ( Double_t  v = 1e-4)
inline

Definition at line 49 of file AliIntSpotEstimator.h.

void AliIntSpotEstimator::UpdateEstimators ( double  rvD,
double  rtD,
double  nTracks,
double  pTrack,
double  phiTrack 
)
protected

Definition at line 201 of file AliIntSpotEstimator.cxx.

Referenced by IsZero(), and ProcessTracks().

Member Data Documentation

TH2F* AliIntSpotEstimator::fEstimIP
protected
Int_t AliIntSpotEstimator::fEvProc
protected
TH2F* AliIntSpotEstimator::fHVtxXY
protected

Definition at line 99 of file AliIntSpotEstimator.h.

Referenced by GetHistoVtxXY(), InitEstimators(), operator+=(), and ProcessIPCenter().

Double_t AliIntSpotEstimator::fIPCen2[3]
protected

Definition at line 94 of file AliIntSpotEstimator.h.

Referenced by GetIPCenter(), and ProcessIPCenter().

Double_t AliIntSpotEstimator::fIPCenIni[3]
protected

Definition at line 92 of file AliIntSpotEstimator.h.

Referenced by Clear(), GetIPCenIni(), ProcessTracks(), and SetIPCenIni().

Double_t AliIntSpotEstimator::fIPCenter[3]
protected

Definition at line 93 of file AliIntSpotEstimator.h.

Referenced by Clear(), GetIPCenter(), operator+=(), and ProcessIPCenter().

Int_t AliIntSpotEstimator::fIPCenterStat
protected
Int_t AliIntSpotEstimator::fMinTracksForIP
protected
TNtuple* AliIntSpotEstimator::fNtuple
protected
Double_t AliIntSpotEstimator::fOutlierCut
protected
TObjArray* AliIntSpotEstimator::fTracks
protected

vertex fitter

Definition at line 103 of file AliIntSpotEstimator.h.

Referenced by InitEstimators(), ProcessEvent(), and ProcessTracks().

AliVertexerTracks* AliIntSpotEstimator::fVertexer
protected

optional ntuple with dca's

Definition at line 102 of file AliIntSpotEstimator.h.

Referenced by GetVertexer(), InitEstimators(), ProcessEvent(), ProcessTracks(), and ~AliIntSpotEstimator().


The documentation for this class was generated from the following files: