9#include "CLHEP/Units/SystemOfUnits.h"
21 declareInterface<IDataRetriever>(
this);
42 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"No LVL1JetROIs found in SG " <<
endmsg;
43 return StatusCode::SUCCESS;
45 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"Found LVL1JetROIs in SG ! " <<
endmsg;
52 for (; itJET != itJETe; ++itJET)
57 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"xAOD JetROI #" << counter++
58 <<
", eta: " << (*itJET)->eta() <<
", phi: " << (*itJET)->phi() <<
endmsg;
66 thrPattern.push_back(
DataType( 0. ));
78 const auto nPhi =
phi.size();
79 myDataMap[
"phi"] = std::move(
phi);
80 myDataMap[
"eta"] = std::move(
eta);
81 myDataMap[
"energy"] = std::move(energy);
82 myDataMap[
"roiWord"] = std::move(roiWord);
83 myDataMap[
"thrPattern"] = std::move(thrPattern);
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
ServiceHandle< StoreGateSvc > & evtStore()
bool msgLvl(const MSG::Level lvl) const
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
const std::string m_typeName
The data type that is generated by this retriever.
xAODJetROIRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
std::map< std::string, DataVect > DataMap
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
JetRoIContainer_v2 JetRoIContainer