|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
26 declareInterface<IDataRetriever>(
this);
43 return StatusCode::SUCCESS;
47 int noRois = muonROIs->
size();
52 DataVect thrNumber; thrNumber.reserve(noRois);
53 DataVect thrName; thrName.reserve(noRois);
63 for (; itMU != itMUe; ++itMU)
65 phi.push_back(
DataType( (*itMU)->phi()) );
66 eta.push_back(
DataType( (*itMU)->eta()) );
69 thrNumber.push_back(
DataType( (*itMU)->getThrNumber()));
78 thrName.push_back(
DataType(
"n_a" ));
83 <<
", eta: " << (*itMU)->eta() <<
", phi: " << (*itMU)->phi() <<
endmsg;
102 myDataMap[
"phi"] = phi;
103 myDataMap[
"eta"] = eta;
104 myDataMap[
"energy"] =
energy;
105 myDataMap[
"roiWord"] =
roiWord;
106 myDataMap[
"thrNumber"] = thrNumber;
107 myDataMap[
"thrName"] = thrName;
109 myDataMap[
"energy"] =
energy;
Const iterator class for DataVector/DataList.
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
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
std::map< std::string, DataVect > DataMap
xAODMuonROIRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual std::string dataTypeName() const
Return the name of the data type.
::StatusCode StatusCode
StatusCode definition for legacy code.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.