ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
TRTCond::StrawT0ContainerTemplate< LEVEL > Class Template Reference

class for storing/accessing trt t0 data More...

#include <StrawT0Container.h>

Inheritance diagram for TRTCond::StrawT0ContainerTemplate< LEVEL >:
Collaboration diagram for TRTCond::StrawT0ContainerTemplate< LEVEL >:

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 StrawT0get (const ExpandedIdentifier &id) const
 get a value. More...
 
const StrawT0get (const ExpandedIdentifier &id, size_t &resolvelevel) const
 
const StrawT0get () const
 get the default value More...
 
void clear ()
 clear entire container More...
 
void clear (const ExpandedIdentifier &id)
 clear only entries specified More...
 
const DaughterContainerdaughters () 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...
 

Detailed Description

template<int LEVEL>
class TRTCond::StrawT0ContainerTemplate< LEVEL >

class for storing/accessing trt t0 data

Definition at line 44 of file StrawT0Container.h.

Member Typedef Documentation

◆ const_value_type

const Type of atomic element.

Definition at line 161 of file NestedContainer.h.

◆ DaughterContainer

typedef std::vector<NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > > TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::DaughterContainer
privateinherited

typedef of container

Definition at line 154 of file NestedContainer.h.

◆ FlatContainer

typedef std::vector< std::pair<ExpandedIdentifier, const StrawT0 *> > TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::FlatContainer
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.

◆ trait_type

typedef StrawT0Trait TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::trait_type
inherited

Type of trait.

Definition at line 162 of file NestedContainer.h.

◆ value_type

typedef StrawT0 TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::value_type
inherited

Type of atomic element.

Definition at line 160 of file NestedContainer.h.

Constructor & Destructor Documentation

◆ StrawT0ContainerTemplate()

template<int LEVEL>
TRTCond::StrawT0ContainerTemplate< LEVEL >::StrawT0ContainerTemplate ( )
inline

constructor

Definition at line 52 of file StrawT0Container.h.

52 : m_t0packer(0,64),m_t0errpacker(0,16) {}

◆ ~StrawT0ContainerTemplate()

template<int LEVEL>
virtual TRTCond::StrawT0ContainerTemplate< LEVEL >::~StrawT0ContainerTemplate ( )
inlinevirtual

destructor

Definition at line 55 of file StrawT0Container.h.

55 {}

Member Function Documentation

◆ classname()

template<int LEVEL>
static const char* TRTCond::StrawT0ContainerTemplate< LEVEL >::classname ( )
inlinestatic

classname used to talk to iovservice

Definition at line 93 of file StrawT0Container.h.

93 { return "TRTCond::StrawT0Container" ; }

◆ clear() [1/2]

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::clear ( )
inlineinherited

clear entire container

Definition at line 238 of file NestedContainer.h.

238  {
239  for( typename DaughterContainer::iterator it = m_daughters.begin() ; it != m_daughters.end(); ++it )
241  m_daughters.clear() ;
242  Trait::erase(m_default) ;
243  }

◆ clear() [2/2]

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::clear ( const ExpandedIdentifier id)
inlineinherited

clear only entries specified

Definition at line 246 of file NestedContainer.h.

246  {
247  if( NestingLevel == id.level() ) clear() ;
248  else {
249  unsigned int thisindex = id.index(NestingLevel+1) ;
250  if(thisindex<m_daughters.size())
252  }
253  }

◆ crunch()

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::crunch ( )
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.

292  {
293  // first the daughters
294  for( typename DaughterContainer::iterator it = m_daughters.begin() ; it != m_daughters.end(); ++it )
295  NestedContainerDaughterAccessor<Daughter,T,Trait>::crunch(*it) ;
296  // now use, if anything is there
297  if( m_daughters.size()>0 ) {
298  // find the first daughter that is valid
299  size_t firstvaliddaughter(0);
300  bool allequal(true) ;
301  for(size_t idau=0; idau<m_daughters.size() && allequal; ++idau) {
302  allequal = NestedContainerDaughterAccessor<Daughter,T,Trait>::empty(m_daughters[idau]) ;
303  if( allequal ) {
304  bool isvalid = Trait::isvalid( NestedContainerDaughterAccessor<Daughter,T,Trait>::get(m_daughters[idau])) ;
305  if( isvalid ) {
306  if( firstvaliddaughter==0 ) firstvaliddaughter = idau ;
307  } else {
308  allequal = NestedContainerDaughterAccessor<Daughter,T,Trait>::isequal(m_daughters[idau],m_daughters[firstvaliddaughter]) ;
309  }
310  }
311  }
312  if(allequal) {
313  // set the default value to the value form the first daughter
314  T defaultvalue(Trait::initialvalue()) ;
315  if( firstvaliddaughter < m_daughters.size() )
317  clear() ; // this clears pointers in the daughters. would rather replace that with destructors.
320  } else if(m_daughters.size()<m_daughters.capacity()) {
321  DaughterContainer newdaughters(0) ;
322  newdaughters.reserve( m_daughters.size() ) ;
323  newdaughters.insert( newdaughters.end(), m_daughters.begin(), m_daughters.end() ) ;
324  newdaughters.swap(m_daughters) ;
325  }
326  }
327  }

◆ daughters()

const DaughterContainer& TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::daughters ( ) const
inlineinherited

return the vector of daughters

Definition at line 256 of file NestedContainer.h.

256 { return m_daughters ; }

◆ footprint()

size_t TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::footprint ( ) const
inlineinherited

return the memory allocated by the container and its daughters

Definition at line 282 of file NestedContainer.h.

282  {
283  size_t total = Trait::footprint(m_default) + (m_daughters.capacity()-m_daughters.size())*sizeof(Daughter) ;
284  for( typename DaughterContainer::const_iterator it = m_daughters.begin() ; it != m_daughters.end(); ++it )
285  total += NestedContainerDaughterAccessor<Daughter,T,Trait>::footprint(*it) ;
286  return total ;
287  }

◆ get() [1/3]

const StrawT0 & TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::get ( ) const
inlineinherited

get the default value

Definition at line 232 of file NestedContainer.h.

232 { return m_default ; }

◆ get() [2/3]

const StrawT0 & TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::get ( const ExpandedIdentifier id) const
inlineinherited

get a value.

return the default value if no valid entry for id exists.

Definition at line 205 of file NestedContainer.h.

205  {
206  if( NestingLevel < id.level() ) {
207  unsigned int thisindex = id.index(NestingLevel+1) ;
208  if(thisindex<m_daughters.size()) {
210  // only return this value if it is valid. otherwise, return the default.
211  if( Trait::isvalid(rc) ) return rc ;
212  }
213  }
214  return m_default ;
215  }

◆ get() [3/3]

const StrawT0 & TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::get ( const ExpandedIdentifier id,
size_t &  resolvelevel 
) const
inlineinherited

Definition at line 217 of file NestedContainer.h.

218  {
219  if( NestingLevel < id.level() ) {
220  unsigned int thisindex = id.index(NestingLevel+1) ;
221  if(thisindex<m_daughters.size()) {
222  const T& rc = NestedContainerDaughterAccessor<Daughter,T,Trait>::get(m_daughters[thisindex],id,resolvelevel) ;
223  if( Trait::isvalid(rc) ) return rc ;
224  }
225  }
226  resolvelevel = NestingLevel ;
227  return m_default ;
228  }

◆ getall()

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::getall ( FlatContainer entries) const
inlineinherited

Definition at line 347 of file NestedContainer.h.

347  {
348  // add the daughters
349  for(unsigned int idau = 0; idau<m_daughters.size(); ++idau) {
350  FlatContainer dauentries ;
351  // first get them
352  NestedContainerDaughterAccessor<Daughter,T,Trait>::getall(m_daughters[idau], dauentries) ;
353  // now update the identifiers to have the dauhgter index set correctly
354  for(unsigned int j=0; j< dauentries.size(); ++j )
355  dauentries[j].first.index(NestingLevel+1) = idau ;
356  // and append
357  entries.insert(entries.end(),dauentries.begin(),dauentries.end()) ;
358  }
359  // add the default value
360  if( Trait::isvalid(m_default) ) {
361  ExpandedIdentifier id(0,0,0,0,0,NestingLevel) ;
362  entries.push_back( std::pair<ExpandedIdentifier, const T*>(id,&m_default)) ;
363  }
364  }

◆ getT0()

template<int LEVEL>
float TRTCond::StrawT0ContainerTemplate< LEVEL >::getT0 ( const ExpandedIdentifier id) const
inline

access to unpacked t0

Definition at line 58 of file StrawT0Container.h.

58  {
60  return StrawT0Trait::isvalid(sd) ? m_t0packer.unpack(sd.packedt0()) : 0 ;
61  }

◆ getT0Err()

template<int LEVEL>
float TRTCond::StrawT0ContainerTemplate< LEVEL >::getT0Err ( const ExpandedIdentifier id) const
inline

access to unpacked t0 error

Definition at line 64 of file StrawT0Container.h.

64  {
66  return StrawT0Trait::isvalid(sd) ? m_t0errpacker.unpack(sd.packedt0err()) : 0 ;
67  }

◆ numObjects()

size_t TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::numObjects ( ) const
inlineinherited

return the total number of valid calibration objects

Definition at line 260 of file NestedContainer.h.

260  {
261  size_t rc(0) ;
262  assert( std::distance(m_daughters.begin(),m_daughters.end())==(int)m_daughters.size()) ;
263  assert( m_daughters.size() < 1000 ) ;
264  for( typename DaughterContainer::const_iterator it = m_daughters.begin() ; it != m_daughters.end(); ++it )
265  rc += NestedContainerDaughterAccessor<Daughter,T,Trait>::numObjects(*it) ;
266  if( Trait::isvalid(m_default) ) ++rc ;
267  return rc ;
268  }

◆ operator==() [1/2]

bool TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::operator== ( const NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait > &  rhs) const
inlineinherited

equality operator, used for compressing

Definition at line 272 of file NestedContainer.h.

272  {
273  return m_daughters.size()==0 && rhs.m_daughters.size()==0 && Trait::isequal(m_default,rhs.m_default) ;
274  }

◆ operator==() [2/2]

bool TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::operator== ( const T &  rhs) const
inlineinherited

another equality operator, used for compressing

Definition at line 277 of file NestedContainer.h.

277  {
278  return m_daughters.size()==0 && Trait::isequal(m_default,rhs) ;
279  }

◆ print()

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::print ( ) const
inlineinherited

Definition at line 334 of file NestedContainer.h.

334  {
335  printindent() ;
337  std::cout << "level = " << id.name(NestingLevel) << " (" << NestingLevel << ")" << std::endl ;
338  for(unsigned int i=0; i< m_daughters.size(); ++i) {
339  printindent() ;
340  std::cout << "daughter " << i << std::endl ;
342  }
343  }

◆ printindent()

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::printindent ( ) const
inlineinherited

some IO for debugging

Definition at line 330 of file NestedContainer.h.

330  {
331  for(int i=0; i<NestingLevel; ++i)
332  std::cout << '\t' ;
333  }

◆ set() [1/2]

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::set ( const ExpandedIdentifier id,
const T &  t 
)
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.

191  {
192  if( NestingLevel == id.level() ) {
193  // set the default value
195  } else {
196  unsigned int thisindex = id.index(NestingLevel+1) ;
197  // expand daughter array if necessary
198  if(thisindex>=m_daughters.size())
199  m_daughters.resize( thisindex+1, NestedContainerDaughterAccessor<Daughter,T,Trait>::initialvalue() ) ;
201  }
202  }

◆ set() [2/2]

void TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::set ( const T &  t)
inlineinherited

set the default value

Definition at line 235 of file NestedContainer.h.

235 { Trait::copy(m_default,t) ; }

◆ setPackingLimits()

template<int LEVEL>
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.

98  {
100  LinearPacker<float,unsigned char> newt0packer(t0min,t0max) ;
101  LinearPacker<float,unsigned char> newt0errpacker(t0errmin,t0errmax) ;
102  LinearPacker<float,unsigned char> oldt0packer = m_t0packer ;
103  LinearPacker<float,unsigned char> oldt0errpacker = m_t0errpacker ;
104 
107  this->getall( entries ) ;
109  it = entries.begin() ; it != entries.end(); ++it) {
110  StrawT0& sd = const_cast<StrawT0&>(*(it->second)) ;
111  float t0 = oldt0packer.unpack(sd.packedt0());
112  float t0err = oldt0errpacker. unpack(sd.packedt0err());
113  unsigned char newpackedt0 = newt0packer.pack(t0) ;
114  unsigned char newpackedt0err = newt0errpacker.pack(t0err) ;
115  sd = StrawT0( newpackedt0, newpackedt0err ) ;
116  }
117  m_t0packer = newt0packer ;
118  m_t0errpacker = newt0errpacker ;
119  }

◆ setT0() [1/2]

template<int LEVEL>
void TRTCond::StrawT0ContainerTemplate< LEVEL >::setT0 ( const ExpandedIdentifier id,
float  t0,
float  t0err 
)
inline

set t0

Definition at line 70 of file StrawT0Container.h.

◆ setT0() [2/2]

template<int LEVEL>
void TRTCond::StrawT0ContainerTemplate< LEVEL >::setT0 ( float  t0,
float  t0err 
)
inline

set the top-level t0

Definition at line 75 of file StrawT0Container.h.

◆ unpack()

template<int LEVEL>
void TRTCond::StrawT0ContainerTemplate< LEVEL >::unpack ( const StrawT0 sd,
float &  t0,
float &  t0err 
) const
inline

public method to unpack a StrawT0 object

Definition at line 80 of file StrawT0Container.h.

80  {
81  t0 = m_t0packer.unpack(sd.packedt0()) ;
82  t0err = m_t0errpacker.unpack(sd.packedt0err()) ;
83  }

◆ unpackT0()

template<int LEVEL>
float TRTCond::StrawT0ContainerTemplate< LEVEL >::unpackT0 ( const StrawT0 sd) const
inline

more public methods

Definition at line 86 of file StrawT0Container.h.

86 { return m_t0packer.unpack(sd.packedt0()); }

◆ unpackT0Err()

template<int LEVEL>
float TRTCond::StrawT0ContainerTemplate< LEVEL >::unpackT0Err ( const StrawT0 sd) const
inline

Definition at line 87 of file StrawT0Container.h.

87 { return m_t0errpacker.unpack(sd.packedt0err()); }

Member Data Documentation

◆ m_daughters

DaughterContainer TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::m_daughters
privateinherited

Container of Daughters.

Definition at line 156 of file NestedContainer.h.

◆ m_default

StrawT0 TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > , StrawT0 , StrawT0Trait >::m_default
privateinherited

Type of atomic element.

Definition at line 157 of file NestedContainer.h.

◆ m_t0errpacker

template<int LEVEL>
LinearPacker<float,unsigned char> TRTCond::StrawT0ContainerTemplate< LEVEL >::m_t0errpacker
private

Definition at line 49 of file StrawT0Container.h.

◆ m_t0packer

template<int LEVEL>
LinearPacker<float,unsigned char> TRTCond::StrawT0ContainerTemplate< LEVEL >::m_t0packer
private

packing borders

Definition at line 48 of file StrawT0Container.h.


The documentation for this class was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TRTCond::StrawT0ContainerTemplate::m_t0errpacker
LinearPacker< float, unsigned char > m_t0errpacker
Definition: StrawT0Container.h:49
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
skel.it
it
Definition: skel.GENtoEVGEN.py:396
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, T, Trait >, T, Trait >::set
void set(const ExpandedIdentifier &id, const T &t)
set a value.
Definition: NestedContainer.h:191
ExpandedIdentifier
Definition: DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h:102
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::m_daughters
DaughterContainer m_daughters
Container of Daughters.
Definition: NestedContainer.h:156
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TRTCond::StrawT0ContainerTemplate::m_t0packer
LinearPacker< float, unsigned char > m_t0packer
packing borders
Definition: StrawT0Container.h:48
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::FlatContainer
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
Definition: NestedContainer.h:346
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
python.selector.AtlRunQuerySelectorLhcOlc.sd
sd
Definition: AtlRunQuerySelectorLhcOlc.py:612
TRTCond::StrawT0Trait::isvalid
static bool isvalid(const StrawT0 &x)
Definition: StrawT0Container.h:33
lumiFormat.i
int i
Definition: lumiFormat.py:85
TRTCond::LinearPacker::unpack
UnpackedType unpack(PackedType val) const
Unpack method.
Definition: LinearPacker.h:27
TRTCond::StrawT0ContainerTemplate::unpack
void unpack(const StrawT0 &sd, float &t0, float &t0err) const
public method to unpack a StrawT0 object
Definition: StrawT0Container.h:80
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::printindent
void printindent() const
some IO for debugging
Definition: NestedContainer.h:330
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::m_default
StrawT0 m_default
Type of atomic element.
Definition: NestedContainer.h:157
VKalVrtAthena::varHolder_detail::clear
void clear(T &var)
Definition: NtupleVars.h:48
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, T, Trait >, T, Trait >::get
const T & get() const
get the default value
Definition: NestedContainer.h:232
DeMoScan.first
bool first
Definition: DeMoScan.py:536
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition: hcg.cxx:127
entries
double entries
Definition: listroot.cxx:49
TRTCond::LinearPacker::pack
PackedType pack(UnpackedType x) const
Pack method.
Definition: LinearPacker.h:30
CaloCellTimeCorrFiller.defaultvalue
float defaultvalue
Definition: CaloCellTimeCorrFiller.py:25
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::clear
void clear()
clear entire container
Definition: NestedContainer.h:238
calibdata.copy
bool copy
Definition: calibdata.py:27
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::getall
void getall(FlatContainer &entries) const
Definition: NestedContainer.h:347
TRTCond::NestedContainerBase< NestingLevel, NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait >, StrawT0, StrawT0Trait >::DaughterContainer
std::vector< NestedContainer< NestingLevel+1, StrawT0, StrawT0Trait > > DaughterContainer
typedef of container
Definition: NestedContainer.h:154
Amg::distance
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
Definition: GeoPrimitivesHelpers.h:54
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
python.trfValidateRootFile.rc
rc
Definition: trfValidateRootFile.py:355