ATLAS Offline Software
Loading...
Searching...
No Matches
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):
8
9// Local include(s):
11
12namespace xAOD {
13
18
20 setRoIWord )
21
23
24 return ( roiWord() & 0xf );
25 }
26
29 names( "thrNames" );
30
31 void JetEtRoI_v1::addThreshold( const std::string& name ) {
32
33 names( *this ).push_back( name );
34 return;
35 }
36
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
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
AuxElement()
Default constructor.
Class describing a LVL1 jet-ET "RoI".
Definition JetEtRoI_v1.h:35
uint32_t thrPattern() const
Helper function accessing the threshold pattern in the RoI word.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed.
void addThreshold(const std::string &name)
Add a new threshold that was passed.
void clearThresholds()
Remove all the passed thresholds.
uint32_t roiWord() const
The RoI word describing the JetET thresholds passed.
JetEtRoI_v1()
Default constructor.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< std::vector< std::string > > names("thrNames")
Accessor for the names of the passed thresholds.
setEventNumber uint32_t