16 if (!MuonDetMgr) {
return false; }
26 unsigned int n_digits{0};
28 ATH_MSG_DEBUG(
"processing collection with size " << coll->size());
29 for (
unsigned int digitNum = 0; digitNum < coll->size(); digitNum++) {
30 const CscDigit* digit = coll->at(digitNum);
37 ATH_MSG_ERROR(
"CSCDigitVariables::fillVariables() - Failed to retrieve CSCReadoutElement for "<<
idHelperSvc()->cscIdHelper().print_to_string(Id).c_str());
51 for (
unsigned int digitNum = 0; digitNum < coll->size(); digitNum++) {
52 const CscDigit* digit = coll->at(digitNum);
57 if (!rdoEl)
return false;
Use IdentifiableContainer with CscDigitCollection.
size_type digit_size() const
size_t size() const
Duplicate of fullSize for backwards compatability.
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 CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
VectorBranch< float > & m_CSC_dig_localPosX
SG::ReadHandleKey< CscDigitContainer > m_key
CscIdentifierBranch m_CSC_dig_id
CscDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
bool declare_keys() override final
ThreeVectorBranch m_CSC_dig_globalPos
ScalarBranch< unsigned int > & m_CSC_nDigits
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...
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
const Muon::IMuonIdHelperSvc * idHelperSvc() const
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
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 void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for PlaneSurface: LocalToGlobal method without dynamic memory allocation.
virtual bool globalToLocal(const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const override final
Specified for PlaneSurface: GlobalToLocal method without dynamic memory allocation - boolean checks i...
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D