diff --git a/CalibTracker/SiStripDCS/interface/SiStripDetVOffBuilder.h b/CalibTracker/SiStripDCS/interface/SiStripDetVOffBuilder.h index 4fa33bf616aa3..9b4cf96d13972 100644 --- a/CalibTracker/SiStripDCS/interface/SiStripDetVOffBuilder.h +++ b/CalibTracker/SiStripDCS/interface/SiStripDetVOffBuilder.h @@ -22,7 +22,6 @@ #include "CondFormats/Common/interface/TimeConversions.h" //#include "DataFormats/Provenance/interface/Timestamp.h" -class TrackerTopology; #include #include @@ -47,7 +46,7 @@ class SiStripDetVOffBuilder /** Default constructor. */ SiStripDetVOffBuilder(const edm::ParameterSet&,const edm::ActivityRegistry&); /** Build the SiStripDetVOff object for transfer. */ - void BuildDetVOffObj(const TrackerTopology* trackerTopo); + void BuildDetVOffObj(); /** Return modules Off vector of objects. */ std::vector< std::pair > getModulesVOff() { reduction(deltaTmin_, maxIOVlength_); diff --git a/CalibTracker/SiStripDCS/plugins/SiStripDetVOffHandler.cc b/CalibTracker/SiStripDCS/plugins/SiStripDetVOffHandler.cc index b11609507919c..d748b126aa477 100644 --- a/CalibTracker/SiStripDCS/plugins/SiStripDetVOffHandler.cc +++ b/CalibTracker/SiStripDCS/plugins/SiStripDetVOffHandler.cc @@ -72,13 +72,10 @@ void SiStripDetVOffHandler::analyze(const edm::Event& evt, const edm::EventSetup } condDbSession.transaction().commit(); - edm::ESHandle tTopo; - evtSetup.get().get(tTopo); - // build the object! newPayloads.clear(); modHVBuilder->setLastSiStripDetVOff( lastPayload.get(), lastIov ); - modHVBuilder->BuildDetVOffObj(tTopo.product()); + modHVBuilder->BuildDetVOffObj(); newPayloads = modHVBuilder->getModulesVOff(); edm::LogInfo("SiStripDetVOffHandler") << "[SiStripDetVOffHandler::" << __func__ << "] " << "Finished building " << newPayloads.size() << " new payloads."; diff --git a/CalibTracker/SiStripDCS/src/SiStripDetVOffBuilder.cc b/CalibTracker/SiStripDCS/src/SiStripDetVOffBuilder.cc index f7068e77187b9..431c41a2d8db6 100644 --- a/CalibTracker/SiStripDCS/src/SiStripDetVOffBuilder.cc +++ b/CalibTracker/SiStripDCS/src/SiStripDetVOffBuilder.cc @@ -1,7 +1,6 @@ #include "CalibTracker/SiStripDCS/interface/SiStripDetVOffBuilder.h" #include "boost/foreach.hpp" #include -#include "DataFormats/TrackerCommon/interface/TrackerTopology.h" // constructor SiStripDetVOffBuilder::SiStripDetVOffBuilder(const edm::ParameterSet& pset, const edm::ActivityRegistry&) : @@ -88,7 +87,7 @@ void SiStripDetVOffBuilder::printPar(std::stringstream& ss, const std::vector