AliRoot Core  ee782a0 (ee782a0)
AliEMCALCalibData Class Reference

Cell energy calibration factors container class. More...

#include <AliEMCALCalibData.h>

Inheritance diagram for AliEMCALCalibData:

Public Member Functions

 AliEMCALCalibData ()
 Default constructor. More...
 
 AliEMCALCalibData (const char *name)
 Constructor. More...
 
 AliEMCALCalibData (const AliEMCALCalibData &calibda)
 Copy constructor. More...
 
AliEMCALCalibDataoperator= (const AliEMCALCalibData &calibda)
 Assignment operator. More...
 
virtual ~AliEMCALCalibData ()
 
void Reset ()
 Set all pedestals to 0 and all ADC channels widths to 1. More...
 
void Print (Option_t *option="") const
 
Float_t GetADCchannel (Int_t module, Int_t column, Int_t row) const
 
Float_t GetADCchannelOnline (Int_t module, Int_t column, Int_t row) const
 
Float_t GetADCchannelDecal (Int_t module, Int_t column, Int_t row) const
 
Float_t GetADCpedestal (Int_t module, Int_t column, Int_t row) const
 
Float_t GetADCchannelRef () const
 
void SetADCchannel (Int_t module, Int_t column, Int_t row, Float_t value)
 
void SetADCchannelOnline (Int_t module, Int_t column, Int_t row, Float_t value)
 
void SetADCchannelDecal (Int_t module, Int_t column, Int_t row, Float_t value)
 
void SetADCpedestal (Int_t module, Int_t column, Int_t row, Float_t value)
 
void SetADCchannelRef (Float_t value)
 
Float_t GetTimeChannelDecal (Int_t module, Int_t column, Int_t row) const
 
Float_t GetTimeChannel (Int_t module, Int_t column, Int_t row, Int_t bc) const
 
void SetTimeChannelDecal (Int_t module, Int_t column, Int_t row, Float_t value)
 
void SetTimeChannel (Int_t module, Int_t column, Int_t row, Int_t bc, Float_t value)
 

Static Public Attributes

static const int fgkECALModules = 12
 
static const int fgkDCALModules = 10
 

Protected Attributes

Float_t fADCchannelRef
 
Float_t fADCchannel [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 base value of the ADC channel set from cosmics calibration, not to be used, instead use fADCchannelOnline More...
 
Float_t fADCchannelOnline [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 width of one ADC channel in GeV ([mod][col][row]) More...
 
Float_t fADCchannelDecal [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 width of one ADC channel in GeV obtained from the voltage settings online More...
 
Float_t fADCpedestal [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 decalibrate width of one ADC channel in GeV ([mod][col][row]) More...
 
Float_t fTimeChannelDecal [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 value of the ADC pedestal ([mod][col][row]), not used More...
 
Float_t fTimeChannel [fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows][4]
 time shift of one ADC channel ([mod][col][row]) More...
 
Float_t fADCchannelDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 time shift of one ADC channel ([mod][col][row][bunch crossing number]) More...
 
Float_t fADCchannelOnlineDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 width of one ADC channel in GeV ([mod][col][row]) More...
 
Float_t fADCchannelDecalDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 width of one ADC channel in GeV obtained from the voltage settings online More...
 
Float_t fADCpedestalDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 decalibrate width of one ADC channel in GeV ([mod][col][row]) More...
 
Float_t fTimeChannelDecalDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
 value of the ADC pedestal ([mod][col][row]), not used More...
 
Float_t fTimeChannelDCAL [fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows][4]
 time shift of one ADC channel ([mod][col][row]) More...
 

Detailed Description

Cell energy calibration factors container class.

Channel energy calibration factors (ADC to GeV conversion) and pedestal, An extra decalibration parameter factor foreseen.

This container also includes arrays for time calibration, but this is not under use, this functionality is in AliEMCALCalibTime. It is kept for backward compatibility reasons.

Author
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, LPSC-IN2P3-CNRS

Definition at line 25 of file AliEMCALCalibData.h.

Constructor & Destructor Documentation

AliEMCALCalibData::AliEMCALCalibData ( )

Default constructor.

Definition at line 25 of file AliEMCALCalibData.cxx.

AliEMCALCalibData::AliEMCALCalibData ( const char *  name)

Constructor.

Definition at line 34 of file AliEMCALCalibData.cxx.

AliEMCALCalibData::AliEMCALCalibData ( const AliEMCALCalibData calibda)

Copy constructor.

Definition at line 43 of file AliEMCALCalibData.cxx.

virtual AliEMCALCalibData::~AliEMCALCalibData ( )
inlinevirtual

Definition at line 33 of file AliEMCALCalibData.h.

Member Function Documentation

Float_t AliEMCALCalibData::GetADCchannel ( Int_t  supermodule,
Int_t  column,
Int_t  row 
) const

Set ADC channel witdth values All indexes start from 0! Supermodule, column,raw should follow the ALICE convention: supermodule 0:11, column 0:47, row 0:23 DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 195 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), AliEMCALClusterizer::Calibrate(), AliEMCALDigitizer::CalibrateADCTime(), AliEMCALDigitizer::DecalibrateTrigger(), AliEMCALDigitizer::DigitizeEnergyTime(), GetCC(), operator=(), Print(), SetOCDBFromRun1(), and ~AliEMCALCalibData().

Float_t AliEMCALCalibData::GetADCchannelDecal ( Int_t  supermodule,
Int_t  column,
Int_t  row 
) const

Set ADC channel decalibration witdth values All indexes start from 0! Supermodule, column,raw should follow the ALICE convention: supermodule 0:11, column 0:47, row 0:23 DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 221 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), AliEMCALDigitizer::DigitizeEnergyTime(), operator=(), Print(), and ~AliEMCALCalibData().

Float_t AliEMCALCalibData::GetADCchannelOnline ( Int_t  supermodule,
Int_t  column,
Int_t  row 
) const

Set ADC channel witdth values, first online calibration parameter All indexes start from 0! Supermodule, column,raw should follow the ALICE convention: supermodule 0:11, column 0:47, row 0:23 DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 208 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), AliEMCALDigitizer::DecalibrateTrigger(), GetCC(), operator=(), Print(), and ~AliEMCALCalibData().

Float_t AliEMCALCalibData::GetADCchannelRef ( ) const
inline

Definition at line 44 of file AliEMCALCalibData.h.

Referenced by operator=().

Float_t AliEMCALCalibData::GetADCpedestal ( Int_t  supermodule,
Int_t  column,
Int_t  row 
) const

Get ADC pedestal values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 231 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), AliEMCALClusterizer::Calibrate(), AliEMCALDigitizer::CalibrateADCTime(), AliEMCALDigitizer::DigitizeEnergyTime(), GetCC(), operator=(), Print(), and ~AliEMCALCalibData().

Float_t AliEMCALCalibData::GetTimeChannel ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Int_t  bc 
) const

Set channel time values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 283 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), operator=(), Print(), and SetADCchannelRef().

Float_t AliEMCALCalibData::GetTimeChannelDecal ( Int_t  supermodule,
Int_t  column,
Int_t  row 
) const

Set channel time decalibrated values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 293 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), operator=(), Print(), and SetADCchannelRef().

AliEMCALCalibData & AliEMCALCalibData::operator= ( const AliEMCALCalibData calibda)

Assignment operator.

Definition at line 77 of file AliEMCALCalibData.cxx.

void AliEMCALCalibData::Print ( Option_t *  option = "") const

Print tables of pedestals and ADC channels widths options are: "gain", "ped", "online", "decal", "time", "timdecal", "all"

Definition at line 147 of file AliEMCALCalibData.cxx.

Referenced by PrintEMCALCalibData(), and ~AliEMCALCalibData().

void AliEMCALCalibData::Reset ( void  )

Set all pedestals to 0 and all ADC channels widths to 1.

Definition at line 114 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), operator=(), and ~AliEMCALCalibData().

void AliEMCALCalibData::SetADCchannel ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Float_t  value 
)

Set ADC channel width values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 241 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), GetADCchannelRef(), operator=(), Reset(), SetCC(), and SetOCDBFromRun1().

void AliEMCALCalibData::SetADCchannelDecal ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Float_t  value 
)

Set ADC channel width values, decalibration DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 261 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), GetADCchannelRef(), operator=(), and Reset().

void AliEMCALCalibData::SetADCchannelOnline ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Float_t  value 
)

Set ADC channel online width values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 251 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), GetADCchannelRef(), operator=(), Reset(), SetCC(), and SetOCDBFromRun1().

void AliEMCALCalibData::SetADCchannelRef ( Float_t  value)
inline

Definition at line 51 of file AliEMCALCalibData.h.

void AliEMCALCalibData::SetADCpedestal ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Float_t  value 
)

Set ADC pedestal values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 271 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), GetADCchannelRef(), operator=(), Reset(), and SetCC().

void AliEMCALCalibData::SetTimeChannel ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Int_t  bc,
Float_t  value 
)

Set time per channel and bunch crossing values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 303 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), operator=(), Reset(), and SetADCchannelRef().

void AliEMCALCalibData::SetTimeChannelDecal ( Int_t  supermodule,
Int_t  column,
Int_t  row,
Float_t  value 
)

Set decalibrated time per channel values DCal has its own array, starting from SM 12, index 0, same col-row size

Definition at line 313 of file AliEMCALCalibData.cxx.

Referenced by AliEMCALCalibData(), operator=(), Reset(), and SetADCchannelRef().

Member Data Documentation

Float_t AliEMCALCalibData::fADCchannel[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

base value of the ADC channel set from cosmics calibration, not to be used, instead use fADCchannelOnline

Definition at line 68 of file AliEMCALCalibData.h.

Referenced by GetADCchannel(), and SetADCchannel().

Float_t AliEMCALCalibData::fADCchannelDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

time shift of one ADC channel ([mod][col][row][bunch crossing number])

Definition at line 79 of file AliEMCALCalibData.h.

Referenced by GetADCchannel(), and SetADCchannel().

Float_t AliEMCALCalibData::fADCchannelDecal[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

width of one ADC channel in GeV obtained from the voltage settings online

Definition at line 70 of file AliEMCALCalibData.h.

Referenced by GetADCchannelDecal(), and SetADCchannelDecal().

Float_t AliEMCALCalibData::fADCchannelDecalDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

width of one ADC channel in GeV obtained from the voltage settings online

Definition at line 81 of file AliEMCALCalibData.h.

Referenced by GetADCchannelDecal(), and SetADCchannelDecal().

Float_t AliEMCALCalibData::fADCchannelOnline[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

width of one ADC channel in GeV ([mod][col][row])

Definition at line 69 of file AliEMCALCalibData.h.

Referenced by GetADCchannelOnline(), and SetADCchannelOnline().

Float_t AliEMCALCalibData::fADCchannelOnlineDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

width of one ADC channel in GeV ([mod][col][row])

Definition at line 80 of file AliEMCALCalibData.h.

Referenced by GetADCchannelOnline(), and SetADCchannelOnline().

Float_t AliEMCALCalibData::fADCchannelRef
protected

Definition at line 66 of file AliEMCALCalibData.h.

Referenced by GetADCchannelRef(), operator=(), Reset(), and SetADCchannelRef().

Float_t AliEMCALCalibData::fADCpedestal[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

decalibrate width of one ADC channel in GeV ([mod][col][row])

Definition at line 71 of file AliEMCALCalibData.h.

Referenced by GetADCpedestal(), and SetADCpedestal().

Float_t AliEMCALCalibData::fADCpedestalDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

decalibrate width of one ADC channel in GeV ([mod][col][row])

Definition at line 82 of file AliEMCALCalibData.h.

Referenced by GetADCpedestal(), and SetADCpedestal().

const int AliEMCALCalibData::fgkDCALModules = 10
static

Definition at line 62 of file AliEMCALCalibData.h.

const int AliEMCALCalibData::fgkECALModules = 12
static

Definition at line 61 of file AliEMCALCalibData.h.

Float_t AliEMCALCalibData::fTimeChannel[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows][4]
protected

time shift of one ADC channel ([mod][col][row])

Definition at line 75 of file AliEMCALCalibData.h.

Referenced by GetTimeChannel(), and SetTimeChannel().

Float_t AliEMCALCalibData::fTimeChannelDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows][4]
protected

time shift of one ADC channel ([mod][col][row])

Definition at line 86 of file AliEMCALCalibData.h.

Referenced by GetTimeChannel(), and SetTimeChannel().

Float_t AliEMCALCalibData::fTimeChannelDecal[fgkECALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

value of the ADC pedestal ([mod][col][row]), not used

Definition at line 74 of file AliEMCALCalibData.h.

Referenced by GetTimeChannelDecal(), and SetTimeChannelDecal().

Float_t AliEMCALCalibData::fTimeChannelDecalDCAL[fgkDCALModules][AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]
protected

value of the ADC pedestal ([mod][col][row]), not used

Definition at line 85 of file AliEMCALCalibData.h.

Referenced by GetTimeChannelDecal(), and SetTimeChannelDecal().


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