ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigger
Root
JetEtRoI_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
// xAOD include(s):
7
#include "
xAODCore/AuxStoreAccessorMacros.h
"
8
9
// Local include(s):
10
#include "
xAODTrigger/versions/JetEtRoI_v1.h
"
11
12
namespace
xAOD
{
13
14
JetEtRoI_v1::JetEtRoI_v1
()
15
:
SG
::AuxElement() {
16
17
}
18
19
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
JetEtRoI_v1
,
uint32_t
,
roiWord
,
20
setRoIWord )
21
22
uint32_t
JetEtRoI_v1::thrPattern
()
const
{
23
24
return
(
roiWord
() & 0xf );
25
}
26
28
static
const
SG::AuxElement::Accessor< std::vector< std::string > >
29
names
(
"thrNames"
);
30
31
void
JetEtRoI_v1::addThreshold
(
const
std::string&
name
) {
32
33
names
( *this ).push_back(
name
);
34
return
;
35
}
36
37
void
JetEtRoI_v1::clearThresholds
() {
38
39
names
( *this ).clear();
40
return
;
41
}
42
43
const
std::vector< std::string >&
JetEtRoI_v1::thrNames
()
const
{
44
45
return
names
( *
this
);
46
}
47
48
}
// namespace xAOD
AuxStoreAccessorMacros.h
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Definition
AuxStoreAccessorMacros.h:36
JetEtRoI_v1.h
xAOD::JetEtRoI_v1
Class describing a LVL1 jet-ET "RoI".
Definition
JetEtRoI_v1.h:35
xAOD::JetEtRoI_v1::thrPattern
uint32_t thrPattern() const
Helper function accessing the threshold pattern in the RoI word.
xAOD::JetEtRoI_v1::thrNames
const std::vector< std::string > & thrNames() const
The names of the thresholds passed.
Definition
JetEtRoI_v1.cxx:43
xAOD::JetEtRoI_v1::addThreshold
void addThreshold(const std::string &name)
Add a new threshold that was passed.
xAOD::JetEtRoI_v1::clearThresholds
void clearThresholds()
Remove all the passed thresholds.
Definition
JetEtRoI_v1.cxx:37
xAOD::JetEtRoI_v1::roiWord
uint32_t roiWord() const
The RoI word describing the JetET thresholds passed.
xAOD::JetEtRoI_v1::JetEtRoI_v1
JetEtRoI_v1()
Default constructor.
Definition
JetEtRoI_v1.cxx:14
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::roiWord
roiWord
Definition
TrigMissingET_v1.cxx:36
xAOD::names
static const EventInfo_v1::Accessor< std::vector< std::string > > names("streamTagNames")
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
Generated on
for ATLAS Offline Software by
1.17.0