AliPhysics  5eaf189 (5eaf189)
AliEMCALRecoUtils Class Reference

Some utilities for cluster and cell treatment. More...

#include <AliEMCALRecoUtils.h>

Inheritance diagram for AliEMCALRecoUtils:

Public Types

enum  NonlinearityFunctions {
  kPi0MC = 0, kPi0GammaGamma = 1, kPi0GammaConversion = 2, kNoCorrection = 3,
  kBeamTest = 4, kBeamTestCorrected = 5, kPi0MCv2 = 6, kPi0MCv3 = 7,
  kBeamTestCorrectedv2 = 8, kSDMv5 = 9, kPi0MCv5 = 10, kSDMv6 =11,
  kPi0MCv6 = 12, kBeamTestCorrectedv3 = 13, kPCMv1 = 14, kPCMplusBTCv1 = 15,
  kPCMsysv1 = 16
}
 
enum  PositionAlgorithms { kUnchanged =-1, kPosTowerIndex =0, kPosTowerGlobal =1 }
 Cluster position enum list of possible algoritms. More...
 
enum  { kNCuts = 12 }
 Track matching, Marcel. More...
 
enum  TrackCutsType {
  kTPCOnlyCut = 0, kGlobalCut = 1, kLooseCut = 2, kITSStandAlone = 3,
  kGlobalCut2011 = 4, kLooseCutWithITSrefit = 5
}
 Track matching cuts enum list. More...
 

Public Member Functions

 AliEMCALRecoUtils ()
 
 AliEMCALRecoUtils (const AliEMCALRecoUtils &)
 
AliEMCALRecoUtilsoperator= (const AliEMCALRecoUtils &)
 
virtual ~AliEMCALRecoUtils ()
 
void InitParameters ()
 
void Print (const Option_t *) const
 
void RecalculateClusterPosition (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *clu)
 
void RecalculateClusterPositionFromTowerIndex (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *clu)
 
void RecalculateClusterPositionFromTowerGlobal (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *clu)
 
Float_t GetCellWeight (Float_t eCell, Float_t eCluster) const
 
void GetMaxEnergyCell (const AliEMCALGeometry *geom, AliVCaloCells *cells, const AliVCluster *clu, Int_t &absId, Int_t &iSupMod, Int_t &ieta, Int_t &iphi, Bool_t &shared)
 
Float_t GetMisalTransShift (Int_t i) const
 
Float_tGetMisalTransShiftArray ()
 
void SetMisalTransShift (Int_t i, Float_t shift)
 
void SetMisalTransShiftArray (Float_t *misal)
 
Float_t GetMisalRotShift (Int_t i) const
 
Float_tGetMisalRotShiftArray ()
 
void SetMisalRotShift (Int_t i, Float_t shift)
 
void SetMisalRotShiftArray (Float_t *misal)
 
Int_t GetParticleType () const
 
void SetParticleType (Int_t particle)
 
Int_t GetPositionAlgorithm () const
 
void SetPositionAlgorithm (Int_t alg)
 
Float_t GetW0 () const
 
void SetW0 (Float_t w0)
 
void SetShowerShapeCellLocationType (Int_t type)
 
Float_t CorrectClusterEnergyLinearity (AliVCluster *clu)
 
Float_t GetNonLinearityParam (Int_t i) const
 
void SetNonLinearityParam (Int_t i, Float_t param)
 
void InitNonLinearityParam ()
 
Int_t GetNonLinearityFunction () const
 
void SetNonLinearityFunction (Int_t fun)
 
void SetNonLinearityThreshold (Int_t threshold)
 
Int_t GetNonLinearityThreshold () const
 
Float_t SmearClusterEnergy (const AliVCluster *clu)
 
void SwitchOnClusterEnergySmearing ()
 
void SwitchOffClusterEnergySmearing ()
 
Bool_t IsClusterEnergySmeared () const
 
void SetSmearingParameters (Int_t i, Float_t param)
 
Bool_t AcceptCalibrateCell (Int_t absId, Int_t bc, Float_t &amp, Double_t &time, AliVCaloCells *cells)
 
void RecalibrateCells (AliVCaloCells *cells, Int_t bc)
 
void RecalibrateClusterEnergy (const AliEMCALGeometry *geom, AliVCluster *cluster, AliVCaloCells *cells, Int_t bc=-1)
 
void ResetCellsCalibrated ()
 
Bool_t IsRecalibrationOn () const
 
void SwitchOffRecalibration ()
 
void SwitchOnRecalibration ()
 
void InitEMCALRecalibrationFactors ()
 
TObjArrayGetEMCALRecalibrationFactorsArray () const
 
TH2FGetEMCALChannelRecalibrationFactors (Int_t iSM) const
 
void SetEMCALChannelRecalibrationFactors (const TObjArray *map)
 
void SetEMCALChannelRecalibrationFactors (Int_t iSM, const TH2F *h)
 
Float_t GetEMCALChannelRecalibrationFactor (Int_t iSM, Int_t iCol, Int_t iRow) const
 
void SetEMCALChannelRecalibrationFactor (Int_t iSM, Int_t iCol, Int_t iRow, Double_t c=1)
 
Bool_t IsRunDepRecalibrationOn () const
 
void SwitchOffRunDepCorrection ()
 
void SwitchOnRunDepCorrection ()
 
void SetConstantTimeShift (Float_t shift)
 
void RecalibrateCellTime (Int_t absId, Int_t bc, Double_t &time, Bool_t isLGon=kFALSE) const
 
Bool_t IsTimeRecalibrationOn () const
 
void SwitchOffTimeRecalibration ()
 
void SwitchOnTimeRecalibration ()
 
void InitEMCALTimeRecalibrationFactors ()
 
TObjArrayGetEMCALTimeRecalibrationFactorsArray () const
 
Float_t GetEMCALChannelTimeRecalibrationFactor (Int_t bc, Int_t absID, Bool_t isLGon=kFALSE) const
 
void SetEMCALChannelTimeRecalibrationFactor (Int_t bc, Int_t absID, Double_t c=0, Bool_t isLGon=kFALSE)
 
TH1F * GetEMCALChannelTimeRecalibrationFactors (Int_t bc) const
 
void SetEMCALChannelTimeRecalibrationFactors (const TObjArray *map)
 
void SetEMCALChannelTimeRecalibrationFactors (Int_t bc, const TH1F *h)
 
Bool_t IsLGOn () const
 
void SwitchOffLG ()
 
void SwitchOnLG ()
 
Bool_t IsL1PhaseInTimeRecalibrationOn () const
 
void SwitchOffL1PhaseInTimeRecalibration ()
 
void SwitchOnL1PhaseInTimeRecalibration ()
 
void InitEMCALL1PhaseInTimeRecalibration ()
 
void RecalibrateCellTimeL1Phase (Int_t iSM, Int_t bc, Double_t &time) const
 
TObjArrayGetEMCALL1PhaseInTimeRecalibrationArray () const
 
Int_t GetEMCALL1PhaseInTimeRecalibrationForSM (Int_t iSM) const
 
void SetEMCALL1PhaseInTimeRecalibrationForSM (Int_t iSM, Int_t c=0)
 
TH1C * GetEMCALL1PhaseInTimeRecalibrationForAllSM () const
 
void SetEMCALL1PhaseInTimeRecalibrationForAllSM (const TObjArray *map)
 
void SetEMCALL1PhaseInTimeRecalibrationForAllSM (const TH1C *h)
 
Bool_t CheckCellFiducialRegion (const AliEMCALGeometry *geom, const AliVCluster *cluster, AliVCaloCells *cells)
 
void SetNumberOfCellsFromEMCALBorder (Int_t n)
 
Int_t GetNumberOfCellsFromEMCALBorder () const
 
void SwitchOnNoFiducialBorderInEMCALEta0 ()
 
void SwitchOffNoFiducialBorderInEMCALEta0 ()
 
Bool_t IsEMCALNoBorderAtEta0 () const
 
Bool_t IsBadChannelsRemovalSwitchedOn () const
 
void SwitchOffBadChannelsRemoval ()
 
void SwitchOnBadChannelsRemoval ()
 
Bool_t IsDistanceToBadChannelRecalculated () const
 
void SwitchOffDistToBadChannelRecalculation ()
 
void SwitchOnDistToBadChannelRecalculation ()
 
TObjArrayGetEMCALBadChannelStatusMapArray () const
 
void InitEMCALBadChannelStatusMap ()
 
Int_t GetEMCALChannelStatus (Int_t iSM, Int_t iCol, Int_t iRow) const
 
void SetEMCALChannelStatus (Int_t iSM, Int_t iCol, Int_t iRow, Double_t c=1)
 
TH2I * GetEMCALChannelStatusMap (Int_t iSM) const
 
void SetEMCALChannelStatusMap (const TObjArray *map)
 
void SetEMCALChannelStatusMap (Int_t iSM, const TH2I *h)
 
Bool_t ClusterContainsBadChannel (const AliEMCALGeometry *geom, const UShort_t *cellList, Int_t nCells)
 
void RecalculateClusterDistanceToBadChannel (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *cluster)
 
void RecalculateClusterShowerShapeParameters (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *cluster)
 
void RecalculateClusterShowerShapeParameters (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *cluster, Float_t &l0, Float_t &l1, Float_t &disp, Float_t &dEta, Float_t &dPhi, Float_t &sEta, Float_t &sPhi, Float_t &sEtaPhi)
 
void RecalculateClusterShowerShapeParametersWithCellCuts (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *cluster, Float_t cellEcut, Float_t cellTimeCut, Int_t bc, Float_t &enAfterCuts)
 
void RecalculateClusterShowerShapeParametersWithCellCuts (const AliEMCALGeometry *geom, AliVCaloCells *cells, AliVCluster *cluster, Float_t cellEcut, Float_t cellTimeCut, Int_t bc, Float_t &enAfterCuts, Float_t &l0, Float_t &l1, Float_t &disp, Float_t &dEta, Float_t &dPhi, Float_t &sEta, Float_t &sPhi, Float_t &sEtaPhi)
 
void RecalculateClusterPID (AliVCluster *cluster)
 
AliEMCALPIDUtils * GetPIDUtils ()
 
void FindMatches (AliVEvent *event, TObjArray *clusterArr=0x0, const AliEMCALGeometry *geom=0x0, AliMCEvent *mc=0x0)
 
Int_t FindMatchedClusterInEvent (const AliESDtrack *track, const AliVEvent *event, const AliEMCALGeometry *geom, Float_t &dEta, Float_t &dPhi)
 
Int_t FindMatchedClusterInClusterArr (const AliExternalTrackParam *emcalParam, AliExternalTrackParam *trkParam, const TObjArray *clusterArr, Float_t &dEta, Float_t &dPhi)
 
Bool_t ExtrapolateTrackToCluster (AliExternalTrackParam *trkParam, const AliVCluster *cluster, Float_t &tmpEta, Float_t &tmpPhi)
 
UInt_t FindMatchedPosForCluster (Int_t clsIndex) const
 
UInt_t FindMatchedPosForTrack (Int_t trkIndex) const
 
void GetMatchedResiduals (Int_t clsIndex, Float_t &dEta, Float_t &dPhi)
 
void GetMatchedClusterResiduals (Int_t trkIndex, Float_t &dEta, Float_t &dPhi)
 
Int_t GetMatchedTrackIndex (Int_t clsIndex)
 
Int_t GetMatchedClusterIndex (Int_t trkIndex)
 
Bool_t IsClusterMatched (Int_t clsIndex) const
 
Bool_t IsTrackMatched (Int_t trkIndex) const
 
void SetClusterMatchedToTrack (const AliVEvent *event)
 
void SetTracksMatchedToCluster (const AliVEvent *event)
 
void SwitchOnCutEtaPhiSum ()
 
void SwitchOnCutEtaPhiSeparate ()
 
Float_t GetCutR () const
 
Float_t GetCutEta () const
 
Float_t GetCutPhi () const
 
Double_t GetClusterWindow () const
 
void SetCutR (Float_t cutR)
 
void SetCutEta (Float_t cutEta)
 
void SetCutPhi (Float_t cutPhi)
 
void SetClusterWindow (Double_t window)
 
void SetCutZ (Float_t cutZ)
 
void SetEMCalSurfaceDistance (Double_t d)
 
Double_t GetMass () const
 
Double_t GetStep () const
 
Double_t GetStepSurface () const
 
void SetMass (Double_t mass)
 
void SetStep (Double_t step)
 
void SetStepCluster (Double_t step)
 
void SetITSTrackSA (Bool_t isITS)
 
Bool_t IsAccepted (AliESDtrack *track)
 
void InitTrackCuts ()
 
void SetTrackCutsType (Int_t type)
 
Int_t GetTrackCutsType () const
 
void SwitchOffAODHybridTracksMatch ()
 
void SwitchOffAODTPCOnlyTracksMatch ()
 
void SwitchOnAODHybridTracksMatch ()
 
void SwitchOnAODTPCOnlyTracksMatch ()
 
void SetAODTrackFilterMask (UInt_t mask)
 
void SetMinTrackPt (Double_t pt=0)
 
void SetMinNClustersTPC (Int_t min=-1)
 
void SetMinNClustersITS (Int_t min=-1)
 
void SetMaxChi2PerClusterTPC (Float_t max=1e10)
 
void SetMaxChi2PerClusterITS (Float_t max=1e10)
 
void SetRequireTPCRefit (Bool_t b=kFALSE)
 
void SetRequireITSRefit (Bool_t b=kFALSE)
 
void SetAcceptKinkDaughters (Bool_t b=kTRUE)
 
void SetMaxDCAToVertexXY (Float_t dist=1e10)
 
void SetMaxDCAToVertexZ (Float_t dist=1e10)
 
void SetDCAToVertex2D (Bool_t b=kFALSE)
 
void SetRequireITSStandAlone (Bool_t b=kFALSE)
 
void SetRequireITSPureStandAlone (Bool_t b=kFALSE)
 
Double_t GetMinTrackPt () const
 
Int_t GetMinNClusterTPC () const
 
Int_t GetMinNClustersITS () const
 
Float_t GetMaxChi2PerClusterTPC () const
 
Float_t GetMaxChi2PerClusterITS () const
 
Bool_t GetRequireTPCRefit () const
 
Bool_t GetRequireITSRefit () const
 
Bool_t GetAcceptKinkDaughters () const
 
Float_t GetMaxDCAToVertexXY () const
 
Float_t GetMaxDCAToVertexZ () const
 
Bool_t GetDCAToVertex2D () const
 
Bool_t GetRequireITSStandAlone () const
 
Bool_t IsExoticCell (Int_t absId, AliVCaloCells *cells, Int_t bc=-1)
 
void SwitchOnRejectExoticCell ()
 
void SwitchOffRejectExoticCell ()
 
Bool_t IsRejectExoticCell () const
 
Float_t GetECross (Int_t absID, Double_t tcell, AliVCaloCells *cells, Int_t bc)
 
Float_t GetExoticCellFractionCut () const
 
Float_t GetExoticCellDiffTimeCut () const
 
Float_t GetExoticCellMinAmplitudeCut () const
 
void SetExoticCellFractionCut (Float_t f)
 
void SetExoticCellDiffTimeCut (Float_t dt)
 
void SetExoticCellMinAmplitudeCut (Float_t ma)
 
Bool_t IsExoticCluster (const AliVCluster *cluster, AliVCaloCells *cells, Int_t bc=0)
 
void SwitchOnRejectExoticCluster ()
 
void SwitchOffRejectExoticCluster ()
 
Bool_t IsRejectExoticCluster () const
 
Bool_t IsGoodCluster (AliVCluster *cluster, const AliEMCALGeometry *geom, AliVCaloCells *cells, Int_t bc=-1)
 
Int_t GetNumberOfMCGeneratorsToAccept () const
 
void SetNumberOfMCGeneratorsToAccept (Int_t nGen)
 
TString GetNameOfMCGeneratorsToAccept (Int_t ig) const
 
void SetNameOfMCGeneratorsToAccept (Int_t ig, TString name)
 
void SwitchOffMCGeneratorToAcceptForTrackMatching ()
 
void SwitchOnMCGeneratorToAcceptForTrackMatching ()
 
Bool_t AcceptMCGeneratorForTrackMatching () const
 
void RecalculateCellLabelsRemoveAddedGenerator (Int_t absID, AliVCluster *clus, AliMCEvent *mc, Float_t &amp, TArrayI &labeArr, TArrayF &eDepArr) const
 

Static Public Member Functions

static Bool_t ExtrapolateTrackToCluster (AliExternalTrackParam *trkParam, const AliVCluster *cluster, Double_t mass, Double_t step, Float_t &tmpEta, Float_t &tmpPhi)
 

Private Attributes

Float_t fMisalTransShift [15]
 Cluster position translation shift parameters. More...
 
Float_t fMisalRotShift [15]
 Cluster position rotation shift parameters. More...
 
Int_t fParticleType
 Particle type for depth calculation, see enum ParticleType. More...
 
Int_t fPosAlgo
 Position recalculation algorithm, see enum PositionAlgorithms. More...
 
Float_t fW0
 Energy weight used in cluster position and shower shape calculations. More...
 
Int_t fShowerShapeCellLocationType
 
Int_t fNonLinearityFunction
 Non linearity function choice, see enum NonlinearityFunctions. More...
 
Float_t fNonLinearityParams [10]
 Parameters for the non linearity function. More...
 
Int_t fNonLinearThreshold
 Non linearity threshold value for kBeamTest non linearity function. More...
 
Bool_t fSmearClusterEnergy
 Smear cluster energy, to be done only for simulated data to match real data. More...
 
Float_t fSmearClusterParam [3]
 Energy smearing parameters. More...
 
TRandom3 fRandom
 Random generator for cluster energy smearing. More...
 
Bool_t fCellsRecalibrated
 Internal bool to check if cells (time/energy) where recalibrated and not recalibrate them when recalculating different things. More...
 
Bool_t fRecalibration
 Switch on or off the recalibration. More...
 
TObjArrayfEMCALRecalibrationFactors
 Array of histograms with map of recalibration factors, EMCAL. More...
 
Float_t fConstantTimeShift
 Apply a 600 ns (+15.8) time shift in case of simulation, shift in ns. More...
 
Bool_t fTimeRecalibration
 Switch on or off the time recalibration. More...
 
TObjArrayfEMCALTimeRecalibrationFactors
 Array of histograms with map of time recalibration factors, EMCAL. More...
 
Bool_t fLowGain
 Switch on or off calibration with low gain channels. More...
 
Bool_t fUseL1PhaseInTimeRecalibration
 Switch on or off the L1 phase in time recalibration. More...
 
TObjArrayfEMCALL1PhaseInTimeRecalibration
 Histogram with map of L1 phase per SM, EMCAL. More...
 
Bool_t fUseRunCorrectionFactors
 Use Run Dependent Correction. More...
 
Bool_t fRemoveBadChannels
 Check the channel status provided and remove clusters with bad channels. More...
 
Bool_t fRecalDistToBadChannels
 Calculate distance from highest energy tower of cluster to closes bad channel. More...
 
TObjArrayfEMCALBadChannelMap
 Array of histograms with map of bad channels, EMCAL. More...
 
Int_t fNCellsFromEMCALBorder
 Number of cells from EMCAL border the cell with maximum amplitude has to be. More...
 
Bool_t fNoEMCALBorderAtEta0
 Do fiducial cut in EMCAL region eta = 0? More...
 
Bool_t fRejectExoticCluster
 Switch on or off exotic cluster rejection. More...
 
Bool_t fRejectExoticCells
 Remove exotic cells. More...
 
Float_t fExoticCellFraction
 Good cell if fraction < 1-ecross/ecell. More...
 
Float_t fExoticCellDiffTime
 If time of candidate to exotic and close cell is too different (in ns), it must be noisy, set amp to 0. More...
 
Float_t fExoticCellMinAmplitude
 Check for exotic only if amplitud is larger than this value. More...
 
AliEMCALPIDUtils * fPIDUtils
 Recalculate PID parameters. More...
 
UInt_t fAODFilterMask
 Filter mask to select AOD tracks. Refer to $ALICE_ROOT/ANALYSIS/macros/AddTaskESDFilter.C. More...
 
Bool_t fAODHybridTracks
 Match with hybrid. More...
 
Bool_t fAODTPCOnlyTracks
 Match with TPC only tracks. More...
 
TArrayIfMatchedTrackIndex
 Array that stores indexes of matched tracks. More...
 
TArrayIfMatchedClusterIndex
 Array that stores indexes of matched clusters. More...
 
TArrayF * fResidualEta
 Array that stores the residual eta. More...
 
TArrayF * fResidualPhi
 Array that stores the residual phi. More...
 
Bool_t fCutEtaPhiSum
 Place cut on sqrt(dEta^2+dPhi^2) More...
 
Bool_t fCutEtaPhiSeparate
 Cut on dEta and dPhi separately. More...
 
Float_t fCutR
 sqrt(dEta^2+dPhi^2) cut on matching More...
 
Float_t fCutEta
 dEta cut on matching More...
 
Float_t fCutPhi
 dPhi cut on matching More...
 
Double_t fClusterWindow
 Select clusters in the window to be matched. More...
 
Double_t fMass
 Mass hypothesis of the track. More...
 
Double_t fStepSurface
 Length of step to extrapolate tracks to EMCal surface. More...
 
Double_t fStepCluster
 Length of step to extrapolate tracks to clusters. More...
 
Bool_t fITSTrackSA
 If track matching is to be done with ITS tracks standing alone. More...
 
Double_t fEMCalSurfaceDistance
 EMCal surface distance (= 430 by default, the last 10 cm are propagated on a cluster-track pair basis) More...
 
Int_t fTrackCutsType
 ESD track cuts type for matching, see enum TrackCutsType. More...
 
Double_t fCutMinTrackPt
 Cut on track pT. More...
 
Int_t fCutMinNClusterTPC
 Min number of tpc clusters. More...
 
Int_t fCutMinNClusterITS
 Min number of its clusters. More...
 
Float_t fCutMaxChi2PerClusterTPC
 Max tpc fit chi2 per tpc cluster. More...
 
Float_t fCutMaxChi2PerClusterITS
 Max its fit chi2 per its cluster. More...
 
Bool_t fCutRequireTPCRefit
 Require TPC refit. More...
 
Bool_t fCutRequireITSRefit
 Require ITS refit. More...
 
Bool_t fCutAcceptKinkDaughters
 Accepting kink daughters? More...
 
Float_t fCutMaxDCAToVertexXY
 Track-to-vertex cut in max absolute distance in xy-plane. More...
 
Float_t fCutMaxDCAToVertexZ
 Track-to-vertex cut in max absolute distance in z-plane. More...
 
Bool_t fCutDCAToVertex2D
 If true a 2D DCA cut is made. More...
 
Bool_t fCutRequireITSStandAlone
 Require ITSStandAlone. More...
 
Bool_t fCutRequireITSpureSA
 ITS pure standalone tracks. More...
 
Int_t fNMCGenerToAccept
 Number of MC generators that should not be included in analysis. More...
 
TString fMCGenerToAccept [5]
 List with name of generators that should not be included. More...
 
Bool_t fMCGenerToAcceptForTrack
 Activate the removal of tracks entering the track matching that come from a particular generator. More...
 

Detailed Description

Some utilities for cluster and cell treatment.

This class contains methods to correct and select the clusters and cells:

  • Calibration of cells/clusters
    • Energy
    • Time
    • Temperature
  • Cluster energy non linearity
  • Rejection of clusters close to borders
  • Rejection of clusters/cells containing/considered bad channels
  • Recalculation of clusters
    • Shower shape
    • Position
    • Matching to tracks

Plus other helper methods.

Class derived from AliEMCALRecoUtilsBase since AliRoot tag v5-09-26 The base class just contains few track-matching extrapolation methods used in the EMCAL reconstruction module (AliEMCALTracker and AliEMCALReconstructor) and ANALYSIS ESD to AOD filtering task

Author
: Gustavo Conesa Balbastre, Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, LPSC- Grenoble
: Rongrong Ma, Yale. Track matching part

Definition at line 59 of file AliEMCALRecoUtils.h.

Member Enumeration Documentation

anonymous enum

Track matching, Marcel.

Enumerator
kNCuts 

Definition at line 90 of file AliEMCALRecoUtils.h.

Non linearity enum list of possible parametrizations. Recomended for data kBeamTestCorrectedv3 and for simulation kPi0MCv3

Enumerator
kPi0MC 
kPi0GammaGamma 
kPi0GammaConversion 
kNoCorrection 
kBeamTest 
kBeamTestCorrected 
kPi0MCv2 
kPi0MCv3 
kBeamTestCorrectedv2 
kSDMv5 
kPi0MCv5 
kSDMv6 
kPi0MCv6 
kBeamTestCorrectedv3 
kPCMv1 
kPCMplusBTCv1 
kPCMsysv1 

Definition at line 73 of file AliEMCALRecoUtils.h.

Cluster position enum list of possible algoritms.

Enumerator
kUnchanged 
kPosTowerIndex 
kPosTowerGlobal 

Definition at line 87 of file AliEMCALRecoUtils.h.

Track matching cuts enum list.

Enumerator
kTPCOnlyCut 
kGlobalCut 
kLooseCut 
kITSStandAlone 
kGlobalCut2011 
kLooseCutWithITSrefit 

Definition at line 93 of file AliEMCALRecoUtils.h.

Constructor & Destructor Documentation

AliEMCALRecoUtils::AliEMCALRecoUtils ( )

Constructor. Initialize all constant values which have to be used during Reco algorithm execution

Definition at line 52 of file AliEMCALRecoUtils.cxx.

AliEMCALRecoUtils::AliEMCALRecoUtils ( const AliEMCALRecoUtils reco)

Definition at line 97 of file AliEMCALRecoUtils.cxx.

AliEMCALRecoUtils::~AliEMCALRecoUtils ( )
virtual

Destructor.

Definition at line 344 of file AliEMCALRecoUtils.cxx.

Member Function Documentation

Bool_t AliEMCALRecoUtils::AcceptCalibrateCell ( Int_t  absID,
Int_t  bc,
Float_t amp,
Double_t time,
AliVCaloCells *  cells 
)

Reject cell if acceptance criteria not passed (correct cell number, is it bad channel) and calibrate it in energy and time.

Parameters
absIDabsolute cell ID number
bcbunch crossing number
ampinput cell energy amplitude, output calibrated amplitude
timeinput cell time, output calibrated time
cellslist of cells
Returns
bool quality of cell, exists or not

Definition at line 388 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterize::AddNewTCardInducedCellsToDigit(), AliAnalysisTaskEMCALClusterize::ClusterizeCells(), AliAnaPi0EbE::FillPileUpHistograms(), AliAnaPhoton::FillPileUpHistograms(), AliAnaPhoton::FillShowerShapeHistograms(), GetECross(), AliAnalysisTaskFullppJet::GetExoticEnergyFraction(), IsExoticCell(), AliAnalysisTaskEMCALClusterize::IsExoticEvent(), AliAnaClusterPileUp::MakeAnalysisFillHistograms(), RecalibrateCells(), and SetSmearingParameters().

Bool_t AliEMCALRecoUtils::AcceptMCGeneratorForTrackMatching ( ) const
inline

Definition at line 433 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::CheckCellFiducialRegion ( const AliEMCALGeometry *  geom,
const AliVCluster *  cluster,
AliVCaloCells *  cells 
)

Given the list of AbsId cells of the cluster, get the maximum cell and check if there are fNCellsFromBorder from the calorimeter border.

Parameters
geomAliEMCALGeometry pointer
clusterAliVCluster pointer
cellslist of cells
Returns
bool, true if cluster in defined fiducial region

Definition at line 446 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliAnalysisTaskEMCALAlig::DoTrackLoop(), AliAnalysisTaskEMCALPi0CalibSelection::FillHistograms(), GetEMCALL1PhaseInTimeRecalibrationForAllSM(), AliCaloPID::GetIdentifiedParticleTypeFromClusterSplitting(), and IsGoodCluster().

Bool_t AliEMCALRecoUtils::ClusterContainsBadChannel ( const AliEMCALGeometry *  geom,
const UShort_t cellList,
Int_t  nCells 
)
Float_t AliEMCALRecoUtils::CorrectClusterEnergyLinearity ( AliVCluster *  cluster)

Correct cluster energy from non linearity functions, defined in enum NonlinearityFunctions Recomended for data kBeamTestCorrectedv3 and for simulation kPi0MCv3

Parameters
clusterpointer to AliVCluster
Returns
float with corrected cluster energy

Definition at line 754 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliCalorimeterUtils::CorrectClusterEnergy(), AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), AliEmcalClusterMaker::Run(), AliEmcalCorrectionClusterNonLinearity::Run(), and SetShowerShapeCellLocationType().

static Bool_t AliEMCALRecoUtils::ExtrapolateTrackToCluster ( AliExternalTrackParam *  trkParam,
const AliVCluster *  cluster,
Double_t  mass,
Double_t  step,
Float_t tmpEta,
Float_t tmpPhi 
)
inlinestatic
Bool_t AliEMCALRecoUtils::ExtrapolateTrackToCluster ( AliExternalTrackParam *  trkParam,
const AliVCluster *  cluster,
Float_t tmpEta,
Float_t tmpPhi 
)

Return the residual by extrapolating a track param to a cluster. Mass and step hypothesis are set via data members fStepCluster and fMass passed to the main method in AliEMCALRecoUtilsBase

Parameters
trkParampointer to external track param
clusterpointer to AliVCluster
tmpEtaresidual eta
tmpPhiresidual phi
Returns
bool true if track could be extrapolated

Definition at line 2919 of file AliEMCALRecoUtils.cxx.

Int_t AliEMCALRecoUtils::FindMatchedClusterInClusterArr ( const AliExternalTrackParam *  emcalParam,
AliExternalTrackParam *  trkParam,
const TObjArray clusterArr,
Float_t dEta,
Float_t dPhi 
)

Find matched cluster in input array of clusters.

Parameters
emcalParamemcal track parameters container?
trkParamtrack parameters container?
clusterArrinput array of clusters
dEtafound track-cluster match residual in eta direction
dPhifound track-cluster match residual in phi direction
Returns
the index of matched cluster to input track.

Definition at line 2842 of file AliEMCALRecoUtils.cxx.

Referenced by FindMatchedClusterInEvent(), FindMatches(), and GetPIDUtils().

Int_t AliEMCALRecoUtils::FindMatchedClusterInEvent ( const AliESDtrack *  track,
const AliVEvent *  event,
const AliEMCALGeometry *  geom,
Float_t dEta,
Float_t dPhi 
)

Find matched cluster in event. See Find MatchedClusterInClusterArr().

Parameters
tracktrack pointer
eventevent pointer
geomAliEMCALGeometry pointer
dEtafound track-cluster match residual in eta direction
dPhifound track-cluster match residual in phi direction
Returns
the index of matched cluster to input track, returns -1 if no match is found

Definition at line 2768 of file AliEMCALRecoUtils.cxx.

Referenced by GetPIDUtils().

UInt_t AliEMCALRecoUtils::FindMatchedPosForCluster ( Int_t  clsIndex) const

Given a cluster index, it returns the position of the match in the fMatchedClusterIndex array

Parameters
clsIndexcluster index as in AliESDEvent::GetCaloCluster(clsIndex)
Returns
cluster position index

Definition at line 3046 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), GetMatchedResiduals(), GetMatchedTrackIndex(), and IsClusterMatched().

UInt_t AliEMCALRecoUtils::FindMatchedPosForTrack ( Int_t  trkIndex) const

Given a cluster index, it returns the position of the match in the fMatchedTrackIndex array

Parameters
trkIndexcluster index as in AliESDEvent::GetCaloCluster(clsIndex)
Returns
track position index

Definition at line 3076 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), GetMatchedClusterIndex(), GetMatchedClusterResiduals(), and IsTrackMatched().

void AliEMCALRecoUtils::FindMatches ( AliVEvent *  event,
TObjArray clusterArr = 0x0,
const AliEMCALGeometry *  geom = 0x0,
AliMCEvent *  mc = 0x0 
)

Find the candidate cluster-track matchs.

This function should be called before the cluster loop. Before call this function, please recalculate the cluster positions. Given the input event, loop over all the tracks, select the closest cluster as matched with fCutR. Store matched cluster indexes and residuals.

Parameters
eventevent pointer
clusterArrlist of clusters
geomAliEMCALGeometry pointer
mcAliMCEvent pointer

Definition at line 2529 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), AliAnalysisTaskFullppJet::GetESDEMCalClusters(), GetPIDUtils(), and AliCalorimeterUtils::RecalculateClusterTrackMatching().

Bool_t AliEMCALRecoUtils::GetAcceptKinkDaughters ( ) const
inline

Definition at line 384 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetClusterWindow ( ) const
inline

Definition at line 331 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetCutEta ( ) const
inline

Definition at line 329 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetCutPhi ( ) const
inline

Definition at line 330 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetCutR ( ) const
inline

Definition at line 328 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetDCAToVertex2D ( ) const
inline

Definition at line 387 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetECross ( Int_t  absID,
Double_t  tcell,
AliVCaloCells *  cells,
Int_t  bc 
)

Calculate the energy in the cross around the energy of a given cell. Used in exotic clusters/cells rejection.

Parameters
absIDcontrolled cell absolute ID number
tcelltime of cell under control
cellsfull list of cells
bcbunch crossing number
Returns
float E_cross

Definition at line 577 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskFullpAJets::AlipAJetHistos::DoNEFAnalysis(), AliCalorimeterUtils::GetECross(), IsExoticCell(), and IsRejectExoticCell().

TObjArray* AliEMCALRecoUtils::GetEMCALBadChannelStatusMapArray ( ) const
inline
TH2F* AliEMCALRecoUtils::GetEMCALChannelRecalibrationFactors ( Int_t  iSM) const
inline
Float_t AliEMCALRecoUtils::GetEMCALChannelTimeRecalibrationFactor ( Int_t  bc,
Int_t  absID,
Bool_t  isLGon = kFALSE 
) const
inline
TH1F* AliEMCALRecoUtils::GetEMCALChannelTimeRecalibrationFactors ( Int_t  bc) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationArray ( ) const
inline
TH1C* AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationForAllSM ( ) const
inline
Int_t AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationForSM ( Int_t  iSM) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALRecalibrationFactorsArray ( ) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALTimeRecalibrationFactorsArray ( ) const
inline
Float_t AliEMCALRecoUtils::GetExoticCellDiffTimeCut ( ) const
inline

Definition at line 401 of file AliEMCALRecoUtils.h.

Referenced by AliCaloTrackReader::MatchTriggerCluster().

Float_t AliEMCALRecoUtils::GetExoticCellFractionCut ( ) const
inline

Definition at line 400 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetExoticCellMinAmplitudeCut ( ) const
inline

Definition at line 402 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetMass ( ) const
inline
Int_t AliEMCALRecoUtils::GetMatchedClusterIndex ( Int_t  trkIndex)

Given a track index, get the index of matched cluster to this track. It works with ESDs and AODs.

Parameters
trkIndexcluster index as in AliESDEvent::GetTrack(trkIndex)

Definition at line 2998 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and SetClusterMatchedToTrack().

void AliEMCALRecoUtils::GetMatchedClusterResiduals ( Int_t  trkIndex,
Float_t dEta,
Float_t dPhi 
)

Given a track index, get the residuals dEta and dPhi for this track to the closest cluster. It works with ESDs and AODs.

Parameters
trkIndexcluster index as in AliESDEvent::GetTrack(trkIndex)
dEtaresidual eta
dPhiresidual phi

Definition at line 2962 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster().

void AliEMCALRecoUtils::GetMatchedResiduals ( Int_t  clsIndex,
Float_t dEta,
Float_t dPhi 
)

Given a cluster index, get the residuals dEta and dPhi for this cluster to the closest track. It works with ESDs and AODs.

Parameters
clsIndexcluster index as in AliESDEvent::GetCaloCluster(clsIndex)
dEtaresidual eta
dPhiresidual phi

Definition at line 2937 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), AliAnalysisTaskCaloFilter::FillAODCaloClusters(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), AliCalorimeterUtils::GetMatchedResiduals(), AliCalorimeterUtils::RecalculateClusterTrackMatching(), and SetTracksMatchedToCluster().

Int_t AliEMCALRecoUtils::GetMatchedTrackIndex ( Int_t  clsIndex)

Given a cluster index , get the index of matched track to this cluster. It works with ESDs and AODs.

Parameters
clsIndexcluster index as in AliESDEvent::GetCaloCluster(clsIndex)

Definition at line 2983 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), AliCalorimeterUtils::GetMatchedTrack(), AliCalorimeterUtils::RecalculateClusterTrackMatching(), and SetTracksMatchedToCluster().

Float_t AliEMCALRecoUtils::GetMaxChi2PerClusterITS ( ) const
inline

Definition at line 381 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxChi2PerClusterTPC ( ) const
inline

Definition at line 380 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxDCAToVertexXY ( ) const
inline

Definition at line 385 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxDCAToVertexZ ( ) const
inline

Definition at line 386 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::GetMaxEnergyCell ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
const AliVCluster *  clu,
Int_t absId,
Int_t iSupMod,
Int_t ieta,
Int_t iphi,
Bool_t shared 
)

For a given CaloCluster gets the absId of the cell with maximum energy deposit.

Parameters
geomAliEMCALGeometry pointer
cellsfull list of cells
clupointer to AliVCluster
absIdabsolute id number of cell with highest energy in cluster
iSupModsupermodule number of cell with highest energy in cluster
ietacolumn number of cell with highest energy in cluster
iphirow number of cell with highest energy in cluster
sharedcluster is shared between 2 supermodules

Definition at line 1225 of file AliEMCALRecoUtils.cxx.

Referenced by CheckCellFiducialRegion(), AliAnalysisTaskFullppJet::CheckEventTriggerBit(), AliAnalysisTaskEMCALTriggerQA::ClusterAnalysis(), AliAnalysisTaskFullpAJets::AlipAJetHistos::DoNEFAnalysis(), AliAnalysisTaskEMCALAlig::DoTrackLoop(), AliAnalysisTaskEMCALPi0CalibSelection::FillHistograms(), AliCaloTrackReader::FillInputEMCALAlgorithm(), AliAnalysisTaskFullppJet::GetExoticEnergyFraction(), AliAnalysisTaskFullppJet::GetOfflineTriggerProbability(), IsExoticCluster(), RecalculateClusterDistanceToBadChannel(), RecalculateClusterPositionFromTowerGlobal(), and RecalculateClusterPositionFromTowerIndex().

Int_t AliEMCALRecoUtils::GetMinNClustersITS ( ) const
inline

Definition at line 379 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetMinNClusterTPC ( ) const
inline

Definition at line 378 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetMinTrackPt ( ) const
inline

Definition at line 377 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMisalRotShift ( Int_t  i) const
inline

Definition at line 114 of file AliEMCALRecoUtils.h.

Float_t* AliEMCALRecoUtils::GetMisalRotShiftArray ( )
inline

Definition at line 117 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMisalTransShift ( Int_t  i) const
inline

Definition at line 107 of file AliEMCALRecoUtils.h.

Float_t* AliEMCALRecoUtils::GetMisalTransShiftArray ( )
inline

Definition at line 110 of file AliEMCALRecoUtils.h.

TString AliEMCALRecoUtils::GetNameOfMCGeneratorsToAccept ( Int_t  ig) const
inline

Definition at line 425 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetNonLinearityFunction ( ) const
inline
Float_t AliEMCALRecoUtils::GetNonLinearityParam ( Int_t  i) const
inline

Definition at line 134 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetNonLinearityThreshold ( ) const
inline

Definition at line 143 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetNumberOfMCGeneratorsToAccept ( ) const
inline

Definition at line 420 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetParticleType ( ) const
inline
AliEMCALPIDUtils* AliEMCALRecoUtils::GetPIDUtils ( )
inline

Definition at line 292 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetPositionAlgorithm ( ) const
inline

Definition at line 123 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireITSRefit ( ) const
inline

Definition at line 383 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireITSStandAlone ( ) const
inline

Definition at line 388 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireTPCRefit ( ) const
inline

Definition at line 382 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetStep ( ) const
inline
Double_t AliEMCALRecoUtils::GetStepSurface ( ) const
inline

Definition at line 340 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetTrackCutsType ( ) const
inline

Definition at line 351 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetW0 ( ) const
inline
void AliEMCALRecoUtils::InitEMCALBadChannelStatusMap ( )
void AliEMCALRecoUtils::InitEMCALL1PhaseInTimeRecalibration ( )
void AliEMCALRecoUtils::InitEMCALRecalibrationFactors ( )
void AliEMCALRecoUtils::InitEMCALTimeRecalibrationFactors ( )
void AliEMCALRecoUtils::InitNonLinearityParam ( )

Initialising non Linearity Parameters for the different parametrizations available, defined in enum NonlinearityFunctions

Definition at line 1035 of file AliEMCALRecoUtils.cxx.

Referenced by AliEmcalCorrectionClusterNonLinearity::Initialize(), SetNonLinearityFunction(), SetNonLinearityParam(), and AliEmcalClusterMaker::UserCreateOutputObjects().

void AliEMCALRecoUtils::InitParameters ( )

Initialize data members with default values

Definition at line 1316 of file AliEMCALRecoUtils.cxx.

Referenced by AliEMCALRecoUtils(), and AliAnalysisTaskEMCALAlig::ExecOnce().

void AliEMCALRecoUtils::InitTrackCuts ( )

Initialize the track cut criteria. By default these cuts are set according to AliESDtrackCuts::GetStandardTPCOnlyTrackCuts(). Also, you can customize the cuts using the setters.

Definition at line 3267 of file AliEMCALRecoUtils.cxx.

Referenced by SetITSTrackSA(), SetTrackCutsType(), and ~AliEMCALRecoUtils().

Bool_t AliEMCALRecoUtils::IsAccepted ( AliESDtrack *  esdTrack)

Given a esd track, return whether the track survive all the cuts.

The different quality parameter are first. retrieved from the track. then it is found out what cuts the track did not survive and finally the cuts are imposed.

Parameters
esdTrackpointer to ESD track
Returns
true if track passes all selection criteria

Definition at line 3138 of file AliEMCALRecoUtils.cxx.

Referenced by FindMatches(), and SetITSTrackSA().

Bool_t AliEMCALRecoUtils::IsClusterEnergySmeared ( ) const
inline

Definition at line 151 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::IsClusterMatched ( Int_t  clsIndex) const

Given a cluster index, it returns if the cluster has a match.

Parameters
clsIndexcluster index as in AliESDEvent::GetCaloCluster(clsIndex)
Returns
bool true if cluster is matched

Definition at line 3014 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and GetMatchedTrackIndex().

Bool_t AliEMCALRecoUtils::IsDistanceToBadChannelRecalculated ( ) const
inline
Bool_t AliEMCALRecoUtils::IsEMCALNoBorderAtEta0 ( ) const
inline
Bool_t AliEMCALRecoUtils::IsExoticCell ( Int_t  absID,
AliVCaloCells *  cells,
Int_t  bc = -1 
)

Look to cell neighbourhood and reject if it seems exotic Do before recalibrating the cells.

Parameters
absIDcontrolled cell absolute ID number
cellsfull list of cells
bcbunch crossing number
Returns
bool true if cell is found exotic

Definition at line 652 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterizeFast::AcceptCell(), AliAnalysisTaskEMCALClusterize::ClusterizeCells(), GetRequireITSStandAlone(), IsExoticCluster(), AliAnalysisTaskEMCALClusterize::IsExoticEvent(), AliAnaClusterShapeCorrelStudies::IsGoodCluster(), and AliAnaCalorimeterQA::IsGoodCluster().

Bool_t AliEMCALRecoUtils::IsExoticCluster ( const AliVCluster *  cluster,
AliVCaloCells *  cells,
Int_t  bc = 0 
)
Bool_t AliEMCALRecoUtils::IsGoodCluster ( AliVCluster *  cluster,
const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
Int_t  bc = -1 
)

Check if the cluster survives the following quality cuts:

  • Cluster pointer is non null and is EMCal (or DCal)
  • There is no bad channel cell inside
  • The cluster is not too close to a fiducial border
  • The cluster is not exotic
Parameters
clusterpointer to AliVCluster
geompointer to AliEMCALGeometry
cellsfull list of cells
bcevent bunch crossing number
Returns
true if cluster passes all selection criteria

Definition at line 3113 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskESDfilterEMCALEventSelect::AcceptEventEMCAL(), AliAnalysisTaskCaloFilter::AcceptEventEMCAL(), AliAnalysisTaskEMCALClusterize::AcceptEventEMCAL(), AliAnalysisTaskEMCALTriggerQA::ClusterAnalysis(), AliAnalysisTaskEMCALPi0CalibSelection::FillHistograms(), AliCaloTrackReader::FillInputEMCAL(), AliCaloTrackReader::FillInputEMCALAlgorithm(), FindMatchedClusterInEvent(), FindMatches(), and IsRejectExoticCluster().

Bool_t AliEMCALRecoUtils::IsLGOn ( ) const
inline

Definition at line 210 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::IsRejectExoticCluster ( ) const
inline
Bool_t AliEMCALRecoUtils::IsTrackMatched ( Int_t  trkIndex) const

Given a track index, it returns if the track has a match.

Parameters
trkIndextrack index as in AliESDEvent::GetTrack(trkIndex)
Returns
bool true if cluster is matched

Definition at line 3030 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and GetMatchedClusterIndex().

AliEMCALRecoUtils & AliEMCALRecoUtils::operator= ( const AliEMCALRecoUtils reco)

Assignment operator.

Definition at line 169 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::Print ( const Option_t ) const
void AliEMCALRecoUtils::RecalculateCellLabelsRemoveAddedGenerator ( Int_t  absID,
AliVCluster *  clus,
AliMCEvent *  mc,
Float_t amp,
TArrayI labeArr,
TArrayF &  eDepArr 
) const

2 tasks:

  • Recover cell MC labels from the original cluster from the fraction of deposited energy to pass them to the digitizer
  • If added generators have to be removed, check the origin of the label and depending on the deposited energy, correct the amplitude. Quite crude.

This only works for MC productions done with aliroot release larger than v5-08

Parameters
clusInput AliVCaloCluster with the list of cell MC labels
mcMC event pointer, to identify the generator
absIDID of the cell
ampamplitude of the cell, to be recalculated if extra generators are removed
labeArrlist of MC labels associated to the cell
eDepArrlist of MC energy depositions in the cell corresponding to each MC label

Definition at line 1722 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptMCGeneratorForTrackMatching(), AliAnalysisTaskEMCALClusterize::ClusterizeCells(), AliEmcalCorrectionClusterizer::FillDigitsArray(), and AliAnalysisTaskEMCALClusterizeFast::FillDigitsArray().

void AliEMCALRecoUtils::RecalculateClusterDistanceToBadChannel ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  cluster 
)

Re-evaluate distance to bad channel with updated bad map

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
clusterEMCal cluster subject to distance to bad channel recalculation

Definition at line 2018 of file AliEMCALRecoUtils.cxx.

Referenced by AliEmcalCorrectionClusterizer::CalibrateClusters(), AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), GetEMCALChannelStatusMap(), AliCaloPID::GetIdentifiedParticleTypeFromClusterSplitting(), and AliCalorimeterUtils::RecalculateClusterDistanceToBadChannel().

void AliEMCALRecoUtils::RecalculateClusterPID ( AliVCluster *  cluster)

Re-evaluate identification parameters with bayesian

Parameters
clusterEMCal cluster subject to PID recalculation

Definition at line 2106 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), GetEMCALChannelStatusMap(), AliCalorimeterUtils::RecalculateClusterPID(), and AliAnalysisTaskEMCALClusterize::RecPoints2Clusters().

void AliEMCALRecoUtils::RecalculateClusterPosition ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  clu 
)

For a given CaloCluster recalculates the position for a given set of misalignment shifts and puts it again in the CaloCluster.

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
cluEMCal cluster subject to position recalculation

Definition at line 1824 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliCalorimeterUtils::RecalculateClusterPosition(), AliAnalysisTaskEMCALClusterize::RecPoints2Clusters(), AliCalorimeterUtils::SplitEnergy(), and AliCaloPhotonCuts::SplitEnergy().

void AliEMCALRecoUtils::RecalculateClusterPositionFromTowerGlobal ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  clu 
)

For a given CaloCluster recalculates the position for a given set of misalignment shifts and puts it again in the CaloCluster. The algorithm is a copy of what is done in AliEMCALRecPoint.

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
cluEMCal cluster subject to position recalculation

Definition at line 1848 of file AliEMCALRecoUtils.cxx.

Referenced by RecalculateClusterPosition().

void AliEMCALRecoUtils::RecalculateClusterPositionFromTowerIndex ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  clu 
)

For a given CaloCluster recalculates the position for a given set of misalignment shifts and puts it again in the CaloCluster. The algorithm works with the tower indeces, averages the indeces and from them it calculates the global position.

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
cluEMCal cluster subject to position recalculation

Definition at line 1935 of file AliEMCALRecoUtils.cxx.

Referenced by RecalculateClusterPosition().

void AliEMCALRecoUtils::RecalculateClusterShowerShapeParameters ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  cluster 
)
void AliEMCALRecoUtils::RecalculateClusterShowerShapeParameters ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  cluster,
Float_t l0,
Float_t l1,
Float_t disp,
Float_t dEta,
Float_t dPhi,
Float_t sEta,
Float_t sPhi,
Float_t sEtaPhi 
)

Calculates different types of shower shape parameters, dispersion, shower shape eigenvalues and other. Call to AliEMCALRecoUtils::RecalculateClusterShowerShapeParametersWithCellCuts with default cell cuts (50 MeV minimum cell energy and not cut on time)

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
clusterEMCal cluster subject to shower shape recalculation
l0main shower shape eigen value
l1second eigenvalue of shower shape
dispdispersion
dEtadispersion in eta (cols) direction
dPhidisperion in phi (rows) direction
sEtashower shape in eta (cols) direction
sPhishower shape in phi (rows) direction
sEtaPhishower shape on phi / eta directions term

Definition at line 2440 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::RecalculateClusterShowerShapeParametersWithCellCuts ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  cluster,
Float_t  cellEcut,
Float_t  cellTimeCut,
Int_t  bc,
Float_t enAfterCuts 
)

Calculates Dispersion and main axis and puts them into the cluster. Possibility to restrict the cell Energy and time window in the calculations

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
clusterEMCal cluster subject to shower shape recalculation
cellEcutminimum cell energy to be considered in the shower shape recalculation
cellTimeCuttime window of cells to be considered in shower recalculation
bcevent bunch crossing number
enAfterCutscluster energy when applying the cell cuts cellEcut and cellTime cut

Definition at line 2495 of file AliEMCALRecoUtils.cxx.

Referenced by GetEMCALChannelStatusMap(), RecalculateClusterShowerShapeParameters(), and AliAnaClusterShapeCorrelStudies::WeightHistograms().

void AliEMCALRecoUtils::RecalculateClusterShowerShapeParametersWithCellCuts ( const AliEMCALGeometry *  geom,
AliVCaloCells *  cells,
AliVCluster *  cluster,
Float_t  cellEcut,
Float_t  cellTimeCut,
Int_t  bc,
Float_t enAfterCuts,
Float_t l0,
Float_t l1,
Float_t disp,
Float_t dEta,
Float_t dPhi,
Float_t sEta,
Float_t sPhi,
Float_t sEtaPhi 
)

Calculates different types of shower shape parameters, dispersion, shower shape eigenvalues and other.

Parameters
geomEMCal geometry pointer
cellslist of EMCal cells with signal
clusterEMCal cluster subject to shower shape recalculation
cellEcutminimum cell energy to be considered in the shower shape recalculation
cellTimeCuttime window of cells to be considered in shower recalculation
bcevent bunch crossing number
enAfterCutscluster energy when applying the cell cuts cellEcut and cellTime cut
l0main shower shape eigen value
l1second eigenvalue of shower shape
dispdispersion
dEtadispersion in eta (cols) direction
dPhidisperion in phi (rows) direction
sEtashower shape in eta (cols) direction
sPhishower shape in phi (rows) direction
sEtaPhishower shape on phi / eta directions term

Definition at line 2144 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::RecalibrateCells ( AliVCaloCells *  cells,
Int_t  bc 
)

Recalibrate all the cells time and energy, considering the recalibration map and the energy and time of each cell.

Parameters
cellslist of cells
bcbunch crossing number returned by esdevent->GetBunchCrossNumber()

Definition at line 1617 of file AliEMCALRecoUtils.cxx.

Referenced by SetSmearingParameters(), and AliEmcalCorrectionComponent::UpdateCells().

void AliEMCALRecoUtils::RecalibrateCellTime ( Int_t  absId,
Int_t  bc,
Double_t celltime,
Bool_t  isLGon = kFALSE 
) const

Recalibrate time of cell from AbsID number considering cell calibration map

Parameters
absIdcell absolute ID number
bcbunch crossing number returned by esdevent->GetBunchCrossNumber()
celltimecell time to be returned calibrated
isLGonlow gain time calibration on/off

Definition at line 1665 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptCalibrateCell(), AliAnalysisTaskEMCALClusterize::ClusterizeCells(), AliCaloTrackReader::FillInputEMCAL(), AliCaloTrackReader::FillInputEMCALAlgorithm(), AliCaloTrackReader::MatchTriggerCluster(), RecalculateClusterShowerShapeParametersWithCellCuts(), AliCalorimeterUtils::RecalibrateCellTime(), RecalibrateClusterEnergy(), and SetConstantTimeShift().

void AliEMCALRecoUtils::RecalibrateCellTimeL1Phase ( Int_t  iSM,
Int_t  bc,
Double_t celltime 
) const

Recalibrate time of cell from SM number considering the L1 phase shift

Parameters
iSMsupermodule number
bcbunch crossing number returned by esdevent->GetBunchCrossNumber()
celltimecell time to be returned calibrated

Definition at line 1683 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptCalibrateCell(), AliCaloTrackReader::FillInputEMCAL(), AliCaloTrackReader::FillInputEMCALAlgorithm(), AliCaloTrackReader::MatchTriggerCluster(), AliCalorimeterUtils::RecalibrateCellTimeL1Phase(), RecalibrateClusterEnergy(), and SwitchOnL1PhaseInTimeRecalibration().

void AliEMCALRecoUtils::RecalibrateClusterEnergy ( const AliEMCALGeometry *  geom,
AliVCluster *  cluster,
AliVCaloCells *  cells,
Int_t  bc = -1 
)

Recalibrate the cluster energy and time, considering the recalibration map and the time and energy of the cells that compose the cluster.

Parameters
geompointer to geometry
clusterpointer to cluster
cellslist of cells
bcbunch crossing number returned by esdevent->GetBunchCrossNumber()

Definition at line 1532 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterize::ClusterUnfolding(), AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), and SetSmearingParameters().

void AliEMCALRecoUtils::ResetCellsCalibrated ( )
inline
void AliEMCALRecoUtils::SetAcceptKinkDaughters ( Bool_t  b = kTRUE)
inline

Definition at line 369 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetAODTrackFilterMask ( UInt_t  mask)
inline

Definition at line 358 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetClusterMatchedToTrack ( const AliVEvent *  event)

Check if tracks are matched to EMC clusters and set the matched EMCAL cluster index to ESD track.

Parameters
eventpointer to event

Definition at line 3361 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and AliAnalysisTaskFullppJet::GetESDEMCalClusters().

void AliEMCALRecoUtils::SetClusterWindow ( Double_t  window)
inline

Definition at line 335 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetConstantTimeShift ( Float_t  shift)
inline

Definition at line 187 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetCutEta ( Float_t  cutEta)
inline
void AliEMCALRecoUtils::SetCutPhi ( Float_t  cutPhi)
inline
void AliEMCALRecoUtils::SetCutR ( Float_t  cutR)
inline

Definition at line 332 of file AliEMCALRecoUtils.h.

Referenced by AliCalorimeterUtils::SetCutR().

void AliEMCALRecoUtils::SetCutZ ( Float_t  cutZ)
inline

Definition at line 336 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetDCAToVertex2D ( Bool_t  b = kFALSE)
inline

Definition at line 372 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetEMCALChannelRecalibrationFactors ( Int_t  iSM,
const TH2F h 
)

Definition at line 3507 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALChannelStatus ( Int_t  iSM,
Int_t  iCol,
Int_t  iRow,
Double_t  c = 1 
)
inline
void AliEMCALRecoUtils::SetEMCALChannelStatusMap ( Int_t  iSM,
const TH2I *  h 
)

Definition at line 3536 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALChannelTimeRecalibrationFactor ( Int_t  bc,
Int_t  absID,
Double_t  c = 0,
Bool_t  isLGon = kFALSE 
)
inline
void AliEMCALRecoUtils::SetEMCALChannelTimeRecalibrationFactors ( Int_t  bc,
const TH1F *  h 
)

Definition at line 3565 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALL1PhaseInTimeRecalibrationForAllSM ( const TH1C *  h)

Definition at line 3594 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALL1PhaseInTimeRecalibrationForSM ( Int_t  iSM,
Int_t  c = 0 
)
inline
void AliEMCALRecoUtils::SetEMCalSurfaceDistance ( Double_t  d)
inline

Definition at line 337 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetExoticCellDiffTimeCut ( Float_t  dt)
inline
void AliEMCALRecoUtils::SetITSTrackSA ( Bool_t  isITS)
inline

Definition at line 344 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetMass ( Double_t  mass)
inline

Definition at line 341 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMaxChi2PerClusterITS ( Float_t  max = 1e10)
inline

Definition at line 366 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMaxChi2PerClusterTPC ( Float_t  max = 1e10)
inline

Definition at line 365 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetMaxDCAToVertexXY ( Float_t  dist = 1e10)
inline

Definition at line 370 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts(), and IsAccepted().

void AliEMCALRecoUtils::SetMaxDCAToVertexZ ( Float_t  dist = 1e10)
inline

Definition at line 371 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetMinNClustersITS ( Int_t  min = -1)
inline

Definition at line 364 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMinNClustersTPC ( Int_t  min = -1)
inline

Definition at line 363 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetMinTrackPt ( Double_t  pt = 0)
inline

Definition at line 362 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalRotShift ( Int_t  i,
Float_t  shift 
)
inline

Definition at line 118 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalRotShiftArray ( Float_t misal)
inline

Definition at line 120 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalTransShift ( Int_t  i,
Float_t  shift 
)
inline

Definition at line 111 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalTransShiftArray ( Float_t misal)
inline

Definition at line 113 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetNameOfMCGeneratorsToAccept ( Int_t  ig,
TString  name 
)
inline

Definition at line 428 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

void AliEMCALRecoUtils::SetNonLinearityParam ( Int_t  i,
Float_t  param 
)
inline

Definition at line 137 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetNonLinearityThreshold ( Int_t  threshold)
inline

Definition at line 142 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetNumberOfCellsFromEMCALBorder ( Int_t  n)
inline
void AliEMCALRecoUtils::SetNumberOfMCGeneratorsToAccept ( Int_t  nGen)
inline

Definition at line 421 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

void AliEMCALRecoUtils::SetParticleType ( Int_t  particle)
inline

Definition at line 122 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetRequireITSPureStandAlone ( Bool_t  b = kFALSE)
inline

Definition at line 374 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetRequireITSRefit ( Bool_t  b = kFALSE)
inline

Definition at line 368 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetRequireITSStandAlone ( Bool_t  b = kFALSE)
inline

Definition at line 373 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetRequireTPCRefit ( Bool_t  b = kFALSE)
inline

Definition at line 367 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetShowerShapeCellLocationType ( Int_t  type)
inline

Definition at line 128 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetSmearingParameters ( Int_t  i,
Float_t  param 
)
inline

Definition at line 152 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetStep ( Double_t  step)
inline

Definition at line 342 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetStepCluster ( Double_t  step)
inline

Definition at line 343 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetTrackCutsType ( Int_t  type)
inline

Definition at line 349 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetTracksMatchedToCluster ( const AliVEvent *  event)

Checks if EMC clusters are matched to ESD track. Adds track indexes of all the tracks matched to a cluster within residuals in AliVCluster.

Parameters
eventpointer to event

Definition at line 3404 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and AliAnalysisTaskFullppJet::GetESDEMCalClusters().

Float_t AliEMCALRecoUtils::SmearClusterEnergy ( const AliVCluster *  cluster)

In case of MC analysis, smear energy to match resolution/calibration in real data (old, in principle not needed anymore).

Parameters
clusterpointer to AliVCluster
Returns
float with smeared energy

Definition at line 723 of file AliEMCALRecoUtils.cxx.

Referenced by AliCaloTrackReader::FillInputEMCALAlgorithm(), and GetNonLinearityThreshold().

void AliEMCALRecoUtils::SwitchOffAODHybridTracksMatch ( )
inline

Definition at line 354 of file AliEMCALRecoUtils.h.

Referenced by SetAODTrackFilterMask(), and SwitchOnAODTPCOnlyTracksMatch().

void AliEMCALRecoUtils::SwitchOffAODTPCOnlyTracksMatch ( )
inline

Definition at line 355 of file AliEMCALRecoUtils.h.

Referenced by SetAODTrackFilterMask(), and SwitchOnAODHybridTracksMatch().

void AliEMCALRecoUtils::SwitchOffClusterEnergySmearing ( )
inline

Definition at line 150 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOffDistToBadChannelRecalculation ( )
inline
void AliEMCALRecoUtils::SwitchOffLG ( )
inline

Definition at line 211 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOffMCGeneratorToAcceptForTrackMatching ( )
inline

Definition at line 431 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

void AliEMCALRecoUtils::SwitchOffNoFiducialBorderInEMCALEta0 ( )
inline
void AliEMCALRecoUtils::SwitchOffRecalibration ( )
inline
void AliEMCALRecoUtils::SwitchOffRejectExoticCluster ( )
inline
void AliEMCALRecoUtils::SwitchOffRunDepCorrection ( )
inline

Definition at line 183 of file AliEMCALRecoUtils.h.

Referenced by AddTaskEMCALPi0Calibration().

void AliEMCALRecoUtils::SwitchOffTimeRecalibration ( )
inline
void AliEMCALRecoUtils::SwitchOnAODHybridTracksMatch ( )
inline

Definition at line 356 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnAODTPCOnlyTracksMatch ( )
inline

Definition at line 357 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnClusterEnergySmearing ( )
inline

Definition at line 149 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnCutEtaPhiSeparate ( )
inline
void AliEMCALRecoUtils::SwitchOnCutEtaPhiSum ( )
inline

Definition at line 324 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnLG ( )
inline

Definition at line 212 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnMCGeneratorToAcceptForTrackMatching ( )
inline

Definition at line 432 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnNoFiducialBorderInEMCALEta0 ( )
inline

Member Data Documentation

UInt_t AliEMCALRecoUtils::fAODFilterMask
private

Filter mask to select AOD tracks. Refer to $ALICE_ROOT/ANALYSIS/macros/AddTaskESDFilter.C.

Definition at line 499 of file AliEMCALRecoUtils.h.

Referenced by FindMatches(), InitParameters(), operator=(), Print(), and SetAODTrackFilterMask().

Bool_t AliEMCALRecoUtils::fAODHybridTracks
private
Bool_t AliEMCALRecoUtils::fAODTPCOnlyTracks
private

Match with TPC only tracks.

Definition at line 501 of file AliEMCALRecoUtils.h.

Referenced by FindMatches(), InitParameters(), operator=(), Print(), SwitchOffAODTPCOnlyTracksMatch(), and SwitchOnAODTPCOnlyTracksMatch().

Bool_t AliEMCALRecoUtils::fCellsRecalibrated
private
Double_t AliEMCALRecoUtils::fClusterWindow
private

Select clusters in the window to be matched.

Definition at line 512 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInClusterArr(), GetClusterWindow(), InitParameters(), operator=(), Print(), and SetClusterWindow().

Float_t AliEMCALRecoUtils::fConstantTimeShift
private

Apply a 600 ns (+15.8) time shift in case of simulation, shift in ns.

Definition at line 467 of file AliEMCALRecoUtils.h.

Referenced by AcceptCalibrateCell(), operator=(), RecalculateClusterShowerShapeParametersWithCellCuts(), RecalibrateClusterEnergy(), and SetConstantTimeShift().

Bool_t AliEMCALRecoUtils::fCutAcceptKinkDaughters
private

Accepting kink daughters?

Definition at line 528 of file AliEMCALRecoUtils.h.

Referenced by GetAcceptKinkDaughters(), InitParameters(), IsAccepted(), operator=(), Print(), and SetAcceptKinkDaughters().

Bool_t AliEMCALRecoUtils::fCutDCAToVertex2D
private

If true a 2D DCA cut is made.

Definition at line 531 of file AliEMCALRecoUtils.h.

Referenced by GetDCAToVertex2D(), InitParameters(), IsAccepted(), operator=(), Print(), and SetDCAToVertex2D().

Float_t AliEMCALRecoUtils::fCutEta
private

dEta cut on matching

Definition at line 510 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInClusterArr(), GetCutEta(), InitParameters(), operator=(), Print(), and SetCutEta().

Bool_t AliEMCALRecoUtils::fCutEtaPhiSeparate
private

Cut on dEta and dPhi separately.

Definition at line 508 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInClusterArr(), InitParameters(), operator=(), Print(), SwitchOnCutEtaPhiSeparate(), and SwitchOnCutEtaPhiSum().

Bool_t AliEMCALRecoUtils::fCutEtaPhiSum
private

Place cut on sqrt(dEta^2+dPhi^2)

Definition at line 507 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInClusterArr(), InitParameters(), operator=(), Print(), SwitchOnCutEtaPhiSeparate(), and SwitchOnCutEtaPhiSum().

Float_t AliEMCALRecoUtils::fCutMaxChi2PerClusterITS
private

Max its fit chi2 per its cluster.

Definition at line 525 of file AliEMCALRecoUtils.h.

Referenced by GetMaxChi2PerClusterITS(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMaxChi2PerClusterITS().

Float_t AliEMCALRecoUtils::fCutMaxChi2PerClusterTPC
private

Max tpc fit chi2 per tpc cluster.

Definition at line 524 of file AliEMCALRecoUtils.h.

Referenced by GetMaxChi2PerClusterTPC(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMaxChi2PerClusterTPC().

Float_t AliEMCALRecoUtils::fCutMaxDCAToVertexXY
private

Track-to-vertex cut in max absolute distance in xy-plane.

Definition at line 529 of file AliEMCALRecoUtils.h.

Referenced by GetMaxDCAToVertexXY(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMaxDCAToVertexXY().

Float_t AliEMCALRecoUtils::fCutMaxDCAToVertexZ
private

Track-to-vertex cut in max absolute distance in z-plane.

Definition at line 530 of file AliEMCALRecoUtils.h.

Referenced by GetMaxDCAToVertexZ(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMaxDCAToVertexZ().

Int_t AliEMCALRecoUtils::fCutMinNClusterITS
private

Min number of its clusters.

Definition at line 523 of file AliEMCALRecoUtils.h.

Referenced by GetMinNClustersITS(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMinNClustersITS().

Int_t AliEMCALRecoUtils::fCutMinNClusterTPC
private

Min number of tpc clusters.

Definition at line 522 of file AliEMCALRecoUtils.h.

Referenced by GetMinNClusterTPC(), InitParameters(), IsAccepted(), operator=(), Print(), and SetMinNClustersTPC().

Double_t AliEMCALRecoUtils::fCutMinTrackPt
private

Cut on track pT.

Definition at line 521 of file AliEMCALRecoUtils.h.

Referenced by FindMatches(), GetMinTrackPt(), InitParameters(), operator=(), Print(), and SetMinTrackPt().

Float_t AliEMCALRecoUtils::fCutPhi
private

dPhi cut on matching

Definition at line 511 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInClusterArr(), GetCutPhi(), InitParameters(), operator=(), Print(), and SetCutPhi().

Float_t AliEMCALRecoUtils::fCutR
private
Bool_t AliEMCALRecoUtils::fCutRequireITSpureSA
private

ITS pure standalone tracks.

Definition at line 533 of file AliEMCALRecoUtils.h.

Referenced by InitParameters(), IsAccepted(), operator=(), and SetRequireITSPureStandAlone().

Bool_t AliEMCALRecoUtils::fCutRequireITSRefit
private

Require ITS refit.

Definition at line 527 of file AliEMCALRecoUtils.h.

Referenced by GetRequireITSRefit(), InitParameters(), IsAccepted(), operator=(), Print(), and SetRequireITSRefit().

Bool_t AliEMCALRecoUtils::fCutRequireITSStandAlone
private

Require ITSStandAlone.

Definition at line 532 of file AliEMCALRecoUtils.h.

Referenced by GetRequireITSStandAlone(), InitParameters(), IsAccepted(), operator=(), and SetRequireITSStandAlone().

Bool_t AliEMCALRecoUtils::fCutRequireTPCRefit
private

Require TPC refit.

Definition at line 526 of file AliEMCALRecoUtils.h.

Referenced by GetRequireTPCRefit(), InitParameters(), IsAccepted(), operator=(), Print(), and SetRequireTPCRefit().

Double_t AliEMCALRecoUtils::fEMCalSurfaceDistance
private

EMCal surface distance (= 430 by default, the last 10 cm are propagated on a cluster-track pair basis)

Definition at line 517 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInEvent(), FindMatches(), operator=(), and SetEMCalSurfaceDistance().

Float_t AliEMCALRecoUtils::fExoticCellDiffTime
private

If time of candidate to exotic and close cell is too different (in ns), it must be noisy, set amp to 0.

Definition at line 492 of file AliEMCALRecoUtils.h.

Referenced by GetECross(), GetExoticCellDiffTimeCut(), InitParameters(), operator=(), and SetExoticCellDiffTimeCut().

Float_t AliEMCALRecoUtils::fExoticCellFraction
private

Good cell if fraction < 1-ecross/ecell.

Definition at line 491 of file AliEMCALRecoUtils.h.

Referenced by GetExoticCellFractionCut(), InitParameters(), IsExoticCell(), operator=(), and SetExoticCellFractionCut().

Float_t AliEMCALRecoUtils::fExoticCellMinAmplitude
private

Check for exotic only if amplitud is larger than this value.

Definition at line 493 of file AliEMCALRecoUtils.h.

Referenced by GetExoticCellMinAmplitudeCut(), InitParameters(), IsExoticCell(), operator=(), and SetExoticCellMinAmplitudeCut().

Bool_t AliEMCALRecoUtils::fITSTrackSA
private

If track matching is to be done with ITS tracks standing alone.

Definition at line 516 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInEvent(), FindMatches(), operator=(), and SetITSTrackSA().

Bool_t AliEMCALRecoUtils::fLowGain
private

Switch on or off calibration with low gain channels.

Definition at line 470 of file AliEMCALRecoUtils.h.

Referenced by InitEMCALTimeRecalibrationFactors(), IsLGOn(), operator=(), RecalibrateCellTime(), SwitchOffLG(), and SwitchOnLG().

Double_t AliEMCALRecoUtils::fMass
private
TArrayI* AliEMCALRecoUtils::fMatchedClusterIndex
private

Array that stores indexes of matched clusters.

Definition at line 504 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), FindMatchedPosForCluster(), FindMatches(), GetMatchedClusterIndex(), operator=(), and ~AliEMCALRecoUtils().

TArrayI* AliEMCALRecoUtils::fMatchedTrackIndex
private

Array that stores indexes of matched tracks.

Definition at line 503 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), FindMatchedPosForTrack(), FindMatches(), GetMatchedTrackIndex(), operator=(), and ~AliEMCALRecoUtils().

TString AliEMCALRecoUtils::fMCGenerToAccept[5]
private

List with name of generators that should not be included.

Definition at line 537 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), FindMatches(), GetNameOfMCGeneratorsToAccept(), operator=(), RecalculateCellLabelsRemoveAddedGenerator(), and SetNameOfMCGeneratorsToAccept().

Bool_t AliEMCALRecoUtils::fMCGenerToAcceptForTrack
private

Activate the removal of tracks entering the track matching that come from a particular generator.

Definition at line 538 of file AliEMCALRecoUtils.h.

Referenced by AcceptMCGeneratorForTrackMatching(), FindMatches(), operator=(), SwitchOffMCGeneratorToAcceptForTrackMatching(), and SwitchOnMCGeneratorToAcceptForTrackMatching().

Float_t AliEMCALRecoUtils::fMisalRotShift[15]
private
Int_t AliEMCALRecoUtils::fNCellsFromEMCALBorder
private

Number of cells from EMCAL border the cell with maximum amplitude has to be.

Definition at line 485 of file AliEMCALRecoUtils.h.

Referenced by CheckCellFiducialRegion(), GetNumberOfCellsFromEMCALBorder(), operator=(), and SetNumberOfCellsFromEMCALBorder().

Int_t AliEMCALRecoUtils::fNMCGenerToAccept
private

Number of MC generators that should not be included in analysis.

Definition at line 536 of file AliEMCALRecoUtils.h.

Referenced by FindMatches(), GetNumberOfMCGeneratorsToAccept(), operator=(), RecalculateCellLabelsRemoveAddedGenerator(), and SetNumberOfMCGeneratorsToAccept().

Bool_t AliEMCALRecoUtils::fNoEMCALBorderAtEta0
private
Int_t AliEMCALRecoUtils::fNonLinearityFunction
private

Non linearity function choice, see enum NonlinearityFunctions.

Definition at line 452 of file AliEMCALRecoUtils.h.

Referenced by CorrectClusterEnergyLinearity(), GetNonLinearityFunction(), InitNonLinearityParam(), InitParameters(), operator=(), Print(), and SetNonLinearityFunction().

Float_t AliEMCALRecoUtils::fNonLinearityParams[10]
private
Int_t AliEMCALRecoUtils::fNonLinearThreshold
private

Non linearity threshold value for kBeamTest non linearity function.

Definition at line 454 of file AliEMCALRecoUtils.h.

Referenced by GetNonLinearityThreshold(), InitNonLinearityParam(), InitParameters(), operator=(), and SetNonLinearityThreshold().

Int_t AliEMCALRecoUtils::fParticleType
private

Particle type for depth calculation, see enum ParticleType.

Definition at line 442 of file AliEMCALRecoUtils.h.

Referenced by GetParticleType(), InitParameters(), operator=(), Print(), RecalculateClusterPositionFromTowerGlobal(), RecalculateClusterPositionFromTowerIndex(), and SetParticleType().

AliEMCALPIDUtils* AliEMCALRecoUtils::fPIDUtils
private

Recalculate PID parameters.

Definition at line 496 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), GetPIDUtils(), operator=(), RecalculateClusterPID(), and ~AliEMCALRecoUtils().

Int_t AliEMCALRecoUtils::fPosAlgo
private

Position recalculation algorithm, see enum PositionAlgorithms.

Definition at line 443 of file AliEMCALRecoUtils.h.

Referenced by GetPositionAlgorithm(), InitParameters(), operator=(), Print(), RecalculateClusterPosition(), and SetPositionAlgorithm().

TRandom3 AliEMCALRecoUtils::fRandom
private

Random generator for cluster energy smearing.

Definition at line 459 of file AliEMCALRecoUtils.h.

Referenced by SmearClusterEnergy().

Bool_t AliEMCALRecoUtils::fRecalDistToBadChannels
private

Calculate distance from highest energy tower of cluster to closes bad channel.

Definition at line 481 of file AliEMCALRecoUtils.h.

Referenced by IsDistanceToBadChannelRecalculated(), operator=(), RecalculateClusterDistanceToBadChannel(), SwitchOffDistToBadChannelRecalculation(), and SwitchOnDistToBadChannelRecalculation().

Bool_t AliEMCALRecoUtils::fRecalibration
private

Switch on or off the recalibration.

Definition at line 463 of file AliEMCALRecoUtils.h.

Referenced by IsRecalibrationOn(), operator=(), Print(), SwitchOffRecalibration(), and SwitchOnRecalibration().

Bool_t AliEMCALRecoUtils::fRejectExoticCells
private
Bool_t AliEMCALRecoUtils::fRejectExoticCluster
private

Switch on or off exotic cluster rejection.

Definition at line 489 of file AliEMCALRecoUtils.h.

Referenced by IsExoticCluster(), IsRejectExoticCluster(), operator=(), SwitchOffRejectExoticCluster(), and SwitchOnRejectExoticCluster().

Bool_t AliEMCALRecoUtils::fRemoveBadChannels
private

Check the channel status provided and remove clusters with bad channels.

Definition at line 480 of file AliEMCALRecoUtils.h.

Referenced by ClusterContainsBadChannel(), IsBadChannelsRemovalSwitchedOn(), operator=(), SwitchOffBadChannelsRemoval(), and SwitchOnBadChannelsRemoval().

TArrayF* AliEMCALRecoUtils::fResidualEta
private
TArrayF* AliEMCALRecoUtils::fResidualPhi
private
Int_t AliEMCALRecoUtils::fShowerShapeCellLocationType
private
Bool_t AliEMCALRecoUtils::fSmearClusterEnergy
private

Smear cluster energy, to be done only for simulated data to match real data.

Definition at line 457 of file AliEMCALRecoUtils.h.

Referenced by InitParameters(), IsClusterEnergySmeared(), operator=(), SmearClusterEnergy(), SwitchOffClusterEnergySmearing(), and SwitchOnClusterEnergySmearing().

Float_t AliEMCALRecoUtils::fSmearClusterParam[3]
private

Energy smearing parameters.

Definition at line 458 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), InitParameters(), operator=(), SetSmearingParameters(), and SmearClusterEnergy().

Double_t AliEMCALRecoUtils::fStepCluster
private

Length of step to extrapolate tracks to clusters.

Definition at line 515 of file AliEMCALRecoUtils.h.

Referenced by ExtrapolateTrackToCluster(), FindMatchedClusterInClusterArr(), GetStep(), InitParameters(), operator=(), Print(), and SetStepCluster().

Double_t AliEMCALRecoUtils::fStepSurface
private

Length of step to extrapolate tracks to EMCal surface.

Definition at line 514 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInEvent(), FindMatches(), GetStepSurface(), InitParameters(), operator=(), Print(), and SetStep().

Bool_t AliEMCALRecoUtils::fTimeRecalibration
private

Switch on or off the time recalibration.

Definition at line 468 of file AliEMCALRecoUtils.h.

Referenced by IsTimeRecalibrationOn(), operator=(), SwitchOffTimeRecalibration(), and SwitchOnTimeRecalibration().

Int_t AliEMCALRecoUtils::fTrackCutsType
private

ESD track cuts type for matching, see enum TrackCutsType.

Definition at line 520 of file AliEMCALRecoUtils.h.

Referenced by GetTrackCutsType(), InitParameters(), InitTrackCuts(), IsAccepted(), operator=(), and SetTrackCutsType().

Bool_t AliEMCALRecoUtils::fUseL1PhaseInTimeRecalibration
private

Switch on or off the L1 phase in time recalibration.

Definition at line 473 of file AliEMCALRecoUtils.h.

Referenced by IsL1PhaseInTimeRecalibrationOn(), operator=(), SwitchOffL1PhaseInTimeRecalibration(), and SwitchOnL1PhaseInTimeRecalibration().

Bool_t AliEMCALRecoUtils::fUseRunCorrectionFactors
private

Use Run Dependent Correction.

Definition at line 477 of file AliEMCALRecoUtils.h.

Referenced by IsRunDepRecalibrationOn(), operator=(), SwitchOffRunDepCorrection(), and SwitchOnRunDepCorrection().

Float_t AliEMCALRecoUtils::fW0
private

Energy weight used in cluster position and shower shape calculations.

Type of cell position used for shower shape calculation: 0-index; 1-global eta/phi; 2-local x/z; 3- local r/z; 4- global x/z; 5- global r/z

Definition at line 445 of file AliEMCALRecoUtils.h.

Referenced by GetCellWeight(), GetW0(), InitParameters(), operator=(), Print(), and SetW0().


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