|
ATLAS Offline Software
|
Go to the documentation of this file.
61 if(invert){
x = (
x*
x -
a*
a) / (
b*
b) ;}
62 else {
x = std::sqrt(
a*
a +
b*
b*
x );}
68 if(invert){
x = (
x -
a) / (
b) ;}
CaloCondBlobFlt(const coral::Blob &blob)
Ctor.
Generic template class for storing a number of "T"s for each channel/gain.
float getData(const unsigned int channel, const unsigned int adc, const unsigned int idx) const
Returns a single T belonging to a channel/gain.
Class for storing a number of floats (Flt) and functions on those.
long getBlobSize() const
Returns the BLOB size.
uint16_t getObjType() const
Returns the BLOB object type.
Thrown if object type in BLOB does not agree with class type.
virtual uint16_t getType() const
Returns CaloCondType::FLT.
uint16_t getObjVersion() const
Returns the BLOB object version.
Thrown if object version in BLOB does not agree with class version.
float getCalib(unsigned int channel, unsigned int adc, float x, bool invert=false) const
Returns the calibrated energy for a given channel/gain and input energy.
static CaloCondBlobFlt * getInstance(coral::Blob &blob)
Returns a pointer to a non-const CaloCondBlobFlt.