From d3390f1f5e8e33a512b9607034f49e8c91393f51 Mon Sep 17 00:00:00 2001 From: Stefano Rosati <stefano.rosati@cern.ch> Date: Sat, 29 Sep 2018 20:54:44 +0200 Subject: [PATCH] Adding charge access to sTGC PRD modified: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h --- .../MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h b/MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h index 63f09e82494..7846ba76202 100755 --- a/MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h +++ b/MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/sTgcPrepData.h @@ -75,6 +75,7 @@ namespace Muon /** @brief Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC */ + int charge() const; uint16_t getBcBitMap() const; enum {BCBIT_UNDEFINED=0, BCBIT_NEXT=1, BCBIT_CURRENT=2, BCBIT_PREVIOUS=4}; @@ -100,6 +101,11 @@ namespace Muon return *m_globalPosition; } + inline int sTgcPrepData::charge() const + { + return m_charge; + } + inline uint16_t sTgcPrepData::getBcBitMap() const { return m_bcBitMap; -- GitLab