![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef XAODMUONSIMHITCNV_xAODSimHitToRpcMeasurementCnvAlg_H
5 #define XAODMUONSIMHITCNV_xAODSimHitToRpcMeasurementCnvAlg_H
23 #include <CLHEP/Random/RandomEngine.h>
49 const double locPosOnStrip,
52 const bool measuresPhi,
54 CLHEP::HepRandomEngine* engine)
const;
61 CLHEP::HepRandomEngine* engine)
const;
73 "Name of the new xAOD SimHit collection"};
79 "Output container of the 2D BIL rpc strips"};
86 Gaudi::Property<std::string>
m_streamName{
this,
"RandomStream",
"RpcSimHitForkLifting"};
Property holding a SG store/key/clid from which a ReadHandle is made.
std::array< std::atomic< unsigned >, 2 > m_allHits ATLAS_THREAD_SAFE
~xAODSimHitToRpcMeasCnvAlg()=default
int stripNumber(const MuonGMR4::StripDesign &design, const Amg::Vector2D &locHitPosOnPlane) const
Returns the number of the strip that's closest to the hit position on the strip plane -1 is returned ...
Eigen::Matrix< double, 2, 1 > Vector2D
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< IAthRNGSvc > m_rndmSvc
void digitizeHit(const double hitTime, const double locPosOnStrip, const MuonGMR4::StripDesignPtr &designPtr, const Identifier &gasGapId, const bool measuresPhi, xAOD::RpcStripContainer &prdContainer, CLHEP::HepRandomEngine *engine) const
Smears the local simHit position orthogonal to the strip and writes a 1D rpc strip measurement.
Property holding a SG store/key/clid from which a WriteHandle is made.
StatusCode initialize() override
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
CLHEP::HepRandomEngine * getRandomEngine(const EventContext &ctx) const
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteHandleKey< xAOD::RpcStrip2DContainer > m_writeKeyBI
StatusCode finalize() override
Gaudi::Property< std::string > m_streamName
Property holding a SG store/key/clid from which a WriteHandle is made.
xAODSimHitToRpcMeasCnvAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< xAOD::RpcStripContainer > m_writeKey
The xAODSimHitToRpcMasCnvAlg is a short cut towards the RpcStrip measurement The RpcSimHits are taken...
float hitTime(const AFP_SIDSimHit &hit)
Define macros for attributes used to control the static checker.
const MuonGMR4::MuonDetectorManager * m_DetMgr
Access to the new readout geometry.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_readKey