ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace LVL1CTP {
12
16
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
unsigned int m_start_bit
start position of threshold
unsigned int m_end_bit
end position of threshold
unsigned int endBit() const
Get the end position of the threshold.
const std::string & name() const
unsigned int startBit() const
Get the start position of the threshold.
int value() const
Get multiplicity of the threshold.
int m_value
multiplicity of threshold
void setStartBit(unsigned int start)
Set the start position of the threshold.
CTPTriggerThreshold(const std::string &name)
void setEndBit(unsigned int end)
Set the end position of the threshold.
void setValue(int value)
Set the multiplicity of the threshold.