|
ATLAS Offline Software
|
Go to the documentation of this file.
18 declareInterface<IDataRetriever>(
this);
30 return StatusCode::SUCCESS;
45 for (containerIt=cscContainer->
begin(); containerIt!=cscContainer->
end(); ++containerIt) {
46 ndata += (*containerIt)->size();
53 DataVect lengthVec; lengthVec.reserve(ndata);
54 DataVect chargeVec; chargeVec.reserve(ndata);
55 DataVect idVec; idVec.reserve(ndata);
56 DataVect identifierVec; identifierVec.reserve(ndata);
59 for (containerIt=cscContainer->
begin(); containerIt!=cscContainer->
end(); ++containerIt) {
63 for (collectionIt=cscCollection->
begin(); collectionIt!=cscCollection->
end(); ++collectionIt) {
84 idVec.push_back(
DataType(
id.get_compact() ));
93 myDataMap[
"length"] = lengthVec;
94 myDataMap[
"charge"] = chargeVec;
95 myDataMap[
"identifier"] = identifierVec;
96 myDataMap[
"id"] = idVec;
106 std::string emptyStr=
"";
char data[hepevt_bytes_allocation_ATLAS]
Const iterator class for DataVector/DataList.
CscPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode initialize()
Default AthAlgTool methods.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
#define ATH_MSG_VERBOSE(x)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::map< std::string, DataVect > DataMap
double stripLength(int chamberLayer, int measuresPhi, int stripNumber, double &epsilon) const
Class representing clusters from the CSC.
::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.
double charge(const T &p)
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...
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_sgKey
The storegate key for the CSC collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
virtual std::string dataTypeName() const
Return the name of the data type.
Amg::Vector3D stripPos(const Identifier &id) const
takes into account internal alignment parameters, hence gives accurate answer
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.