ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfL1Data
TrigConfL1Data
TIP.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigConf_TIP
6
#define TrigConf_TIP
7
8
#include <string>
9
#include <stdint.h>
10
#include "
TrigConfL1Data/L1DataBaseclass.h
"
11
12
namespace
TrigConf
{
13
class
TIP
:
public
L1DataBaseclass
{
14
public
:
15
TIP
();
16
virtual
~TIP
()
override
=
default
;
17
18
// Accessors
19
20
const
std::string &
thresholdName
()
const
{
return
m_ThresholdName
;}
21
void
setThresholdName
(
const
std::string&
name
) {
m_ThresholdName
=
name
;}
22
23
uint16_t
slot
()
const
{
return
m_Slot
;}
24
void
setSlot
(
const
uint16_t&
id
) {
m_Slot
=
id
;}
25
26
uint16_t
connector
()
const
{
return
m_Connector
;}
27
void
setConnector
(
const
uint16_t&
id
) {
m_Connector
=
id
;}
28
29
uint16_t
tipNumber
()
const
{
return
m_TipNumber
;}
30
void
setTipNumber
(
const
uint16_t& tipnumber) {
m_TipNumber
= tipnumber;}
31
32
uint16_t
thresholdBit
()
const
{
return
m_ThresholdBit
;}
33
void
setThresholdBit
(
const
uint16_t& num) {
m_ThresholdBit
= num;}
34
35
uint16_t
cableBit
()
const
{
return
m_CableBit
;}
36
void
setCableBit
(
const
uint16_t& num) {
m_CableBit
= num;}
37
38
int
tmToTtId
()
const
{
return
m_TmToTtId
;}
39
void
setTmToTtId
(
const
int
& tmtottid){
m_TmToTtId
= tmtottid;}
40
41
int
triggerThresholdId
()
const
{
return
m_TriggerThresholdId
;}
42
void
setTriggerThresholdId
(
const
int
&
id
){
m_TriggerThresholdId
=
id
;}
43
44
int16_t
thresholdMapping
()
const
{
return
m_ThresholdMapping
;}
45
void
setThresholdMapping
(
const
int16_t& m){
m_ThresholdMapping
= m;}
46
47
bool
thresholdActive
()
const
{
return
m_ThresholdActive
;}
48
void
setThresholdActive
(
const
bool
&
a
){
m_ThresholdActive
=
a
;}
49
50
bool
isDirect
()
const
{
return
m_IsDirect
;}
51
void
setIsDirect
(
const
bool
&
a
) {
m_IsDirect
=
a
;}
52
53
int
clock
()
const
{
return
m_Clock
;}
54
void
setClock
(
const
int
&
clock
) {
m_Clock
=
clock
;}
55
56
virtual
void
print
(
const
std::string&
indent
=
""
,
unsigned
int
detail
=1)
const override
;
57
58
protected
:
59
std::string
m_ThresholdName
;
// the name of the corresponding threshold (can appear multiple times but with different thresholdBits)
60
uint16_t
m_Slot
;
61
uint16_t
m_Connector
;
62
uint16_t
m_TipNumber
;
// 0-159 for the PIT, 320-511 for the direct inputs
63
uint16_t
m_ThresholdBit
;
// a threshold uses multiple bits to encode the multiplicity
64
uint16_t
m_CableBit
;
65
int
m_TmToTtId
;
66
int
m_TriggerThresholdId
;
67
bool
m_ThresholdActive
;
68
int16_t
m_ThresholdMapping
;
69
bool
m_IsDirect
;
70
int
m_Clock
;
71
};
72
}
73
74
#endif
L1DataBaseclass.h
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
TrigConf::L1DataBaseclass::L1DataBaseclass
L1DataBaseclass()
Definition
L1DataBaseclass.h:24
TrigConf::TIP::TIP
TIP()
Definition
TIP.cxx:13
TrigConf::TIP::clock
int clock() const
Definition
TIP.h:53
TrigConf::TIP::m_ThresholdName
std::string m_ThresholdName
Definition
TIP.h:59
TrigConf::TIP::m_Connector
uint16_t m_Connector
Definition
TIP.h:61
TrigConf::TIP::isDirect
bool isDirect() const
Definition
TIP.h:50
TrigConf::TIP::connector
uint16_t connector() const
Definition
TIP.h:26
TrigConf::TIP::slot
uint16_t slot() const
Definition
TIP.h:23
TrigConf::TIP::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition
TIP.cxx:30
TrigConf::TIP::m_TipNumber
uint16_t m_TipNumber
Definition
TIP.h:62
TrigConf::TIP::setTmToTtId
void setTmToTtId(const int &tmtottid)
Definition
TIP.h:39
TrigConf::TIP::setThresholdName
void setThresholdName(const std::string &name)
Definition
TIP.h:21
TrigConf::TIP::setTriggerThresholdId
void setTriggerThresholdId(const int &id)
Definition
TIP.h:42
TrigConf::TIP::m_TriggerThresholdId
int m_TriggerThresholdId
Definition
TIP.h:66
TrigConf::TIP::setTipNumber
void setTipNumber(const uint16_t &tipnumber)
Definition
TIP.h:30
TrigConf::TIP::~TIP
virtual ~TIP() override=default
TrigConf::TIP::m_ThresholdActive
bool m_ThresholdActive
Definition
TIP.h:67
TrigConf::TIP::tipNumber
uint16_t tipNumber() const
Definition
TIP.h:29
TrigConf::TIP::setThresholdMapping
void setThresholdMapping(const int16_t &m)
Definition
TIP.h:45
TrigConf::TIP::setConnector
void setConnector(const uint16_t &id)
Definition
TIP.h:27
TrigConf::TIP::tmToTtId
int tmToTtId() const
Definition
TIP.h:38
TrigConf::TIP::m_ThresholdBit
uint16_t m_ThresholdBit
Definition
TIP.h:63
TrigConf::TIP::m_Slot
uint16_t m_Slot
Definition
TIP.h:60
TrigConf::TIP::thresholdName
const std::string & thresholdName() const
Definition
TIP.h:20
TrigConf::TIP::m_Clock
int m_Clock
Definition
TIP.h:70
TrigConf::TIP::m_CableBit
uint16_t m_CableBit
Definition
TIP.h:64
TrigConf::TIP::triggerThresholdId
int triggerThresholdId() const
Definition
TIP.h:41
TrigConf::TIP::setThresholdActive
void setThresholdActive(const bool &a)
Definition
TIP.h:48
TrigConf::TIP::setSlot
void setSlot(const uint16_t &id)
Definition
TIP.h:24
TrigConf::TIP::thresholdBit
uint16_t thresholdBit() const
Definition
TIP.h:32
TrigConf::TIP::m_TmToTtId
int m_TmToTtId
Definition
TIP.h:65
TrigConf::TIP::setThresholdBit
void setThresholdBit(const uint16_t &num)
Definition
TIP.h:33
TrigConf::TIP::cableBit
uint16_t cableBit() const
Definition
TIP.h:35
TrigConf::TIP::m_IsDirect
bool m_IsDirect
Definition
TIP.h:69
TrigConf::TIP::m_ThresholdMapping
int16_t m_ThresholdMapping
Definition
TIP.h:68
TrigConf::TIP::setClock
void setClock(const int &clock)
Definition
TIP.h:54
TrigConf::TIP::setCableBit
void setCableBit(const uint16_t &num)
Definition
TIP.h:36
TrigConf::TIP::setIsDirect
void setIsDirect(const bool &a)
Definition
TIP.h:51
TrigConf::TIP::thresholdMapping
int16_t thresholdMapping() const
Definition
TIP.h:44
TrigConf::TIP::thresholdActive
bool thresholdActive() const
Definition
TIP.h:47
TrigConf::TrigConfData::id
unsigned int id() const
Definition
TrigConfData.h:21
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition
TrigConfData.cxx:23
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
detail
Definition
extract_histogram_tag.cxx:14
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0