ATLAS Offline Software
CTPTriggerThreshold.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TRIGT1CTP_CTPTRIGGERTHRESHOLD_H
7 #define TRIGT1CTP_CTPTRIGGERTHRESHOLD_H
8 
9 #include <string>
10 
11 namespace LVL1CTP {
12 
18 
19  public:
20 
21  CTPTriggerThreshold(const std::string & name);
23 
24  const std::string & name() const
25  { return m_name; }
26 
28  int value() const;
30  void setValue( int value );
31 
33  unsigned int startBit() const;
35  void setStartBit( unsigned int start );
36 
38  unsigned int endBit() const;
40  void setEndBit( unsigned int end );
41 
42  private:
43  std::string m_name {""};
44  int m_value {-1};
45  unsigned int m_start_bit {0};
46  unsigned int m_end_bit {0};
47 
48  };
49 
50 }
51 
52 #endif
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::endBit
unsigned int endBit() const
Get the end position of the threshold.
Definition: CTPTriggerThreshold.cxx:35
LVL1CTP::CTPTriggerThreshold::startBit
unsigned int startBit() const
Get the start position of the threshold.
Definition: CTPTriggerThreshold.cxx:25
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::setValue
void setValue(int value)
Set the multiplicity of the threshold.
Definition: CTPTriggerThreshold.cxx:20
LVL1CTP::CTPTriggerThreshold::m_name
std::string m_name
Definition: CTPTriggerThreshold.h:43
LVL1CTP::CTPTriggerThreshold::CTPTriggerThreshold
CTPTriggerThreshold(const std::string &name)
Definition: CTPTriggerThreshold.cxx:7
LVL1CTP::CTPTriggerThreshold::setStartBit
void setStartBit(unsigned int start)
Set the start position of the threshold.
Definition: CTPTriggerThreshold.cxx:30
LVL1CTP::CTPTriggerThreshold
Helper class holding trigger threshold multiplicity.
Definition: CTPTriggerThreshold.h:17
LVL1CTP::CTPTriggerThreshold::m_start_bit
unsigned int m_start_bit
start position of threshold
Definition: CTPTriggerThreshold.h:45
LVL1CTP::CTPTriggerThreshold::setEndBit
void setEndBit(unsigned int end)
Set the end position of the threshold.
Definition: CTPTriggerThreshold.cxx:40
LVL1CTP
Definition: Lvl1ResultAccessTool.h:20
LVL1CTP::CTPTriggerThreshold::~CTPTriggerThreshold
~CTPTriggerThreshold()
Definition: CTPTriggerThreshold.cxx:11