ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1TGCTrigger::TGCBIDOut Class Reference

#include <TGCBIDOut.h>

Inheritance diagram for LVL1TGCTrigger::TGCBIDOut:
Collaboration diagram for LVL1TGCTrigger::TGCBIDOut:

Public Member Functions

 TGCBIDOut ()
 TGCBIDOut (const TGCASDOut *ASDOut)
virtual ~TGCBIDOut ()=default
void setBid (int bidIn)
int getBid () const
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)
const 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}

Private Attributes

int m_bid

Detailed Description

Definition at line 12 of file TGCBIDOut.h.

Constructor & Destructor Documentation

◆ TGCBIDOut() [1/2]

LVL1TGCTrigger::TGCBIDOut::TGCBIDOut ( )

Definition at line 9 of file TGCBIDOut.cxx.

◆ TGCBIDOut() [2/2]

LVL1TGCTrigger::TGCBIDOut::TGCBIDOut ( const TGCASDOut * ASDOut)

Definition at line 14 of file TGCBIDOut.cxx.

14 :TGCASDOut(*ASDOut),m_bid(0)
15 {
16 }

◆ ~TGCBIDOut()

virtual LVL1TGCTrigger::TGCBIDOut::~TGCBIDOut ( )
virtualdefault

Member Function Documentation

◆ getBid()

int LVL1TGCTrigger::TGCBIDOut::getBid ( ) const
inline

Definition at line 21 of file TGCBIDOut.h.

21{ return m_bid;};

◆ GetChannel()

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

Definition at line 36 of file TGCASDOut.h.

36{ return m_channel; }

◆ GetHitID()

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

Definition at line 35 of file TGCASDOut.h.

35{ return m_hitID; }

◆ GetHitToF()

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

Definition at line 37 of file TGCASDOut.h.

37{ return m_hitToF; }

◆ GetSignalType()

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

Definition at line 34 of file TGCASDOut.h.

34{ return m_signalType; }
TGCSignalType m_signalType
Definition TGCASDOut.h:15

◆ GetTGCReadoutIndex()

const TGCReadoutIndex & LVL1TGCTrigger::TGCASDOut::GetTGCReadoutIndex ( ) const
inlineinherited

Definition at line 33 of file TGCASDOut.h.

33{ return m_tgcReadoutIndex; }
TGCReadoutIndex m_tgcReadoutIndex
Definition TGCASDOut.h:14

◆ operator!=()

int LVL1TGCTrigger::TGCASDOut::operator!= ( const TGCASDOut & right) const
inlineinherited

Definition at line 26 of file TGCASDOut.h.

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

◆ operator==()

int LVL1TGCTrigger::TGCASDOut::operator== ( const TGCASDOut & right) const
inlineinherited

Definition at line 25 of file TGCASDOut.h.

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

◆ Print()

void LVL1TGCTrigger::TGCASDOut::Print ( ) const
inherited

Definition at line 29 of file TGCASDOut.cxx.

30{
31 const char* const strsig[3]= { "N/A", "Wire", "Strip" };
32
33 m_tgcReadoutIndex.Print();
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}

◆ setBid()

void LVL1TGCTrigger::TGCBIDOut::setBid ( int bidIn)
inline

Definition at line 20 of file TGCBIDOut.h.

20{ m_bid=bidIn;};

◆ SetChannel()

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

◆ SetParams()

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

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_bid

int LVL1TGCTrigger::TGCBIDOut::m_bid
private

Definition at line 24 of file TGCBIDOut.h.

◆ m_channel

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

Definition at line 17 of file TGCASDOut.h.

17{0}; // index in a ASD board

◆ m_hitID

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

Definition at line 16 of file TGCASDOut.h.

16{0}; // index in a chamber

◆ m_hitToF

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

Definition at line 18 of file TGCASDOut.h.

18{0};

◆ m_signalType

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

Definition at line 15 of file TGCASDOut.h.

◆ m_tgcReadoutIndex

TGCReadoutIndex LVL1TGCTrigger::TGCASDOut::m_tgcReadoutIndex
protectedinherited

Definition at line 14 of file TGCASDOut.h.


The documentation for this class was generated from the following files: