ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TRTCond::StrawT0 Class Reference

#include <StrawT0.h>

Collaboration diagram for TRTCond::StrawT0:

Public Member Functions

 StrawT0 ()
 constructors More...
 
 StrawT0 (unsigned char t0, unsigned char t0err)
 
unsigned char packedt0 () const
 access to packed t0 value. packing parameters are defined by StrawT0Container More...
 
unsigned char packedt0err () const
 access to packed t0 error More...
 
bool isvalid () const
 access to status More...
 
void print () const
 
bool operator== (const StrawT0 &rhs) const
 

Private Attributes

unsigned char m_packedt0
 
unsigned char m_packedt0err
 

Detailed Description

class for t0 data for one straw

Definition at line 22 of file StrawT0.h.

Constructor & Destructor Documentation

◆ StrawT0() [1/2]

TRTCond::StrawT0::StrawT0 ( )
inline

constructors

Definition at line 30 of file StrawT0.h.

30 : m_packedt0(0), m_packedt0err(255) {}

◆ StrawT0() [2/2]

TRTCond::StrawT0::StrawT0 ( unsigned char  t0,
unsigned char  t0err 
)
inline

Definition at line 31 of file StrawT0.h.

31 : m_packedt0(t0), m_packedt0err(t0err) {}

Member Function Documentation

◆ isvalid()

bool TRTCond::StrawT0::isvalid ( ) const
inline

access to status

Definition at line 38 of file StrawT0.h.

38 { return m_packedt0err != 255 ; }

◆ operator==()

bool TRTCond::StrawT0::operator== ( const StrawT0 rhs) const
inline

Definition at line 40 of file StrawT0.h.

40  {
41  return m_packedt0==rhs.m_packedt0 && m_packedt0err==rhs.m_packedt0err ; }

◆ packedt0()

unsigned char TRTCond::StrawT0::packedt0 ( ) const
inline

access to packed t0 value. packing parameters are defined by StrawT0Container

Definition at line 34 of file StrawT0.h.

34 { return m_packedt0 ; }

◆ packedt0err()

unsigned char TRTCond::StrawT0::packedt0err ( ) const
inline

access to packed t0 error

Definition at line 36 of file StrawT0.h.

36 { return m_packedt0err ; }

◆ print()

void TRTCond::StrawT0::print ( ) const
inline

Definition at line 39 of file StrawT0.h.

39 { std::cout << "straw with (packed) t0 = " << int(m_packedt0) << std::endl ; }

Member Data Documentation

◆ m_packedt0

unsigned char TRTCond::StrawT0::m_packedt0
private

Definition at line 25 of file StrawT0.h.

◆ m_packedt0err

unsigned char TRTCond::StrawT0::m_packedt0err
private

Definition at line 26 of file StrawT0.h.


The documentation for this class was generated from the following file:
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
TRTCond::StrawT0::m_packedt0
unsigned char m_packedt0
Definition: StrawT0.h:25
TRTCond::StrawT0::m_packedt0err
unsigned char m_packedt0err
Definition: StrawT0.h:26