 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
22 declareInterface<IDataRetriever>(
this);
25 "Storegate key for TrigEMClusters");
37 return StatusCode::SUCCESS;
39 int noClu = tec->
size();
48 DataVect idVec; idVec.reserve(noClu);
55 tagCells =
"cells multiple=\"1.0\"";
58 for (; cluster != tec->
end(); ++cluster){
60 eta.push_back(
DataType((*cluster)->eta()));
61 phi.push_back(
DataType((*cluster)->phi()));
69 myDataMap[
"phi"] = phi;
70 myDataMap[
"eta"] = eta;
71 myDataMap[
"id"] = idVec;
72 myDataMap[tagCells] =
cells;
virtual std::string dataTypeName() const
Return the name of the data type.
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
std::string m_sgKey
The storegate key for the TrigEMClusters.
bool msgLvl(const MSG::Level lvl) const
std::map< std::string, DataVect > DataMap
Container from TrigEMCluster type objects.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
setRawEt setRawPhi nCells
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
TrigEMClusterRetriever(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.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
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.