![]() |
AliRoot Core
edcc906 (edcc906)
|
Some utilities for track matching. More...
#include <AliEMCALRecoUtilsBase.h>
Public Types | |
enum | ParticleType { kPhoton =0, kElectron =1, kHadron =2, kUnknown =-1 } |
Position depth enum list of possible particle types. More... | |
Public Member Functions | |
AliEMCALRecoUtilsBase () | |
AliEMCALRecoUtilsBase (const AliEMCALRecoUtilsBase &) | |
AliEMCALRecoUtilsBase & | operator= (const AliEMCALRecoUtilsBase &) |
virtual | ~AliEMCALRecoUtilsBase () |
Float_t | GetDepth (Float_t eCluster, Int_t iParticle, Int_t iSM) const |
Static Public Member Functions | |
static Bool_t | ExtrapolateTrackToEMCalSurface (AliVTrack *track, Double_t emcalR=440, Double_t mass=0.1396, Double_t step=20, Double_t minpT=0.35, Bool_t useMassForTracking=kFALSE, Bool_t useDCA=kFALSE) |
static Bool_t | ExtrapolateTrackToEMCalSurface (AliExternalTrackParam *trkParam, Double_t emcalR, Double_t mass, Double_t step, Float_t &eta, Float_t &phi, Float_t &pt) |
static Bool_t | ExtrapolateTrackToPosition (AliExternalTrackParam *trkParam, const Float_t *clsPos, Double_t mass, Double_t step, Float_t &tmpEta, Float_t &tmpPhi) |
static Bool_t | ExtrapolateTrackToCluster (AliExternalTrackParam *trkParam, const AliVCluster *cluster, Double_t mass, Double_t step, Float_t &tmpEta, Float_t &tmpPhi) |
Some utilities for track matching.
This is the base class to correct and select the clusters and cells at analysis level. In this class only track-matching related methods. Most of the corrections implemented in AliEMCALRecoUtils (in AliPhysics from v5-09-26)
Definition at line 30 of file AliEMCALRecoUtilsBase.h.
Position depth enum list of possible particle types.
Enumerator | |
---|---|
kPhoton | |
kElectron | |
kHadron | |
kUnknown |
Definition at line 75 of file AliEMCALRecoUtilsBase.h.
AliEMCALRecoUtilsBase::AliEMCALRecoUtilsBase | ( | ) |
Constructor. Initialize all constant values which have to be used during Reco algorithm execution
Definition at line 41 of file AliEMCALRecoUtilsBase.cxx.
AliEMCALRecoUtilsBase::AliEMCALRecoUtilsBase | ( | const AliEMCALRecoUtilsBase & | reco | ) |
Definition at line 49 of file AliEMCALRecoUtilsBase.cxx.
|
inlinevirtual |
Definition at line 40 of file AliEMCALRecoUtilsBase.h.
|
static |
Return the residual by extrapolating a track param to a cluster. Used in AliEMCALReconstructor.
trkParam | pointer to external track param |
cluster | pointer to AliVCluster |
mass | mass hypothesis |
step | ... |
tmpEta | residual eta |
tmpPhi | residual phi |
Definition at line 305 of file AliEMCALRecoUtilsBase.cxx.
Referenced by AliEMCALReconstructor::CalculateResidual(), and ~AliEMCALRecoUtilsBase().
|
static |
Extrapolate track to EMCAL surface. NOTE, on success the call will change the track! Used in AliAnalysisTaskESDfilter and AliEMCALRecoUtilsBase::ExtrapolateTrackToEMCalSurface(AliExternalTrackParam *trkParam, ...)
track | pointer to track |
emcalR | distance |
mass | mass hypothesis |
step | ... |
minpt | minimum track pT for matching |
useMassForTracking | switch to use the mass hypothesis |
useDCA | switch to use different track vertex |
Definition at line 82 of file AliEMCALRecoUtilsBase.cxx.
Referenced by AliEMCALTracker::FindMatchedCluster(), and ~AliEMCALRecoUtilsBase().
|
static |
Extrapolate track to EMCAL surface. Used in AliEMCALTracker.
trkParam | pointer to external track param |
emcalR | distance |
mass | mass hypothesis |
step | ... |
eta | track extrapolated eta |
phi | track extrapolated phi |
pt | track extrapolated pt |
Definition at line 207 of file AliEMCALRecoUtilsBase.cxx.
|
static |
Return the residual by extrapolating a track param to a global position. Used in AliEMCALTracker
trkParam | pointer to external track param |
clsPos | cluster position array xyz |
mass | mass hypothesis |
step | ... |
tmpEta | residual eta |
tmpPhi | residual phi |
Definition at line 250 of file AliEMCALRecoUtilsBase.cxx.
Referenced by ExtrapolateTrackToCluster(), AliEMCALTracker::FindMatchedCluster(), and ~AliEMCALRecoUtilsBase().
Float_t AliEMCALRecoUtilsBase::GetDepth | ( | Float_t | energy, |
Int_t | iParticle, | ||
Int_t | iSM | ||
) | const |
Calculate shower depth for a given cluster energy and particle type. Needed to calculate cluster position.
energy | cluster energy |
iParticle | particle assumption defined in enum ParticleType |
iSM | supermodule number |
Definition at line 333 of file AliEMCALRecoUtilsBase.cxx.
AliEMCALRecoUtilsBase & AliEMCALRecoUtilsBase::operator= | ( | const AliEMCALRecoUtilsBase & | reco | ) |
Assignment operator.
Definition at line 58 of file AliEMCALRecoUtilsBase.cxx.