ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
HGTD_RDO Class Reference

#include <HGTD_RDO.h>

Inheritance diagram for HGTD_RDO:
Collaboration diagram for HGTD_RDO:

Public Member Functions

 HGTD_RDO ()=default
 Default constructor should NOT be used, needed for pool I/O. More...
 
 HGTD_RDO (const HGTD_RDO &)=default
 
 HGTD_RDO (HGTD_RDO &&)=default
 
HGTD_RDOoperator= (const HGTD_RDO &)=default
 
HGTD_RDOoperator= (HGTD_RDO &&)=default
 
virtual ~HGTD_RDO ()=default
 
 HGTD_RDO (const Identifier rdo_id, const float toa, const unsigned int tot, const unsigned short bcid, const unsigned short l1_id, const unsigned short l1_a=0)
 Constructor with parameters. More...
 
virtual Identifier identify () const
 
virtual float getTOA () const
 
virtual unsigned int getTOT () const
 
virtual unsigned short getBCID () const
 
virtual unsigned short getL1ID () const
 
virtual unsigned short getL1A () const
 
virtual IdentifierHash identifyHash () const
 
virtual const IdHelpergetHelper () const
 

Private Attributes

Identifier m_rdo_id
 Offline ID of the readout channel. More...
 
float m_toa {}
 Time of arrival, 7 bit word. More...
 
unsigned int m_tot {}
 Time over threshold, 9 bit word. More...
 
unsigned short m_bcid {}
 Bunch crossing ID. More...
 
unsigned short m_l1_id {}
 Level 1 accept. More...
 
unsigned short m_l1_a {}
 ATLAS LVL1. More...
 

Detailed Description

Definition at line 53 of file HGTD_RDO.h.

Constructor & Destructor Documentation

◆ HGTD_RDO() [1/4]

HGTD_RDO::HGTD_RDO ( )
default

Default constructor should NOT be used, needed for pool I/O.

◆ HGTD_RDO() [2/4]

HGTD_RDO::HGTD_RDO ( const HGTD_RDO )
default

◆ HGTD_RDO() [3/4]

HGTD_RDO::HGTD_RDO ( HGTD_RDO &&  )
default

◆ ~HGTD_RDO()

virtual HGTD_RDO::~HGTD_RDO ( )
virtualdefault

◆ HGTD_RDO() [4/4]

HGTD_RDO::HGTD_RDO ( const Identifier  rdo_id,
const float  toa,
const unsigned int  tot,
const unsigned short  bcid,
const unsigned short  l1_id,
const unsigned short  l1_a = 0 
)

Constructor with parameters.

Parameters
[in]rdo_idOffline compact identifier of the readout channel.
[in]toaTime of arrival, 7 bit word.
[in]totTime over threshold, 9 bit word.
[in]bcidBunch crossing ID.
[in]l1_idATLAS LVL1
[in]l1_aLevel 1 accept
[in]

Definition at line 12 of file HGTD_RDO.cxx.

16  : Identifiable(),
17  m_rdo_id(rdo_id),
18  m_toa(toa),
19  m_tot(tot),
20  m_bcid(bcid),
21  m_l1_id(l1_id),
22  m_l1_a(l1_a) {}

Member Function Documentation

◆ getBCID()

unsigned short HGTD_RDO::getBCID ( ) const
inlinevirtual

Definition at line 123 of file HGTD_RDO.h.

123 { return m_bcid; }

◆ getHelper()

const IdHelper * Identifiable::getHelper ( ) const
virtualinherited

Definition at line 18 of file Identifiable.cxx.

18  {
19  return (nullptr);
20 }

◆ getL1A()

unsigned short HGTD_RDO::getL1A ( ) const
inlinevirtual

Definition at line 127 of file HGTD_RDO.h.

127 { return m_l1_a; }

◆ getL1ID()

unsigned short HGTD_RDO::getL1ID ( ) const
inlinevirtual

Definition at line 125 of file HGTD_RDO.h.

125 { return m_l1_id; }

◆ getTOA()

float HGTD_RDO::getTOA ( ) const
inlinevirtual

Definition at line 119 of file HGTD_RDO.h.

119 { return m_toa; }

◆ getTOT()

unsigned int HGTD_RDO::getTOT ( ) const
inlinevirtual

Definition at line 121 of file HGTD_RDO.h.

121 { return m_tot; }

◆ identify()

Identifier HGTD_RDO::identify ( ) const
inlinevirtual

Implements Identifiable.

Definition at line 117 of file HGTD_RDO.h.

117 { return m_rdo_id; }

◆ identifyHash()

IdentifierHash Identifiable::identifyHash ( ) const
virtualinherited

◆ operator=() [1/2]

HGTD_RDO& HGTD_RDO::operator= ( const HGTD_RDO )
default

◆ operator=() [2/2]

HGTD_RDO& HGTD_RDO::operator= ( HGTD_RDO &&  )
default

Member Data Documentation

◆ m_bcid

unsigned short HGTD_RDO::m_bcid {}
private

Bunch crossing ID.

Definition at line 106 of file HGTD_RDO.h.

◆ m_l1_a

unsigned short HGTD_RDO::m_l1_a {}
private

ATLAS LVL1.

Definition at line 114 of file HGTD_RDO.h.

◆ m_l1_id

unsigned short HGTD_RDO::m_l1_id {}
private

Level 1 accept.

Definition at line 110 of file HGTD_RDO.h.

◆ m_rdo_id

Identifier HGTD_RDO::m_rdo_id
private

Offline ID of the readout channel.

Definition at line 94 of file HGTD_RDO.h.

◆ m_toa

float HGTD_RDO::m_toa {}
private

Time of arrival, 7 bit word.

Definition at line 98 of file HGTD_RDO.h.

◆ m_tot

unsigned int HGTD_RDO::m_tot {}
private

Time over threshold, 9 bit word.

Definition at line 102 of file HGTD_RDO.h.


The documentation for this class was generated from the following files:
get_generator_info.result
result
Definition: get_generator_info.py:21
HGTD_RDO::m_bcid
unsigned short m_bcid
Bunch crossing ID.
Definition: HGTD_RDO.h:106
HGTD_RDO::m_tot
unsigned int m_tot
Time over threshold, 9 bit word.
Definition: HGTD_RDO.h:102
HGTD_RDO::m_l1_a
unsigned short m_l1_a
ATLAS LVL1.
Definition: HGTD_RDO.h:114
HGTD_RDO::m_toa
float m_toa
Time of arrival, 7 bit word.
Definition: HGTD_RDO.h:98
HGTD_RDO::m_l1_id
unsigned short m_l1_id
Level 1 accept.
Definition: HGTD_RDO.h:110
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition: Identifiable.h:27
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
HGTD_RDO::m_rdo_id
Identifier m_rdo_id
Offline ID of the readout channel.
Definition: HGTD_RDO.h:94