ATLAS Offline Software
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 
12 namespace xAOD {
13 
15  : SG::AuxElement() {
16 
17  }
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
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:66
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
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
Class describing a LVL1 jet-ET "RoI".
Definition: JetEtRoI_v1.h:35
xAOD::JetEtRoI_v1::roiWord
uint32_t roiWord() const
The RoI word describing the JetET thresholds passed.
xAOD::JetEtRoI_v1::thrPattern
uint32_t thrPattern() const
Helper function accessing the threshold pattern in the RoI word.
xAOD::JetEtRoI_v1::JetEtRoI_v1
JetEtRoI_v1()
Default constructor.
Definition: JetEtRoI_v1.cxx:14
xAOD::JetEtRoI_v1::clearThresholds
void clearThresholds()
Remove all the passed thresholds.
Definition: JetEtRoI_v1.cxx:37
JetEtRoI_v1.h
xAOD::JetEtRoI_v1::addThreshold
void addThreshold(const std::string &name)
Add a new threshold that was passed.