 |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "CLHEP/Units/SystemOfUnits.h"
19 declareInterface<IDataRetriever>(
this);
22 "Storegate key for TrigEMClusters");
34 return StatusCode::SUCCESS;
36 int noClu = tec->
size();
45 DataVect idVec; idVec.reserve(noClu);
52 tagCells =
"cells multiple=\"1.0\"";
55 for (; cluster != tec->
end(); ++cluster){
65 const auto n =
phi.size();
66 myDataMap[
"et"] = std::move(
et);
67 myDataMap[
"phi"] = std::move(
phi);
68 myDataMap[
"eta"] = std::move(
eta);
69 myDataMap[
"id"] = std::move(idVec);
70 myDataMap[tagCells] = std::move(
cells);
71 myDataMap[
"numCells"] = std::move(
numCells);
virtual std::string dataTypeName() const
Return the name of the data type.
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
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.