|
ATLAS Offline Software
|
Go to the documentation of this file.
10 const std::string&
name,
17 return StatusCode::SUCCESS;
23 return name.find(
"TE") == 0 or
name.find(
"XE") == 0 or
name.find(
"XS") == 0;
27 m_allMETChains.insert( th2chains.second.begin(), th2chains.second.end() );
30 return StatusCode::SUCCESS;
44 std::optional<ThrVecRef> xeThresholds;
45 std::optional<ThrVecRef> teThresholds;
46 std::optional<ThrVecRef> xsThresholds;
50 thresholds.insert(thresholds.end(), xeThresholds.value().get().cbegin(), xeThresholds.value().get().cend());
51 thresholds.insert(thresholds.end(), teThresholds.value().get().cbegin(), teThresholds.value().get().cend());
52 thresholds.insert(thresholds.end(), xsThresholds.value().get().cbegin(), xsThresholds.value().get().cend());
58 std::inserter(activeMETchains, activeMETchains.end()));
60 ATH_MSG_DEBUG(
"Unpacking MET RoI for " << activeMETchains.size() <<
" chains");
64 for (
const auto&
th: thresholds) {
72 bool foundMETRoI =
false;
73 const std::vector<ROIB::JetEnergyResult>& jetEnergyResult = roib.
jetEnergyResult();
85 if ( (not activeMETchains.empty()) and not foundMETRoI) {
86 ATH_MSG_WARNING(
"" << activeMETchains.size() <<
" active MET chains while missing MET RoI" );
88 return StatusCode::SUCCESS;
Class holding the LVL1 RoIB result build by the RoIBuilder.
const std::string & hltSeedingNodeName()
const std::vector< JetEnergyResult > & jetEnergyResult() const
Gets the jet/energy part of the L1 RDO.
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
const std::string & initialRoIString()
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
#define ATH_MSG_WARNING(x)
std::set< HLT::Identifier > IDSet
Set * set_intersection(Set *set1, Set *set2)
Perform an intersection of two sets.
TrigT1CaloDefs::RoIType roiType(unsigned int word) const
Override base method - allows us to handle both Run 1 & Run 2 data for JEP (up to a point)