ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
void setValue (int value)
 Set the multiplicity of the threshold. More...
 
unsigned int startBit () const
 Get the start position of the threshold. More...
 
void setStartBit (unsigned int start)
 Set the start position of the threshold. More...
 
unsigned int endBit () const
 Get the end position of the threshold. More...
 
void setEndBit (unsigned int end)
 Set the end position of the threshold. More...
 

Private Attributes

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

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  :
8  m_name(name)
9 {}

◆ ~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 }

◆ 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.

40  {
41  m_end_bit = end;
42 }

◆ 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 }

◆ 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 }

◆ 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.

◆ m_name

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

Definition at line 43 of file CTPTriggerThreshold.h.

◆ m_start_bit

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

start position of threshold

Definition at line 45 of file CTPTriggerThreshold.h.

◆ m_value

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

multiplicity of threshold

Definition at line 44 of file CTPTriggerThreshold.h.


The documentation for this class was generated from the following files:
LVL1CTP::CTPTriggerThreshold::m_value
int m_value
multiplicity of threshold
Definition: CTPTriggerThreshold.h:44
mergePhysValFiles.start
start
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:14
LVL1CTP::CTPTriggerThreshold::name
const std::string & name() const
Definition: CTPTriggerThreshold.h:24
LVL1CTP::CTPTriggerThreshold::value
int value() const
Get multiplicity of the threshold.
Definition: CTPTriggerThreshold.cxx:15
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
LVL1CTP::CTPTriggerThreshold::m_end_bit
unsigned int m_end_bit
end position of threshold
Definition: CTPTriggerThreshold.h:46
LVL1CTP::CTPTriggerThreshold::m_name
std::string m_name
Definition: CTPTriggerThreshold.h:43
LVL1CTP::CTPTriggerThreshold::m_start_bit
unsigned int m_start_bit
start position of threshold
Definition: CTPTriggerThreshold.h:45