1 #ifndef ALIANALYSISTASKEMCALCLUSTERIZE_H
2 #define ALIANALYSISTASKEMCALCLUSTERIZE_H
24 class AliEMCALGeometry;
25 class AliEMCALClusterizer;
26 class AliEMCALAfterBurnerUF;
27 class AliEMCALRecPoint;
28 class AliAODCaloCluster;
30 class AliMultSelection;
32 #include "AliEMCALRecParam.h"
33 #include "AliEMCALRecoUtils.h"
35 #include "AliAnalysisTaskSE.h"
146 AliCentrality*
GetCentrality()
const {
return InputEvent()->GetCentrality() ; }
147 AliMultSelection*
GetMultSelCen()
const {
return (AliMultSelection * ) InputEvent()->FindListObject(
"MultSelection") ; }
286 #endif //ALIANALYSISTASKEMCALCLUSTERIZE_H
void SwitchOnRecalibrateWithClusterTime()
void FillAODCaloCells()
Put calo cells in standard branch.
void SetOADBFilePath(TString path)
virtual void ResetArrays()
Reset arrays containing information for all possible cells.
void SetGeometryName(TString &name)
void JustUnfold(Bool_t yesno)
void SetCellCuts(Float_t e, Float_t frac)
TString GetPass()
Get or guess pass number/string from path of filename.
Bool_t fSetCellMCLabelFromEdepFrac
Bool_t fFillAODHeader
Copy header to standard branch.
TClonesArray * fDigitsArr
! Digits array
void SwitchOffAliCentrality()
void SwitchOnSelectEMCALEvent()
AliEMCALClusterizer * fClusterizer
! EMCAL clusterizer
AliAnalysisTaskEMCALClusterize()
Constructor.
Bool_t fJustUnfold
Just unfold, do not recluster.
void SwitchOffEMCALOADB()
Bool_t fImportGeometryFromFile
Import geometry settings in geometry.root file.
Bool_t fSelectCell
Reject cells from cluster if energy is too low and recalculate position/energy and other...
TString fConfigName
Name of analysis configuration file.
void SetMaxEvent(Int_t max)
Int_t fCellSecondLabels[fgkNEMCalCells]
Array with Second MC label to be passed to digit.
void SetConstantTimeShift(Float_t shift)
void SetClustersMCLabelFrom2SelectedLabels(AliEMCALRecPoint *recPoint, AliAODCaloCluster *clus)
Int_t fSetCellMCLabelFromCluster
Float_t fCellMatchdEta[fgkNEMCalCells]
Array with cluster-track dPhi.
void SwitchOffExoticEventsRemoval()
TClonesArray * fOutputAODBranch
! AOD Branch with output clusters
void SwitchOnLoadOwnGeometryMatrices()
TString fOADBFilePath
Default path $ALICE_PHYSICS/OADB/EMCAL, if needed change.
virtual ~AliAnalysisTaskEMCALClusterize()
Destructor.
TString fImportGeometryFilePath
path fo geometry.root file
void SwitchOnAliCentrality()
Float_t GetCentralityBin(Int_t i) const
Bool_t fSelectEMCALEvent
Process the event if there is some high energy cluster.
Bool_t AcceptEventEMCAL()
void SetOCDBPath(const char *path)
TString GeometryName() const
Float_t GetEventCentrality() const
Get centrality/multiplicity percentile.
void SetRejectBelowThreshold(Bool_t reject)
void SwitchOffCellEnergySelection()
void SwitchOnRemapMCLabelForAODs()
Bool_t fInputFromFilter
Get the input from AODs from the filter.
TString fOutputAODBranchName
New of output AOD branch.
AliEMCALGeometry * fGeom
EMCAL geometry.
void ClusterUnfolding()
Take the event clusters and unfold them.
Bool_t fAccessOADB
Get calibration from OADB for EMCAL.
Bool_t fRemoveLEDEvents
Remove LED events, use only for LHC11a.
AliEMCALRecoUtils * fRecoUtils
Access to factorized reconstruction algorithms.
void SetCentralityBin(Int_t min, Int_t max)
Bool_t fRejectBelowThreshold
split (false-default) or reject (true) cell energy below threshold after UF
Float_t fConstantTimeShift
Apply a 600 ns time shift in case of simulation, shift in ns.
void SetClustersMCLabelFromOriginalClusters(AliAODCaloCluster *clus)
Float_t fSelectCellMinE
Min energy cell threshold, after unfolding.
Bool_t fOADBSet
AODB parameters already set.
virtual void UserCreateOutputObjects()
void SwitchOnLEDEventsRemoval()
virtual void FillCaloClusterInEvent()
Int_t fCellLabels[fgkNEMCalCells]
Array with MC label to be passed to digit.
Bool_t fRemoveExoticEvents
Remove exotic events.
Bool_t fDoTrackMatching
On/Off the matching recalulation to speed up analysis in PbPb.
void SwitchOnFillAODHeader()
virtual void UserExec(Option_t *option)
void SwitchOnInputAODFilter()
Float_t fCellMatchdPhi[fgkNEMCalCells]
Array with cluster-track dEta.
AliMultSelection * GetMultSelCen() const
void SwitchOnTrackMatching()
TGeoHMatrix * fGeomMatrix[22]
Geometry matrices with alignments.
void SwitchOnUseClusterMCLabelForCell(Int_t opt=2)
void SwitchOnUseMCEdepFracLabelForCell()
void FillAODFile(Bool_t yesno)
Bool_t IsLEDEvent(const Int_t run)
Check if event is LED, is so remove it. Affected LHC11a runs.
AliEMCALRecParam * fRecParam
Reconstruction parameters container.
TString fGeomName
Name of geometry to use.
Bool_t fOutputAODBranchSet
Set the AOD clusters branch in the input event once.
void RemapMCLabelForAODs(Int_t &label)
TString fOCDBpath
Path with OCDB location.
AliEMCALAfterBurnerUF * fUnfolder
! Unfolding procedure
void SetConfigFileName(TString name)
Bool_t fGeomMatrixSet
Set geometry matrices only once, for the first event.
void SwitchOffFillAODCaloCells()
Float_t fCentralityBin[2]
Minimum and maximum value of the centrality for the analysis.
void SwitchOnFillAODCaloCells()
Int_t fMaxEvent
Set a maximum event.
Bool_t fFillAODCaloCells
Copy calocells to standard branch.
void SetAODBranchName(TString &name)
TObjArray * fCaloClusterArr
! CaloClusters array
Double_t fCellTime[fgkNEMCalCells]
Array with cluster time to be passed to digit in case of AODs.
void SwitchOnExoticEventsRemoval()
AliCentrality * GetCentrality() const
TString fCentralityClass
Name of selected centrality class.
void SwitchOffSelectEMCALEvent()
void SetImportGeometryFromFile(Bool_t im, TString pa="")
void SwitchOffRemapMCLabelForAODs()
void SwitchOffInputAODFilter()
void SwitchOffAccessOCDB()
void SwitchOffFillAODHeader()
void SwitchOffUseClusterMCLabelForCell()
Bool_t fAccessOCDB
Need to access info from OCDB (not really)
AliAnalysisTaskEMCALClusterize & operator=(const AliAnalysisTaskEMCALClusterize &)
Assignment operator not implemented.
void SwitchOffLEDEventsRemoval()
TObjArray * fClusterArr
! Recpoints array
void SwitchOffRecalibrateWithClusterTime()
Bool_t fRecalibrateWithClusterTime
Use fCellTime to store time of cells in cluster.
AliEMCALRecParam * GetRecParam()
void SwitchOffLoadOwnGeometryMatrices()
void SetEMCALNcellsCut(Int_t cut)
void InitClusterization()
AliEMCALRecoUtils * GetRecoUtils()
void FillAODHeader()
Put event header information in standard AOD branch.
void SetCentralityClass(TString name)
static const Int_t fgkNEMCalCells
Total number of cells in the calorimeter, 10*48*24 (EMCal) + 4*48*8 (EMCal/DCal 1/3) + 6*32*24 (DCal)...
void SetEMCALEnergyCut(Float_t cut)
void SwitchOffUseMCEdepFracLabelForCell()
virtual void RecPoints2Clusters()
Int_t fEMCALNcellsCut
At least an EMCAL cluster with fNCellsCut cells over fEnergyCut.
void SetGeometryMatrixInSM(TGeoHMatrix *m, Int_t i)
void SwitchOffTrackMatching()
Reclusterize EMCal clusters, put them in a new branch for other following analysis.
Bool_t fLoadGeomMatrices
Matrices set from configuration, not get from geometry.root or from ESDs/AODs.
void SwitchOnCellEnergySelection()
void SwitchOnAccessOCDB()
Float_t fEMCALEnergyCut
At least an EMCAL cluster with this energy in the event.
Bool_t fUseAliCentrality
Use the centrality estimator from AliCentrality or AliMultSelection.
Int_t fOrgClusterCellId[fgkNEMCalCells]
Array ID of cluster to wich the cell belongs in unmodified clusters.
Float_t fSelectCellMinFrac
Min fraction of cell energy after unfolding cut.
Bool_t fRemapMCLabelForAODs
Remap AOD cells MC label. Needed in old AOD productions.
TString GetCentralityClass() const