ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
LVL1TGCTrigger::TGCASDOut Class Reference

#include <TGCASDOut.h>

Inheritance diagram for LVL1TGCTrigger::TGCASDOut:
Collaboration diagram for LVL1TGCTrigger::TGCASDOut:

Public Member Functions

 TGCASDOut ()=default
 
 TGCASDOut (TGCReadoutIndex tgcrindex, TGCSignalType sigtype=WIRE, int id=-1, double tof=0.)
 
int operator== (const TGCASDOut &right) const
 
int operator!= (const TGCASDOut &right) const
 
void SetParams (TGCSignalType signal_type, int id, double tof)
 
void SetChannel (int ch)
 
TGCReadoutIndex GetTGCReadoutIndex () const
 
TGCSignalType GetSignalType () const
 
int GetHitID () const
 
int GetChannel () const
 
double GetHitToF () const
 
void Print () const
 

Protected Attributes

TGCReadoutIndex m_tgcReadoutIndex
 
TGCSignalType m_signalType {WIRE}
 
int m_hitID {0}
 
int m_channel {0}
 
double m_hitToF {0}
 

Detailed Description

Definition at line 12 of file TGCASDOut.h.

Constructor & Destructor Documentation

◆ TGCASDOut() [1/2]

LVL1TGCTrigger::TGCASDOut::TGCASDOut ( )
default

◆ TGCASDOut() [2/2]

LVL1TGCTrigger::TGCASDOut::TGCASDOut ( TGCReadoutIndex  tgcrindex,
TGCSignalType  sigtype = WIRE,
int  id = -1,
double  tof = 0. 
)

Definition at line 13 of file TGCASDOut.cxx.

15  : m_tgcReadoutIndex(tgcrindex),
16  m_signalType(sigtype), m_hitID(id), m_hitToF(tof)
17 {
18 }

Member Function Documentation

◆ GetChannel()

int LVL1TGCTrigger::TGCASDOut::GetChannel ( ) const
inline

Definition at line 36 of file TGCASDOut.h.

36 { return m_channel; }

◆ GetHitID()

int LVL1TGCTrigger::TGCASDOut::GetHitID ( ) const
inline

Definition at line 35 of file TGCASDOut.h.

35 { return m_hitID; }

◆ GetHitToF()

double LVL1TGCTrigger::TGCASDOut::GetHitToF ( ) const
inline

Definition at line 37 of file TGCASDOut.h.

37 { return m_hitToF; }

◆ GetSignalType()

TGCSignalType LVL1TGCTrigger::TGCASDOut::GetSignalType ( ) const
inline

Definition at line 34 of file TGCASDOut.h.

34 { return m_signalType; }

◆ GetTGCReadoutIndex()

TGCReadoutIndex LVL1TGCTrigger::TGCASDOut::GetTGCReadoutIndex ( ) const
inline

Definition at line 33 of file TGCASDOut.h.

33 { return m_tgcReadoutIndex; }

◆ operator!=()

int LVL1TGCTrigger::TGCASDOut::operator!= ( const TGCASDOut right) const
inline

Definition at line 26 of file TGCASDOut.h.

26 { return (this!=&right); }

◆ operator==()

int LVL1TGCTrigger::TGCASDOut::operator== ( const TGCASDOut right) const
inline

Definition at line 25 of file TGCASDOut.h.

25 { return (this==&right); }

◆ Print()

void LVL1TGCTrigger::TGCASDOut::Print ( ) const

Definition at line 29 of file TGCASDOut.cxx.

30 {
31  const char* const strsig[3]= { "N/A", "Wire", "Strip" };
32 
34  std::cout << "::" << std::setw(9) << strsig[m_signalType]
35  << ":: ID=" << std::setw(3) << m_hitID
36  << ", tof=" << std::setw(5) << std::setprecision(1) << m_hitToF/Gaudi::Units::ns << "ns"
37  << std::setprecision(6) << std::endl;
38 }

◆ SetChannel()

void LVL1TGCTrigger::TGCASDOut::SetChannel ( int  ch)

◆ SetParams()

void LVL1TGCTrigger::TGCASDOut::SetParams ( TGCSignalType  signal_type,
int  id,
double  tof 
)

Definition at line 21 of file TGCASDOut.cxx.

22 {
23  m_signalType= signal_type;
24  m_hitID= id;
25  m_hitToF= tof;
26 }

Member Data Documentation

◆ m_channel

int LVL1TGCTrigger::TGCASDOut::m_channel {0}
protected

Definition at line 17 of file TGCASDOut.h.

◆ m_hitID

int LVL1TGCTrigger::TGCASDOut::m_hitID {0}
protected

Definition at line 16 of file TGCASDOut.h.

◆ m_hitToF

double LVL1TGCTrigger::TGCASDOut::m_hitToF {0}
protected

Definition at line 18 of file TGCASDOut.h.

◆ m_signalType

TGCSignalType LVL1TGCTrigger::TGCASDOut::m_signalType {WIRE}
protected

Definition at line 15 of file TGCASDOut.h.

◆ m_tgcReadoutIndex

TGCReadoutIndex LVL1TGCTrigger::TGCASDOut::m_tgcReadoutIndex
protected

Definition at line 14 of file TGCASDOut.h.


The documentation for this class was generated from the following files:
LVL1TGCTrigger::TGCASDOut::m_channel
int m_channel
Definition: TGCASDOut.h:17
LVL1TGCTrigger::TGCASDOut::m_signalType
TGCSignalType m_signalType
Definition: TGCASDOut.h:15
LVL1TGCTrigger::TGCASDOut::m_hitToF
double m_hitToF
Definition: TGCASDOut.h:18
LVL1TGCTrigger::TGCASDOut::m_tgcReadoutIndex
TGCReadoutIndex m_tgcReadoutIndex
Definition: TGCASDOut.h:14
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
LVL1TGCTrigger::TGCReadoutIndex::Print
void Print() const
Definition: TGCReadoutIndex.cxx:28
python.SystemOfUnits.ns
int ns
Definition: SystemOfUnits.py:130
LVL1TGCTrigger::TGCASDOut::m_hitID
int m_hitID
Definition: TGCASDOut.h:16