ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
Muon::NSW_TrigRawDataSegment Class Reference

#include <NSW_TrigRawDataSegment.h>

Collaboration diagram for Muon::NSW_TrigRawDataSegment:

Public Member Functions

 NSW_TrigRawDataSegment ()
 
 NSW_TrigRawDataSegment (uint8_t deltaTheta, uint8_t phiIndex, uint8_t rIndex, uint8_t spare, bool lowRes, bool phiRes, bool monitor)
 
 NSW_TrigRawDataSegment (uint8_t deltaTheta, uint8_t phiIndex, uint8_t rIndex, bool lowRes, bool phiRes)
 
 ~NSW_TrigRawDataSegment ()=default
 
uint8_t deltaTheta () const
 
uint8_t phiIndex () const
 
uint8_t rIndex () const
 
uint8_t spare () const
 
bool lowRes () const
 
bool phiRes () const
 
bool monitor () const
 
const std::vector< std::pair< uint8_t, uint16_t > > & channels () const
 
void setDeltaTheta (uint8_t deltaTheta)
 
void setPhiIndex (uint8_t phiIndex)
 
void setRIndex (uint8_t rIndex)
 
void setSpare (uint8_t spare)
 
void setLowRes (bool lowRes)
 
void setPhiRes (bool phiRes)
 
void setMonitor (bool monitor)
 
void addChannel (uint8_t layer, uint16_t channel)
 

Private Attributes

uint8_t m_deltaTheta
 
uint8_t m_phiIndex
 
uint8_t m_rIndex
 
uint8_t m_spare
 
bool m_lowRes
 
bool m_phiRes
 
bool m_monitor
 
std::vector< std::pair< uint8_t, uint16_t > > m_channels {}
 vector of trigger channels, defined as layer / channel More...
 

Friends

class NSW_TrigRawDataSegmentCnv_p1
 

Detailed Description

Definition at line 14 of file NSW_TrigRawDataSegment.h.

Constructor & Destructor Documentation

◆ NSW_TrigRawDataSegment() [1/3]

Muon::NSW_TrigRawDataSegment::NSW_TrigRawDataSegment ( )

Definition at line 7 of file NSW_TrigRawDataSegment.cxx.

7  :
8  m_deltaTheta(0),
9  m_phiIndex(0),
10  m_rIndex(0),
11  m_spare(0),
12  m_lowRes(false),
13  m_phiRes(false),
14  m_monitor(false)
15 { }

◆ NSW_TrigRawDataSegment() [2/3]

Muon::NSW_TrigRawDataSegment::NSW_TrigRawDataSegment ( uint8_t  deltaTheta,
uint8_t  phiIndex,
uint8_t  rIndex,
uint8_t  spare,
bool  lowRes,
bool  phiRes,
bool  monitor 
)

Definition at line 17 of file NSW_TrigRawDataSegment.cxx.

17  :
21  m_spare(spare),
25 { }

◆ NSW_TrigRawDataSegment() [3/3]

Muon::NSW_TrigRawDataSegment::NSW_TrigRawDataSegment ( uint8_t  deltaTheta,
uint8_t  phiIndex,
uint8_t  rIndex,
bool  lowRes,
bool  phiRes 
)

Definition at line 27 of file NSW_TrigRawDataSegment.cxx.

27  :
31  m_spare(0),
34  m_monitor(0)
35 { }

◆ ~NSW_TrigRawDataSegment()

Muon::NSW_TrigRawDataSegment::~NSW_TrigRawDataSegment ( )
default

Member Function Documentation

◆ addChannel()

void Muon::NSW_TrigRawDataSegment::addChannel ( uint8_t  layer,
uint16_t  channel 
)
inline

Definition at line 45 of file NSW_TrigRawDataSegment.h.

45 { m_channels.emplace_back(layer,channel); }

◆ channels()

const std::vector< std::pair<uint8_t,uint16_t> >& Muon::NSW_TrigRawDataSegment::channels ( ) const
inline

Definition at line 34 of file NSW_TrigRawDataSegment.h.

34 {return m_channels;}

◆ deltaTheta()

uint8_t Muon::NSW_TrigRawDataSegment::deltaTheta ( ) const
inline

Definition at line 25 of file NSW_TrigRawDataSegment.h.

25 {return m_deltaTheta;}

◆ lowRes()

bool Muon::NSW_TrigRawDataSegment::lowRes ( ) const
inline

Definition at line 30 of file NSW_TrigRawDataSegment.h.

30 {return m_lowRes;}

◆ monitor()

bool Muon::NSW_TrigRawDataSegment::monitor ( ) const
inline

Definition at line 32 of file NSW_TrigRawDataSegment.h.

32 {return m_monitor;}

◆ phiIndex()

uint8_t Muon::NSW_TrigRawDataSegment::phiIndex ( ) const
inline

Definition at line 26 of file NSW_TrigRawDataSegment.h.

26 {return m_phiIndex;}

◆ phiRes()

bool Muon::NSW_TrigRawDataSegment::phiRes ( ) const
inline

Definition at line 31 of file NSW_TrigRawDataSegment.h.

31 {return m_phiRes;}

◆ rIndex()

uint8_t Muon::NSW_TrigRawDataSegment::rIndex ( ) const
inline

Definition at line 27 of file NSW_TrigRawDataSegment.h.

27 {return m_rIndex;}

◆ setDeltaTheta()

void Muon::NSW_TrigRawDataSegment::setDeltaTheta ( uint8_t  deltaTheta)
inline

Definition at line 36 of file NSW_TrigRawDataSegment.h.

◆ setLowRes()

void Muon::NSW_TrigRawDataSegment::setLowRes ( bool  lowRes)
inline

Definition at line 41 of file NSW_TrigRawDataSegment.h.

◆ setMonitor()

void Muon::NSW_TrigRawDataSegment::setMonitor ( bool  monitor)
inline

Definition at line 43 of file NSW_TrigRawDataSegment.h.

◆ setPhiIndex()

void Muon::NSW_TrigRawDataSegment::setPhiIndex ( uint8_t  phiIndex)
inline

Definition at line 37 of file NSW_TrigRawDataSegment.h.

◆ setPhiRes()

void Muon::NSW_TrigRawDataSegment::setPhiRes ( bool  phiRes)
inline

Definition at line 42 of file NSW_TrigRawDataSegment.h.

◆ setRIndex()

void Muon::NSW_TrigRawDataSegment::setRIndex ( uint8_t  rIndex)
inline

Definition at line 38 of file NSW_TrigRawDataSegment.h.

38 { m_rIndex=rIndex; }

◆ setSpare()

void Muon::NSW_TrigRawDataSegment::setSpare ( uint8_t  spare)
inline

Definition at line 39 of file NSW_TrigRawDataSegment.h.

39 {m_spare=spare; }

◆ spare()

uint8_t Muon::NSW_TrigRawDataSegment::spare ( ) const
inline

Definition at line 28 of file NSW_TrigRawDataSegment.h.

28 {return m_spare;}

Friends And Related Function Documentation

◆ NSW_TrigRawDataSegmentCnv_p1

friend class NSW_TrigRawDataSegmentCnv_p1
friend

Definition at line 16 of file NSW_TrigRawDataSegment.h.

Member Data Documentation

◆ m_channels

std::vector< std::pair<uint8_t,uint16_t> > Muon::NSW_TrigRawDataSegment::m_channels {}
private

vector of trigger channels, defined as layer / channel

Definition at line 60 of file NSW_TrigRawDataSegment.h.

◆ m_deltaTheta

uint8_t Muon::NSW_TrigRawDataSegment::m_deltaTheta
private

Definition at line 49 of file NSW_TrigRawDataSegment.h.

◆ m_lowRes

bool Muon::NSW_TrigRawDataSegment::m_lowRes
private

Definition at line 55 of file NSW_TrigRawDataSegment.h.

◆ m_monitor

bool Muon::NSW_TrigRawDataSegment::m_monitor
private

Definition at line 57 of file NSW_TrigRawDataSegment.h.

◆ m_phiIndex

uint8_t Muon::NSW_TrigRawDataSegment::m_phiIndex
private

Definition at line 50 of file NSW_TrigRawDataSegment.h.

◆ m_phiRes

bool Muon::NSW_TrigRawDataSegment::m_phiRes
private

Definition at line 56 of file NSW_TrigRawDataSegment.h.

◆ m_rIndex

uint8_t Muon::NSW_TrigRawDataSegment::m_rIndex
private

Definition at line 51 of file NSW_TrigRawDataSegment.h.

◆ m_spare

uint8_t Muon::NSW_TrigRawDataSegment::m_spare
private

Definition at line 53 of file NSW_TrigRawDataSegment.h.


The documentation for this class was generated from the following files:
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
Muon::NSW_TrigRawDataSegment::spare
uint8_t spare() const
Definition: NSW_TrigRawDataSegment.h:28
Muon::NSW_TrigRawDataSegment::m_rIndex
uint8_t m_rIndex
Definition: NSW_TrigRawDataSegment.h:51
Muon::NSW_TrigRawDataSegment::m_monitor
bool m_monitor
Definition: NSW_TrigRawDataSegment.h:57
Muon::NSW_TrigRawDataSegment::m_deltaTheta
uint8_t m_deltaTheta
Definition: NSW_TrigRawDataSegment.h:49
Muon::NSW_TrigRawDataSegment::lowRes
bool lowRes() const
Definition: NSW_TrigRawDataSegment.h:30
Muon::NSW_TrigRawDataSegment::m_lowRes
bool m_lowRes
Definition: NSW_TrigRawDataSegment.h:55
Muon::NSW_TrigRawDataSegment::m_phiIndex
uint8_t m_phiIndex
Definition: NSW_TrigRawDataSegment.h:50
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
Muon::NSW_TrigRawDataSegment::m_spare
uint8_t m_spare
Definition: NSW_TrigRawDataSegment.h:53
Muon::NSW_TrigRawDataSegment::phiRes
bool phiRes() const
Definition: NSW_TrigRawDataSegment.h:31
Muon::NSW_TrigRawDataSegment::phiIndex
uint8_t phiIndex() const
Definition: NSW_TrigRawDataSegment.h:26
Muon::NSW_TrigRawDataSegment::monitor
bool monitor() const
Definition: NSW_TrigRawDataSegment.h:32
Muon::NSW_TrigRawDataSegment::rIndex
uint8_t rIndex() const
Definition: NSW_TrigRawDataSegment.h:27
Muon::NSW_TrigRawDataSegment::deltaTheta
uint8_t deltaTheta() const
Definition: NSW_TrigRawDataSegment.h:25
Muon::NSW_TrigRawDataSegment::m_phiRes
bool m_phiRes
Definition: NSW_TrigRawDataSegment.h:56
Muon::NSW_TrigRawDataSegment::m_channels
std::vector< std::pair< uint8_t, uint16_t > > m_channels
vector of trigger channels, defined as layer / channel
Definition: NSW_TrigRawDataSegment.h:60