ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1CTP::CTPTriggerThreshold Class Reference

Helper class holding trigger threshold multiplicity. More...

#include <CTPTriggerThreshold.h>

Collaboration diagram for LVL1CTP::CTPTriggerThreshold:

Public Member Functions

 CTPTriggerThreshold (const std::string &name)
 ~CTPTriggerThreshold ()
const std::string & name () const
int value () const
 Get multiplicity of the threshold.
void setValue (int value)
 Set the multiplicity of the threshold.
unsigned int startBit () const
 Get the start position of the threshold.
void setStartBit (unsigned int start)
 Set the start position of the threshold.
unsigned int endBit () const
 Get the end position of the threshold.
void setEndBit (unsigned int end)
 Set the end position of the threshold.

Private Attributes

std::string m_name {""}
int m_value {-1}
 multiplicity of threshold
unsigned int m_start_bit {0}
 start position of threshold
unsigned int m_end_bit {0}
 end position of threshold

Detailed Description

Helper class holding trigger threshold multiplicity.

Definition at line 17 of file CTPTriggerThreshold.h.

Constructor & Destructor Documentation

◆ CTPTriggerThreshold()

LVL1CTP::CTPTriggerThreshold::CTPTriggerThreshold ( const std::string & name)

Definition at line 7 of file CTPTriggerThreshold.cxx.

7 :
9{}
const std::string & name() const

◆ ~CTPTriggerThreshold()

LVL1CTP::CTPTriggerThreshold::~CTPTriggerThreshold ( )

Definition at line 11 of file CTPTriggerThreshold.cxx.

12{}

Member Function Documentation

◆ endBit()

unsigned int LVL1CTP::CTPTriggerThreshold::endBit ( ) const

Get the end position of the threshold.

Definition at line 35 of file CTPTriggerThreshold.cxx.

35 {
36 return m_end_bit;
37}
unsigned int m_end_bit
end position of threshold

◆ name()

const std::string & LVL1CTP::CTPTriggerThreshold::name ( ) const
inline

Definition at line 24 of file CTPTriggerThreshold.h.

25 { return m_name; }

◆ setEndBit()

void LVL1CTP::CTPTriggerThreshold::setEndBit ( unsigned int end)

Set the end position of the threshold.

Definition at line 40 of file CTPTriggerThreshold.cxx.

◆ setStartBit()

void LVL1CTP::CTPTriggerThreshold::setStartBit ( unsigned int start)

Set the start position of the threshold.

Definition at line 30 of file CTPTriggerThreshold.cxx.

30 {
32}
unsigned int m_start_bit
start position of threshold

◆ setValue()

void LVL1CTP::CTPTriggerThreshold::setValue ( int value)

Set the multiplicity of the threshold.

Definition at line 20 of file CTPTriggerThreshold.cxx.

20 {
21 m_value = value;
22}
int value() const
Get multiplicity of the threshold.
int m_value
multiplicity of threshold

◆ startBit()

unsigned int LVL1CTP::CTPTriggerThreshold::startBit ( ) const

Get the start position of the threshold.

Definition at line 25 of file CTPTriggerThreshold.cxx.

25 {
26 return m_start_bit;
27}

◆ value()

int LVL1CTP::CTPTriggerThreshold::value ( ) const

Get multiplicity of the threshold.

Definition at line 15 of file CTPTriggerThreshold.cxx.

15 {
16 return m_value;
17}

Member Data Documentation

◆ m_end_bit

unsigned int LVL1CTP::CTPTriggerThreshold::m_end_bit {0}
private

end position of threshold

Definition at line 46 of file CTPTriggerThreshold.h.

46{0};

◆ m_name

std::string LVL1CTP::CTPTriggerThreshold::m_name {""}
private

Definition at line 43 of file CTPTriggerThreshold.h.

43{""};

◆ m_start_bit

unsigned int LVL1CTP::CTPTriggerThreshold::m_start_bit {0}
private

start position of threshold

Definition at line 45 of file CTPTriggerThreshold.h.

45{0};

◆ m_value

int LVL1CTP::CTPTriggerThreshold::m_value {-1}
private

multiplicity of threshold

Definition at line 44 of file CTPTriggerThreshold.h.

44{-1};

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