ATLAS Offline Software
Public Member Functions | Static Public Attributes | Private Attributes | Friends | List of all members
Muon::STGC_RawData Class Referencefinal

#include <STGC_RawData.h>

Collaboration diagram for Muon::STGC_RawData:

Public Member Functions

 STGC_RawData (const Identifier id)
 
 STGC_RawData ()=default
 
 STGC_RawData (const STGC_RawData &)=default
 
 STGC_RawData (STGC_RawData &&)=default
 
STGC_RawDataoperator= (const STGC_RawData &)=default
 
STGC_RawDataoperator= (STGC_RawData &&)=default
 
 ~STGC_RawData ()=default
 
 STGC_RawData (const Identifier id, const uint16_t bcTag, const float time, const unsigned int charge, const bool isDead, const bool timeAndChargeInCounts)
 
 STGC_RawData (const Identifier id, const uint16_t bcTag, const float time, const unsigned int tdo, const unsigned int charge, const bool isDead, const bool timeAndChargeInCounts)
 
const Identifier identify () const
 
float time () const
 
unsigned int tdo () const
 
unsigned int charge () const
 
uint16_t bcTag () const
 
bool isDead () const
 
bool timeAndChargeInCounts () const
 

Static Public Attributes

static constexpr double s_lowerTimeBound {-87.5}
 
static constexpr int s_BCWindow {8}
 
static constexpr int s_timeTdoShift {200}
 

Private Attributes

Identifier m_id {}
 
float m_time {0}
 
unsigned int m_tdo {0}
 
unsigned int m_charge {0}
 
uint16_t m_bcTag {0}
 
bool m_isDead {false}
 
bool m_timeAndChargeInCounts {false}
 

Friends

class STGC_RawDataCnv_p1
 
class STGC_RawDataCnv_p2
 
class STGC_RawDataCnv_p3
 

Detailed Description

Definition at line 14 of file STGC_RawData.h.

Constructor & Destructor Documentation

◆ STGC_RawData() [1/6]

Muon::STGC_RawData::STGC_RawData ( const Identifier  id)

Definition at line 12 of file STGC_RawData.cxx.

13  :m_id(id)
14 {
15 }

◆ STGC_RawData() [2/6]

Muon::STGC_RawData::STGC_RawData ( )
default

◆ STGC_RawData() [3/6]

Muon::STGC_RawData::STGC_RawData ( const STGC_RawData )
default

◆ STGC_RawData() [4/6]

Muon::STGC_RawData::STGC_RawData ( STGC_RawData &&  )
default

◆ ~STGC_RawData()

Muon::STGC_RawData::~STGC_RawData ( )
default

◆ STGC_RawData() [5/6]

Muon::STGC_RawData::STGC_RawData ( const Identifier  id,
const uint16_t  bcTag,
const float  time,
const unsigned int  charge,
const bool  isDead,
const bool  timeAndChargeInCounts 
)

Definition at line 17 of file STGC_RawData.cxx.

20 {
21  m_tdo = static_cast<unsigned int>(25.0+time); // place holder for time->tdo from calibration
22 }

◆ STGC_RawData() [6/6]

Muon::STGC_RawData::STGC_RawData ( const Identifier  id,
const uint16_t  bcTag,
const float  time,
const unsigned int  tdo,
const unsigned int  charge,
const bool  isDead,
const bool  timeAndChargeInCounts 
)

Member Function Documentation

◆ bcTag()

uint16_t Muon::STGC_RawData::bcTag ( ) const
inline

Definition at line 58 of file STGC_RawData.h.

58 {return m_bcTag;}

◆ charge()

unsigned int Muon::STGC_RawData::charge ( ) const
inline

Definition at line 57 of file STGC_RawData.h.

57 {return m_charge;}

◆ identify()

const Identifier Muon::STGC_RawData::identify ( ) const
inline

Definition at line 52 of file STGC_RawData.h.

52 { return m_id; }

◆ isDead()

bool Muon::STGC_RawData::isDead ( ) const
inline

Definition at line 60 of file STGC_RawData.h.

60 {return m_isDead;}

◆ operator=() [1/2]

STGC_RawData& Muon::STGC_RawData::operator= ( const STGC_RawData )
default

◆ operator=() [2/2]

STGC_RawData& Muon::STGC_RawData::operator= ( STGC_RawData &&  )
default

◆ tdo()

unsigned int Muon::STGC_RawData::tdo ( ) const
inline

Definition at line 56 of file STGC_RawData.h.

56 {return m_tdo;}

◆ time()

float Muon::STGC_RawData::time ( ) const
inline

Definition at line 55 of file STGC_RawData.h.

55 {return m_time;}

◆ timeAndChargeInCounts()

bool Muon::STGC_RawData::timeAndChargeInCounts ( ) const
inline

Definition at line 61 of file STGC_RawData.h.

Friends And Related Function Documentation

◆ STGC_RawDataCnv_p1

friend class STGC_RawDataCnv_p1
friend

Definition at line 15 of file STGC_RawData.h.

◆ STGC_RawDataCnv_p2

friend class STGC_RawDataCnv_p2
friend

Definition at line 16 of file STGC_RawData.h.

◆ STGC_RawDataCnv_p3

friend class STGC_RawDataCnv_p3
friend

Definition at line 17 of file STGC_RawData.h.

Member Data Documentation

◆ m_bcTag

uint16_t Muon::STGC_RawData::m_bcTag {0}
private

Definition at line 29 of file STGC_RawData.h.

◆ m_charge

unsigned int Muon::STGC_RawData::m_charge {0}
private

Definition at line 28 of file STGC_RawData.h.

◆ m_id

Identifier Muon::STGC_RawData::m_id {}
private

Definition at line 22 of file STGC_RawData.h.

◆ m_isDead

bool Muon::STGC_RawData::m_isDead {false}
private

Definition at line 31 of file STGC_RawData.h.

◆ m_tdo

unsigned int Muon::STGC_RawData::m_tdo {0}
private

Definition at line 27 of file STGC_RawData.h.

◆ m_time

float Muon::STGC_RawData::m_time {0}
private

Definition at line 26 of file STGC_RawData.h.

◆ m_timeAndChargeInCounts

bool Muon::STGC_RawData::m_timeAndChargeInCounts {false}
private

Definition at line 32 of file STGC_RawData.h.

◆ s_BCWindow

constexpr int Muon::STGC_RawData::s_BCWindow {8}
staticconstexpr

Definition at line 70 of file STGC_RawData.h.

◆ s_lowerTimeBound

constexpr double Muon::STGC_RawData::s_lowerTimeBound {-87.5}
staticconstexpr

Definition at line 67 of file STGC_RawData.h.

◆ s_timeTdoShift

constexpr int Muon::STGC_RawData::s_timeTdoShift {200}
staticconstexpr

Definition at line 78 of file STGC_RawData.h.


The documentation for this class was generated from the following files:
Muon::STGC_RawData::m_time
float m_time
Definition: STGC_RawData.h:26
Muon::STGC_RawData::m_tdo
unsigned int m_tdo
Definition: STGC_RawData.h:27
Muon::STGC_RawData::tdo
unsigned int tdo() const
Definition: STGC_RawData.h:56
Muon::STGC_RawData::isDead
bool isDead() const
Definition: STGC_RawData.h:60
Muon::STGC_RawData::time
float time() const
Definition: STGC_RawData.h:55
Muon::STGC_RawData::m_timeAndChargeInCounts
bool m_timeAndChargeInCounts
Definition: STGC_RawData.h:32
Muon::STGC_RawData::m_charge
unsigned int m_charge
Definition: STGC_RawData.h:28
Muon::STGC_RawData::m_bcTag
uint16_t m_bcTag
Definition: STGC_RawData.h:29
Muon::STGC_RawData::m_isDead
bool m_isDead
Definition: STGC_RawData.h:31
Muon::STGC_RawData::m_id
Identifier m_id
Definition: STGC_RawData.h:22
Muon::STGC_RawData::charge
unsigned int charge() const
Definition: STGC_RawData.h:57
Muon::STGC_RawData::bcTag
uint16_t bcTag() const
Definition: STGC_RawData.h:58
Muon::STGC_RawData::timeAndChargeInCounts
bool timeAndChargeInCounts() const
Definition: STGC_RawData.h:61