![]() |
AliPhysics
008a5da (008a5da)
|
Bad channel correction component in the EMCal correction framework. More...
#include <AliEmcalCorrectionCellBadChannel.h>
Public Member Functions | |
AliEmcalCorrectionCellBadChannel () | |
virtual | ~AliEmcalCorrectionCellBadChannel () |
Bool_t | Initialize () |
void | UserCreateOutputObjects () |
Bool_t | Run () |
Bool_t | CheckIfRunChanged () |
![]() | |
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 () |
void | GetPass () |
void | FillCellQA (TH1F *h) |
Int_t | InitBadChannels () |
AliClusterContainer * | GetClusterContainer () |
AliParticleContainer * | GetParticleContainer () |
AliVCaloCells * | GetCaloCells () |
TList * | GetOutputList () |
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 | SetIsESD (Bool_t isESD) |
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 > | |
bool | GetProperty (std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="") |
Retrieve property. More... | |
Protected Attributes | |
TH1F * | fCellEnergyDistBefore |
! cell energy distribution, before bad channel correction More... | |
TH1F * | fCellEnergyDistAfter |
! cell energy distribution, after bad channel correction More... | |
![]() | |
YAML::Node | fUserConfiguration |
! User YAML configuration More... | |
YAML::Node | fDefaultConfiguration |
! Default YAML configuration More... | |
Bool_t | fCreateHisto |
Flag to make some basic histograms. More... | |
Int_t | fRun |
! Run number More... | |
TString | fFilepass |
Input data pass number. More... | |
Bool_t | fGetPassFromFileName |
Get fFilepass from file name. More... | |
AliVEvent * | fEvent |
! Pointer to event More... | |
Bool_t | fEsdMode |
flag for ESD More... | |
AliMCEvent * | fMCEvent |
! MC More... | |
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... | |
AliClusterContainer * | fClusCont |
Pointer to the cluster container. More... | |
AliParticleContainer * | fPartCont |
Pointer to the track/particle container. More... | |
AliVCaloCells * | fCaloCells |
! Pointer to CaloCells More... | |
AliEMCALRecoUtils * | fRecoUtils |
Pointer to RecoUtils. More... | |
TList * | fOutput |
! List of output histograms More... | |
TString | fBasePath |
Base folder path to get root files. More... | |
Private Member Functions | |
AliEmcalCorrectionCellBadChannel (const AliEmcalCorrectionCellBadChannel &) | |
AliEmcalCorrectionCellBadChannel & | operator= (const AliEmcalCorrectionCellBadChannel &) |
Static Private Attributes | |
static RegisterCorrectionComponent < AliEmcalCorrectionCellBadChannel > | reg |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static bool | 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) |
![]() | |
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) |
template<typename T > | |
static std::enable_if <!std::is_arithmetic< T > ::value &&!std::is_same< T, std::string >::value &&!std::is_same< T, bool > ::value >::type | PrintRetrievedPropertyValue (T &property, std::stringstream &tempMessage) |
template<typename T > | |
static std::enable_if < std::is_arithmetic< T > ::value||std::is_same< T, std::string >::value||std::is_same < T, bool >::value >::type | PrintRetrievedPropertyValue (T &property, std::stringstream &tempMessage) |
Bad channel correction component in the EMCal correction framework.
Sets cells marked as bad to E = 0, using OADB bad channel map. The original cell information in the event will be overwritten.
Based on code in AliEMCALTenderSupply.
Definition at line 25 of file AliEmcalCorrectionCellBadChannel.h.
AliEmcalCorrectionCellBadChannel::AliEmcalCorrectionCellBadChannel | ( | ) |
Default constructor
Definition at line 22 of file AliEmcalCorrectionCellBadChannel.cxx.
|
virtual |
Destructor
Definition at line 32 of file AliEmcalCorrectionCellBadChannel.cxx.
|
private |
|
virtual |
This function is called if the run changes (it inherits from the base component), to load a new bad channel and fill relevant variables.
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 118 of file AliEmcalCorrectionCellBadChannel.cxx.
Referenced by Run().
|
virtual |
Initialize and configure the component.
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 39 of file AliEmcalCorrectionCellBadChannel.cxx.
|
private |
|
virtual |
Called for each event to process the event data.
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 75 of file AliEmcalCorrectionCellBadChannel.cxx.
|
virtual |
Create run-independent objects for output. Called before running over events.
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 60 of file AliEmcalCorrectionCellBadChannel.cxx.
|
protected |
! cell energy distribution, after bad channel correction
Definition at line 38 of file AliEmcalCorrectionCellBadChannel.h.
Referenced by Run(), and UserCreateOutputObjects().
|
protected |
! cell energy distribution, before bad channel correction
Definition at line 37 of file AliEmcalCorrectionCellBadChannel.h.
Referenced by Run(), and UserCreateOutputObjects().
|
staticprivate |
Definition at line 46 of file AliEmcalCorrectionCellBadChannel.h.