|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "Identifier/Identifier.h"
20 #include "CLHEP/Vector/LorentzVector.h"
42 ATH_MSG_FATAL(
"RPC : Cannot build a valid Identifier; skip ");
53 return StatusCode::FAILURE;
58 double rpc_strip_phi = rpc_gPos.phi();
59 if (rpc_strip_phi < 0.) rpc_strip_phi += 2.*
M_PI;
61 return StatusCode::SUCCESS;
80 if (evtStore()->
retrieve(p_collection,
"RPC_Hits") == StatusCode::SUCCESS) {
81 for (
const RPCSimHit& hit : *p_collection) {
84 HitID rpchit= (hit).RPCid();
100 return StatusCode::SUCCESS;
107 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
std::string GetStationName(const int &hid) const
static const RpcHitIdHelper * GetHelper(unsigned int nGasGaps=2)
int GetDoubletPhi(const int &hid) const
int GetMeasuresPhi(const int &hid) const
Amg::Vector3D getGlobalPosition() const
int GetDoubletZ(const int &hid) const
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Identifier channelID(int stationName, int stationEta, int stationPhi, int doubletR, int doubletZ, int doubletPhi, int gasGap, int measuresPhi, int strip) const
@ u
Enums for curvilinear frames.
int GetPhiSector(const int &hid) const
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
const RpcIdHelper * rpcIdHelper() const
int GetGasGapLayer(const int &hid) const
Amg::Vector3D stripPos(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
int GetDoubletR(const int &hid) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
int GetZSector(const int &hid) const