|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
22 declareInterface<IDataRetriever>(
this);
25 "Storegate key for ROIs incl MuonROIs");
37 return StatusCode::SUCCESS;
46 DataVect thrNumber; thrNumber.reserve(noRois);
47 DataVect thrName; thrName.reserve(noRois);
52 LVL1_ROI::muons_type::const_iterator itMUe = (roi->
getMuonROIs()).
end();
54 for (; itMU != itMUe; ++itMU){
55 phi.push_back(
DataType( itMU->phi()));
56 eta.push_back(
DataType( itMU->eta()));
58 thrNumber.push_back(
DataType( itMU->getThrNumber()));
61 std::string thisThrName = itMU->getThrName();
62 if (thisThrName ==
""){ thisThrName =
"empty"; };
63 thrName.push_back(
DataType( thisThrName ));
70 myDataMap[
"phi"] = phi;
71 myDataMap[
"eta"] = eta;
73 myDataMap[
"thrNumber"] = thrNumber;
74 myDataMap[
"thrName"] = thrName;
76 myDataMap[
"energy"] =
energy;
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
std::string m_sgKey
The storegate key for the MuonROIs.
virtual std::string dataTypeName() const
Return the name of the data type.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
bool msgLvl(const MSG::Level lvl) const
std::map< std::string, DataVect > DataMap
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
MuonROIRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Top level AOD object storing LVL1 RoIs.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.