![]() |
AliRoot Core
ee782a0 (ee782a0)
|
Cell energy calibration factors container class. More...
#include <AliEMCALCalibData.h>
Public Member Functions | |
AliEMCALCalibData () | |
Default constructor. More... | |
AliEMCALCalibData (const char *name) | |
Constructor. More... | |
AliEMCALCalibData (const AliEMCALCalibData &calibda) | |
Copy constructor. More... | |
AliEMCALCalibData & | operator= (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 |
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.
Definition at line 25 of file AliEMCALCalibData.h.
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.
|
inlinevirtual |
Definition at line 33 of file AliEMCALCalibData.h.
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
protected |
width of one ADC channel in GeV ([mod][col][row])
Definition at line 69 of file AliEMCALCalibData.h.
Referenced by GetADCchannelOnline(), and SetADCchannelOnline().
|
protected |
width of one ADC channel in GeV ([mod][col][row])
Definition at line 80 of file AliEMCALCalibData.h.
Referenced by GetADCchannelOnline(), and SetADCchannelOnline().
|
protected |
Definition at line 66 of file AliEMCALCalibData.h.
Referenced by GetADCchannelRef(), operator=(), Reset(), and SetADCchannelRef().
|
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().
|
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().
|
static |
Definition at line 62 of file AliEMCALCalibData.h.
|
static |
Definition at line 61 of file AliEMCALCalibData.h.
|
protected |
time shift of one ADC channel ([mod][col][row])
Definition at line 75 of file AliEMCALCalibData.h.
Referenced by GetTimeChannel(), and SetTimeChannel().
|
protected |
time shift of one ADC channel ([mod][col][row])
Definition at line 86 of file AliEMCALCalibData.h.
Referenced by GetTimeChannel(), and SetTimeChannel().
|
protected |
value of the ADC pedestal ([mod][col][row]), not used
Definition at line 74 of file AliEMCALCalibData.h.
Referenced by GetTimeChannelDecal(), and SetTimeChannelDecal().
|
protected |
value of the ADC pedestal ([mod][col][row]), not used
Definition at line 85 of file AliEMCALCalibData.h.
Referenced by GetTimeChannelDecal(), and SetTimeChannelDecal().