From 5b14a80fe4273d7d832deb4344e9c282269174b2 Mon Sep 17 00:00:00 2001
From: Carla Marin <carla.marin.benito@cern.ch>
Date: Wed, 3 Aug 2022 18:50:32 +0200
Subject: [PATCH] rm book2D from initialize

---
 CaloFuture/CaloFutureMoniDst/src/CaloFuturePedestal.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/CaloFuture/CaloFutureMoniDst/src/CaloFuturePedestal.cpp b/CaloFuture/CaloFutureMoniDst/src/CaloFuturePedestal.cpp
index 6cd3492fc3e..45f6579fd02 100644
--- a/CaloFuture/CaloFutureMoniDst/src/CaloFuturePedestal.cpp
+++ b/CaloFuture/CaloFutureMoniDst/src/CaloFuturePedestal.cpp
@@ -73,14 +73,6 @@ LHCb::CaloFuturePedestal::CaloFuturePedestal( const std::string& name, ISvcLocat
 StatusCode LHCb::CaloFuturePedestal::initialize() {
   return Consumer::initialize().andThen( [&] {
     info() << " digits from " << inputLocation() << endmsg;
-    bool old_m_profile = m_profile;
-    m_profile          = true;
-    bookCaloFuture2D( m_ADCprofile1ID, m_ADCprofile1Title, detData(), -1 );
-    bookCaloFuture2D( m_ADCprofile2ID, m_ADCprofile2Title, detData(), -1 );
-    m_profile = false;
-    bookCaloFuture2D( m_calorms1ID, m_calorms1Title, detData(), -1 );
-    bookCaloFuture2D( m_calorms2ID, m_calorms2Title, detData(), -1 );
-    m_profile = old_m_profile;
   } );
 }
 
-- 
GitLab