|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
19 declareInterface<IDataRetriever>(
this);
38 DataVect thrNumber; thrNumber.reserve(nRoIs);
39 DataVect thrName; thrName.reserve(nRoIs);
47 LVL1_ROI::muons_type::const_iterator itMUe = (roi->
getMuonROIs()).
end();
49 for (; itMU != itMUe; ++itMU){
50 phi.push_back(
DataType( itMU->getPhi()));
51 eta.push_back(
DataType( itMU->getEta()));
54 thrNumber.push_back(
DataType( itMU->getThrNumber()));
57 std::string str_thrName = itMU->getThrName();
58 if (str_thrName ==
""){ str_thrName =
"empty"; };
59 thrName.push_back(
DataType( str_thrName ));
68 myDataMap[
"phi"] = phi;
69 myDataMap[
"eta"] = eta;
70 myDataMap[
"energy"] =
energy;
72 myDataMap[
"thrNumber"] = thrNumber;
73 myDataMap[
"thrName"] = thrName;
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
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
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::map< std::string, DataVect > DataMap
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< LVL1_ROI > m_sgKey
The storegate key for the LVL1 Muon RoIs.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
TrigMuonROIRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual std::string dataTypeName() const
Return the name of the data type.