AliPhysics  v5-07-15-01 (b3d7633)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskEMCALTimeCalib Class Reference

Task to work on Time Calibration for EMCal/DCal. More...

#include <AliAnalysisTaskEMCALTimeCalib.h>

Inheritance diagram for AliAnalysisTaskEMCALTimeCalib:

Public Types

enum  { kNSM = 20, kNBCmask = 4 }
 

Public Member Functions

 AliAnalysisTaskEMCALTimeCalib ()
 
 AliAnalysisTaskEMCALTimeCalib (const char *name)
 Constructor. More...
 
virtual ~AliAnalysisTaskEMCALTimeCalib ()
 
virtual void NotifyRun ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 Main loop executed for each event. More...
 
virtual void Terminate (Option_t *)
 
Double_t GetMinClusterEnergy ()
 
Double_t GetMaxClusterEnergy ()
 
Int_t GetMinNcells ()
 
Int_t GetMaxNcells ()
 
Double_t GetMinLambda0 ()
 
Double_t GetMaxLambda0 ()
 
Double_t GetMinLambda0LG ()
 
Double_t GetMaxLambda0LG ()
 
Double_t GetMaxRtrack ()
 
Double_t GetMinCellEnergy ()
 
TString GetReferenceFileName ()
 
TString GetReferenceRunByRunFileName ()
 
TString GetGeometryName ()
 
Double_t GetMinTime ()
 
Double_t GetMaxTime ()
 
void SetMinClusterEnergy (Double_t v)
 
void SetMaxClusterEnergy (Double_t v)
 
void SetMinNcells (Int_t v)
 
void SetMaxNcells (Int_t v)
 
void SetMinLambda0 (Double_t v)
 
void SetMaxLambda0 (Double_t v)
 
void SetMinLambda0LG (Double_t v)
 
void SetMaxLambda0LG (Double_t v)
 
void SetMaxRtrack (Double_t v)
 
void SetMinCellEnergy (Double_t v)
 
void SetReferenceFileName (TString v)
 
void SetReferenceRunByRunFileName (TString v)
 
void SetGeometryName (TString v)
 
void SetMinTime (Double_t v)
 
void SetMaxTime (Double_t v)
 
void SetRawTimeHisto (Int_t nbins, Double_t lower, Double_t upper)
 
void SetPassTimeHisto (Int_t nbins, Double_t lower, Double_t upper)
 
void SetEnergyHisto (Int_t nbins, Double_t lower, Double_t upper)
 
void SetFineT0Histo (Int_t nbins, Double_t lower, Double_t upper)
 
void SwitchOnPileupFromSPD ()
 
void SwitchOffPileupFromSPD ()
 
void SetDefaultCuts ()
 Set default cuts for calibration. More...
 
void LoadReferenceHistos ()
 Load reference Histograms (for one period) from file. More...
 
void LoadReferenceRunByRunHistos ()
 

Static Public Member Functions

static void ProduceCalibConsts (TString inputFile="time186319testWOL0.root", TString outputFile="Reference.root", Bool_t isFinal=kFALSE)
 
static void ProduceOffsetForSMsV2 (Int_t runNumber, TString inputFile="Reference.root", TString outputFile="ReferenceSM.root")
 

Private Member Functions

virtual void PrepareTOFT0maker ()
 Get T0 time from TOF. More...
 
Bool_t SetEMCalGeometry ()
 Set the EMCal Geometry. More...
 
Bool_t AcceptCluster (AliVCluster *clus)
 Selection criteria of good cluster are set here. More...
 
Bool_t CheckCellRCU (Int_t nSupMod, Int_t icol, Int_t irow)
 Check RCU for cell given by Super Module, column index, row index. More...
 
Bool_t IsLowGainCellInCluster (AliVCluster *clus)
 Check if low gain cell is in a cluster. More...
 
 AliAnalysisTaskEMCALTimeCalib (const AliAnalysisTaskEMCALTimeCalib &)
 Copy constructor not implemented. More...
 
AliAnalysisTaskEMCALTimeCaliboperator= (const AliAnalysisTaskEMCALTimeCalib &)
 Assignment operator not implemented. More...
 

Private Attributes

Int_t fRunNumber
 ! run number More...
 
AliTOFT0maker * fTOFmaker
 pointer to get T0 from TOF More...
 
TList * fOutputList
 pointer to output list More...
 
AliEMCALGeometry * fgeom
 pointer to EMCal geometry More...
 
TString fGeometryName
 geometry name More...
 
Double_t fMinClusterEnergy
 minimum cluster energy More...
 
Double_t fMaxClusterEnergy
 maximum cluster energy More...
 
Int_t fMinNcells
 minimum number of cells in cluster More...
 
Int_t fMaxNcells
 maximum number of cells in cluster More...
 
Double_t fMinLambda0
 minimum cluster lambda0 More...
 
Double_t fMaxLambda0
 maximum cluster lambda0 More...
 
Double_t fMinLambda0LG
 minimum cluster lambda0 Low Gain More...
 
Double_t fMaxLambda0LG
 maximum cluster lambda0 Low Gain More...
 
Double_t fMaxRtrack
 maximum cluster track distance More...
 
Double_t fMinCellEnergy
 minimum cell energy More...
 
TString fReferenceFileName
 ! name of reference file (for one period) More...
 
TString fReferenceRunByRunFileName
 ! name of reference file (run-by-run) More...
 
Bool_t fPileupFromSPD
 flag to set PileupFromSPD More...
 
Double_t fMinTime
 minimum cluster time after correction More...
 
Double_t fMaxTime
 maximum cluster time after correction More...
 
Int_t fRawTimeNbins
 number of bins of histo with raw time More...
 
Double_t fRawTimeMin
 lower range of histo with raw time More...
 
Double_t fRawTimeMax
 upper range of histo with raw time More...
 
Int_t fPassTimeNbins
 number of bins of histo with time in passX More...
 
Double_t fPassTimeMin
 lower range of histo with time in passX More...
 
Double_t fPassTimeMax
 upper range of histo with time in passX More...
 
Int_t fEnergyNbins
 number of bins of histo with energy More...
 
Double_t fEnergyMin
 lower range of histo with energy More...
 
Double_t fEnergyMax
 upper range of histo with energy More...
 
Int_t fFineNbins
 number of bins of histo with T0 time More...
 
Double_t fFineTmin
 lower range of histo with T0 time More...
 
Double_t fFineTmax
 upper range of histo with T0 time More...
 
TFile * fReferenceFile
 file with reference for SM More...
 
TH1F * fhcalcEvtTime
 ! spectrum calcolot0[0] More...
 
TH1F * fhEvtTimeHeader
 ! spectrum time from header More...
 
TH1F * fhEvtTimeDiff
 ! spectrum time difference More...
 
TH1F * fhEventType
 ! event type More...
 
TH1F * fhTOFT0vsEventNumber
 ! TOF T0 evolution as a function of time More...
 
TH2F * fhTcellvsTOFT0
 ! time of cell vs TOF T0 time More...
 
TH2F * fhTcellvsTOFT0HD
 ! time of cell vs TOF T0 time for higher energy threshold More...
 
TH2F * fhTcellvsSM
 ! cell time vs SM More...
 
TH2F * fhEneVsAbsIdHG
 ! energy of each cell for high gain cells with strange time More...
 
TH2F * fhEneVsAbsIdLG
 ! energy of each cell for low gain cells with strange time More...
 
TH2F * fhTimeVsBC
 !cell time vs BC More...
 
TH1F * fhTimeSumSq [kNBCmask]
 ! 4 More...
 
TH1F * fhTimeEnt [kNBCmask]
 ! 4 More...
 
TH1F * fhTimeSum [kNBCmask]
 ! 4 More...
 
TH1F * fhTimeLGSumSq [kNBCmask]
 ! 4 More...
 
TH1F * fhTimeLGEnt [kNBCmask]
 ! 4 More...
 
TH1F * fhTimeLGSum [kNBCmask]
 ! 4 More...
 
TH1F * fhAllAverageBC [kNBCmask]
 
TH1F * fhAllAverageLGBC [kNBCmask]
 

4 BCmask High gain

More...
 
TH1C * fhRefRuns
 

4 BCmask Low gain

More...
 
TH2F * fhTimeDsup [kNSM]
 

20 entries per run: nSM

More...
 
TH2F * fhTimeDsupBC [kNSM][kNBCmask]
 ! 20 x 4 More...
 
TH2F * fhRawTimeVsIdBC [kNBCmask]
 ! 4 BCmask HG More...
 
TH1F * fhRawTimeSumBC [kNBCmask]
 ! 4 BCmask HG More...
 
TH1F * fhRawTimeEntriesBC [kNBCmask]
 ! 4 BCmask HG More...
 
TH1F * fhRawTimeSumSqBC [kNBCmask]
 ! 4 BCmask HG More...
 
TH2F * fhRawTimeVsIdLGBC [kNBCmask]
 ! 4 BCmask LG More...
 
TH1F * fhRawTimeSumLGBC [kNBCmask]
 ! 4 BCmask LG More...
 
TH1F * fhRawTimeEntriesLGBC [kNBCmask]
 ! 4 BCmask LG More...
 
TH1F * fhRawTimeSumSqLGBC [kNBCmask]
 ! 4 BCmask LG More...
 

Detailed Description

Task to work on Time Calibration for EMCal/DCal.

Derived from "Exercice with a task to work on T0 from TOF or T0" by Hugues Delagrange (SUBATECH)" History: TimeTaskMB2_v2 wrt TimeTaskMB add histos time_vs_energy TimeTaskMB2_v2b (memory optimization.. t_vs_E splitted in hi and low res part) TimeTaskMB2_v2m memory leak patch: sterilized ComputeT0TOF.. temporarly it is not called (to be understood and fixed TimeTaskMB2_v3m fix "dècalage" in the binning TimeTaskMB2_v4a Implement single cell histos+ correction from average computed on run 128503 TimeTaskMB2_v4b Implement BC offsetCorrectio + histo to look at partial RCU TimeTaskMB2_v4d histoaming convention ""=raw "Corr"= cell/cell correction "BCCorr"= cell/cell+BC TimeTaskMB2_v4e check of BCnb vs time vs SM new histos TimeTaskMB2_v4f new histos for time for each BC TimeTaskMB2_v5 new histos for time for each BC calc average for each BC -> new ref

2015.06.03 Extended to DCal, added setters and getters 2015.06.11 Added AODs and lego train 2015.06.29 Geometry removed from Nofify to UserCreateOutputObjects Added second step of calibration with time cut 2015.07.08 Added geometry check in Notify and set once, added T0 time from TOF histos added reference file protection 2015.07.14 corrected geometry pointer in terminate added reference histograms for low gain modified loading of reference file modified default parameters in AddTask 2015.07.17 additional selection criteria for clusters with low gain cell 2015.10.09 Modification to be consistent with OADB. Info about calibration constant for cell with absId=0 is kept in 'underflow bin' 2015.11.11 Modification to calibrate run by run by additional L1 phase 2015.11.19 Added histogram settings

Author
Hugues Delagrange+, SUBATECH
Marie Germain marie.nosp@m..ger.nosp@m.main@.nosp@m.suba.nosp@m.tech..nosp@m.in2p.nosp@m.3.fr, SUBATECH
Adam Matyja adam..nosp@m.toma.nosp@m.sz.ma.nosp@m.tyja.nosp@m.@ifj..nosp@m.edu..nosp@m.pl, INP PAN Cracow
Date
Jun 3, 2015

Definition at line 58 of file AliAnalysisTaskEMCALTimeCalib.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kNSM 
kNBCmask 

Definition at line 62 of file AliAnalysisTaskEMCALTimeCalib.h.

Constructor & Destructor Documentation

AliAnalysisTaskEMCALTimeCalib::AliAnalysisTaskEMCALTimeCalib ( )
inline

Definition at line 64 of file AliAnalysisTaskEMCALTimeCalib.h.

AliAnalysisTaskEMCALTimeCalib::AliAnalysisTaskEMCALTimeCalib ( const char *  name)

Constructor.

Definition at line 61 of file AliAnalysisTaskEMCALTimeCalib.cxx.

virtual AliAnalysisTaskEMCALTimeCalib::~AliAnalysisTaskEMCALTimeCalib ( )
inlinevirtual

Definition at line 131 of file AliAnalysisTaskEMCALTimeCalib.h.

AliAnalysisTaskEMCALTimeCalib::AliAnalysisTaskEMCALTimeCalib ( const AliAnalysisTaskEMCALTimeCalib )
private

Copy constructor not implemented.

Member Function Documentation

Bool_t AliAnalysisTaskEMCALTimeCalib::AcceptCluster ( AliVCluster *  clus)
private

Selection criteria of good cluster are set here.

Definition at line 813 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskEMCALTimeCalib::CheckCellRCU ( Int_t  nSupMod,
Int_t  icol,
Int_t  irow 
)
private

Check RCU for cell given by Super Module, column index, row index.

Definition at line 884 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by UserExec().

TString AliAnalysisTaskEMCALTimeCalib::GetGeometryName ( )
inline

Definition at line 153 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMaxClusterEnergy ( )
inline

Definition at line 142 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMaxLambda0 ( )
inline

Definition at line 146 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMaxLambda0LG ( )
inline

Definition at line 148 of file AliAnalysisTaskEMCALTimeCalib.h.

Int_t AliAnalysisTaskEMCALTimeCalib::GetMaxNcells ( )
inline

Definition at line 144 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMaxRtrack ( )
inline

Definition at line 149 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMaxTime ( )
inline

Definition at line 155 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMinCellEnergy ( )
inline

Definition at line 150 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMinClusterEnergy ( )
inline

Definition at line 141 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMinLambda0 ( )
inline

Definition at line 145 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMinLambda0LG ( )
inline

Definition at line 147 of file AliAnalysisTaskEMCALTimeCalib.h.

Int_t AliAnalysisTaskEMCALTimeCalib::GetMinNcells ( )
inline

Definition at line 143 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::GetMinTime ( )
inline

Definition at line 154 of file AliAnalysisTaskEMCALTimeCalib.h.

TString AliAnalysisTaskEMCALTimeCalib::GetReferenceFileName ( )
inline

Definition at line 151 of file AliAnalysisTaskEMCALTimeCalib.h.

TString AliAnalysisTaskEMCALTimeCalib::GetReferenceRunByRunFileName ( )
inline

Definition at line 152 of file AliAnalysisTaskEMCALTimeCalib.h.

Bool_t AliAnalysisTaskEMCALTimeCalib::IsLowGainCellInCluster ( AliVCluster *  clus)
private

Check if low gain cell is in a cluster.

Definition at line 872 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by AcceptCluster().

void AliAnalysisTaskEMCALTimeCalib::LoadReferenceHistos ( )

Load reference Histograms (for one period) from file.

HKD Move from constructor Use aliTOFT0maker to get proper T0 Look the proper source to have more information Modified July 2, 2010 - HKD to take into account the changes in ALiTOFT0maker

Definition at line 181 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::LoadReferenceRunByRunHistos ( )

Load reference Histograms (run-by-run in one period) from file This method should be called per run

Definition at line 215 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by NotifyRun().

void AliAnalysisTaskEMCALTimeCalib::NotifyRun ( )
virtual

Connect ESD or AOD here Called when run is changed

Definition at line 252 of file AliAnalysisTaskEMCALTimeCalib.cxx.

AliAnalysisTaskEMCALTimeCalib& AliAnalysisTaskEMCALTimeCalib::operator= ( const AliAnalysisTaskEMCALTimeCalib )
private

Assignment operator not implemented.

void AliAnalysisTaskEMCALTimeCalib::PrepareTOFT0maker ( )
privatevirtual

Get T0 time from TOF.

Definition at line 302 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by AliAnalysisTaskEMCALTimeCalib().

void AliAnalysisTaskEMCALTimeCalib::ProduceCalibConsts ( TString  inputFile = "time186319testWOL0.root",
TString  outputFile = "Reference.root",
Bool_t  isFinal = kFALSE 
)
static

Calculate calibration constants input - root file with histograms output - root file with constants in historams isFinal - flag: kFALSE-first iteration, kTRUE-final iteration

Definition at line 952 of file AliAnalysisTaskEMCALTimeCalib.cxx.

void AliAnalysisTaskEMCALTimeCalib::ProduceOffsetForSMsV2 ( Int_t  runNumber,
TString  inputFile = "Reference.root",
TString  outputFile = "ReferenceSM.root" 
)
static

Calculate calibration constants per SM (equivalent of L1 phase) input - root file with calibration constants from 1st pass output - root file with histograms for given run offset per SM

Definition at line 1075 of file AliAnalysisTaskEMCALTimeCalib.cxx.

void AliAnalysisTaskEMCALTimeCalib::SetDefaultCuts ( )

Set default cuts for calibration.

Definition at line 914 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by AliAnalysisTaskEMCALTimeCalib().

Bool_t AliAnalysisTaskEMCALTimeCalib::SetEMCalGeometry ( )
private

Set the EMCal Geometry.

Definition at line 280 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Referenced by NotifyRun().

void AliAnalysisTaskEMCALTimeCalib::SetEnergyHisto ( Int_t  nbins,
Double_t  lower,
Double_t  upper 
)
inline

Definition at line 184 of file AliAnalysisTaskEMCALTimeCalib.h.

void AliAnalysisTaskEMCALTimeCalib::SetFineT0Histo ( Int_t  nbins,
Double_t  lower,
Double_t  upper 
)
inline

Definition at line 189 of file AliAnalysisTaskEMCALTimeCalib.h.

void AliAnalysisTaskEMCALTimeCalib::SetGeometryName ( TString  v)
inline

Definition at line 169 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxClusterEnergy ( Double_t  v)
inline

Definition at line 158 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxLambda0 ( Double_t  v)
inline

Definition at line 162 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxLambda0LG ( Double_t  v)
inline

Definition at line 164 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxNcells ( Int_t  v)
inline

Definition at line 160 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxRtrack ( Double_t  v)
inline

Definition at line 165 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMaxTime ( Double_t  v)
inline

Definition at line 171 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinCellEnergy ( Double_t  v)
inline

Definition at line 166 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinClusterEnergy ( Double_t  v)
inline

Definition at line 157 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinLambda0 ( Double_t  v)
inline

Definition at line 161 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinLambda0LG ( Double_t  v)
inline

Definition at line 163 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinNcells ( Int_t  v)
inline

Definition at line 159 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetMinTime ( Double_t  v)
inline

Definition at line 170 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetPassTimeHisto ( Int_t  nbins,
Double_t  lower,
Double_t  upper 
)
inline

Definition at line 179 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetRawTimeHisto ( Int_t  nbins,
Double_t  lower,
Double_t  upper 
)
inline

Definition at line 174 of file AliAnalysisTaskEMCALTimeCalib.h.

void AliAnalysisTaskEMCALTimeCalib::SetReferenceFileName ( TString  v)
inline

Definition at line 167 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SetReferenceRunByRunFileName ( TString  v)
inline

Definition at line 168 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SwitchOffPileupFromSPD ( )
inline

Definition at line 198 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::SwitchOnPileupFromSPD ( )
inline

Definition at line 197 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AddTaskEMCALTimeCalibration().

void AliAnalysisTaskEMCALTimeCalib::Terminate ( Option_t *  )
virtual

Draw result to the screen Called once at the end of the query

Definition at line 797 of file AliAnalysisTaskEMCALTimeCalib.cxx.

void AliAnalysisTaskEMCALTimeCalib::UserCreateOutputObjects ( )
virtual

Create histograms Called once

Definition at line 334 of file AliAnalysisTaskEMCALTimeCalib.cxx.

void AliAnalysisTaskEMCALTimeCalib::UserExec ( Option_t *  option)
virtual

Main loop executed for each event.

Definition at line 526 of file AliAnalysisTaskEMCALTimeCalib.cxx.

Member Data Documentation

Double_t AliAnalysisTaskEMCALTimeCalib::fEnergyMax
private

upper range of histo with energy

Definition at line 262 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetEnergyHisto(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskEMCALTimeCalib::fEnergyMin
private

lower range of histo with energy

Definition at line 261 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetEnergyHisto(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskEMCALTimeCalib::fEnergyNbins
private

number of bins of histo with energy

Definition at line 260 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetEnergyHisto(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskEMCALTimeCalib::fFineNbins
private

number of bins of histo with T0 time

Definition at line 263 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetFineT0Histo(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskEMCALTimeCalib::fFineTmax
private

upper range of histo with T0 time

Definition at line 265 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetFineT0Histo(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskEMCALTimeCalib::fFineTmin
private

lower range of histo with T0 time

Definition at line 264 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), and SetFineT0Histo().

AliEMCALGeometry* AliAnalysisTaskEMCALTimeCalib::fgeom
private

pointer to EMCal geometry

EMCAL geometry

Definition at line 225 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by NotifyRun(), SetEMCalGeometry(), and UserExec().

TString AliAnalysisTaskEMCALTimeCalib::fGeometryName
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhAllAverageBC[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhAllAverageLGBC[kNBCmask]
private

4 BCmask High gain

Definition at line 291 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), LoadReferenceHistos(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhcalcEvtTime
private

! spectrum calcolot0[0]

Definition at line 269 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhEneVsAbsIdHG
private

! energy of each cell for high gain cells with strange time

Definition at line 277 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhEneVsAbsIdLG
private

! energy of each cell for low gain cells with strange time

Definition at line 278 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhEventType
private

! event type

Definition at line 272 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhEvtTimeDiff
private

! spectrum time difference

Definition at line 271 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhEvtTimeHeader
private

! spectrum time from header

Definition at line 270 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeEntriesBC[kNBCmask]
private

! 4 BCmask HG

Definition at line 303 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeEntriesLGBC[kNBCmask]
private

! 4 BCmask LG

Definition at line 307 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeSumBC[kNBCmask]
private

! 4 BCmask HG

Definition at line 302 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeSumLGBC[kNBCmask]
private

! 4 BCmask LG

Definition at line 306 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeSumSqBC[kNBCmask]
private

! 4 BCmask HG

Definition at line 304 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeSumSqLGBC[kNBCmask]
private

! 4 BCmask LG

Definition at line 308 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeVsIdBC[kNBCmask]
private

! 4 BCmask HG

Definition at line 301 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhRawTimeVsIdLGBC[kNBCmask]
private

! 4 BCmask LG

Definition at line 305 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AliAnalysisTaskEMCALTimeCalib(), UserCreateOutputObjects(), and UserExec().

TH1C* AliAnalysisTaskEMCALTimeCalib::fhRefRuns
private

4 BCmask Low gain

Definition at line 294 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by LoadReferenceRunByRunHistos(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhTcellvsSM
private

! cell time vs SM

Definition at line 276 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhTcellvsTOFT0
private

! time of cell vs TOF T0 time

Definition at line 274 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhTcellvsTOFT0HD
private

! time of cell vs TOF T0 time for higher energy threshold

Definition at line 275 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhTimeDsup[kNSM]
private

20 entries per run: nSM

! 20 SM

Definition at line 297 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskEMCALTimeCalib::fhTimeDsupBC[kNSM][kNBCmask]
private

! 20 x 4

Definition at line 298 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeEnt[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeLGEnt[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeLGSum[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeLGSumSq[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeSum[kNBCmask]
private
TH1F* AliAnalysisTaskEMCALTimeCalib::fhTimeSumSq[kNBCmask]
private
TH2F* AliAnalysisTaskEMCALTimeCalib::fhTimeVsBC
private

!cell time vs BC

Definition at line 279 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskEMCALTimeCalib::fhTOFT0vsEventNumber
private

! TOF T0 evolution as a function of time

Definition at line 273 of file AliAnalysisTaskEMCALTimeCalib.h.

Double_t AliAnalysisTaskEMCALTimeCalib::fMaxClusterEnergy
private

maximum cluster energy

Definition at line 231 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMaxClusterEnergy(), SetDefaultCuts(), and SetMaxClusterEnergy().

Double_t AliAnalysisTaskEMCALTimeCalib::fMaxLambda0
private

maximum cluster lambda0

Definition at line 237 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMaxLambda0(), SetDefaultCuts(), and SetMaxLambda0().

Double_t AliAnalysisTaskEMCALTimeCalib::fMaxLambda0LG
private

maximum cluster lambda0 Low Gain

Definition at line 239 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMaxLambda0LG(), SetDefaultCuts(), and SetMaxLambda0LG().

Int_t AliAnalysisTaskEMCALTimeCalib::fMaxNcells
private

maximum number of cells in cluster

Definition at line 234 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMaxNcells(), SetDefaultCuts(), and SetMaxNcells().

Double_t AliAnalysisTaskEMCALTimeCalib::fMaxRtrack
private

maximum cluster track distance

Definition at line 241 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMaxRtrack(), SetDefaultCuts(), and SetMaxRtrack().

Double_t AliAnalysisTaskEMCALTimeCalib::fMaxTime
private

maximum cluster time after correction

Definition at line 251 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by GetMaxTime(), SetDefaultCuts(), and SetMaxTime().

Double_t AliAnalysisTaskEMCALTimeCalib::fMinCellEnergy
private

minimum cell energy

Definition at line 243 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by GetMinCellEnergy(), SetDefaultCuts(), SetMinCellEnergy(), and UserExec().

Double_t AliAnalysisTaskEMCALTimeCalib::fMinClusterEnergy
private

minimum cluster energy

Definition at line 230 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMinClusterEnergy(), SetDefaultCuts(), and SetMinClusterEnergy().

Double_t AliAnalysisTaskEMCALTimeCalib::fMinLambda0
private

minimum cluster lambda0

Definition at line 236 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMinLambda0(), SetDefaultCuts(), and SetMinLambda0().

Double_t AliAnalysisTaskEMCALTimeCalib::fMinLambda0LG
private

minimum cluster lambda0 Low Gain

Definition at line 238 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMinLambda0LG(), SetDefaultCuts(), and SetMinLambda0LG().

Int_t AliAnalysisTaskEMCALTimeCalib::fMinNcells
private

minimum number of cells in cluster

Definition at line 233 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by AcceptCluster(), GetMinNcells(), SetDefaultCuts(), and SetMinNcells().

Double_t AliAnalysisTaskEMCALTimeCalib::fMinTime
private

minimum cluster time after correction

Definition at line 250 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by GetMinTime(), SetDefaultCuts(), SetMinTime(), and UserExec().

TList* AliAnalysisTaskEMCALTimeCalib::fOutputList
private

pointer to output list

Definition at line 222 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by Terminate(), UserCreateOutputObjects(), and UserExec().

Double_t AliAnalysisTaskEMCALTimeCalib::fPassTimeMax
private

upper range of histo with time in passX

Definition at line 259 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetPassTimeHisto(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskEMCALTimeCalib::fPassTimeMin
private

lower range of histo with time in passX

Definition at line 258 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetPassTimeHisto(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskEMCALTimeCalib::fPassTimeNbins
private

number of bins of histo with time in passX

Definition at line 257 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetPassTimeHisto(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskEMCALTimeCalib::fPileupFromSPD
private

flag to set PileupFromSPD

Definition at line 248 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SwitchOffPileupFromSPD(), SwitchOnPileupFromSPD(), and UserExec().

Double_t AliAnalysisTaskEMCALTimeCalib::fRawTimeMax
private

upper range of histo with raw time

Definition at line 256 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetRawTimeHisto(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskEMCALTimeCalib::fRawTimeMin
private

lower range of histo with raw time

Definition at line 255 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetRawTimeHisto(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskEMCALTimeCalib::fRawTimeNbins
private

number of bins of histo with raw time

Definition at line 254 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by SetDefaultCuts(), SetRawTimeHisto(), and UserCreateOutputObjects().

TFile* AliAnalysisTaskEMCALTimeCalib::fReferenceFile
private

file with reference for SM

Definition at line 267 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by LoadReferenceRunByRunHistos().

TString AliAnalysisTaskEMCALTimeCalib::fReferenceFileName
private

! name of reference file (for one period)

Definition at line 245 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by GetReferenceFileName(), LoadReferenceHistos(), SetDefaultCuts(), SetReferenceFileName(), and UserExec().

TString AliAnalysisTaskEMCALTimeCalib::fReferenceRunByRunFileName
private
Int_t AliAnalysisTaskEMCALTimeCalib::fRunNumber
private
AliTOFT0maker* AliAnalysisTaskEMCALTimeCalib::fTOFmaker
private

pointer to get T0 from TOF

Definition at line 219 of file AliAnalysisTaskEMCALTimeCalib.h.

Referenced by PrepareTOFT0maker(), Terminate(), and UserExec().


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