Skip to content

Commit

Permalink
replace long type name with auto
Browse files Browse the repository at this point in the history
Co-authored-by: Slava Krutelyov <[email protected]>
  • Loading branch information
JamminJones and slava77 committed Jun 18, 2020
1 parent 1c02c77 commit 6724f8c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<EcalTPGLinearizationConst> theEcalTPGLinearization_handle =
setup.getHandle(theEcalTPGLinearization_Token_);
auto theEcalTPGLinearization_handle = setup.getHandle(theEcalTPGLinearization_Token_);
const EcalTPGLinearizationConst* ecaltpLin = theEcalTPGLinearization_handle.product();
//
edm::ESHandle<EcalTPGPedestals> theEcalTPGPedestals_handle = setup.getHandle(theEcalTPGPedestals_Token_);
Expand Down

0 comments on commit 6724f8c

Please sign in to comment.