9#include "CLHEP/Units/SystemOfUnits.h"
21 declareInterface<IDataRetriever>(
this);
44 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"No LVL1EmTauROIs found in SG " <<
endmsg;
45 return StatusCode::SUCCESS;
47 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"Found LVL1EmTauROIs in SG ! " <<
endmsg;
54 for (; itEM != itEMe; ++itEM)
59 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"xAOD EmTauRoI #" << counter++
60 <<
", eta: " << (*itEM)->eta() <<
", phi: " << (*itEM)->phi() <<
endmsg;
70 thrPattern.push_back(
DataType( 0. ));
74 const auto nPhi =
phi.size();
75 myDataMap[
"energy"] = energy;
76 myDataMap[
"phi"] = std::move(
phi);
77 myDataMap[
"eta"] = std::move(
eta);
78 myDataMap[
"energy"] = std::move(energy);
79 myDataMap[
"energyEM"] = std::move(energyEM);
80 myDataMap[
"energyTAU"] = std::move(energyTAU);
81 myDataMap[
"roiWord"] = std::move(roiWord);
82 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.
const std::string m_typeName
The data type that is generated by this retriever.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
xAODEmTauROIRetriever(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.
EmTauRoIContainer_v2 EmTauRoIContainer