|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef TRT_CONDITIONSDATA_STRAWDXCONTAINER_H
15 #define TRT_CONDITIONSDATA_STRAWDXCONTAINER_H
81 void setDx(
float dx1,
float dx2,
float dxerr) {
100 static const char*
classname() {
return "TRTCond::StrawDxContainer" ; }
static bool isvalid(const StrawDx &x)
Hold mappings of ranges to condition objects.
float unpackDxErr(const StrawDx &sd) const
unpack dx near unterminated fixation
float unpackDx1(const StrawDx &sd) const
unpack dx near electronics
void set(const ExpandedIdentifier &id, const T &t)
set a value.
void unpack(const StrawDx &sd, float &dx1, float &dx2, float &dxerr) const
public method to unpack a StrawDx object
static void erase(StrawDx &x)
static StrawDx initialvalue()
TRT straw endpoint correction object.
LinearPacker< float, unsigned char > m_dxpacker
packing borders
UnpackedType unpack(PackedType val) const
Unpack method.
float unpackDx2(const StrawDx &sd) const
unpack dx near unterminated fixation
virtual ~StrawDxContainerTemplate()
destructor
LinearPacker< float, unsigned char > m_dxerrpacker
void setDx(float dx1, float dx2, float dxerr)
set the top-level dx
static void print(const StrawDx &x)
float getDx1(const ExpandedIdentifier &id) const
access to unpacked dx
StrawDxContainerTemplate()
constructor
'Nested' template container for storing TRT conditions data.
static void initialize(StrawDx &x)
static const char * classname()
classname used to talk to iovservice
const T & get() const
get the default value
float getDxErr(const ExpandedIdentifier &id) const
access to unpacked dx error
static void copy(StrawDx &out, const StrawDx &in)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
PackedType pack(UnpackedType x) const
Pack method.
void setDx(const ExpandedIdentifier &id, float dx1, float dx2, float dxerr)
set dx
static size_t footprint(const StrawDx &x)
static bool isequal(const StrawDx &x, const StrawDx &y)
Identifier for TRT detector elements in the conditions code.
macros to associate a CLID to a type
float getDx2(const ExpandedIdentifier &id) const
CONDCONT_DEF(TRTCond::StrawDxContainer, 1168594249)