AliPhysics  ef3b16e (ef3b16e)
AliAnalysisTaskEMCALClusterize Class Reference

Reclusterize EMCal clusters, put them in a new branch for other following analysis. More...

#include <AliAnalysisTaskEMCALClusterize.h>

Inheritance diagram for AliAnalysisTaskEMCALClusterize:

Public Member Functions

 AliAnalysisTaskEMCALClusterize ()
 Constructor. More...
 
 AliAnalysisTaskEMCALClusterize (const char *name)
 
virtual ~AliAnalysisTaskEMCALClusterize ()
 Destructor. More...
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Init ()
 
virtual void LocalInit ()
 
void PrintParam ()
 Print clusterization task parameters. More...
 
Bool_t AcceptCell (Int_t absID, Bool_t badmap=kTRUE)
 
Bool_t AcceptEventEMCAL ()
 
void SwitchOnSelectEMCALEvent ()
 
void SwitchOffSelectEMCALEvent ()
 
void SetEMCALEnergyCut (Float_t cut)
 
void SetEMCALNcellsCut (Int_t cut)
 
void SwitchOnInputAODFilter ()
 
void SwitchOffInputAODFilter ()
 
void CheckAndGetEvent ()
 
Bool_t IsExoticEvent ()
 
void SwitchOnExoticEventsRemoval ()
 
void SwitchOffExoticEventsRemoval ()
 
Bool_t IsLEDEvent (const Int_t run)
 Check if event is LED, is so remove it. Affected LHC11a runs. More...
 
void SwitchOnLEDEventsRemoval ()
 
void SwitchOffLEDEventsRemoval ()
 
void AccessOCDB ()
 
void SwitchOnAccessOCDB ()
 
void SwitchOffAccessOCDB ()
 
void SetOCDBPath (const char *path)
 
void InitGeometry ()
 
void SetGeometryName (TString name)
 
TString GeometryName () const
 
void SwitchOnLoadOwnGeometryMatrices ()
 
void SwitchOffLoadOwnGeometryMatrices ()
 
void SetGeometryMatrixInSM (TGeoHMatrix *m, Int_t i)
 
void SetImportGeometryFromFile (Bool_t im, TString pa="")
 
void SetAODBranchName (TString name)
 
void SetAODCellsName (TString name)
 
void SetInputCaloCellsName (TString name)
 
void FillAODFile (Bool_t yesno)
 
void FillAODCaloCells ()
 Put calo cells in standard branch. More...
 
void FillAODHeader ()
 Put event header information in standard AOD branch. More...
 
void SwitchOnFillAODHeader ()
 
void SwitchOffFillAODHeader ()
 
void SwitchOnFillAODCaloCells ()
 
void SwitchOffFillAODCaloCells ()
 
void SwitchOnRecalibrateWithClusterTime ()
 
void SwitchOffRecalibrateWithClusterTime ()
 
AliEMCALRecParam * GetRecParam ()
 
AliEMCALRecoUtilsGetRecoUtils ()
 
void ConfigureEMCALRecoUtils (Bool_t bMC=kFALSE, Bool_t bExotic=kTRUE, Bool_t bNonLin=kFALSE, Bool_t bRecalE=kTRUE, Bool_t bBad=kTRUE, Bool_t bRecalT=kTRUE, Int_t debug=-1)
 
void InitClusterization ()
 
void ClusterizeCells ()
 
void ClusterUnfolding ()
 Take the event clusters and unfold them. More...
 
void JustUnfold (Bool_t yesno)
 
void UpdateCells ()
 
void SetConfigFileName (TString name)
 
void SetMaxEvent (Int_t max)
 
void SetMinEvent (Int_t max)
 
void SwitchOnTrackMatching ()
 
void SwitchOffTrackMatching ()
 
void SwitchOnUpdateCell ()
 
void SwitchOffUpdateCell ()
 
void SwitchOnCellEnergySelection ()
 
void SwitchOffCellEnergySelection ()
 
void SetCellCuts (Float_t e, Float_t frac)
 
void SetRejectBelowThreshold (Bool_t reject)
 
void AccessOADB ()
 
TString GetPass ()
 Get or guess pass number/string from path of filename. More...
 
void SwitchOnEMCALOADB ()
 
void SwitchOffEMCALOADB ()
 
void SetOADBFilePath (TString path)
 
void SetConstantTimeShift (Float_t shift)
 
AliCentrality * GetCentrality () const
 
AliMultSelection * GetMultSelCen () const
 
void SwitchOnAliCentrality ()
 
void SwitchOffAliCentrality ()
 
void SetCentralityClass (TString name)
 
TString GetCentralityClass () const
 
Float_t GetEventCentrality () const
 Get centrality/multiplicity percentile. More...
 
void SetCentralityBin (Int_t min, Int_t max)
 
Float_t GetCentralityBin (Int_t i) const
 
void RemapMCLabelForAODs (Int_t &label)
 
void SwitchOnRemapMCLabelForAODs ()
 
void SwitchOffRemapMCLabelForAODs ()
 
void SetClustersMCLabelFrom2SelectedLabels (AliEMCALRecPoint *recPoint, AliAODCaloCluster *clus)
 
void SetClustersMCLabelFromOriginalClusters (AliAODCaloCluster *clus)
 
void SwitchOnUseClusterMCLabelForCell (Int_t opt=0)
 
void SwitchOffUseClusterMCLabelForCell ()
 
void SwitchOnUseMCEdepFracLabelForCell ()
 
void SwitchOffUseMCEdepFracLabelForCell ()
 
void MakeCellTCardCorrelation ()
 
void CalculateInducedEnergyInTCardCell (Int_t absId, Int_t absIdRef, Int_t sm, Float_t ampRef, Int_t cellCase)
 
void AddNewTCardInducedCellsToDigit ()
 
void SwitchOnTCardCorrelation (Bool_t conservEnergy=kFALSE)
 
void SwitchOffTCardCorrelation ()
 De-activate T-Card cells correlation,. More...
 
void SetInducedEnergyLossConstant (Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFraction (Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFractionP1 (Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossConstantPerSM (Int_t sm, Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFractionPerSM (Int_t sm, Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFractionP1PerSM (Int_t sm, Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFractionWidth (Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossFractionWidthPerSM (Int_t sm, Float_t ud, Float_t udlr, Float_t lr, Float_t sec)
 
void SetInducedEnergyLossMaximumFractionPerSM (Float_t max, Int_t sm)
 
void SetInducedEnergyLossMinimumFractionPerSM (Float_t min, Int_t sm)
 
void SetInducedEnergyLossMaximumFraction (Float_t max)
 
void SetInducedEnergyLossMinimumFraction (Float_t min)
 
void SetInducedEnergyLossProbabilityPerSM (Float_t prob, Int_t sm)
 
void SwitchOnRandomizeTCardInducedEnergy ()
 
void SwitchOffRandomizeTCardInducedEnergy ()
 
void SetInducedTCardMinimumCellEnergy (Float_t mi)
 
void SetInducedTCardMaximum (Float_t ma)
 
void SetInducedTCardMinimum (Float_t mi)
 
void SetInducedTCardMaximumLowE (Float_t ma)
 
void PrintTCardParam ()
 Print parameters for T-Card correlation emulation. More...
 

Private Member Functions

virtual void FillCaloClusterInEvent ()
 
virtual void RecPoints2Clusters ()
 
virtual void ResetArrays ()
 Reset arrays containing information for all possible cells. More...
 
 AliAnalysisTaskEMCALClusterize (const AliAnalysisTaskEMCALClusterize &)
 Copy constructor not implemented. More...
 
AliAnalysisTaskEMCALClusterizeoperator= (const AliAnalysisTaskEMCALClusterize &)
 Assignment operator not implemented. More...
 

Private Attributes

AliVEvent * fEvent
 Event. More...
 
AliEMCALGeometry * fGeom
 EMCAL geometry. More...
 
TString fGeomName
 Name of geometry to use. More...
 
TGeoHMatrix * fGeomMatrix [22]
 Geometry matrices with alignments. More...
 
Bool_t fGeomMatrixSet
 Set geometry matrices only once, for the first event. More...
 
Bool_t fLoadGeomMatrices
 Matrices set from configuration, not get from geometry.root or from ESDs/AODs. More...
 
TString fOCDBpath
 Path with OCDB location. More...
 
Bool_t fAccessOCDB
 Need to access info from OCDB (not really) More...
 
TClonesArray * fDigitsArr
 ! Digits array More...
 
TObjArrayfClusterArr
 ! Recpoints array More...
 
TObjArrayfCaloClusterArr
 ! CaloClusters array More...
 
AliVCaloCells * fCaloCells
 ! CaloCells container More...
 
AliEMCALRecParam * fRecParam
 Reconstruction parameters container. More...
 
AliEMCALClusterizer * fClusterizer
 ! EMCAL clusterizer More...
 
AliEMCALAfterBurnerUF * fUnfolder
 ! Unfolding procedure More...
 
Bool_t fJustUnfold
 Just unfold, do not recluster. More...
 
TClonesArray * fOutputAODBranch
 ! AOD Branch with output clusters More...
 
TString fOutputAODBranchName
 New of output clusters AOD branch. More...
 
AliAODCaloCells * fOutputAODCells
 ! AOD Branch with output cells More...
 
TString fOutputAODCellsName
 New of output cells AOD branch name. More...
 
TString fInputCaloCellsName
 Input cells branch name, if different from default branch. More...
 
Bool_t fOutputAODBranchSet
 Set the AOD clusters branch in the input event once. More...
 
Bool_t fFillAODFile
 
Bool_t fFillAODHeader
 Copy header to standard branch. More...
 
Bool_t fFillAODCaloCells
 Copy calocells to standard branch. More...
 
Int_t fRun
 run number More...
 
AliEMCALRecoUtilsfRecoUtils
 Access to factorized reconstruction algorithms. More...
 
TString fConfigName
 Name of analysis configuration file. More...
 
Int_t fOrgClusterCellId [fgkNEMCalCells]
 Array ID of cluster to wich the cell belongs in unmodified clusters. More...
 
Int_t fCellLabels [fgkNEMCalCells]
 Array with MC label to be passed to digit. More...
 
Int_t fCellSecondLabels [fgkNEMCalCells]
 Array with Second MC label to be passed to digit. More...
 
Double_t fCellTime [fgkNEMCalCells]
 Array with cluster time to be passed to digit in case of AODs. More...
 
Float_t fCellMatchdEta [fgkNEMCalCells]
 Array with cluster-track dPhi. More...
 
Float_t fCellMatchdPhi [fgkNEMCalCells]
 Array with cluster-track dEta. More...
 
Bool_t fRecalibrateWithClusterTime
 Use fCellTime to store time of cells in cluster. More...
 
Int_t fMaxEvent
 Set a maximum event number, for testing. More...
 
Int_t fMinEvent
 Set a minimum event number, for testing. More...
 
Bool_t fDoTrackMatching
 On/Off the matching recalculation to speed up analysis in PbPb. More...
 
Bool_t fUpdateCell
 On/Off the upate of the CaloCells container. More...
 
Bool_t fSelectCell
 Reject cells from cluster if energy is too low and recalculate position/energy and other. More...
 
Float_t fSelectCellMinE
 Min energy cell threshold, after unfolding. More...
 
Float_t fSelectCellMinFrac
 Min fraction of cell energy after unfolding cut. More...
 
Bool_t fRejectBelowThreshold
 split (false-default) or reject (true) cell energy below threshold after UF More...
 
Bool_t fRemoveLEDEvents
 Remove LED events, use only for LHC11a. More...
 
Bool_t fRemoveExoticEvents
 Remove exotic events. More...
 
Bool_t fImportGeometryFromFile
 Import geometry settings in geometry.root file. More...
 
TString fImportGeometryFilePath
 path fo geometry.root file More...
 
Bool_t fOADBSet
 AODB parameters already set. More...
 
Bool_t fAccessOADB
 Get calibration from OADB for EMCAL. More...
 
TString fOADBFilePath
 Default path $ALICE_PHYSICS/OADB/EMCAL, if needed change. More...
 
Float_t fConstantTimeShift
 Apply a 600 ns time shift in case of simulation, shift in ns. More...
 
TString fCentralityClass
 Name of selected centrality class. More...
 
Float_t fCentralityBin [2]
 Minimum and maximum value of the centrality for the analysis. More...
 
Bool_t fUseAliCentrality
 Use the centrality estimator from AliCentrality or AliMultSelection. More...
 
Bool_t fSelectEMCALEvent
 Process the event if there is some high energy cluster. More...
 
Float_t fEMCALEnergyCut
 At least an EMCAL cluster with this energy in the event. More...
 
Int_t fEMCALNcellsCut
 At least an EMCAL cluster with fNCellsCut cells over fEnergyCut. More...
 
Int_t fSetCellMCLabelFromCluster
 
Bool_t fSetCellMCLabelFromEdepFrac
 
Bool_t fRemapMCLabelForAODs
 Remap AOD cells MC label. Needed in old AOD productions. More...
 
Bool_t fInputFromFilter
 Get the input from AODs from the filter. More...
 
Bool_t fTCardCorrEmulation
 Activate T-Card cells energy correlation. More...
 
Bool_t fTCardCorrClusEnerConserv
 When making correlation, subtract from the reference cell the induced energy on the neighbour cells. More...
 
Float_t fTCardCorrCellsEner [fgkNEMCalCells]
 Array with induced cell energy in T-Card neighbour cells. More...
 
Bool_t fTCardCorrCellsNew [fgkNEMCalCells]
 Array with induced cell energy in T-Card neighbour cells, that before had no signal. More...
 
Float_t fTCardCorrInduceEner [4][22]
 Induced energy loss gauss constant on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param 0. More...
 
Float_t fTCardCorrInduceEnerFrac [4][22]
 Induced energy loss gauss fraction param0 on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param 0. More...
 
Float_t fTCardCorrInduceEnerFracP1 [4][22]
 Induced energy loss gauss fraction param1 on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param1. More...
 
Float_t fTCardCorrInduceEnerFracWidth [4][22]
 Induced energy loss gauss witdth on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells. More...
 
Float_t fTCardCorrInduceEnerFracMax [22]
 In case fTCardCorrInduceEnerFracP1 is non null, restrict the maximum fraction of induced energy per SM. More...
 
Float_t fTCardCorrInduceEnerFracMin [22]
 In case fTCardCorrInduceEnerFracP1 is non null, restrict the minimum fraction of induced energy per SM. More...
 
Float_t fTCardCorrInduceEnerProb [22]
 Probability to induce energy loss per SM. More...
 
TRandom3 fRandom
 Random generator. More...
 
Bool_t fRandomizeTCard
 Use random induced energy. More...
 
Float_t fTCardCorrMinAmp
 Minimum cell energy to induce signal on adjacent cells. More...
 
Float_t fTCardCorrMinInduced
 Minimum induced energy signal on adjacent cells, sum of induced plus original energy, use same as cell energy clusterization cut. More...
 
Float_t fTCardCorrMaxInducedLowE
 Maximum value of induced energy signal that is always accepted, order of ADC, tipically 10 MeV. More...
 
Float_t fTCardCorrMaxInduced
 Maximum induced energy signal on adjacent cells. More...
 
Bool_t fPrintOnce
 Print once analysis parameters. More...
 

Static Private Attributes

static const Int_t fgkNEMCalCells = 17664
 Total number of cells in the calorimeter, 10*48*24 (EMCal) + 4*48*8 (EMCal/DCal 1/3) + 6*32*24 (DCal) More...
 

Detailed Description

Reclusterize EMCal clusters, put them in a new branch for other following analysis.

This analysis provides a new list of clusters to be used in other analysis running right after this task. The clusters are recalibrated, bad channels removed, track-matching recalculated. Clusters are put in a new branch. Optionally, new clusters branch will be stored in an output AOD file with other additionnal information.

Adapted from analysis class from Deepa Thomas.

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-IN2P3-CNRS

Definition at line 40 of file AliAnalysisTaskEMCALClusterize.h.

Constructor & Destructor Documentation

AliAnalysisTaskEMCALClusterize::AliAnalysisTaskEMCALClusterize ( )

Constructor.

Definition at line 128 of file AliAnalysisTaskEMCALClusterize.cxx.

AliAnalysisTaskEMCALClusterize::AliAnalysisTaskEMCALClusterize ( const char *  name)

Definition at line 63 of file AliAnalysisTaskEMCALClusterize.cxx.

AliAnalysisTaskEMCALClusterize::~AliAnalysisTaskEMCALClusterize ( )
virtual

Destructor.

Definition at line 192 of file AliAnalysisTaskEMCALClusterize.cxx.

AliAnalysisTaskEMCALClusterize::AliAnalysisTaskEMCALClusterize ( const AliAnalysisTaskEMCALClusterize )
private

Copy constructor not implemented.

Member Function Documentation

Bool_t AliAnalysisTaskEMCALClusterize::AcceptCell ( Int_t  absID,
Bool_t  badmap = kTRUE 
)

Reject cell if acceptance criteria not passed:

  • correct cell number
  • is it bad channel
Parameters
absIDabsolute cell ID number
badmapconsider the bad channel map, on by default, not needed for cross-Talk
Returns
bool quality of cell, exists or not

Definition at line 227 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CalculateInducedEnergyInTCardCell(), and LocalInit().

Bool_t AliAnalysisTaskEMCALClusterize::AcceptEventEMCAL ( )
Returns
True if there is in the event an EMCal cluster with enough energy and with good quality. Accept event given there is a EMCAL cluster with enough energy, number of cells and not noisy, exotic.

Definition at line 254 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CheckAndGetEvent(), and LocalInit().

void AliAnalysisTaskEMCALClusterize::AccessOADB ( )

Set the AODB calibration, bad channels etc. parameters at least once alignment matrices from OADB done in SetGeometryMatrices.

Definition at line 288 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SetRejectBelowThreshold(), and UserExec().

void AliAnalysisTaskEMCALClusterize::AccessOCDB ( )

Access to OCDB stuff, avoid. Not sure it works anymore.

Definition at line 587 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SwitchOffLEDEventsRemoval(), and UserExec().

void AliAnalysisTaskEMCALClusterize::AddNewTCardInducedCellsToDigit ( )

Add to the digits the found induced energies in MakeCellTCardCorrelation() to new cells that before had no signal if new signal is larger than 10 MeV. It is MC, but no MC label is assigned, just -2 to signal a new created energy

Definition at line 625 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by ClusterizeCells(), and SwitchOffUseMCEdepFracLabelForCell().

void AliAnalysisTaskEMCALClusterize::CalculateInducedEnergyInTCardCell ( Int_t  absId,
Int_t  absIdRef,
Int_t  sm,
Float_t  ampRef,
Int_t  cellCase 
)

Calculate the induced energy in a cell belonging to the same T-Card as the reference cell. Used in MakeCellTCardCorrelation()

Parameters
absIdId number of cell in same T-Card as reference cell
absIdRefId number of reference cell
smSupermodule number of cell
ampRefAmplitude of the reference cell
cellCaseType of cell with respect reference cell 0: up or down, 1: up or down on the diagonal, 2: left or right, 3: 2nd row up/down both left/right

Definition at line 1809 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by IsLEDEvent(), MakeCellTCardCorrelation(), and SwitchOffUseMCEdepFracLabelForCell().

void AliAnalysisTaskEMCALClusterize::CheckAndGetEvent ( )

Get the input event, it can depend in embedded events what you want to get. Also check if the quality of the event is good (has it EMCal clusters, is the event triggered by LED or exotic ), if not reject it. If we add more than clusters, add also Header and CaloCells here.

Definition at line 665 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SwitchOffInputAODFilter(), and UserExec().

void AliAnalysisTaskEMCALClusterize::ClusterizeCells ( )

Recluster calorimeter cells, transform them into digits, feed the clusterizer with them and get new list of clusters. In case of MC, first loop on the clusters and fill MC label to array. Filter the cells not being exotic, bad and recalibrate them before clusterizing.

Definition at line 786 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by GetRecoUtils(), and UserExec().

void AliAnalysisTaskEMCALClusterize::ClusterUnfolding ( )

Take the event clusters and unfold them.

Definition at line 1031 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by GetRecoUtils(), and UserExec().

void AliAnalysisTaskEMCALClusterize::ConfigureEMCALRecoUtils ( Bool_t  bMC = kFALSE,
Bool_t  bExotic = kTRUE,
Bool_t  bNonLin = kFALSE,
Bool_t  bRecalE = kTRUE,
Bool_t  bBad = kTRUE,
Bool_t  bRecalT = kTRUE,
Int_t  debug = -1 
)

Configure fRecoUtils with some standard arguments for common analysis configurations

The input parameters:

Parameters
recopointer to object to initialize in this macro.
bMCBool, indicates if data is MC.
bExoticBool, indicates if exotic clusters are removed.
bNonLinBool, indicates if non linearity correction is applied on clusters.
bRecalEBool, indicates if energy recalibration is applied.
bBadBool, indicates if bad channels/clusters are removed.
bRecalTBool, indicates if time is calibrated.
debugint debug level, print info on settings in the macro

Definition at line 1118 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by ClusterUnfolding(), and GetRecoUtils().

void AliAnalysisTaskEMCALClusterize::FillAODCaloCells ( )

Put calo cells in standard branch.

Definition at line 1196 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CheckAndGetEvent(), and FillAODFile().

void AliAnalysisTaskEMCALClusterize::FillAODFile ( Bool_t  yesno)
inline

Definition at line 100 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::FillAODHeader ( )

Put event header information in standard AOD branch.

Definition at line 1235 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CheckAndGetEvent(), and FillAODFile().

void AliAnalysisTaskEMCALClusterize::FillCaloClusterInEvent ( )
privatevirtual

Get the CaloClusters array, do some final calculations and put the clusters in the output or input event as a separate branch.

Definition at line 1350 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SetInducedTCardMaximumLowE(), and UserExec().

TString AliAnalysisTaskEMCALClusterize::GeometryName ( ) const
inline

Definition at line 87 of file AliAnalysisTaskEMCALClusterize.h.

AliCentrality* AliAnalysisTaskEMCALClusterize::GetCentrality ( ) const
inline

Definition at line 160 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by GetEventCentrality().

Float_t AliAnalysisTaskEMCALClusterize::GetCentralityBin ( Int_t  i) const
inline

Definition at line 170 of file AliAnalysisTaskEMCALClusterize.h.

TString AliAnalysisTaskEMCALClusterize::GetCentralityClass ( ) const
inline

Definition at line 166 of file AliAnalysisTaskEMCALClusterize.h.

Float_t AliAnalysisTaskEMCALClusterize::GetEventCentrality ( ) const

Get centrality/multiplicity percentile.

Definition at line 1420 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by GetCentralityClass(), and UserExec().

AliMultSelection* AliAnalysisTaskEMCALClusterize::GetMultSelCen ( ) const
inline

Definition at line 161 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by GetEventCentrality().

TString AliAnalysisTaskEMCALClusterize::GetPass ( )

Get or guess pass number/string from path of filename.

Definition at line 1439 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by AccessOADB(), and SetRejectBelowThreshold().

AliEMCALRecoUtils* AliAnalysisTaskEMCALClusterize::GetRecoUtils ( )
inline

Definition at line 116 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ana().

AliEMCALRecParam* AliAnalysisTaskEMCALClusterize::GetRecParam ( )
inline

Definition at line 113 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::Init ( )
virtual

Init analysis with configuration macro if available. Init other parameters, pointers if not done before with default settings.

Definition at line 1484 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by LocalInit().

void AliAnalysisTaskEMCALClusterize::InitClusterization ( )

Select clusterization/unfolding algorithm and set all the needed parameters.

Definition at line 1536 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by GetRecoUtils(), and UserExec().

void AliAnalysisTaskEMCALClusterize::InitGeometry ( )

Init geometry and set the geometry matrix, for the first event, skip the rest. Even if run number changes, geom only changes from year to year so first is enough.

Definition at line 1607 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SetOCDBPath(), and UserExec().

Bool_t AliAnalysisTaskEMCALClusterize::IsExoticEvent ( )

Check if event is exotic, get an exotic cell and compare with triggered patch If there is a match remove event ... to be completed, filled with something provisional

Definition at line 1732 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CheckAndGetEvent(), and SwitchOffInputAODFilter().

Bool_t AliAnalysisTaskEMCALClusterize::IsLEDEvent ( const Int_t  run)

Check if event is LED, is so remove it. Affected LHC11a runs.

Definition at line 1768 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by CheckAndGetEvent(), and SwitchOffExoticEventsRemoval().

void AliAnalysisTaskEMCALClusterize::JustUnfold ( Bool_t  yesno)
inline

Definition at line 124 of file AliAnalysisTaskEMCALClusterize.h.

virtual void AliAnalysisTaskEMCALClusterize::LocalInit ( )
inlinevirtual

Definition at line 51 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::MakeCellTCardCorrelation ( )

Recover each cell amplitude and absId and induce energy in cells around of the same T-Card, up to second row

Definition at line 1865 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by ClusterizeCells(), and SwitchOffUseMCEdepFracLabelForCell().

AliAnalysisTaskEMCALClusterize& AliAnalysisTaskEMCALClusterize::operator= ( const AliAnalysisTaskEMCALClusterize )
private

Assignment operator not implemented.

void AliAnalysisTaskEMCALClusterize::PrintParam ( )

Print clusterization task parameters.

Definition at line 1984 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskEMCALClusterize::PrintTCardParam ( )

Print parameters for T-Card correlation emulation.

Definition at line 2020 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by SetInducedTCardMaximumLowE(), and UserExec().

void AliAnalysisTaskEMCALClusterize::RecPoints2Clusters ( )
privatevirtual

Restore clusters from recPoints. Cluster energy, global position, cells and their amplitude fractions are restored.

Set the MC labels, normal procedure in reconstruction

Definition at line 2053 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by ClusterizeCells(), and SetInducedTCardMaximumLowE().

void AliAnalysisTaskEMCALClusterize::RemapMCLabelForAODs ( Int_t label)

MC label for Cells not remapped after ESD filtering, it happened in old productions, do it here.

Definition at line 2265 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by ClusterizeCells(), and GetCentralityBin().

void AliAnalysisTaskEMCALClusterize::ResetArrays ( )
privatevirtual

Reset arrays containing information for all possible cells.

Definition at line 2307 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by AliAnalysisTaskEMCALClusterize(), ClusterizeCells(), and SetInducedTCardMaximumLowE().

void AliAnalysisTaskEMCALClusterize::SetAODBranchName ( TString  name)
inline

Definition at line 97 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ana().

void AliAnalysisTaskEMCALClusterize::SetAODCellsName ( TString  name)
inline

Definition at line 98 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ana().

void AliAnalysisTaskEMCALClusterize::SetCellCuts ( Float_t  e,
Float_t  frac 
)
inline

Definition at line 141 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetCentralityBin ( Int_t  min,
Int_t  max 
)
inline

Definition at line 168 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetCentralityClass ( TString  name)
inline

Definition at line 165 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetClustersMCLabelFrom2SelectedLabels ( AliEMCALRecPoint *  recPoint,
AliAODCaloCluster *  clus 
)

Set the cluster MC label, the digizer was filled with the most likely MC label for all cells in original cluster. Now check the second most likely MC label and add it to the new cluster.

Definition at line 2328 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by RecPoints2Clusters(), and SwitchOffRemapMCLabelForAODs().

void AliAnalysisTaskEMCALClusterize::SetClustersMCLabelFromOriginalClusters ( AliAODCaloCluster *  clus)

Get the original clusters that contribute to the new cluster, assign the labels of such clusters to the new cluster. Only approximatedly valid when input and output are V1 clusters, or input are V2 clusters and output are any other type of clusters. Handle with care.

Definition at line 2370 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by RecPoints2Clusters(), and SwitchOffRemapMCLabelForAODs().

void AliAnalysisTaskEMCALClusterize::SetConfigFileName ( TString  name)
inline

Definition at line 127 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetConstantTimeShift ( Float_t  shift)
inline

Definition at line 156 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetEMCALEnergyCut ( Float_t  cut)
inline

Definition at line 60 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetEMCALNcellsCut ( Int_t  cut)
inline

Definition at line 61 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetGeometryMatrixInSM ( TGeoHMatrix *  m,
Int_t  i 
)
inline

Definition at line 90 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetGeometryName ( TString  name)
inline

Definition at line 86 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetImportGeometryFromFile ( Bool_t  im,
TString  pa = "" 
)
inline

Definition at line 92 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossConstant ( Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Constant energy lost by max energy cell in one of T-Card cells, same for all SM

Parameters
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 208 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossConstantPerSM ( Int_t  sm,
Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Constant energy lost by max energy cell in one of T-Card cells, per SM

Parameters
smsuper module index
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 236 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFraction ( Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Fraction of energy lost by max energy cell in one of T-Card cells, same for all SM

Parameters
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 217 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFractionP1 ( Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Slope parameter of fraction of energy lost by max energy cell in one of T-Card cells, same for all SM

Parameters
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 226 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFractionP1PerSM ( Int_t  sm,
Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Slope parameter of fraction of energy lost by max energy cell in one of T-Card cells, per SM

Parameters
smsuper module index
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 256 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFractionPerSM ( Int_t  sm,
Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Fraction of energy lost by max energy cell in one of T-Card cells, per SM

Parameters
smsuper module index
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 246 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFractionWidth ( Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Fraction of energy lost by max energy cell in one of T-Card cells, width of random gaussian, same for all SM

Parameters
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 265 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossFractionWidthPerSM ( Int_t  sm,
Float_t  ud,
Float_t  udlr,
Float_t  lr,
Float_t  sec 
)
inline

Fraction of energy lost by max energy cell in one of T-Card cells, width of random gaussian, per SM

Parameters
smsuper module index
udenergy lost in upper/lower cell, same column
udlrenergy lost in upper/lower cell, left or right
lrenergy lost in left or right cell, same row

Definition at line 275 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossMaximumFraction ( Float_t  max)
inline

Maximum induced energy fraction when linear dependency is set, same for all SM

Parameters
maxmaximum fraction

Definition at line 294 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossMaximumFractionPerSM ( Float_t  max,
Int_t  sm 
)
inline

Maximum induced energy fraction when linear dependency is set, per SM number

Parameters
maxmaximum fraction
smsuper-module number

Definition at line 283 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossMinimumFraction ( Float_t  min)
inline

Minimum induced energy fraction when linear dependency is set, same for all SM

Parameters
minminimum fraction

Definition at line 299 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossMinimumFractionPerSM ( Float_t  min,
Int_t  sm 
)
inline

Minimum induced energy fraction when linear dependency is set, per SM number

Parameters
minminimum fraction
smsuper-module number

Definition at line 289 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedEnergyLossProbabilityPerSM ( Float_t  prob,
Int_t  sm 
)
inline

fraction of times max cell energy correlates with cross cells, different for each super-module

Parameters
probprobability per event, from 0 to 1
smprobability assigned to this super-module number

Definition at line 305 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedTCardMaximum ( Float_t  ma)
inline

Definition at line 312 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedTCardMaximumLowE ( Float_t  ma)
inline

Definition at line 314 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedTCardMinimum ( Float_t  mi)
inline

Definition at line 313 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInducedTCardMinimumCellEnergy ( Float_t  mi)
inline

Definition at line 311 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetInputCaloCellsName ( TString  name)
inline

Definition at line 99 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetMaxEvent ( Int_t  max)
inline

Definition at line 128 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetMinEvent ( Int_t  max)
inline

Definition at line 129 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetOADBFilePath ( TString  path)
inline

Definition at line 154 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetOCDBPath ( const char *  path)
inline

Definition at line 81 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SetRejectBelowThreshold ( Bool_t  reject)
inline

Definition at line 143 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffAccessOCDB ( )
inline

Definition at line 80 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffAliCentrality ( )
inline

Definition at line 163 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffCellEnergySelection ( )
inline

Definition at line 140 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffEMCALOADB ( )
inline

Definition at line 152 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffExoticEventsRemoval ( )
inline

Definition at line 70 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffFillAODCaloCells ( )
inline

Definition at line 106 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffFillAODHeader ( )
inline

Definition at line 104 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffInputAODFilter ( )
inline

Definition at line 64 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffLEDEventsRemoval ( )
inline

Definition at line 74 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffLoadOwnGeometryMatrices ( )
inline

Definition at line 89 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffRandomizeTCardInducedEnergy ( )
inline

Definition at line 309 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffRecalibrateWithClusterTime ( )
inline

Definition at line 109 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffRemapMCLabelForAODs ( )
inline

Definition at line 177 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffSelectEMCALEvent ( )
inline

Definition at line 59 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffTCardCorrelation ( )
inline

De-activate T-Card cells correlation,.

Definition at line 201 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffTrackMatching ( )
inline

Definition at line 132 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffUpdateCell ( )
inline

Definition at line 135 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffUseClusterMCLabelForCell ( )
inline

Definition at line 183 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOffUseMCEdepFracLabelForCell ( )
inline

Definition at line 187 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnAccessOCDB ( )
inline

Definition at line 79 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnAliCentrality ( )
inline

Definition at line 162 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnCellEnergySelection ( )
inline

Definition at line 139 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnEMCALOADB ( )
inline

Definition at line 151 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnExoticEventsRemoval ( )
inline

Definition at line 69 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnFillAODCaloCells ( )
inline

Definition at line 105 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnFillAODHeader ( )
inline

Definition at line 103 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnInputAODFilter ( )
inline

Definition at line 63 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnLEDEventsRemoval ( )
inline

Definition at line 73 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnLoadOwnGeometryMatrices ( )
inline

Definition at line 88 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnRandomizeTCardInducedEnergy ( )
inline

Definition at line 308 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnRecalibrateWithClusterTime ( )
inline

Definition at line 108 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnRemapMCLabelForAODs ( )
inline

Definition at line 176 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnSelectEMCALEvent ( )
inline

Definition at line 58 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnTCardCorrelation ( Bool_t  conservEnergy = kFALSE)
inline

Activate T-Card cells correlation,

Parameters
conservEnergyactivate cluster energy conservation, not by default

Definition at line 198 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnTrackMatching ( )
inline

Definition at line 131 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnUpdateCell ( )
inline

Definition at line 134 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::SwitchOnUseClusterMCLabelForCell ( Int_t  opt = 0)
inline

Definition at line 182 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ana().

void AliAnalysisTaskEMCALClusterize::SwitchOnUseMCEdepFracLabelForCell ( )
inline

Definition at line 185 of file AliAnalysisTaskEMCALClusterize.h.

void AliAnalysisTaskEMCALClusterize::UpdateCells ( )

Update or create CaloCells container if calibration or some changes were applied. Delete previouly existing content in the container.

Definition at line 2532 of file AliAnalysisTaskEMCALClusterize.cxx.

Referenced by JustUnfold(), and UserExec().

void AliAnalysisTaskEMCALClusterize::UserCreateOutputObjects ( )
virtual

Definition at line 2497 of file AliAnalysisTaskEMCALClusterize.cxx.

void AliAnalysisTaskEMCALClusterize::UserExec ( Option_t option)
virtual

Do clusterization event by event, execute different steps

  • 1) Do some checks on the kind of events (ESD, AOD) or if some filtering is needed, initializations load things and clear arrays
  • 2) Clusterize
    • a) just unfolding existing clusters (fJustUnfold)
    • b) recluster cells
      • + convert cells into digits (calibrating them)
      • + recluster digits into recPoints with the chosen clusterizer (V1, V1+Unfold,V2, NxN) with methods in AliEMCALClusterizer
      • + transform recPoints into CaloClusters
  • 3) Do some final calculations in the found clusters (track-matching) and put them in an AOD branch

Definition at line 2614 of file AliAnalysisTaskEMCALClusterize.cxx.

Member Data Documentation

Bool_t AliAnalysisTaskEMCALClusterize::fAccessOADB
private

Get calibration from OADB for EMCAL.

Definition at line 397 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by PrintParam(), SwitchOffEMCALOADB(), SwitchOnEMCALOADB(), and UserExec().

Bool_t AliAnalysisTaskEMCALClusterize::fAccessOCDB
private

Need to access info from OCDB (not really)

Definition at line 339 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), PrintParam(), SwitchOffAccessOCDB(), SwitchOnAccessOCDB(), and UserExec().

TObjArray* AliAnalysisTaskEMCALClusterize::fCaloClusterArr
private
Int_t AliAnalysisTaskEMCALClusterize::fCellLabels[fgkNEMCalCells]
private

Array with MC label to be passed to digit.

Definition at line 373 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), RecPoints2Clusters(), and ResetArrays().

Float_t AliAnalysisTaskEMCALClusterize::fCellMatchdEta[fgkNEMCalCells]
private

Array with cluster-track dPhi.

Definition at line 376 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), FillCaloClusterInEvent(), and ResetArrays().

Float_t AliAnalysisTaskEMCALClusterize::fCellMatchdPhi[fgkNEMCalCells]
private

Array with cluster-track dEta.

Definition at line 377 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), FillCaloClusterInEvent(), and ResetArrays().

Int_t AliAnalysisTaskEMCALClusterize::fCellSecondLabels[fgkNEMCalCells]
private

Array with Second MC label to be passed to digit.

Definition at line 374 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), ResetArrays(), and SetClustersMCLabelFrom2SelectedLabels().

Double_t AliAnalysisTaskEMCALClusterize::fCellTime[fgkNEMCalCells]
private

Array with cluster time to be passed to digit in case of AODs.

Definition at line 375 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), and ResetArrays().

Float_t AliAnalysisTaskEMCALClusterize::fCentralityBin[2]
private

Minimum and maximum value of the centrality for the analysis.

Definition at line 403 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), GetCentralityBin(), Init(), PrintParam(), SetCentralityBin(), and UserExec().

TString AliAnalysisTaskEMCALClusterize::fCentralityClass
private

Name of selected centrality class.

Definition at line 402 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by GetCentralityClass(), GetEventCentrality(), Init(), PrintParam(), and SetCentralityClass().

TObjArray* AliAnalysisTaskEMCALClusterize::fClusterArr
private
AliEMCALClusterizer* AliAnalysisTaskEMCALClusterize::fClusterizer
private
TString AliAnalysisTaskEMCALClusterize::fConfigName
private

Name of analysis configuration file.

Definition at line 368 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), and SetConfigFileName().

Float_t AliAnalysisTaskEMCALClusterize::fConstantTimeShift
private

Apply a 600 ns time shift in case of simulation, shift in ns.

Definition at line 399 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), IsExoticEvent(), PrintParam(), and SetConstantTimeShift().

TClonesArray* AliAnalysisTaskEMCALClusterize::fDigitsArr
private
Bool_t AliAnalysisTaskEMCALClusterize::fDoTrackMatching
private

On/Off the matching recalculation to speed up analysis in PbPb.

Definition at line 384 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), FillCaloClusterInEvent(), Init(), PrintParam(), SwitchOffTrackMatching(), and SwitchOnTrackMatching().

Float_t AliAnalysisTaskEMCALClusterize::fEMCALEnergyCut
private

At least an EMCAL cluster with this energy in the event.

Definition at line 408 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AcceptEventEMCAL(), PrintParam(), and SetEMCALEnergyCut().

Int_t AliAnalysisTaskEMCALClusterize::fEMCALNcellsCut
private

At least an EMCAL cluster with fNCellsCut cells over fEnergyCut.

Use cluster MC label as cell label:

  • 0 - get the MC label stored in cells
  • 1 - select 2 most likely labels
  • 2 - get the original clusters, add all the MC labels Options 1 and 2 useful for any reclusterization with output V1 clusters and similar clusterization thresholds as original cluster, if original is 50 MeV cell E cut and new is 100 MeV, this does not work well.

Definition at line 409 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AcceptEventEMCAL(), PrintParam(), and SetEMCALNcellsCut().

Bool_t AliAnalysisTaskEMCALClusterize::fFillAODCaloCells
private

Copy calocells to standard branch.

Definition at line 363 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), PrintParam(), SwitchOffFillAODCaloCells(), and SwitchOnFillAODCaloCells().

Bool_t AliAnalysisTaskEMCALClusterize::fFillAODFile
private

Fill the output AOD file with the new clusters, if not they will be only available for the event they were generated

Definition at line 360 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), FillAODFile(), Init(), InitGeometry(), IsLEDEvent(), PrintParam(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskEMCALClusterize::fFillAODHeader
private

Copy header to standard branch.

Definition at line 362 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), PrintParam(), SwitchOffFillAODHeader(), and SwitchOnFillAODHeader().

TGeoHMatrix* AliAnalysisTaskEMCALClusterize::fGeomMatrix[22]
private

Geometry matrices with alignments.

Definition at line 333 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), Init(), InitGeometry(), and SetGeometryMatrixInSM().

Bool_t AliAnalysisTaskEMCALClusterize::fGeomMatrixSet
private

Set geometry matrices only once, for the first event.

Definition at line 334 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by InitGeometry(), and PrintParam().

TString AliAnalysisTaskEMCALClusterize::fGeomName
private

Name of geometry to use.

Definition at line 332 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by GeometryName(), Init(), InitGeometry(), PrintParam(), and SetGeometryName().

const Int_t AliAnalysisTaskEMCALClusterize::fgkNEMCalCells = 17664
staticprivate

Total number of cells in the calorimeter, 10*48*24 (EMCal) + 4*48*8 (EMCal/DCal 1/3) + 6*32*24 (DCal)

Definition at line 370 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AddNewTCardInducedCellsToDigit(), and ResetArrays().

TString AliAnalysisTaskEMCALClusterize::fImportGeometryFilePath
private

path fo geometry.root file

Definition at line 394 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by InitGeometry(), PrintParam(), and SetImportGeometryFromFile().

Bool_t AliAnalysisTaskEMCALClusterize::fImportGeometryFromFile
private

Import geometry settings in geometry.root file.

Definition at line 393 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by InitGeometry(), PrintParam(), and SetImportGeometryFromFile().

TString AliAnalysisTaskEMCALClusterize::fInputCaloCellsName
private

Input cells branch name, if different from default branch.

Definition at line 358 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), PrintParam(), and SetInputCaloCellsName().

Bool_t AliAnalysisTaskEMCALClusterize::fInputFromFilter
private

Get the input from AODs from the filter.

Definition at line 425 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), PrintParam(), SwitchOffInputAODFilter(), and SwitchOnInputAODFilter().

Bool_t AliAnalysisTaskEMCALClusterize::fJustUnfold
private

Just unfold, do not recluster.

Definition at line 351 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), InitClusterization(), JustUnfold(), PrintParam(), and UserExec().

Bool_t AliAnalysisTaskEMCALClusterize::fLoadGeomMatrices
private

Matrices set from configuration, not get from geometry.root or from ESDs/AODs.

Definition at line 335 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), InitGeometry(), PrintParam(), SwitchOffLoadOwnGeometryMatrices(), and SwitchOnLoadOwnGeometryMatrices().

Int_t AliAnalysisTaskEMCALClusterize::fMaxEvent
private

Set a maximum event number, for testing.

Definition at line 381 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), Init(), PrintParam(), and SetMaxEvent().

Int_t AliAnalysisTaskEMCALClusterize::fMinEvent
private

Set a minimum event number, for testing.

Definition at line 382 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), Init(), PrintParam(), and SetMinEvent().

TString AliAnalysisTaskEMCALClusterize::fOADBFilePath
private

Default path $ALICE_PHYSICS/OADB/EMCAL, if needed change.

Definition at line 398 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AccessOADB(), InitGeometry(), PrintParam(), and SetOADBFilePath().

Bool_t AliAnalysisTaskEMCALClusterize::fOADBSet
private

AODB parameters already set.

Definition at line 396 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AccessOADB(), AccessOCDB(), Init(), and UserExec().

TString AliAnalysisTaskEMCALClusterize::fOCDBpath
private

Path with OCDB location.

Definition at line 338 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AccessOCDB(), Init(), PrintParam(), and SetOCDBPath().

Int_t AliAnalysisTaskEMCALClusterize::fOrgClusterCellId[fgkNEMCalCells]
private

Array ID of cluster to wich the cell belongs in unmodified clusters.

Definition at line 372 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), ResetArrays(), and SetClustersMCLabelFromOriginalClusters().

TClonesArray* AliAnalysisTaskEMCALClusterize::fOutputAODBranch
private

! AOD Branch with output clusters

Definition at line 354 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), FillCaloClusterInEvent(), UserCreateOutputObjects(), and UserExec().

TString AliAnalysisTaskEMCALClusterize::fOutputAODBranchName
private

New of output clusters AOD branch.

Definition at line 355 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), Init(), PrintParam(), SetAODBranchName(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskEMCALClusterize::fOutputAODBranchSet
private

Set the AOD clusters branch in the input event once.

Definition at line 359 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent().

AliAODCaloCells* AliAnalysisTaskEMCALClusterize::fOutputAODCells
private

! AOD Branch with output cells

Definition at line 356 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), UpdateCells(), and UserCreateOutputObjects().

TString AliAnalysisTaskEMCALClusterize::fOutputAODCellsName
private

New of output cells AOD branch name.

Definition at line 357 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CheckAndGetEvent(), PrintParam(), SetAODCellsName(), UpdateCells(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskEMCALClusterize::fPrintOnce
private

Print once analysis parameters.

Definition at line 451 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by UserExec().

TRandom3 AliAnalysisTaskEMCALClusterize::fRandom
private

Random generator.

Definition at line 443 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CalculateInducedEnergyInTCardCell(), and MakeCellTCardCorrelation().

Bool_t AliAnalysisTaskEMCALClusterize::fRandomizeTCard
private
Bool_t AliAnalysisTaskEMCALClusterize::fRecalibrateWithClusterTime
private

Use fCellTime to store time of cells in cluster.

Definition at line 379 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), PrintParam(), SwitchOffRecalibrateWithClusterTime(), and SwitchOnRecalibrateWithClusterTime().

AliEMCALRecParam* AliAnalysisTaskEMCALClusterize::fRecParam
private

Reconstruction parameters container.

Definition at line 348 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by GetRecParam(), Init(), InitClusterization(), and RecPoints2Clusters().

Bool_t AliAnalysisTaskEMCALClusterize::fRejectBelowThreshold
private

split (false-default) or reject (true) cell energy below threshold after UF

Definition at line 389 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), InitClusterization(), and SetRejectBelowThreshold().

Bool_t AliAnalysisTaskEMCALClusterize::fRemapMCLabelForAODs
private

Remap AOD cells MC label. Needed in old AOD productions.

Definition at line 423 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), PrintParam(), SwitchOffRemapMCLabelForAODs(), and SwitchOnRemapMCLabelForAODs().

Bool_t AliAnalysisTaskEMCALClusterize::fRemoveExoticEvents
private
Bool_t AliAnalysisTaskEMCALClusterize::fRemoveLEDEvents
private

Remove LED events, use only for LHC11a.

Definition at line 390 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by IsLEDEvent(), PrintParam(), SwitchOffLEDEventsRemoval(), and SwitchOnLEDEventsRemoval().

Int_t AliAnalysisTaskEMCALClusterize::fRun
private
Bool_t AliAnalysisTaskEMCALClusterize::fSelectCell
private

Reject cells from cluster if energy is too low and recalculate position/energy and other.

Definition at line 386 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by RecPoints2Clusters(), SwitchOffCellEnergySelection(), and SwitchOnCellEnergySelection().

Float_t AliAnalysisTaskEMCALClusterize::fSelectCellMinE
private

Min energy cell threshold, after unfolding.

Definition at line 387 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), RecPoints2Clusters(), and SetCellCuts().

Float_t AliAnalysisTaskEMCALClusterize::fSelectCellMinFrac
private

Min fraction of cell energy after unfolding cut.

Definition at line 388 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), RecPoints2Clusters(), and SetCellCuts().

Bool_t AliAnalysisTaskEMCALClusterize::fSelectEMCALEvent
private

Process the event if there is some high energy cluster.

Definition at line 407 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AcceptEventEMCAL(), PrintParam(), SwitchOffSelectEMCALEvent(), and SwitchOnSelectEMCALEvent().

Int_t AliAnalysisTaskEMCALClusterize::fSetCellMCLabelFromCluster
private

For MC generated with aliroot > v5-07-21, check the EDep information stored in ESDs/AODs to set the cell MC labels

Definition at line 417 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), PrintParam(), RecPoints2Clusters(), SwitchOffUseClusterMCLabelForCell(), SwitchOnUseClusterMCLabelForCell(), and SwitchOnUseMCEdepFracLabelForCell().

Bool_t AliAnalysisTaskEMCALClusterize::fSetCellMCLabelFromEdepFrac
private
Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrCellsEner[fgkNEMCalCells]
private

Array with induced cell energy in T-Card neighbour cells.

Definition at line 431 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AddNewTCardInducedCellsToDigit(), CalculateInducedEnergyInTCardCell(), ClusterizeCells(), and ResetArrays().

Bool_t AliAnalysisTaskEMCALClusterize::fTCardCorrCellsNew[fgkNEMCalCells]
private

Array with induced cell energy in T-Card neighbour cells, that before had no signal.

Definition at line 432 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AddNewTCardInducedCellsToDigit(), CalculateInducedEnergyInTCardCell(), and ResetArrays().

Bool_t AliAnalysisTaskEMCALClusterize::fTCardCorrClusEnerConserv
private

When making correlation, subtract from the reference cell the induced energy on the neighbour cells.

Definition at line 430 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SwitchOffTCardCorrelation(), and SwitchOnTCardCorrelation().

Bool_t AliAnalysisTaskEMCALClusterize::fTCardCorrEmulation
private

Activate T-Card cells energy correlation.

Definition at line 429 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterizeCells(), PrintTCardParam(), SwitchOffTCardCorrelation(), SwitchOnTCardCorrelation(), and UpdateCells().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEner[4][22]
private

Induced energy loss gauss constant on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param 0.

Definition at line 434 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossConstant(), and SetInducedEnergyLossConstantPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerFrac[4][22]
private

Induced energy loss gauss fraction param0 on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param 0.

Definition at line 435 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossFraction(), and SetInducedEnergyLossFractionPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerFracMax[22]
private

In case fTCardCorrInduceEnerFracP1 is non null, restrict the maximum fraction of induced energy per SM.

Definition at line 438 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossMaximumFraction(), and SetInducedEnergyLossMaximumFractionPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerFracMin[22]
private

In case fTCardCorrInduceEnerFracP1 is non null, restrict the minimum fraction of induced energy per SM.

Definition at line 439 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossMinimumFraction(), and SetInducedEnergyLossMinimumFractionPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerFracP1[4][22]
private

Induced energy loss gauss fraction param1 on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells, param1.

Definition at line 436 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossFractionP1(), and SetInducedEnergyLossFractionP1PerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerFracWidth[4][22]
private

Induced energy loss gauss witdth on 0-same row, diff col, 1-up/down cells left/right col 2-left/righ col, and 2nd row cells.

Definition at line 437 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), CalculateInducedEnergyInTCardCell(), PrintTCardParam(), SetInducedEnergyLossFractionWidth(), and SetInducedEnergyLossFractionWidthPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrInduceEnerProb[22]
private

Probability to induce energy loss per SM.

Definition at line 440 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by AliAnalysisTaskEMCALClusterize(), MakeCellTCardCorrelation(), PrintTCardParam(), and SetInducedEnergyLossProbabilityPerSM().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrMaxInduced
private

Maximum induced energy signal on adjacent cells.

Definition at line 449 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CalculateInducedEnergyInTCardCell(), PrintTCardParam(), and SetInducedTCardMaximum().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrMaxInducedLowE
private

Maximum value of induced energy signal that is always accepted, order of ADC, tipically 10 MeV.

Definition at line 448 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CalculateInducedEnergyInTCardCell(), PrintTCardParam(), and SetInducedTCardMaximumLowE().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrMinAmp
private

Minimum cell energy to induce signal on adjacent cells.

Definition at line 446 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by MakeCellTCardCorrelation(), PrintTCardParam(), and SetInducedTCardMinimumCellEnergy().

Float_t AliAnalysisTaskEMCALClusterize::fTCardCorrMinInduced
private

Minimum induced energy signal on adjacent cells, sum of induced plus original energy, use same as cell energy clusterization cut.

Definition at line 447 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by CalculateInducedEnergyInTCardCell(), PrintTCardParam(), and SetInducedTCardMinimum().

AliEMCALAfterBurnerUF* AliAnalysisTaskEMCALClusterize::fUnfolder
private

! Unfolding procedure

Definition at line 350 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by ClusterUnfolding(), InitClusterization(), and ~AliAnalysisTaskEMCALClusterize().

Bool_t AliAnalysisTaskEMCALClusterize::fUpdateCell
private

On/Off the upate of the CaloCells container.

Definition at line 385 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by Init(), PrintParam(), SwitchOffUpdateCell(), SwitchOnUpdateCell(), UpdateCells(), and UserExec().

Bool_t AliAnalysisTaskEMCALClusterize::fUseAliCentrality
private

Use the centrality estimator from AliCentrality or AliMultSelection.

Definition at line 404 of file AliAnalysisTaskEMCALClusterize.h.

Referenced by FillAODHeader(), GetEventCentrality(), Init(), PrintParam(), SwitchOffAliCentrality(), and SwitchOnAliCentrality().


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