|
ATLAS Offline Software
|
Go to the documentation of this file.
19 declareInterface<IDataRetriever>(
this);
31 return StatusCode::SUCCESS;
45 for (containerIt=rpcContainer->
begin(); containerIt!=rpcContainer->
end(); ++containerIt) {
46 ndata += (*containerIt)->size();
53 DataVect lengthVec; lengthVec.reserve(ndata);
54 DataVect widthVec; widthVec.reserve(ndata);
55 DataVect idVec; idVec.reserve(ndata);
56 DataVect identifierVec; identifierVec.reserve(ndata);
59 for (containerIt=rpcContainer->
begin(); containerIt!=rpcContainer->
end(); ++containerIt) {
63 for (collectionIt=rpcCollection->
begin(); collectionIt!=rpcCollection->
end(); ++collectionIt) {
75 int measuresPhi =
m_idHelperSvc->rpcIdHelper().measuresPhi(
id);
76 double stripLength = element->
StripLength(measuresPhi);
77 double stripWidth = element->
StripWidth(measuresPhi);
85 idVec.push_back(
DataType(
id.get_compact() ));
94 myDataMap[
"length"] = lengthVec;
95 myDataMap[
"width"] = widthVec;
96 myDataMap[
"identifier"] = identifierVec;
97 myDataMap[
"id"] = idVec;
char data[hepevt_bytes_allocation_ATLAS]
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Const iterator class for DataVector/DataList.
double StripLength(bool measphi) const
returns the strip length for the phi or eta plane
StatusCode initialize()
Default AthAlgTool methods.
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_sgKey
The storegate key for the RPC collection.
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
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
std::map< std::string, DataVect > DataMap
virtual std::string dataTypeName() const
Return the name of the data type.
Class to represent RPC measurements.
::StatusCode StatusCode
StatusCode definition for legacy code.
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
Template to hold collections of MuonPrepRawData objects.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Amg::Vector3D stripPos(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
std::string getFullID(Identifier id, const MdtIdHelper &mdtHelper)
Get the identifier string for an MDT ID with the sequence: Detector/StationName/StationEta/StationPhi...
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
double StripWidth(bool measphi) const
returns the strip width for the phi or eta plane
#define ATH_MSG_WARNING(x)
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
RpcPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.