From 6724f8c168a9e6518114c4a712a443f0acc27803 Mon Sep 17 00:00:00 2001 From: JamminJones <66382696+JamminJones@users.noreply.github.com> Date: Thu, 18 Jun 2020 09:05:57 -0500 Subject: [PATCH] replace long type name with auto Co-authored-by: Slava Krutelyov --- .../EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimProducer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimProducer.cc b/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimProducer.cc index 6eed58ba79051..dd208516ef54e 100644 --- a/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimProducer.cc +++ b/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimProducer.cc @@ -80,8 +80,7 @@ void EcalEBTrigPrimProducer::beginRun(edm::Run const& run, edm::EventSetup const unsigned long long EcalEBTrigPrimProducer::getRecords(edm::EventSetup const& setup) { // get parameter records for xtals - edm::ESHandle theEcalTPGLinearization_handle = - setup.getHandle(theEcalTPGLinearization_Token_); + auto theEcalTPGLinearization_handle = setup.getHandle(theEcalTPGLinearization_Token_); const EcalTPGLinearizationConst* ecaltpLin = theEcalTPGLinearization_handle.product(); // edm::ESHandle theEcalTPGPedestals_handle = setup.getHandle(theEcalTPGPedestals_Token_);