7#include "Identifier/Identifier.h"
20#include "CLHEP/Vector/LorentzVector.h"
40 Identifier offid =
m_pRpcIdHelper->channelID(rpc_stname, rpc_steta, rpc_stphi, rpc_dbr, rpc_dbz, rpc_dbp, rpc_gg, rpc_mfi, rpc_strip);
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;
#define CHECK(...)
Evaluate an expression and check for errors.
AtlasHitsVector< RPCSimHit > RPCSimHitCollection
Amg::Vector3D getGlobalPosition() const
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Amg::Vector3D stripPos(const Identifier &id) const
int GetDoubletPhi(const int &hid) const
static const RpcHitIdHelper * GetHelper(unsigned int nGasGaps=2)
int GetPhiSector(const int &hid) const
int GetDoubletR(const int &hid) const
int GetGasGapLayer(const int &hid) const
int GetMeasuresPhi(const int &hid) const
std::string GetStationName(const int &hid) const
int GetDoubletZ(const int &hid) const
int GetZSector(const int &hid) const
Eigen::Matrix< double, 3, 1 > Vector3D