From 84b8b5ba5ac3e919a0059801a8a44b026db4526c Mon Sep 17 00:00:00 2001 From: Walter Lampl <Walter.Lampl@cern.ch> Date: Tue, 6 Aug 2019 16:44:40 +0200 Subject: [PATCH] remove useless/commentd code lines --- .../src/LArRawChannelBSReadAlg.cxx | 23 +------------------ .../src/LArRawChannelBSReadAlg.h | 3 --- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.cxx index 4a0426a76c5..01638822d25 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.cxx @@ -8,24 +8,13 @@ #include "LArByteStream/LArRodBlockStructure.h" -//#include "LArByteStream/LArRodBlockPhysicsV0.h" -//#include "LArByteStream/LArRodBlockPhysicsV1.h" -//#include "LArByteStream/LArRodBlockPhysicsV2.h" -//#include "LArByteStream/LArRodBlockPhysicsV3.h" -//#include "LArByteStream/LArRodBlockPhysicsV4.h" #include "LArByteStream/LArRodBlockPhysicsV5.h" #include "LArByteStream/LArRodBlockPhysicsV6.h" LArRawChannelBSReadAlg::LArRawChannelBSReadAlg(const std::string& name, ISvcLocator* pSvcLocator) : - AthReentrantAlgorithm(name, pSvcLocator) { - //Fill vector of LAr ROB ids: - for (uint32_t i=0x41;i<=0x48;++i) { - //Fixme these are only subdetector ids. - m_larROBIds.push_back(i); - } + AthReentrantAlgorithm(name, pSvcLocator) {} -} StatusCode LArRawChannelBSReadAlg::initialize() { @@ -45,16 +34,6 @@ StatusCode LArRawChannelBSReadAlg::execute(const EventContext& ctx) const { SG::WriteHandle<LArRawChannelContainer>outputContainer(m_rawChannelKey,ctx); ATH_CHECK(outputContainer.record(std::make_unique<LArRawChannelContainer>())); - - //std::vector<const IROBDataProviderSvc::ROBF*> robFrags; - //m_robDataProviderSvc->getROBData(ctx,m_larROBIds,robFrags); - //if (robFrags.size()==0) { - // ATH_MSG_DEBUG("No LAr data found in this event. Recording empty LArRawChannelContainer"); - // return StatusCode::SUCCESS; - //} - //for (const IROBDataProviderSvc::ROBF* rob : robFrags) { - - const RawEvent* fullEvent=m_robDataProviderSvc->getEvent(ctx); std::map<eformat::SubDetectorGroup, std::vector<const uint32_t*> > rawEventTOC; eformat::helper::build_toc(*fullEvent, rawEventTOC); diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.h b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.h index 185004e7a31..4215a6f1e07 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.h +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelBSReadAlg.h @@ -39,9 +39,6 @@ class LArRawChannelBSReadAlg : public AthReentrantAlgorithm { //Identifier helper const LArOnlineID* m_onlineId; - - std::vector<uint32_t> m_larROBIds; - }; #endif -- GitLab