AliPhysics  master (3d17d9d)
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, kBeamTestCorrectedv4 = 17, kBeamTestNS = 18, kPi0MCNS = 19
}
 
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
 
void SetUseTowerShaperNonlinarityCorrection (Bool_t doCorr)
 
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
 
Float_t CorrectShaperNonLin (Float_t Emeas, Float_t EcalibHG)
 
void SwitchOffRecalibration ()
 
void SwitchOnRecalibration ()
 
void SetUse1DRecalibration (Bool_t use)
 
void InitEMCALRecalibrationFactors ()
 
void InitEMCALRecalibrationFactors1D ()
 
TObjArrayGetEMCALRecalibrationFactorsArray () const
 
TH2FGetEMCALChannelRecalibrationFactors (Int_t iSM) const
 
TH1S * GetEMCALChannelRecalibrationFactors1D () const
 
void SetEMCALChannelRecalibrationFactors (const TObjArray *map)
 
void SetEMCALChannelRecalibrationFactors (Int_t iSM, const TH2F *h)
 
void SetEMCALChannelRecalibrationFactors1D (const TH1S *h)
 
Float_t GetEMCALChannelRecalibrationFactor (Int_t iSM, Int_t iCol, Int_t iRow) const
 
Float_t GetEMCALChannelRecalibrationFactor1D (UInt_t iCell) const
 
void SetEMCALChannelRecalibrationFactor (Int_t iSM, Int_t iCol, Int_t iRow, Double_t c=1)
 
void SetEMCALChannelRecalibrationFactor1D (UInt_t icell, Double_t c=1)
 
Bool_t IsRunDepRecalibrationOn () const
 
void SwitchOffRunDepCorrection ()
 
void SwitchOnRunDepCorrection ()
 
void SetUseOneHistForAllBCs (Bool_t useOneHist)
 
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)
 
TH1GetEMCALChannelTimeRecalibrationFactors (Int_t bc) const
 
void SetEMCALChannelTimeRecalibrationFactors (const TObjArray *map)
 
void SetEMCALChannelTimeRecalibrationFactors (Int_t bc, const TH1 *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, Short_t par=0) const
 
TObjArrayGetEMCALL1PhaseInTimeRecalibrationArray () const
 
Int_t GetEMCALL1PhaseInTimeRecalibrationForSM (Int_t iSM, Short_t par=0) const
 
void SetEMCALL1PhaseInTimeRecalibrationForSM (Int_t iSM, Int_t c=0, Short_t par=0)
 
TH1C * GetEMCALL1PhaseInTimeRecalibrationForAllSM (Short_t par=0) const
 
void SetEMCALL1PhaseInTimeRecalibrationForAllSM (const TObjArray *map)
 
void SetEMCALL1PhaseInTimeRecalibrationForAllSM (const TH1C *h, Short_t par=0)
 
void SwitchOnParRun ()
 
void SwitchOffParRun ()
 
Bool_t IsParRun ()
 
Short_t GetCurrentParNumber ()
 
void SetCurrentParNumber (Short_t par)
 
Short_t GetNPars ()
 
void SetNPars (Short_t npars)
 
ULong64_t GetGlobalIDPar (Short_t par)
 
void SetGlobalIDPar (ULong64_t glob, Short_t par)
 
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 ()
 
void SetUse1DBadChannelMap (Bool_t use)
 
Bool_t IsDistanceToBadChannelRecalculated () const
 
void SwitchOffDistToBadChannelRecalculation ()
 
void SwitchOnDistToBadChannelRecalculation ()
 
TObjArrayGetEMCALBadChannelStatusMapArray () const
 
void InitEMCALBadChannelStatusMap ()
 
void InitEMCALBadChannelStatusMap1D ()
 
void SetEMCALBadChannelStatusSelection (Bool_t all, Bool_t dead, Bool_t hot, Bool_t warm)
 
void SetWarmChannelAsGood ()
 
void SetDeadChannelAsGood ()
 
void SetHotChannelAsGood ()
 
Bool_t GetEMCALChannelStatus (Int_t iSM, Int_t iCol, Int_t iRow, Int_t &status) const
 
Bool_t GetEMCALChannelStatus1D (Int_t iCell, Int_t &status) const
 
void SetEMCALChannelStatus (Int_t iSM, Int_t iCol, Int_t iRow, Double_t status=1)
 
void SetEMCALChannelStatus1D (Int_t iCell, Double_t status=1)
 
TH2I * GetEMCALChannelStatusMap (Int_t iSM) const
 
TH1C * GetEMCALChannelStatusMap1D () const
 
void SetEMCALChannelStatusMap (const TObjArray *map)
 
void SetEMCALChannelStatusMap (Int_t iSM, const TH2I *h)
 
void SetEMCALChannelStatusMap1D (const TH1C *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)
 
void SwitchOnOuterTrackParam ()
 
void SwitchOffOuterTrackParam ()
 
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)
 
void SetRequireTrackDCA (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 GetRequireTrackDCA () 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 cellMinEn=0., Bool_t useWeight=kFALSE, Float_t energyClus=0.)
 
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 IsAbsIDsFromTCard (Int_t absId1, Int_t absId2, Int_t &rowDiff, Int_t &colDiff) const
 
void GetEnergyAndNumberOfCellsInTCard (AliVCluster *clus, Int_t absIdMax, AliVCaloCells *cells, Int_t &nDiff, Int_t &nSame, Float_t &eDiff, Float_t &eSame, Float_t emin=0.)
 
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 fUseShaperNonlin
 Shaper non linearity correction for towers. 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...
 
Bool_t fUse1Drecalib
 Flag to use one dimensional recalibration histogram. 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 fIsParRun
 ! flag if run contains PAR More...
 
Short_t fCurrentParNumber
 ! Current par number More...
 
Short_t fNPars
 Number of PARs in run. More...
 
ULong64_t * fGlobalEventID
 array with globalID for PAR runs More...
 
Bool_t fDoUseMergedBC
 flag for using one histo for all BCs 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...
 
Bool_t fUse1Dmap
 Flag to use one 1D bad channel map (for all cells) More...
 
Bool_t fBadStatusSelection [4]
 
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, ESDs. More...
 
Bool_t fUseTrackDCA
 Activate use of aodtrack->GetXYZ or XvYxZv like in AliEMCALRecoUtilsBase::ExtrapolateTrackToEMCalSurface. More...
 
Bool_t fUseOuterTrackParam
 Use OuterTrackParam not InnerTrackParam, ESDs. 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 60 of file AliEMCALRecoUtils.h.

Member Enumeration Documentation

anonymous enum

Track matching, Marcel.

Enumerator
kNCuts 

Definition at line 96 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 
kBeamTestCorrectedv4 
kBeamTestNS 
kPi0MCNS 

Definition at line 74 of file AliEMCALRecoUtils.h.

Cluster position enum list of possible algoritms.

Enumerator
kUnchanged 
kPosTowerIndex 
kPosTowerGlobal 

Definition at line 93 of file AliEMCALRecoUtils.h.

Track matching cuts enum list.

Enumerator
kTPCOnlyCut 
kGlobalCut 
kLooseCut 
kITSStandAlone 
kGlobalCut2011 
kLooseCutWithITSrefit 

Definition at line 99 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 105 of file AliEMCALRecoUtils.cxx.

AliEMCALRecoUtils::~AliEMCALRecoUtils ( )
virtual

Destructor.

Definition at line 376 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 424 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 505 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 501 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliAnalysisTaskEMCALAlig::DoTrackLoop(), AliAnalysisTaskEMCALPi0CalibSelection::FillHistograms(), AliCaloPID::GetIdentifiedParticleTypeFromClusterSplitting(), PWGJE::EMCALJetTasks::AliAnalysisTaskEA::GetMaxDistanceFromBorder(), IsGoodCluster(), and SetGlobalIDPar().

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 957 of file AliEMCALRecoUtils.cxx.

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

Float_t AliEMCALRecoUtils::CorrectShaperNonLin ( Float_t  Emeas,
Float_t  EcalibHG 
)

Recalibrate all the cells with energy>40 GeV for the shaper nonlinearity

Parameters
Emeasenergy of cell
EcalibHGHG energy calibration coefficient

Definition at line 2174 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptCalibrateCell(), and IsRecalibrationOn().

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 3518 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 3441 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 3362 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 3645 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 3675 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 3113 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 447 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetClusterWindow ( ) const
inline

Definition at line 390 of file AliEMCALRecoUtils.h.

Short_t AliEMCALRecoUtils::GetCurrentParNumber ( )
inline

Definition at line 266 of file AliEMCALRecoUtils.h.

Referenced by AliCalorimeterUtils::GetCurrentParNumber().

Float_t AliEMCALRecoUtils::GetCutEta ( ) const
inline

Definition at line 388 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetCutPhi ( ) const
inline

Definition at line 389 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetCutR ( ) const
inline

Definition at line 387 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetDCAToVertex2D ( ) const
inline

Definition at line 450 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetECross ( Int_t  absID,
Double_t  tcell,
AliVCaloCells *  cells,
Int_t  bc,
Float_t  cellMinEn = 0.,
Bool_t  useWeight = kFALSE,
Float_t  energy = 0. 
)

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
cellMinEnadd the cell energy if large enough (for high energy clusters)
useWeightadd the cell energy if w > 0
energycluster or cell max energy, used for weight calculation
Returns
float E_cross

Definition at line 645 of file AliEMCALRecoUtils.cxx.

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

TObjArray* AliEMCALRecoUtils::GetEMCALBadChannelStatusMapArray ( ) const
inline

Definition at line 307 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionComponent::InitBadChannels().

TH1S* AliEMCALRecoUtils::GetEMCALChannelRecalibrationFactors1D ( ) const
inline
Bool_t AliEMCALRecoUtils::GetEMCALChannelStatus ( Int_t  iSM,
Int_t  iCol,
Int_t  iRow,
Int_t status 
) const
Returns
declare channel as bad (true) or not good (false) By default if status is not kAlive, all are declared bad, but optionnaly
Parameters
iSMsupermodule number of channel
iColcell column in SM
iRowcell row in SM
statuschannel status

Definition at line 1543 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptCalibrateCell(), AliAnalysisTaskEMCALClusterize::AcceptCell(), ClusterContainsBadChannel(), AliAnalysisTaskEMCALClusterize::ClusterUnfolding(), AliAnalysisTaskCaloFilter::FillAODCaloCells(), AliAnalysisTaskEMCALClusterize::FillAODCaloCells(), AliCalorimeterUtils::GetEMCALChannelStatus(), and SetHotChannelAsGood().

Bool_t AliEMCALRecoUtils::GetEMCALChannelStatus1D ( Int_t  iCell,
Int_t status 
) const
Returns
declare channel as bad (true) or not good (false) By default if status is not kAlive, all are declared bad, but optionnaly
Parameters
iCellcell ID
statuschannel status

Definition at line 1601 of file AliEMCALRecoUtils.cxx.

Referenced by AcceptCalibrateCell(), ClusterContainsBadChannel(), and SetHotChannelAsGood().

TH1C* AliEMCALRecoUtils::GetEMCALChannelStatusMap1D ( ) const
inline
Float_t AliEMCALRecoUtils::GetEMCALChannelTimeRecalibrationFactor ( Int_t  bc,
Int_t  absID,
Bool_t  isLGon = kFALSE 
) const
inline
TH1* AliEMCALRecoUtils::GetEMCALChannelTimeRecalibrationFactors ( Int_t  bc) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationArray ( ) const
inline
TH1C* AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationForAllSM ( Short_t  par = 0) const
inline
Int_t AliEMCALRecoUtils::GetEMCALL1PhaseInTimeRecalibrationForSM ( Int_t  iSM,
Short_t  par = 0 
) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALRecalibrationFactorsArray ( ) const
inline
TObjArray* AliEMCALRecoUtils::GetEMCALTimeRecalibrationFactorsArray ( ) const
inline
void AliEMCALRecoUtils::GetEnergyAndNumberOfCellsInTCard ( AliVCluster *  clus,
Int_t  absIdMax,
AliVCaloCells *  cells,
Int_t nDiff,
Int_t nSame,
Float_t eDiff,
Float_t eSame,
Float_t  emin = 0. 
)

Count the number of cells in same or different T-Card as the highest energy cell in the cluster. Only for EMCal.

Parameters
clusAliVCluster
absIdMaxAbs Id number of highest energy cell in the cluster
cellsAliVCaloCells
nDiffnumber of cells in different T-Card
nSamenumber of cells in same T-Card
eDiffsum of energy of cells in different T-Card
eSamesum of energy of cells in same T-Card
eminapply a min energy cut on cells while counting

Definition at line 806 of file AliEMCALRecoUtils.cxx.

Referenced by AliCalorimeterUtils::GetEnergyAndNumberOfCellsInTCard(), IsAbsIDsFromTCard(), IsRejectExoticCluster(), and AliEmcalCorrectionClusterExotics::Run().

Float_t AliEMCALRecoUtils::GetExoticCellDiffTimeCut ( ) const
inline

Definition at line 465 of file AliEMCALRecoUtils.h.

Referenced by AliCaloTrackReader::MatchTriggerCluster().

Float_t AliEMCALRecoUtils::GetExoticCellFractionCut ( ) const
inline

Definition at line 464 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetExoticCellMinAmplitudeCut ( ) const
inline

Definition at line 466 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 3597 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 3561 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 3536 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 3582 of file AliEMCALRecoUtils.cxx.

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

Float_t AliEMCALRecoUtils::GetMaxChi2PerClusterITS ( ) const
inline

Definition at line 444 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxChi2PerClusterTPC ( ) const
inline

Definition at line 443 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxDCAToVertexXY ( ) const
inline

Definition at line 448 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMaxDCAToVertexZ ( ) const
inline

Definition at line 449 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 1655 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(), RecalculateClusterPositionFromTowerIndex(), and AliEmcalCorrectionClusterExotics::Run().

Int_t AliEMCALRecoUtils::GetMinNClustersITS ( ) const
inline

Definition at line 442 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetMinNClusterTPC ( ) const
inline

Definition at line 441 of file AliEMCALRecoUtils.h.

Double_t AliEMCALRecoUtils::GetMinTrackPt ( ) const
inline

Definition at line 440 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMisalRotShift ( Int_t  i) const
inline

Definition at line 120 of file AliEMCALRecoUtils.h.

Float_t* AliEMCALRecoUtils::GetMisalRotShiftArray ( )
inline

Definition at line 123 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetMisalTransShift ( Int_t  i) const
inline

Definition at line 113 of file AliEMCALRecoUtils.h.

Float_t* AliEMCALRecoUtils::GetMisalTransShiftArray ( )
inline

Definition at line 116 of file AliEMCALRecoUtils.h.

TString AliEMCALRecoUtils::GetNameOfMCGeneratorsToAccept ( Int_t  ig) const
inline

Definition at line 497 of file AliEMCALRecoUtils.h.

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

Definition at line 140 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetNonLinearityThreshold ( ) const
inline

Definition at line 149 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetNumberOfMCGeneratorsToAccept ( ) const
inline

Definition at line 492 of file AliEMCALRecoUtils.h.

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

Definition at line 351 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetPositionAlgorithm ( ) const
inline

Definition at line 129 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireITSRefit ( ) const
inline

Definition at line 446 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireITSStandAlone ( ) const
inline

Definition at line 451 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireTPCRefit ( ) const
inline

Definition at line 445 of file AliEMCALRecoUtils.h.

Bool_t AliEMCALRecoUtils::GetRequireTrackDCA ( ) const
inline

Definition at line 452 of file AliEMCALRecoUtils.h.

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

Definition at line 399 of file AliEMCALRecoUtils.h.

Int_t AliEMCALRecoUtils::GetTrackCutsType ( ) const
inline

Definition at line 413 of file AliEMCALRecoUtils.h.

Float_t AliEMCALRecoUtils::GetW0 ( ) const
inline
void AliEMCALRecoUtils::InitEMCALBadChannelStatusMap ( )
void AliEMCALRecoUtils::InitEMCALBadChannelStatusMap1D ( )

Init EMCAL bad channels 1 dimensional map container

Definition at line 1983 of file AliEMCALRecoUtils.cxx.

Referenced by GetEMCALBadChannelStatusMapArray(), and SetEMCALChannelStatus1D().

void AliEMCALRecoUtils::InitEMCALL1PhaseInTimeRecalibration ( )
void AliEMCALRecoUtils::InitEMCALRecalibrationFactors ( )
void AliEMCALRecoUtils::InitEMCALRecalibrationFactors1D ( )

Init 1D EMCAL energy calibration factors container

Definition at line 1863 of file AliEMCALRecoUtils.cxx.

Referenced by SetEMCALChannelRecalibrationFactor1D(), and SetUse1DRecalibration().

void AliEMCALRecoUtils::InitEMCALTimeRecalibrationFactors ( )
void AliEMCALRecoUtils::InitNonLinearityParam ( )

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

Definition at line 1297 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 1750 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 3866 of file AliEMCALRecoUtils.cxx.

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

Bool_t AliEMCALRecoUtils::IsAbsIDsFromTCard ( Int_t  absId1,
Int_t  absId2,
Int_t rowDiff,
Int_t colDiff 
) const

Check if 2 cells belong to the same T-Card Only for EMCal.

Parameters
absId1Reference absId cell
absId2Cross checked cell absId
rowDiffDistance in rows
colDiffDistance in columns
Returns
true if belong to same TCard

Definition at line 735 of file AliEMCALRecoUtils.cxx.

Referenced by GetEnergyAndNumberOfCellsInTCard(), AliCalorimeterUtils::IsAbsIDsFromTCard(), and IsRejectExoticCluster().

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 3737 of file AliEMCALRecoUtils.cxx.

Referenced by FindMatches(), and SwitchOffOuterTrackParam().

Bool_t AliEMCALRecoUtils::IsClusterEnergySmeared ( ) const
inline

Definition at line 158 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 3613 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 855 of file AliEMCALRecoUtils.cxx.

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

Bool_t AliEMCALRecoUtils::IsExoticCluster ( const AliVCluster *  cluster,
AliVCaloCells *  cells,
Int_t  bc = 0 
)

Check if the cluster highest energy tower is exotic.

Parameters
clusterpointer to AliVCluster
cellsfull list of cells
bcbunch crossing number
clusterpointer to AliVCluster

Definition at line 889 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliAnalysisTaskFullppJet::CheckExoticEvent(), AliAnalysisTaskCaloFilter::FillAODCaloClusters(), AliAnalysisTaskFullppJet::IsGoodCluster(), IsGoodCluster(), AliCaloTrackReader::MatchTriggerCluster(), AliEmcalClusterMaker::Run(), and SetExoticCellMinAmplitudeCut().

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 3712 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 237 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 3629 of file AliEMCALRecoUtils.cxx.

Referenced by ExtrapolateTrackToCluster(), and GetMatchedClusterIndex().

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

Assignment operator.

Definition at line 186 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 2263 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 2565 of file AliEMCALRecoUtils.cxx.

Referenced by AliEmcalCorrectionClusterizer::CalibrateClusters(), AliAnalysisTaskEMCALClusterizeFast::CalibrateClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent(), GetEMCALChannelStatusMap1D(), 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 2678 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), GetEMCALChannelStatusMap1D(), 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 2365 of file AliEMCALRecoUtils.cxx.

Referenced by AliAnalysisTaskEMCALPi0CalibSelection::CorrectClusters(), AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliCalorimeterUtils::RecalculateClusterPosition(), AliEmcalCorrectionClusterizer::RecPoints2Clusters(), AliAnalysisTaskEMCALClusterize::RecPoints2Clusters(), and AliCalorimeterUtils::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 2389 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 2479 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 3024 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 3079 of file AliEMCALRecoUtils.cxx.

Referenced by GetEMCALChannelStatusMap1D(), 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 2716 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 2128 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 2205 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,
Short_t  par = 0 
) 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
parInt_t, in case of PAR load another set of L1 shifts, 0-no or before PAR, 1-after 1st PAR etc

Definition at line 2224 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 2039 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 431 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetAODTrackFilterMask ( UInt_t  mask)
inline

Definition at line 420 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 3960 of file AliEMCALRecoUtils.cxx.

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

void AliEMCALRecoUtils::SetClusterWindow ( Double_t  window)
inline

Definition at line 394 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetConstantTimeShift ( Float_t  shift)
inline

Definition at line 208 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 391 of file AliEMCALRecoUtils.h.

Referenced by AliCalorimeterUtils::SetCutR().

void AliEMCALRecoUtils::SetCutZ ( Float_t  cutZ)
inline

Definition at line 395 of file AliEMCALRecoUtils.h.

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

Definition at line 434 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetDeadChannelAsGood ( )
inline

Definition at line 313 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellBadChannel::Initialize().

void AliEMCALRecoUtils::SetEMCALBadChannelStatusSelection ( Bool_t  all,
Bool_t  dead,
Bool_t  hot,
Bool_t  warm 
)

Set the type of channels to be declared as bad

Parameters
all: all cases are bad, default true
dead: dead channels are bad
hot: hot channels are bad
warm: warm channels are bad

Definition at line 1524 of file AliEMCALRecoUtils.cxx.

Referenced by GetEMCALBadChannelStatusMapArray().

void AliEMCALRecoUtils::SetEMCALChannelRecalibrationFactor1D ( UInt_t  icell,
Double_t  c = 1 
)
inline

Definition at line 197 of file AliEMCALRecoUtils.h.

Referenced by InitEMCALRecalibrationFactors1D().

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

Definition at line 4113 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALChannelStatus ( Int_t  iSM,
Int_t  iCol,
Int_t  iRow,
Double_t  status = 1 
)
inline
void AliEMCALRecoUtils::SetEMCALChannelStatus1D ( Int_t  iCell,
Double_t  status = 1 
)
inline

Definition at line 322 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetEMCALChannelStatusMap ( Int_t  iSM,
const TH2I *  h 
)

Definition at line 4182 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALChannelStatusMap1D ( const TH1C *  h)
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 TH1 h 
)

Definition at line 4244 of file AliEMCALRecoUtils.cxx.

void AliEMCALRecoUtils::SetEMCALL1PhaseInTimeRecalibrationForAllSM ( const TH1C *  h,
Short_t  par = 0 
)

Definition at line 4279 of file AliEMCALRecoUtils.cxx.

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

Definition at line 396 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetHotChannelAsGood ( )
inline

Definition at line 315 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellBadChannel::Initialize().

void AliEMCALRecoUtils::SetITSTrackSA ( Bool_t  isITS)
inline

Definition at line 403 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

void AliEMCALRecoUtils::SetMass ( Double_t  mass)
inline

Definition at line 400 of file AliEMCALRecoUtils.h.

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

Definition at line 428 of file AliEMCALRecoUtils.h.

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

Definition at line 427 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 432 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts(), and IsAccepted().

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

Definition at line 433 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 426 of file AliEMCALRecoUtils.h.

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

Definition at line 425 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 424 of file AliEMCALRecoUtils.h.

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

Definition at line 124 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalRotShiftArray ( Float_t misal)
inline

Definition at line 126 of file AliEMCALRecoUtils.h.

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

Definition at line 117 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetMisalTransShiftArray ( Float_t misal)
inline

Definition at line 119 of file AliEMCALRecoUtils.h.

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

Definition at line 500 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

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

Definition at line 143 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetNonLinearityThreshold ( Int_t  threshold)
inline

Definition at line 148 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetNumberOfMCGeneratorsToAccept ( Int_t  nGen)
inline

Definition at line 493 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

void AliEMCALRecoUtils::SetParticleType ( Int_t  particle)
inline

Definition at line 128 of file AliEMCALRecoUtils.h.

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

Definition at line 436 of file AliEMCALRecoUtils.h.

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

Definition at line 430 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 435 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 429 of file AliEMCALRecoUtils.h.

Referenced by InitTrackCuts().

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

Definition at line 437 of file AliEMCALRecoUtils.h.

Referenced by ana().

void AliEMCALRecoUtils::SetShowerShapeCellLocationType ( Int_t  type)
inline

Definition at line 134 of file AliEMCALRecoUtils.h.

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

Definition at line 159 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetStep ( Double_t  step)
inline

Definition at line 401 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetStepCluster ( Double_t  step)
inline

Definition at line 402 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SetTrackCutsType ( Int_t  type)
inline

Definition at line 411 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 4003 of file AliEMCALRecoUtils.cxx.

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

void AliEMCALRecoUtils::SetUse1DBadChannelMap ( Bool_t  use)
inline
void AliEMCALRecoUtils::SetUse1DRecalibration ( Bool_t  use)
inline

Definition at line 176 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellEnergy::Initialize().

void AliEMCALRecoUtils::SetUseTowerShaperNonlinarityCorrection ( Bool_t  doCorr)
inline
void AliEMCALRecoUtils::SetWarmChannelAsGood ( )
inline

Definition at line 311 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellBadChannel::Initialize().

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 926 of file AliEMCALRecoUtils.cxx.

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

void AliEMCALRecoUtils::SwitchOffAODHybridTracksMatch ( )
inline

Definition at line 416 of file AliEMCALRecoUtils.h.

Referenced by SetAODTrackFilterMask(), and SwitchOnAODTPCOnlyTracksMatch().

void AliEMCALRecoUtils::SwitchOffAODTPCOnlyTracksMatch ( )
inline

Definition at line 417 of file AliEMCALRecoUtils.h.

Referenced by SetAODTrackFilterMask(), and SwitchOnAODHybridTracksMatch().

void AliEMCALRecoUtils::SwitchOffClusterEnergySmearing ( )
inline

Definition at line 157 of file AliEMCALRecoUtils.h.

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

Definition at line 238 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellTimeCalib::Initialize().

void AliEMCALRecoUtils::SwitchOffMCGeneratorToAcceptForTrackMatching ( )
inline

Definition at line 503 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionClusterizer::Initialize().

void AliEMCALRecoUtils::SwitchOffNoFiducialBorderInEMCALEta0 ( )
inline
void AliEMCALRecoUtils::SwitchOffOuterTrackParam ( )
inline

Definition at line 405 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOffRecalibration ( )
inline
void AliEMCALRecoUtils::SwitchOffRejectExoticCluster ( )
inline
void AliEMCALRecoUtils::SwitchOffRunDepCorrection ( )
inline
void AliEMCALRecoUtils::SwitchOffTimeRecalibration ( )
inline
void AliEMCALRecoUtils::SwitchOnAODHybridTracksMatch ( )
inline

Definition at line 418 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnAODTPCOnlyTracksMatch ( )
inline

Definition at line 419 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnClusterEnergySmearing ( )
inline

Definition at line 156 of file AliEMCALRecoUtils.h.

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

Definition at line 383 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnLG ( )
inline

Definition at line 239 of file AliEMCALRecoUtils.h.

Referenced by AliEmcalCorrectionCellTimeCalib::Initialize().

void AliEMCALRecoUtils::SwitchOnMCGeneratorToAcceptForTrackMatching ( )
inline

Definition at line 504 of file AliEMCALRecoUtils.h.

void AliEMCALRecoUtils::SwitchOnNoFiducialBorderInEMCALEta0 ( )
inline
void AliEMCALRecoUtils::SwitchOnOuterTrackParam ( )
inline

Definition at line 404 of file AliEMCALRecoUtils.h.

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 584 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 586 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fBadStatusSelection[4]
private

Declare as bad all the types of bad channels or only some. 0- Set all types to bad if true 1- Set dead as good if false 2- Set hot as good if false 3- Set warm as good if false

Definition at line 563 of file AliEMCALRecoUtils.h.

Referenced by AliEMCALRecoUtils(), GetEMCALChannelStatus(), GetEMCALChannelStatus1D(), operator=(), SetDeadChannelAsGood(), SetEMCALBadChannelStatusSelection(), SetHotChannelAsGood(), and SetWarmChannelAsGood().

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

Select clusters in the window to be matched.

Definition at line 597 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 541 of file AliEMCALRecoUtils.h.

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

Short_t AliEMCALRecoUtils::fCurrentParNumber
private
Bool_t AliEMCALRecoUtils::fCutAcceptKinkDaughters
private

Accepting kink daughters?

Definition at line 615 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 618 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 595 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 593 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 592 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 612 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 611 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 616 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 617 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 610 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 609 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 608 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 596 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 620 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fCutRequireITSRefit
private

Require ITS refit.

Definition at line 614 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fCutRequireITSStandAlone
private

Require ITSStandAlone.

Definition at line 619 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fCutRequireTPCRefit
private

Require TPC refit.

Definition at line 613 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 604 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 577 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 576 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 578 of file AliEMCALRecoUtils.h.

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

ULong64_t* AliEMCALRecoUtils::fGlobalEventID
private

array with globalID for PAR runs

Definition at line 552 of file AliEMCALRecoUtils.h.

Referenced by GetGlobalIDPar(), operator=(), SetGlobalIDPar(), SetNPars(), and ~AliEMCALRecoUtils().

Bool_t AliEMCALRecoUtils::fIsParRun
private

! flag if run contains PAR

Definition at line 549 of file AliEMCALRecoUtils.h.

Referenced by IsParRun(), operator=(), SwitchOffParRun(), and SwitchOnParRun().

Bool_t AliEMCALRecoUtils::fITSTrackSA
private

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

Definition at line 601 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 544 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 589 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 588 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 624 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 625 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 570 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 623 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 524 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 526 of file AliEMCALRecoUtils.h.

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

Short_t AliEMCALRecoUtils::fNPars
private

Number of PARs in run.

Definition at line 551 of file AliEMCALRecoUtils.h.

Referenced by GetGlobalIDPar(), GetNPars(), operator=(), SetGlobalIDPar(), and SetNPars().

Int_t AliEMCALRecoUtils::fParticleType
private

Particle type for depth calculation, see enum ParticleType.

Definition at line 514 of file AliEMCALRecoUtils.h.

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

AliEMCALPIDUtils* AliEMCALRecoUtils::fPIDUtils
private

Recalculate PID parameters.

Definition at line 581 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 515 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 532 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 560 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 536 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 574 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 559 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 530 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 531 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 600 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 599 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 542 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 607 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 547 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fUseOuterTrackParam
private

Use OuterTrackParam not InnerTrackParam, ESDs.

Definition at line 603 of file AliEMCALRecoUtils.h.

Referenced by FindMatchedClusterInEvent(), FindMatches(), operator=(), SwitchOffOuterTrackParam(), and SwitchOnOuterTrackParam().

Bool_t AliEMCALRecoUtils::fUseRunCorrectionFactors
private

Use Run Dependent Correction.

Definition at line 556 of file AliEMCALRecoUtils.h.

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

Bool_t AliEMCALRecoUtils::fUseShaperNonlin
private

Shaper non linearity correction for towers.

Definition at line 527 of file AliEMCALRecoUtils.h.

Referenced by AcceptCalibrateCell(), operator=(), and SetUseTowerShaperNonlinarityCorrection().

Bool_t AliEMCALRecoUtils::fUseTrackDCA
private

Activate use of aodtrack->GetXYZ or XvYxZv like in AliEMCALRecoUtilsBase::ExtrapolateTrackToEMCalSurface.

Definition at line 602 of file AliEMCALRecoUtils.h.

Referenced by FindMatches(), GetRequireTrackDCA(), operator=(), and SetRequireTrackDCA().

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 517 of file AliEMCALRecoUtils.h.

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


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