AliPhysics  5364b50 (5364b50)
AliAnalysisTaskIPInfo Class Reference

#include <AliAnalysisTaskIPInfo.h>

Inheritance diagram for AliAnalysisTaskIPInfo:

Public Types

enum  { kITSTPC, kTPC, kSPD, kNEst }
 

Public Member Functions

 AliAnalysisTaskIPInfo (const char *name="IPInfo")
 
virtual ~AliAnalysisTaskIPInfo ()
 
AliIntSpotEstimatorGetEstimator (Int_t i) const
 
void SetOptions (Int_t estID, Bool_t recoVtx=kFALSE, Double_t outcut=1e-4, Int_t ntrIP=2, Int_t nPhiBins=12, Int_t nestb=1000, Double_t estmin=-4e-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 fillNt=kFALSE)
 
void SetIPCenIni (Int_t esdID, Double_t x=0, Double_t y=0, Double_t z=0)
 
Int_t CreateSPDTracklets (TClonesArray &tracks)
 
virtual void ConnectInputData (Option_t *)
 
virtual void CreateOutputObjects ()
 
virtual void Exec (Option_t *option)
 
virtual void Terminate (Option_t *)
 

Protected Attributes

Bool_t fRecoVtx [kNEst]
 
Int_t fNTrMinIP [kNEst]
 request to refit the vertex for given estimator More...
 
Int_t fNPhiBins [kNEst]
 min tracks for IP estimator More...
 
Int_t fNEstb [kNEst]
 n bins in phi for IP More...
 
Int_t fNTrBins [kNEst]
 n of estimator bins More...
 
Int_t fNPBins [kNEst]
 n of vtx.mult. bins More...
 
Int_t fNTrMin [kNEst]
 n of track P bins More...
 
Int_t fNTrMax [kNEst]
 min vtx multuplicity More...
 
Double_t fOutCut [kNEst]
 max vtx multuplicity More...
 
Double_t fEstMin [kNEst]
 outliers cut level More...
 
Double_t fEstMax [kNEst]
 lower estimator boundary More...
 
Double_t fPMin [kNEst]
 upper estimator boundary More...
 
Double_t fPMax [kNEst]
 lower P cut More...
 
Double_t fIPCenIni [kNEst][3]
 upper P cut More...
 
Bool_t fFillNt [kNEst]
 initial estimate of IP Center More...
 
AliIntSpotEstimatorfIPEst [kNEst]
 request to fill ntuple More...
 
AliESDEventfESD
 estimators More...
 
AliESDfriend * fESDfriend
 ESD object. More...
 
TListfOutput
 ESD friend object. More...
 
TObjArray fTracks
 list send on output slot 0 More...
 

Static Protected Attributes

static const Char_tfEstNames [kNEst] = {"ITSTPC","TPC","SPD"}
 temporary storage for extracted tracks More...
 

Private Member Functions

 AliAnalysisTaskIPInfo (const AliAnalysisTaskIPInfo &)
 
AliAnalysisTaskIPInfooperator= (const AliAnalysisTaskIPInfo &)
 
AliESDVertex * ReconstructPrimaryVertexTPC () const
 
AliESDVertex * ReconstructPrimaryVertexITSTPC () const
 

Detailed Description

Definition at line 14 of file AliAnalysisTaskIPInfo.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kITSTPC 
kTPC 
kSPD 
kNEst 

Definition at line 17 of file AliAnalysisTaskIPInfo.h.

Constructor & Destructor Documentation

AliAnalysisTaskIPInfo::AliAnalysisTaskIPInfo ( const char *  name = "IPInfo")

Definition at line 56 of file AliAnalysisTaskIPInfo.cxx.

AliAnalysisTaskIPInfo::~AliAnalysisTaskIPInfo ( )
virtual

Definition at line 72 of file AliAnalysisTaskIPInfo.cxx.

AliAnalysisTaskIPInfo::AliAnalysisTaskIPInfo ( const AliAnalysisTaskIPInfo )
private

Member Function Documentation

void AliAnalysisTaskIPInfo::ConnectInputData ( Option_t )
virtual

Definition at line 116 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

void AliAnalysisTaskIPInfo::CreateOutputObjects ( )
virtual

Definition at line 137 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

Int_t AliAnalysisTaskIPInfo::CreateSPDTracklets ( TClonesArray &  tracks)

Definition at line 227 of file AliAnalysisTaskIPInfo.cxx.

Referenced by Exec(), and GetEstimator().

void AliAnalysisTaskIPInfo::Exec ( Option_t option)
virtual

Definition at line 171 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

AliIntSpotEstimator* AliAnalysisTaskIPInfo::GetEstimator ( Int_t  i) const
inline

Definition at line 23 of file AliAnalysisTaskIPInfo.h.

AliAnalysisTaskIPInfo& AliAnalysisTaskIPInfo::operator= ( const AliAnalysisTaskIPInfo )
private
AliESDVertex* AliAnalysisTaskIPInfo::ReconstructPrimaryVertexITSTPC ( ) const
private
AliESDVertex* AliAnalysisTaskIPInfo::ReconstructPrimaryVertexTPC ( ) const
private
void AliAnalysisTaskIPInfo::SetIPCenIni ( Int_t  esdID,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0 
)

Definition at line 81 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

void AliAnalysisTaskIPInfo::SetOptions ( Int_t  estID,
Bool_t  recoVtx = kFALSE,
Double_t  outcut = 1e-4,
Int_t  ntrIP = 2,
Int_t  nPhiBins = 12,
Int_t  nestb = 1000,
Double_t  estmin = -4e-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  fillNt = kFALSE 
)

Definition at line 91 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

void AliAnalysisTaskIPInfo::Terminate ( Option_t )
virtual

Definition at line 293 of file AliAnalysisTaskIPInfo.cxx.

Referenced by GetEstimator().

Member Data Documentation

AliESDEvent* AliAnalysisTaskIPInfo::fESD
protected

estimators

Definition at line 58 of file AliAnalysisTaskIPInfo.h.

Referenced by ConnectInputData(), CreateSPDTracklets(), and Exec().

AliESDfriend* AliAnalysisTaskIPInfo::fESDfriend
protected

ESD object.

Definition at line 59 of file AliAnalysisTaskIPInfo.h.

Referenced by ConnectInputData(), and Exec().

Double_t AliAnalysisTaskIPInfo::fEstMax[kNEst]
protected

lower estimator boundary

Definition at line 51 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Double_t AliAnalysisTaskIPInfo::fEstMin[kNEst]
protected

outliers cut level

Definition at line 50 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

const Char_t * AliAnalysisTaskIPInfo::fEstNames = {"ITSTPC","TPC","SPD"}
staticprotected

temporary storage for extracted tracks

Definition at line 62 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects().

Bool_t AliAnalysisTaskIPInfo::fFillNt[kNEst]
protected

initial estimate of IP Center

Definition at line 55 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Double_t AliAnalysisTaskIPInfo::fIPCenIni[kNEst][3]
protected

upper P cut

Definition at line 54 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetIPCenIni().

AliIntSpotEstimator* AliAnalysisTaskIPInfo::fIPEst[kNEst]
protected

request to fill ntuple

Definition at line 57 of file AliAnalysisTaskIPInfo.h.

Referenced by AliAnalysisTaskIPInfo(), CreateOutputObjects(), Exec(), and GetEstimator().

Int_t AliAnalysisTaskIPInfo::fNEstb[kNEst]
protected

n bins in phi for IP

Definition at line 44 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNPBins[kNEst]
protected

n of vtx.mult. bins

Definition at line 46 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNPhiBins[kNEst]
protected

min tracks for IP estimator

Definition at line 43 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNTrBins[kNEst]
protected

n of estimator bins

Definition at line 45 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNTrMax[kNEst]
protected

min vtx multuplicity

Definition at line 48 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNTrMin[kNEst]
protected

n of track P bins

Definition at line 47 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Int_t AliAnalysisTaskIPInfo::fNTrMinIP[kNEst]
protected

request to refit the vertex for given estimator

Definition at line 42 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Double_t AliAnalysisTaskIPInfo::fOutCut[kNEst]
protected

max vtx multuplicity

Definition at line 49 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

TList* AliAnalysisTaskIPInfo::fOutput
protected

ESD friend object.

Definition at line 60 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), Exec(), Terminate(), and ~AliAnalysisTaskIPInfo().

Double_t AliAnalysisTaskIPInfo::fPMax[kNEst]
protected

lower P cut

Definition at line 53 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Double_t AliAnalysisTaskIPInfo::fPMin[kNEst]
protected

upper estimator boundary

Definition at line 52 of file AliAnalysisTaskIPInfo.h.

Referenced by CreateOutputObjects(), and SetOptions().

Bool_t AliAnalysisTaskIPInfo::fRecoVtx[kNEst]
protected

Definition at line 41 of file AliAnalysisTaskIPInfo.h.

Referenced by Exec(), and SetOptions().

TObjArray AliAnalysisTaskIPInfo::fTracks
protected

list send on output slot 0

Definition at line 61 of file AliAnalysisTaskIPInfo.h.

Referenced by Exec().


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