AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterizer Class Reference

#include <AliEmcalCorrectionClusterizer.h>

Inheritance diagram for AliEmcalCorrectionClusterizer:

Public Types

enum  InputCellType {
  kFEEData = 0, kFEEDataMCOnly, kFEEDataExcludeMC, kPattern,
  kL0FastORs, kL0FastORsTC, kL1FastORs
}
 
- Public Types inherited from AliEmcalCorrectionComponent
enum  inputObjectType { kCaloCells = 0, kCluster = 1, kTrack = 2 }
 

Public Member Functions

 AliEmcalCorrectionClusterizer ()
 
virtual ~AliEmcalCorrectionClusterizer ()
 
Bool_t Initialize ()
 
Bool_t Run ()
 
- Public Member Functions inherited from AliEmcalCorrectionComponent
 AliEmcalCorrectionComponent ()
 
 AliEmcalCorrectionComponent (const char *name)
 
virtual ~AliEmcalCorrectionComponent ()
 
virtual void ExecOnce ()
 
virtual Bool_t UserNotify ()
 
void GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff)
 
void UpdateCells ()
 
Bool_t RunChanged ()
 
void GetPass ()
 
void FillCellQA (TH1F *h)
 
AliClusterContainerGetClusterContainer ()
 
AliParticleContainerGetParticleContainer ()
 
AliVCaloCells * GetCaloCells ()
 
TListGetOutputList ()
 
void SetClusterContainer (AliClusterContainer *cont)
 
void SetParticleContainer (AliParticleContainer *cont)
 
void SetCaloCells (AliVCaloCells *cells)
 
void SetRecoUtils (AliEMCALRecoUtils *ru)
 
void SetEvent (AliVEvent *event)
 
void SetMCEvent (AliMCEvent *mcevent)
 
void SetEMCALGeometry (AliEMCALGeometry *geometry)
 
void SetCentralityBin (Int_t bin)
 
void SetCentrality (Double_t cent)
 
void SetNcentralityBins (Int_t n)
 
void SetUserConfiguration (YAML::Node &node)
 Make copy to ensure that the nodes do not point to each other (?) More...
 
void SetDefaultConfiguration (YAML::Node &node)
 
template<typename T >
void GetProperty (std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
 Retrieve property. More...
 

Public Attributes

std::map< std::string,
AliEMCALRecParam::AliEMCALClusterizerFlag > 
clusterizerTypeMap
 

Protected Member Functions

void Clusterize ()
 
void FillDigitsArray ()
 
void Init ()
 
void RecPoints2Clusters (TClonesArray *clus)
 
void UpdateClusters ()
 
void CalibrateClusters ()
 
- Protected Member Functions inherited from AliEmcalCorrectionComponent
void AddContainer (inputObjectType type)
 

Protected Attributes

TClonesArray * fDigitsArr
 
TObjArrayfClusterArr
 digits array More...
 
AliEMCALRecParam * fRecParam
 recpoints array More...
 
AliEMCALClusterizer * fClusterizer
 
AliEMCALAfterBurnerUF * fUnfolder
 clusterizer More...
 
Bool_t fJustUnfold
 unfolding procedure More...
 
TString fGeomName
 
Bool_t fGeomMatrixSet
 
Bool_t fLoadGeomMatrices
 
TGeoHMatrix * fGeomMatrix [AliEMCALGeoParams::fgkEMCALModules]
 
TString fOCDBpath
 
AliEMCALCalibData * fCalibData
 
AliCaloCalibPedestal * fPedestalData
 
Bool_t fLoadCalib
 
Bool_t fLoadPed
 
Bool_t fSubBackground
 
Int_t fNPhi
 
Int_t fNEta
 
Int_t fShiftPhi
 
Int_t fShiftEta
 
Bool_t fTRUShift
 
InputCellType fInputCellType
 
Int_t fOrgClusterCellId [fgkTotalCellNumber]
 
Int_t fCellLabels [fgkTotalCellNumber]
 
Int_t fSetCellMCLabelFromCluster
 
Bool_t fSetCellMCLabelFromEdepFrac
 
Bool_t fRecalDistToBadChannels
 
Bool_t fRecalShowerShape
 
TClonesArray * fCaloClusters
 
AliESDEventfEsd
 calo clusters array More...
 
AliAODEventfAod
 esd event More...
 
- Protected Attributes inherited from AliEmcalCorrectionComponent
YAML::Node fUserConfiguration
 
YAML::Node fDefaultConfiguration
 
Bool_t fCreateHisto
 
Int_t fRun
 
TString fFilepass
 run number More...
 
Bool_t fGetPassFromFileName
 
AliVEvent * fEvent
 
Bool_t fEsdMode
 
AliMCEvent * fMCEvent
 
Double_t fCent
 !event centrality More...
 
Int_t fNcentBins
 how many centrality bins (this member copied from AliAnalysisTaskEmcal) More...
 
Int_t fCentBin
 !event centrality bin More...
 
Int_t fNbins
 no. of pt bins More...
 
Double_t fMinBinPt
 min pt in histograms More...
 
Double_t fMaxBinPt
 max pt in histograms More...
 
Double_t fVertex [3]
 !event vertex More...
 
AliEMCALGeometry * fGeom
 !geometry object More...
 
Bool_t fIsEmbedded
 trigger, embedded signal More...
 
Int_t fMinMCLabel
 minimum MC label value for the tracks/clusters being considered MC particles More...
 
AliClusterContainerfClusCont
 ! pointer to the cluster container More...
 
AliParticleContainerfPartCont
 ! pointer to the track/particle container More...
 
AliVCaloCells * fCaloCells
 ! pointer to calo cells More...
 
AliEMCALRecoUtils * fRecoUtils
 ! pointer to reco utils More...
 
TListfOutput
 ! list of output histograms More...
 
TString fBasePath
 

Static Protected Attributes

static const Int_t fgkTotalCellNumber = 17664
 

Private Member Functions

 AliEmcalCorrectionClusterizer (const AliEmcalCorrectionClusterizer &)
 aod event More...
 
AliEmcalCorrectionClusterizeroperator= (const AliEmcalCorrectionClusterizer &)
 

Static Private Attributes

static
RegisterCorrectionComponent
< AliEmcalCorrectionClusterizer
reg
 

Additional Inherited Members

- Static Public Member Functions inherited from AliEmcalCorrectionComponent
template<typename T >
static void GetProperty (std::string propertyName, T &property, const YAML::Node &userConfiguration, const YAML::Node &defaultConfiguration, bool requiredProperty=true, std::string correctionName="")
 Retrieve property driver function. It is static so that it can be used by other classes. More...
 
static bool IsSharedValue (std::string &value)
 
static std::string DetermineUseDefaultName (inputObjectType contType, Bool_t esdMode)
 
- Static Protected Member Functions inherited from AliEmcalCorrectionComponent
template<typename T >
static bool GetPropertyFromNodes (const YAML::Node &node, const YAML::Node &sharedParametersNode, std::string propertyName, T &property, const std::string correctionName, const std::string configurationType, int nodesDeep=0)
 
template<typename T >
static bool GetPropertyFromNode (const YAML::Node &node, std::string propertyName, T &property)
 

Detailed Description

Definition at line 22 of file AliEmcalCorrectionClusterizer.h.

Member Enumeration Documentation

Enumerator
kFEEData 
kFEEDataMCOnly 
kFEEDataExcludeMC 
kPattern 
kL0FastORs 
kL0FastORsTC 
kL1FastORs 

Definition at line 24 of file AliEmcalCorrectionClusterizer.h.

Constructor & Destructor Documentation

AliEmcalCorrectionClusterizer::AliEmcalCorrectionClusterizer ( )

Definition at line 51 of file AliEmcalCorrectionClusterizer.cxx.

AliEmcalCorrectionClusterizer::~AliEmcalCorrectionClusterizer ( )
virtual

Definition at line 91 of file AliEmcalCorrectionClusterizer.cxx.

AliEmcalCorrectionClusterizer::AliEmcalCorrectionClusterizer ( const AliEmcalCorrectionClusterizer )
private

aod event

Member Function Documentation

void AliEmcalCorrectionClusterizer::CalibrateClusters ( )
protected

Definition at line 641 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterizer::Clusterize ( )
protected

Definition at line 205 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterizer::FillDigitsArray ( )
protected

Definition at line 225 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterizer::Init ( )
protected

Definition at line 664 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by Run().

Bool_t AliEmcalCorrectionClusterizer::Initialize ( )
virtual

Initialize basic variables in the correction component, including the input file type, pass, and output list.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 101 of file AliEmcalCorrectionClusterizer.cxx.

AliEmcalCorrectionClusterizer& AliEmcalCorrectionClusterizer::operator= ( const AliEmcalCorrectionClusterizer )
private
void AliEmcalCorrectionClusterizer::RecPoints2Clusters ( TClonesArray *  clus)
protected

Definition at line 488 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by UpdateClusters().

Bool_t AliEmcalCorrectionClusterizer::Run ( )
virtual

Run every event, where the user implements their main analysis. Similar to Run() in AliAnalysisTaskEmcal

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 148 of file AliEmcalCorrectionClusterizer.cxx.

void AliEmcalCorrectionClusterizer::UpdateClusters ( )
protected

Definition at line 622 of file AliEmcalCorrectionClusterizer.cxx.

Referenced by Run().

Member Data Documentation

std::map<std::string, AliEMCALRecParam::AliEMCALClusterizerFlag> AliEmcalCorrectionClusterizer::clusterizerTypeMap
Initial value:
= {
{"kClusterizerv1", AliEMCALRecParam::kClusterizerv1 },
{"kClusterizerNxN", AliEMCALRecParam::kClusterizerNxN },
{"kClusterizerv2", AliEMCALRecParam::kClusterizerv2 },
{"kClusterizerFW", AliEMCALRecParam::kClusterizerFW }
}

Definition at line 35 of file AliEmcalCorrectionClusterizer.h.

Referenced by Initialize().

AliAODEvent* AliEmcalCorrectionClusterizer::fAod
protected

esd event

Definition at line 99 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), and Run().

AliEMCALCalibData* AliEmcalCorrectionClusterizer::fCalibData
protected

Definition at line 69 of file AliEmcalCorrectionClusterizer.h.

Referenced by Clusterize(), and Init().

TClonesArray* AliEmcalCorrectionClusterizer::fCaloClusters
protected

Definition at line 97 of file AliEmcalCorrectionClusterizer.h.

Referenced by CalibrateClusters(), Run(), and UpdateClusters().

Int_t AliEmcalCorrectionClusterizer::fCellLabels[fgkTotalCellNumber]
protected
TObjArray* AliEmcalCorrectionClusterizer::fClusterArr
protected

digits array

Definition at line 59 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), and RecPoints2Clusters().

AliEMCALClusterizer* AliEmcalCorrectionClusterizer::fClusterizer
protected
TClonesArray* AliEmcalCorrectionClusterizer::fDigitsArr
protected

Definition at line 58 of file AliEmcalCorrectionClusterizer.h.

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

AliESDEvent* AliEmcalCorrectionClusterizer::fEsd
protected

calo clusters array

Definition at line 98 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), and Run().

TGeoHMatrix* AliEmcalCorrectionClusterizer::fGeomMatrix[AliEMCALGeoParams::fgkEMCALModules]
protected

Definition at line 67 of file AliEmcalCorrectionClusterizer.h.

Referenced by AliEmcalCorrectionClusterizer(), and Init().

Bool_t AliEmcalCorrectionClusterizer::fGeomMatrixSet
protected

Definition at line 65 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

TString AliEmcalCorrectionClusterizer::fGeomName
protected

Definition at line 64 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

const Int_t AliEmcalCorrectionClusterizer::fgkTotalCellNumber = 17664
staticprotected
InputCellType AliEmcalCorrectionClusterizer::fInputCellType
protected

Definition at line 79 of file AliEmcalCorrectionClusterizer.h.

Referenced by FillDigitsArray(), and Initialize().

Bool_t AliEmcalCorrectionClusterizer::fJustUnfold
protected

unfolding procedure

Definition at line 63 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), and Run().

Bool_t AliEmcalCorrectionClusterizer::fLoadCalib
protected

Definition at line 71 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Bool_t AliEmcalCorrectionClusterizer::fLoadGeomMatrices
protected

Definition at line 66 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Bool_t AliEmcalCorrectionClusterizer::fLoadPed
protected

Definition at line 72 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Int_t AliEmcalCorrectionClusterizer::fNEta
protected

Definition at line 75 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Int_t AliEmcalCorrectionClusterizer::fNPhi
protected

Definition at line 74 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

TString AliEmcalCorrectionClusterizer::fOCDBpath
protected

Definition at line 68 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Int_t AliEmcalCorrectionClusterizer::fOrgClusterCellId[fgkTotalCellNumber]
protected
AliCaloCalibPedestal* AliEmcalCorrectionClusterizer::fPedestalData
protected

Definition at line 70 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Bool_t AliEmcalCorrectionClusterizer::fRecalDistToBadChannels
protected

Definition at line 94 of file AliEmcalCorrectionClusterizer.h.

Referenced by CalibrateClusters(), and Initialize().

Bool_t AliEmcalCorrectionClusterizer::fRecalShowerShape
protected

Definition at line 95 of file AliEmcalCorrectionClusterizer.h.

Referenced by CalibrateClusters(), and Initialize().

AliEMCALRecParam* AliEmcalCorrectionClusterizer::fRecParam
protected

recpoints array

Definition at line 60 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), Initialize(), and ~AliEmcalCorrectionClusterizer().

Int_t AliEmcalCorrectionClusterizer::fSetCellMCLabelFromCluster
protected

Definition at line 87 of file AliEmcalCorrectionClusterizer.h.

Referenced by FillDigitsArray().

Bool_t AliEmcalCorrectionClusterizer::fSetCellMCLabelFromEdepFrac
protected

Definition at line 91 of file AliEmcalCorrectionClusterizer.h.

Referenced by FillDigitsArray(), and RecPoints2Clusters().

Int_t AliEmcalCorrectionClusterizer::fShiftEta
protected

Definition at line 77 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Int_t AliEmcalCorrectionClusterizer::fShiftPhi
protected

Definition at line 76 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

Bool_t AliEmcalCorrectionClusterizer::fSubBackground
protected

Definition at line 73 of file AliEmcalCorrectionClusterizer.h.

Referenced by Clusterize(), and FillDigitsArray().

Bool_t AliEmcalCorrectionClusterizer::fTRUShift
protected

Definition at line 78 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init().

AliEMCALAfterBurnerUF* AliEmcalCorrectionClusterizer::fUnfolder
protected

clusterizer

Definition at line 62 of file AliEmcalCorrectionClusterizer.h.

Referenced by Init(), and ~AliEmcalCorrectionClusterizer().

RegisterCorrectionComponent< AliEmcalCorrectionClusterizer > AliEmcalCorrectionClusterizer::reg
staticprivate

Definition at line 106 of file AliEmcalCorrectionClusterizer.h.


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