8#include <unordered_map>
20 ATH_MSG_DEBUG(
"Initialising RoIPEBInfoWriterTool/" << name());
28 return StatusCode::SUCCESS;
39 if ((*input.roiEL)->isFullscan()) {
41 if (not met_feature_vec.empty()) {
42 ATH_MSG_DEBUG(
"Ignoring MET leg passed to RoIPEBInfoWriterTool");
45 ATH_MSG_ERROR(
"Full-scan RoI passed as input to RoIPEBInfoWriterTool");
50 float eta = (*input.roiEL)->
eta();
56 <<
" - skipping this RoI");
60 etaMin = std::max(-
m_etaEdge.value(), etaMin);
61 etaMax = std::min(
m_etaEdge.value(), etaMax);
63 float phi = (*input.roiEL)->
phi();
70 std::vector<uint32_t> detROBs;
71 tool->lookup(ctx)->ROBIDList(roiForPEB, detROBs);
72 pebi.
robs.insert(detROBs.begin(),detROBs.end());
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
const std::string & featureString()
void findLinks(const Decision *start, const std::string &linkName, std::vector< LinkInfo< T > > &links, unsigned int behaviour=TrigDefs::allFeaturesOfType, std::set< const xAOD::TrigComposite * > *fullyExploredFrom=nullptr)
search back the TC links for the object of type T linked to the one of TC (recursively) Populates pro...
static const unsigned int lastFeatureOfType
Run 3 "enum". Only return the final feature along each route through the navigation.
Helper for azimuthal angle calculations.