ATLAS Offline Software
|
class for storing/accessing trt t0 data More...
#include <StrawT0Container.h>
Public Types | |
typedef StrawT0 | value_type |
Type of atomic element. More... | |
typedef const StrawT0 | const_value_type |
const Type of atomic element. More... | |
typedef StrawT0Trait | trait_type |
Type of trait. More... | |
typedef std::vector< std::pair< ExpandedIdentifier, const StrawT0 * > > | FlatContainer |
fill vector with all entries in the container. needed to dump to Peter's flat file format More... | |
Public Member Functions | |
StrawT0ContainerTemplate () | |
constructor More... | |
virtual | ~StrawT0ContainerTemplate () |
destructor More... | |
float | getT0 (const ExpandedIdentifier &id) const |
access to unpacked t0 More... | |
float | getT0Err (const ExpandedIdentifier &id) const |
access to unpacked t0 error More... | |
void | setT0 (const ExpandedIdentifier &id, float t0, float t0err) |
set t0 More... | |
void | setT0 (float t0, float t0err) |
set the top-level t0 More... | |
void | unpack (const StrawT0 &sd, float &t0, float &t0err) const |
public method to unpack a StrawT0 object More... | |
float | unpackT0 (const StrawT0 &sd) const |
more public methods More... | |
float | unpackT0Err (const StrawT0 &sd) const |
void | setPackingLimits (float t0min, float t0max, float t0errmin, float t0errmax) |
change the packing limits More... | |
void | set (const ExpandedIdentifier &id, const StrawT0 &t) |
set a value. More... | |
void | set (const StrawT0 &t) |
set the default value More... | |
const StrawT0 & | get (const ExpandedIdentifier &id) const |
get a value. More... | |
const StrawT0 & | get (const ExpandedIdentifier &id, size_t &resolvelevel) const |
const StrawT0 & | get () const |
get the default value More... | |
void | clear () |
clear entire container More... | |
void | clear (const ExpandedIdentifier &id) |
clear only entries specified More... | |
const DaughterContainer & | daughters () const |
return the vector of daughters More... | |
size_t | numObjects () const |
return the total number of valid calibration objects More... | |
bool | operator== (const NestedContainerBase &rhs) const |
equality operator, used for compressing More... | |
bool | operator== (const StrawT0 &rhs) const |
another equality operator, used for compressing More... | |
size_t | footprint () const |
return the memory allocated by the container and its daughters More... | |
void | crunch () |
reduce the footprint as much as possible by removing the extra space allocated by the vectors More... | |
void | printindent () const |
some IO for debugging More... | |
void | print () const |
void | getall (FlatContainer &entries) const |
Static Public Member Functions | |
static const char * | classname () |
classname used to talk to iovservice More... | |
Private Types | |
typedef std::vector< NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > > | DaughterContainer |
typedef of container More... | |
Private Attributes | |
LinearPacker< float, unsigned char > | m_t0packer |
packing borders More... | |
LinearPacker< float, unsigned char > | m_t0errpacker |
DaughterContainer | m_daughters |
Container of Daughters. More... | |
StrawT0 | m_default |
Type of atomic element. More... | |
class for storing/accessing trt t0 data
Definition at line 44 of file StrawT0Container.h.
|
inherited |
const Type of atomic element.
Definition at line 161 of file NestedContainer.h.
|
privateinherited |
typedef of container
Definition at line 154 of file NestedContainer.h.
|
inherited |
fill vector with all entries in the container. needed to dump to Peter's flat file format
Definition at line 346 of file NestedContainer.h.
|
inherited |
Type of trait.
Definition at line 162 of file NestedContainer.h.
|
inherited |
Type of atomic element.
Definition at line 160 of file NestedContainer.h.
|
inline |
|
inlinevirtual |
|
inlinestatic |
classname used to talk to iovservice
Definition at line 93 of file StrawT0Container.h.
|
inlineinherited |
clear entire container
Definition at line 238 of file NestedContainer.h.
|
inlineinherited |
|
inlineinherited |
reduce the footprint as much as possible by removing the extra space allocated by the vectors
Definition at line 292 of file NestedContainer.h.
|
inlineinherited |
|
inlineinherited |
return the memory allocated by the container and its daughters
Definition at line 282 of file NestedContainer.h.
|
inlineinherited |
|
inlineinherited |
get a value.
return the default value if no valid entry for id exists.
Definition at line 205 of file NestedContainer.h.
|
inlineinherited |
Definition at line 217 of file NestedContainer.h.
|
inlineinherited |
Definition at line 347 of file NestedContainer.h.
|
inline |
|
inline |
|
inlineinherited |
return the total number of valid calibration objects
Definition at line 260 of file NestedContainer.h.
|
inlineinherited |
equality operator, used for compressing
Definition at line 272 of file NestedContainer.h.
|
inlineinherited |
another equality operator, used for compressing
Definition at line 277 of file NestedContainer.h.
|
inlineinherited |
Definition at line 334 of file NestedContainer.h.
|
inlineinherited |
some IO for debugging
Definition at line 330 of file NestedContainer.h.
|
inlineinherited |
set a value.
using 'level' in id we can specify if we want to set the default value.
Definition at line 191 of file NestedContainer.h.
|
inlineinherited |
void TRTCond::StrawT0ContainerTemplate< LEVEL >::setPackingLimits | ( | float | t0min, |
float | t0max, | ||
float | t0errmin, | ||
float | t0errmax | ||
) |
change the packing limits
create the new packers
update all entries in the container.
Definition at line 97 of file StrawT0Container.h.
|
inline |
set t0
Definition at line 70 of file StrawT0Container.h.
|
inline |
set the top-level t0
Definition at line 75 of file StrawT0Container.h.
|
inline |
|
inline |
|
inline |
Definition at line 87 of file StrawT0Container.h.
|
privateinherited |
Container of Daughters.
Definition at line 156 of file NestedContainer.h.
|
privateinherited |
Type of atomic element.
Definition at line 157 of file NestedContainer.h.
|
private |
Definition at line 49 of file StrawT0Container.h.
|
private |
packing borders
Definition at line 48 of file StrawT0Container.h.