AliPhysics  56f1704 (56f1704)
AliEmcalCorrectionCellTimeCalib Class Reference

Time calibration correction component in the EMCal correction framework. More...

#include <AliEmcalCorrectionCellTimeCalib.h>

Inheritance diagram for AliEmcalCorrectionCellTimeCalib:

Public Member Functions

 AliEmcalCorrectionCellTimeCalib ()
 
virtual ~AliEmcalCorrectionCellTimeCalib ()
 
Bool_t Initialize ()
 
void UserCreateOutputObjects ()
 
Bool_t Run ()
 
Bool_t CheckIfRunChanged ()
 
- 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 ()
 
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)
 
AliEMCALRecoUtilsGetRecoUtils () const
 
AliVCaloCells * GetCaloCells () const
 
TListGetOutputList () const
 
void SetCaloCells (AliVCaloCells *cells)
 
void SetRecoUtils (AliEMCALRecoUtils *ru)
 
void SetInputEvent (AliVEvent *event)
 
void SetMCEvent (AliMCEvent *mcevent)
 
void SetUsingInputEvent (bool b=true)
 
void SetEMCALGeometry (AliEMCALGeometry *geometry)
 
void SetCentralityBin (Int_t bin)
 
void SetCentrality (Double_t cent)
 
void SetNcentralityBins (Int_t n)
 
void SetVertex (Double_t *vertex)
 
void SetIsESD (Bool_t isESD)
 
void SetYAMLConfiguration (PWG::Tools::AliYAMLConfiguration config)
 Set YAML Configuration. More...
 
template<typename T >
bool GetProperty (std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
 Retrieve property. More...
 

Protected Attributes

TH1F * fCellTimeDistBefore
 ! cell energy distribution, before time calibration More...
 
TH1F * fCellTimeDistAfter
 ! cell energy distribution, after time calibration More...
 
- Protected Attributes inherited from AliEmcalCorrectionComponent
PWG::Tools::AliYAMLConfiguration fYAMLConfig
 Contains the YAML configuration used to configure the component. 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...
 
AliEmcalCorrectionEventManager fEventManager
 Minimal task which inherits from AliAnalysisTaskSE and manages access to the 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...
 
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...
 
AliEMCALRecoUtilsfRecoUtils
 Pointer to RecoUtils. More...
 
TListfOutput
 ! List of output histograms More...
 
TString fBasePath
 Base folder path to get root files. More...
 

Private Member Functions

Int_t InitTimeCalibration ()
 
Int_t InitTimeCalibrationL1Phase ()
 
 AliEmcalCorrectionCellTimeCalib (const AliEmcalCorrectionCellTimeCalib &)
 
AliEmcalCorrectionCellTimeCaliboperator= (const AliEmcalCorrectionCellTimeCalib &)
 

Private Attributes

Bool_t fCalibrateTime
 flag cell time calibration More...
 
Bool_t fCalibrateTimeL1Phase
 flag cell time calibration with L1phase shift More...
 
Bool_t fUseAutomaticTimeCalib
 On by default the check in the OADB of the time recalibration. More...
 

Static Private Attributes

static RegisterCorrectionComponent< AliEmcalCorrectionCellTimeCalibreg
 

Detailed Description

Time calibration correction component in the EMCal correction framework.

Performs time calibration of cells, using OADB calibration. The original cell information in the event will be overwritten.

Based on code in AliEMCALTenderSupply.

Author
Deepa Thomas (Utrecht University), AliEMCALTenderSupply
Jiri Kral (University of Jyvaskyla), AliEMCALTenderSupply mods/rewrite
Salvatore Aiola, make AliEMCALTenderSupply work for AODs
C. Loizides, make AliEMCALTenderSupply work for AODs
Gustavo Conesa, LPSC-Grenoble, AliEMCALTenderSupply several mods.
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
James Mulligan james.nosp@m..mul.nosp@m.ligan.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
Date
Jul 8, 2016

Definition at line 25 of file AliEmcalCorrectionCellTimeCalib.h.

Constructor & Destructor Documentation

AliEmcalCorrectionCellTimeCalib::AliEmcalCorrectionCellTimeCalib ( )

Default constructor

Definition at line 26 of file AliEmcalCorrectionCellTimeCalib.cxx.

AliEmcalCorrectionCellTimeCalib::~AliEmcalCorrectionCellTimeCalib ( )
virtual

Destructor

Definition at line 39 of file AliEmcalCorrectionCellTimeCalib.cxx.

AliEmcalCorrectionCellTimeCalib::AliEmcalCorrectionCellTimeCalib ( const AliEmcalCorrectionCellTimeCalib )
private

Member Function Documentation

Bool_t AliEmcalCorrectionCellTimeCalib::CheckIfRunChanged ( )
virtual

This function is called if the run changes (it inherits from the base component), to load a new time calibration and fill relevant variables.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 324 of file AliEmcalCorrectionCellTimeCalib.cxx.

Referenced by Run().

Bool_t AliEmcalCorrectionCellTimeCalib::Initialize ( )
virtual

Initialize and configure the component.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 46 of file AliEmcalCorrectionCellTimeCalib.cxx.

Int_t AliEmcalCorrectionCellTimeCalib::InitTimeCalibration ( )
private

Initialize the time calibration.

Definition at line 134 of file AliEmcalCorrectionCellTimeCalib.cxx.

Referenced by CheckIfRunChanged().

Int_t AliEmcalCorrectionCellTimeCalib::InitTimeCalibrationL1Phase ( )
private

Initialize the L1 phase time calibration.

Definition at line 231 of file AliEmcalCorrectionCellTimeCalib.cxx.

Referenced by CheckIfRunChanged().

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

Called for each event to process the event data.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 82 of file AliEmcalCorrectionCellTimeCalib.cxx.

void AliEmcalCorrectionCellTimeCalib::UserCreateOutputObjects ( )
virtual

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

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 67 of file AliEmcalCorrectionCellTimeCalib.cxx.

Member Data Documentation

Bool_t AliEmcalCorrectionCellTimeCalib::fCalibrateTime
private

flag cell time calibration

Definition at line 44 of file AliEmcalCorrectionCellTimeCalib.h.

Referenced by CheckIfRunChanged(), Initialize(), and Run().

Bool_t AliEmcalCorrectionCellTimeCalib::fCalibrateTimeL1Phase
private

flag cell time calibration with L1phase shift

Definition at line 45 of file AliEmcalCorrectionCellTimeCalib.h.

Referenced by CheckIfRunChanged(), and Run().

TH1F* AliEmcalCorrectionCellTimeCalib::fCellTimeDistAfter
protected

! cell energy distribution, after time calibration

Definition at line 38 of file AliEmcalCorrectionCellTimeCalib.h.

Referenced by Run(), and UserCreateOutputObjects().

TH1F* AliEmcalCorrectionCellTimeCalib::fCellTimeDistBefore
protected

! cell energy distribution, before time calibration

Definition at line 37 of file AliEmcalCorrectionCellTimeCalib.h.

Referenced by Run(), and UserCreateOutputObjects().

Bool_t AliEmcalCorrectionCellTimeCalib::fUseAutomaticTimeCalib
private

On by default the check in the OADB of the time recalibration.

Definition at line 48 of file AliEmcalCorrectionCellTimeCalib.h.

Referenced by CheckIfRunChanged().

RegisterCorrectionComponent< AliEmcalCorrectionCellTimeCalib > AliEmcalCorrectionCellTimeCalib::reg
staticprivate

Definition at line 54 of file AliEmcalCorrectionCellTimeCalib.h.


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