AliPhysics  b330fab (b330fab)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterizer.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCORRECTIONCLUSTERIZER_H
2 #define ALIEMCALCORRECTIONCLUSTERIZER_H
3 
5 
6 #include "AliEMCALRecParam.h"
7 
8 class TStopwatch;
9 
35  public:
37  static const std::map <std::string, AliEMCALRecParam::AliEMCALClusterizerFlag> fgkClusterizerTypeMap;
38 
41 
42  // Sets up and runs the task
45  Bool_t Run();
47 
48 protected:
49  void Clusterize();
50  void FillDigitsArray();
51  void Init();
52  void RecPoints2Clusters(TClonesArray *clus);
53  void UpdateClusters();
54  void CalibrateClusters();
55 
56  void RemapMCLabelForAODs(Int_t &label);
58  void ClearEMCalClusters();
59 
60  TH1F* fHistCPUTime;
61  TH1F* fHistRealTime;
63 
64  TClonesArray *fDigitsArr;
66  AliEMCALRecParam *fRecParam;
67  AliEMCALClusterizer *fClusterizer;
68  AliEMCALAfterBurnerUF *fUnfolder;
73  TGeoHMatrix *fGeomMatrix[AliEMCALGeoParams::fgkEMCALModules];
75  AliEMCALCalibData *fCalibData;
76  AliCaloCalibPedestal *fPedestalData;
86 
87  // MC labels
88  static const Int_t fgkTotalCellNumber = 17664 ;
89 
92 
94  // 0 - get the MC label stored in cells (not available for productions done with aliroot < v5-02-Rev09)
95  // 1 - assign to the cell the MC label of the cluster
96 
98  // stored in ESDs/AODs to set the cell MC labels
99 
101 
104 
105  TClonesArray *fCaloClusters;
108 
109  private:
112 
113  // Allows the registration of the class so that it is availble to be used by the correction task.
115 
117  ClassDef(AliEmcalCorrectionClusterizer, 4); // EMCal correction clusterizer component
119 };
120 
121 #endif /* ALIEMCALCORRECTIONCLUSTERIZER_H */
Bool_t fTestPatternInput
Use test pattern as input instead of cells.
TStopwatch * fTimer
! Timer for the Run() function (event loop)
Bool_t fRemapMCLabelForAODs
Remap AOD cells MC label.
Int_t fShiftPhi
shift in phi (for FixedWindowsClusterizer)
static const Int_t fgkTotalCellNumber
Maximum number of cells in EMCAL/DCAL: (48*24)*(10+4/3.+6*2/3.)
TClonesArray * fCaloClusters
!calo clusters array
AliEMCALRecParam * fRecParam
reconstruction parameters container
Bool_t fSetCellMCLabelFromEdepFrac
For MC generated with aliroot > v5-07-21, check the EDep information.
TString fGeomName
name of geometry to use.
Int_t fCellLabels[fgkTotalCellNumber]
Array with MC label/map.
AliEMCALAfterBurnerUF * fUnfolder
!unfolding procedure
Bool_t fLoadPed
access ped object from OCDB (def=off)
Bool_t fTRUShift
shifting inside a TRU (true) or through the whole calorimeter (false) (for FixedWindowsClusterizer) ...
Int_t fShiftEta
shift in eta (for FixedWindowsClusterizer)
TObjArray * fClusterArr
!recpoints array
Int_t fNPhi
nPhi (for FixedWindowsClusterizer)
Bool_t fLoadCalib
access calib object from OCDB (def=off)
AliCaloCalibPedestal * fPedestalData
EMCAL pedestal.
TGeoHMatrix * fGeomMatrix[AliEMCALGeoParams::fgkEMCALModules]
geometry matrices with alignments
AliEMCALClusterizer * fClusterizer
!clusterizer
int Int_t
Definition: External.C:63
Base class for correction components in the EMCal correction framework.
EMCal clusterizer component in the EMCal correction framework.
Int_t fSetCellMCLabelFromCluster
Use cluster MC label as cell label:
Bool_t fRecalShowerShape
switch for recalculation of the shower shape
Bool_t fSubBackground
subtract background if true (def=off)
Int_t fNEta
nEta (for FixedWinoswsClusterizer)
AliEmcalCorrectionClusterizer & operator=(const AliEmcalCorrectionClusterizer &)
Bool_t fGeomMatrixSet
set geometry matrices only once, for the first event.
TString fOCDBpath
path with OCDB location
static RegisterCorrectionComponent< AliEmcalCorrectionClusterizer > reg
Bool_t fRecalDistToBadChannels
recalculate distance to bad channel
static const std::map< std::string, AliEMCALRecParam::AliEMCALClusterizerFlag > fgkClusterizerTypeMap
Relates string to the clusterizer type enumeration for YAML configuration.
TH1F * fHistCPUTime
! CPU time for the Run() function (event loop)
AliEMCALCalibData * fCalibData
EMCAL calib data.
Int_t fOrgClusterCellId[fgkTotalCellNumber]
Array ID of cluster to which the cell belongs in unmodified clusters.
Bool_t fJustUnfold
just unfold, do not recluster
Bool_t fLoadGeomMatrices
matrices from configuration, not geometry.root nor ESDs/AODs
bool Bool_t
Definition: External.C:53
TH1F * fHistRealTime
! Real time for the Run() function (event loop)
TClonesArray * fDigitsArr
!digits array