![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/MsgStream.h"
18 if (station ==
"ANY") {
21 m_station =
id.stationStringToFixedStationNumber(station);
34 m_station =
id.stationStringToFixedStationNumber(station);
41 log << MSG::WARNING <<
"NtupleStationId::InitializeGeometry: Cannot initialize geometry for multi station id" <<
endmsg;
52 log << MSG::WARNING <<
regionId() <<
" ml " <<
i <<
"does not exist in current geometry" <<
endmsg;
71 std::ostringstream id_stream;
75 id_stream <<
id.stationNumberToFixedStationString(
m_station);
89 if (
m_ml > 0) { id_stream <<
"_" <<
m_ml; }
90 return id_stream.str();
97 if (!
id.setStationName(
m_station))
return -1;
98 if (!
id.setStationEta(
m_eta))
return -1;
99 if (!
id.setStationPhi(
m_phi))
return -1;
100 return id.mdtChamberId().getIdInt();
int getNLayers() const
Returns the number of tube layers inside the multilayer.
void Initialize(const MuonFixedId &id)
initialize function
int numberOfMultilayers(const Identifier &id) const
Scalar phi() const
phi method
singleton-like access to IMessageSvc via open function and helper
bool InitializeGeometry(const MdtIdHelper &mdtIdHelper, const MuonGM::MuonDetectorManager *detMgr)
initialize geometry information
std::string regionId() const
return the region id string
Scalar eta() const
pseudorapidity method
IMessageSvc * getMessageSvc(bool quiet=false)
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
int m_region_hash
geo model information
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
static std::string stationNumberToFixedStationString(const int station)
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube) const
Identifier elementID(int stationName, int stationEta, int stationPhi) const
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override
Create hash id from compact id (return == 0 for OK)
IdContext module_context() const
id for module
int getNtubesperlayer() const
Returns the number of tubes in each tube layer.
void SetStation(const std::string &station)
set station, eta or phi seperately