|
ATLAS Offline Software
|
Go to the documentation of this file.
18 declareInterface<IDataRetriever>(
this);
29 return StatusCode::SUCCESS;
43 for (containerIt=tgcContainer->
begin(); containerIt!=tgcContainer->
end(); ++containerIt) {
44 ndata += (*containerIt)->size();
50 DataVect lengthVec; lengthVec.reserve(ndata);
51 DataVect swidthVec; swidthVec.reserve(ndata);
52 DataVect lwidthVec; lwidthVec.reserve(ndata);
53 DataVect idVec; idVec.reserve(ndata);
54 DataVect identifierVec; identifierVec.reserve(ndata);
57 for (containerIt=tgcContainer->
begin(); containerIt!=tgcContainer->
end(); ++containerIt) {
61 for (collectionIt=tgcCollection->
begin(); collectionIt!=tgcCollection->
end(); ++collectionIt) {
73 double shortWidth, longWidth,
length;
97 idVec.push_back(
DataType(
id.get_compact() ));
107 myDataMap[
"length"] = lengthVec;
108 myDataMap[
"swidth"] = swidthVec;
109 myDataMap[
"lwidth"] = lwidthVec;
110 myDataMap[
"identifier"] = identifierVec;
111 myDataMap[
"id"] = idVec;
112 myDataMap[
"barcode"] =
barcode;
121 std::string emptyStr=
"";
char data[hepevt_bytes_allocation_ATLAS]
Const iterator class for DataVector/DataList.
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_sgKey
The storegate key for the TGC 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
double stripLength() const
Returns the length of each strip which is equal to the height of the chamber.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::map< std::string, DataVect > DataMap
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Amg::Vector3D wireGangPos(const Identifier &id) const
Returns the global position of a wireGang.
double gangLongWidth(int gasGap, int gang) const
Returns the length of the most top wire in the gang.
::StatusCode StatusCode
StatusCode definition for legacy code.
double gangShortWidth(int gasGap, int gang) const
Returns the length of the most bottom wire in the gang.
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
double gangRadialLength(int gasGap, int gang) const
Returns the length of the wire gang along the radial direction [pitch x N_{wire}^{gang}].
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(int gasGap, int strip) const
Returns the global position of a strip.
TgcPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
double stripLongWidth(int, int) 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...
double stripShortWidth(int, int) const
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual std::string dataTypeName() const
Return the name of the data type.
StatusCode initialize()
Default AthAlgTool methods.
#define ATH_MSG_WARNING(x)
Class to represent TGC measurements.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.