19 if (!MuonDetMgr) {
return false; }
21 if (!rpcSdoContainer.
isValid()) {
25 unsigned int n_sdo{0};
26 for (
const auto& coll : *rpcSdoContainer) {
36 std::vector<MuonSimData::Deposit> deposits;
46 int barcode = deposits[0].first.barcode();
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
const Muon::IMuonIdHelperSvc * idHelperSvc() const
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ScalarBranch< unsigned int > & m_rpc_nsdo
RpcIdentifierBranch m_rpc_sdo_id
VectorBranch< float > & m_rpc_sdo_globaltime
VectorBranch< int > & m_rpc_sdo_word
VectorBranch< int > & m_rpc_sdo_barcode
bool declare_keys() override final
ThreeVectorBranch m_RPC_dig_globalPos
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
RpcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
TwoVectorBranch m_RPC_dig_localPos
SG::ReadHandleKey< MuonSimDataCollection > m_key
void deposits(std::vector< Deposit > &deposits) const
const Amg::Vector3D globalPosition() const
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
TTree * tree() override final
Returns the underlying TTree object.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Abstract Base Class for tracking surfaces.
virtual bool globalToLocal(const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const =0
Specified by each surface type: GlobalToLocal method without dynamic memory allocation - boolean chec...
Eigen::Matrix< double, 2, 1 > Vector2D