![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
28 , m_emExpertOptions(0)
80 return StatusCode::SUCCESS;
102 return StatusCode::SUCCESS;
126 return StatusCode::SUCCESS;
142 msg(MSG::INFO) <<
ros <<
"/" << std::setw(2)
143 <<
drawer <<
"/" << std::setw(2)
146 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
148 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
150 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
152 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
159 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
160 << chanCalMeV <<
" (total)";
164 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
168 <<
" (onlMev->oflADC)";
181 ATH_MSG_INFO(
"Performing an energy scan to test CIS LUT" );
183 unsigned int ros = 1;
187 for (
int adcCounts = 0; adcCounts <
m_i_ADCmax; ++adcCounts) {
188 double energy =
static_cast<float>(adcCounts);
190 <<
"ADC counts = " << adcCounts
211 msg(MSG::INFO) <<
ros <<
"/" << std::setw(2)
212 <<
drawer <<
"/" << std::setw(2)
215 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
217 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
219 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
221 << std::fixed << std::right << std::setw(9) << std::setprecision(5)
227 msg(MSG::INFO) << std::fixed << std::right << std::setw(9) << std::setprecision(5)
228 << chanCalMeV <<
" (total)";
249 std::ostringstream sout;
254 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
static unsigned int getMaxDrawer(unsigned int ros)
Returns the maximal channel number for a given drawer.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
uint64_t eventNumber() const
The current event's event number.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ToolHandle< TileExpertToolEmscale > m_tileExpertToolEmscale
void setEmscaleCalibBit(CalBitPos idx, bool turnOn)
Sets a given EM scale calibration option to the value given by turnOn.
uint32_t runNumber() const
The current event's run number.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
void dumpEmscaleCalibOptions(std::ostringstream &stream) const
Dumps the member EM scale calibration options in a human readable form.
StatusCode setEmExpertOptions()
TileExpertDump(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
TileEmscaleCalibOptions m_emExpertOptions
bool m_printExpertEmscaleOnl
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
static const unsigned int MAX_ROS
Number of ROSs
uint32_t lumiBlock() const
The current event's luminosity block number.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
void printExpertEmscaleOnl()
Helpers for checking error return status codes and reporting errors.
bool m_printExpertEmscale
const TileInfo * m_tileInfo
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
uint32_t getEmscaleCalibOptions() const
Returns the complete bitmap with all EM scale calibration options.
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
Handle class for reading from StoreGate.
void printExpertEmscale()
static const unsigned int MAX_CHAN
Number of channels in drawer.
const TileHWID * m_tileHWID
int ADCmax() const
Returns the maximum ADC output (10 bits --> 1023)
@ OnlineMegaElectronVolts
static const unsigned int MAX_GAIN
Number of gains per channel