AliPhysics  ec7afe5 (ec7afe5)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterExotics Class Reference

Exotic cluster removal in the EMCal correction framework. More...

#include <AliEmcalCorrectionClusterExotics.h>

Inheritance diagram for AliEmcalCorrectionClusterExotics:

Public Member Functions

 AliEmcalCorrectionClusterExotics ()
 
virtual ~AliEmcalCorrectionClusterExotics ()
 
Bool_t Initialize ()
 
void UserCreateOutputObjects ()
 
Bool_t Run ()
 
- Public Member Functions inherited from AliEmcalCorrectionComponent
 AliEmcalCorrectionComponent ()
 
 AliEmcalCorrectionComponent (const char *name)
 
virtual ~AliEmcalCorrectionComponent ()
 
virtual void ExecOnce ()
 
virtual Bool_t UserNotify ()
 
virtual Bool_t CheckIfRunChanged ()
 
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 ()
 
AliParticleContainerAddParticleContainer (const char *n)
 
AliTrackContainerAddTrackContainer (const char *n)
 
AliMCParticleContainerAddMCParticleContainer (const char *n)
 
AliClusterContainerAddClusterContainer (const char *n)
 
void AdoptParticleContainer (AliParticleContainer *cont)
 
void AdoptTrackContainer (AliTrackContainer *cont)
 
void AdoptMCParticleContainer (AliMCParticleContainer *cont)
 
void AdoptClusterContainer (AliClusterContainer *cont)
 
AliParticleContainerGetParticleContainer (Int_t i=0) const
 
AliParticleContainerGetParticleContainer (const char *name) const
 
AliClusterContainerGetClusterContainer (Int_t i=0) const
 
AliClusterContainerGetClusterContainer (const char *name) const
 
AliMCParticleContainerGetMCParticleContainer (Int_t i=0) const
 
AliMCParticleContainerGetMCParticleContainer (const char *name) const
 
AliTrackContainerGetTrackContainer (Int_t i=0) const
 
AliTrackContainerGetTrackContainer (const char *name) const
 
void RemoveParticleContainer (Int_t i=0)
 
void RemoveClusterContainer (Int_t i=0)
 
AliVCaloCells * GetCaloCells () const
 
TListGetOutputList () const
 
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

TH2FfEtaPhiDistBefore
 !eta/phi distribution before More...
 
TH2FfEtaPhiDistAfter
 !eta/phi distribution after More...
 
TH1F * fEnergyExoticClusters
 !energy of exotic clusters More...
 
- Protected Attributes inherited from AliEmcalCorrectionComponent
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...
 
TObjArray fClusterCollArray
 Cluster collection array. More...
 
TObjArray fParticleCollArray
 Particle/track collection array. More...
 
AliVCaloCells * fCaloCells
 ! Pointer to CaloCells More...
 
AliEMCALRecoUtils * fRecoUtils
 Pointer to RecoUtils. More...
 
TListfOutput
 ! List of output histograms More...
 
TString fBasePath
 Base folder path to get root files. More...
 

Private Member Functions

 AliEmcalCorrectionClusterExotics (const AliEmcalCorrectionClusterExotics &)
 
AliEmcalCorrectionClusterExoticsoperator= (const AliEmcalCorrectionClusterExotics &)
 

Static Private Attributes

static
RegisterCorrectionComponent
< AliEmcalCorrectionClusterExotics
reg
 

Additional Inherited Members

- Static Public Member Functions inherited from AliEmcalCorrectionComponent
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)
 
- 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)
 
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)
 

Detailed Description

Exotic cluster removal in the EMCal correction framework.

"Exotic" clusters are energetic clusters where most energy deposition is concentrated in one single cell. This clusters are not reproduced in MC simulations and are believed to arise from neutrons showering directly into the APD. These clusters need to be flagged, so that they can be easily rejected during the analysis.

The "exotic" flag can be retrieved using cluster->GetIsExotic(). "Exotic" clusters can be easily rejected if clusters are accessed using an AliClusterContainer object. "Exotic" cluster removal is switched on by default in AliClusterContainer, however it is necessary to run the ClusterExotics component (via AliEmcalCorrectionTask) to flag "exotic" cluster beforehand.

Based on code in AliEmcalClusterMaker.

Author
Constantin Loizides, LBNL, AliEmcalClusterMaker
Salvatore Aiola, LBNL, AliEmcalClusterMaker
James Mulligan james.nosp@m..mul.nosp@m.ligan.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
Date
Jul 8, 2016

Definition at line 27 of file AliEmcalCorrectionClusterExotics.h.

Constructor & Destructor Documentation

AliEmcalCorrectionClusterExotics::AliEmcalCorrectionClusterExotics ( )

Default constructor

Definition at line 22 of file AliEmcalCorrectionClusterExotics.cxx.

AliEmcalCorrectionClusterExotics::~AliEmcalCorrectionClusterExotics ( )
virtual

Destructor

Definition at line 33 of file AliEmcalCorrectionClusterExotics.cxx.

AliEmcalCorrectionClusterExotics::AliEmcalCorrectionClusterExotics ( const AliEmcalCorrectionClusterExotics )
private

Member Function Documentation

Bool_t AliEmcalCorrectionClusterExotics::Initialize ( )
virtual

Initialize and configure the component.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 40 of file AliEmcalCorrectionClusterExotics.cxx.

AliEmcalCorrectionClusterExotics& AliEmcalCorrectionClusterExotics::operator= ( const AliEmcalCorrectionClusterExotics )
private
Bool_t AliEmcalCorrectionClusterExotics::Run ( )
virtual

Called for each event to process the event data.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 81 of file AliEmcalCorrectionClusterExotics.cxx.

void AliEmcalCorrectionClusterExotics::UserCreateOutputObjects ( )
virtual

Create run-independent objects for output. Called before running over events.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 60 of file AliEmcalCorrectionClusterExotics.cxx.

Member Data Documentation

TH1F* AliEmcalCorrectionClusterExotics::fEnergyExoticClusters
protected

!energy of exotic clusters

Definition at line 40 of file AliEmcalCorrectionClusterExotics.h.

Referenced by Run(), and UserCreateOutputObjects().

TH2F* AliEmcalCorrectionClusterExotics::fEtaPhiDistAfter
protected

!eta/phi distribution after

Definition at line 39 of file AliEmcalCorrectionClusterExotics.h.

Referenced by Run(), and UserCreateOutputObjects().

TH2F* AliEmcalCorrectionClusterExotics::fEtaPhiDistBefore
protected

!eta/phi distribution before

Definition at line 38 of file AliEmcalCorrectionClusterExotics.h.

Referenced by Run(), and UserCreateOutputObjects().

RegisterCorrectionComponent< AliEmcalCorrectionClusterExotics > AliEmcalCorrectionClusterExotics::reg
staticprivate

Definition at line 47 of file AliEmcalCorrectionClusterExotics.h.


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