ATLAS Offline Software
|
Class for encoding Tile calibration options into a bit map. More...
#include <TileEmscaleCalibOptions.h>
Public Types | |
enum | CalBitPos { OflCisFitLin, OflCisFitNln, OflLasLin, OflLasNln, OflLasPart, OflCes, OflEms, OflLasLinPisa, OflLasNlnPisa, OflMinbias, OnlCisLin, OnlLasLin, OnlCes, OnlEms, MaxBit } |
Public Member Functions | |
TileEmscaleCalibOptions () | |
Ctor. More... | |
TileEmscaleCalibOptions (uint32_t options) | |
Ctor. More... | |
~TileEmscaleCalibOptions () | |
Dtor. More... | |
uint32_t | getEmscaleCalibOptions () const |
Returns the complete bitmap with all EM scale calibration options. More... | |
void | dumpEmscaleCalibOptions (std::ostringstream &stream) const |
Dumps the member EM scale calibration options in a human readable form. More... | |
bool | getEmscaleCalibBit (CalBitPos idx) const |
Returns a bit for a given calibration option. More... | |
void | setEmscaleCalibBit (CalBitPos idx, bool turnOn) |
Sets a given EM scale calibration option to the value given by turnOn. More... | |
Private Member Functions | |
void | initBitToProb () |
Private Attributes | |
uint32_t | m_options |
std::vector< std::string > | m_bitToProb |
Class for encoding Tile calibration options into a bit map.
In this class one can specify, whether to use the conditions data of a given proxy for EM scale calibration or whether to skip the calibration step including this proxy. The resulting bitmap, stored as uint32_t is to be used by TileConditions/TileExpertToolEmscale, which calibrates the Tilecal ADC amplitude, based on the options, stored in the bitmap.
Definition at line 24 of file TileEmscaleCalibOptions.h.
Enumerator | |
---|---|
OflCisFitLin | |
OflCisFitNln | |
OflLasLin | |
OflLasNln | |
OflLasPart | |
OflCes | |
OflEms | |
OflLasLinPisa | |
OflLasNlnPisa | |
OflMinbias | |
OnlCisLin | |
OnlLasLin | |
OnlCes | |
OnlEms | |
MaxBit |
Definition at line 27 of file TileEmscaleCalibOptions.h.
TileEmscaleCalibOptions::TileEmscaleCalibOptions | ( | ) |
TileEmscaleCalibOptions::TileEmscaleCalibOptions | ( | uint32_t | options | ) |
|
inline |
void TileEmscaleCalibOptions::dumpEmscaleCalibOptions | ( | std::ostringstream & | stream | ) | const |
Dumps the member EM scale calibration options in a human readable form.
Definition at line 58 of file TileEmscaleCalibOptions.cxx.
|
inline |
Returns a bit for a given calibration option.
The value "true" means that the given calibration will be applied by the TileConditions/TileExpertToolEmscale. If the value is "false", the calibration step will be skipped
Definition at line 88 of file TileEmscaleCalibOptions.h.
|
inline |
Returns the complete bitmap with all EM scale calibration options.
Definition at line 80 of file TileEmscaleCalibOptions.h.
|
private |
Definition at line 35 of file TileEmscaleCalibOptions.cxx.
void TileEmscaleCalibOptions::setEmscaleCalibBit | ( | CalBitPos | idx, |
bool | turnOn | ||
) |
|
private |
Definition at line 71 of file TileEmscaleCalibOptions.h.
|
private |
Definition at line 70 of file TileEmscaleCalibOptions.h.