diff --git a/SimCalorimetry/HGCalSimAlgos/test/HGCSiNoiseMapAnalyzer.cc b/SimCalorimetry/HGCalSimAlgos/test/HGCSiNoiseMapAnalyzer.cc index 8493ee4f77878..c341e6b7f0cdb 100644 --- a/SimCalorimetry/HGCalSimAlgos/test/HGCSiNoiseMapAnalyzer.cc +++ b/SimCalorimetry/HGCalSimAlgos/test/HGCSiNoiseMapAnalyzer.cc @@ -71,7 +71,8 @@ HGCSiNoiseMapAnalyzer::HGCSiNoiseMapAnalyzer(const edm::ParameterSet &iConfig) { //configure the dose map std::string doseMapURL(iConfig.getParameter("doseMap")); unsigned int doseMapAlgo(iConfig.getParameter("doseMapAlgo")); - double scaleByDoseFactor = iConfig.getParameter("noise_fC").getParameter("scaleByDoseFactor"); + double scaleByDoseFactor = + iConfig.getParameter("noise_fC").getParameter("scaleByDoseFactor"); std::vector ileakParam( iConfig.getParameter("ileakParam").template getParameter>("ileakParam")); std::vector cceParamFine( diff --git a/SimCalorimetry/HGCalSimProducers/src/HGCDigitizerBase.cc b/SimCalorimetry/HGCalSimProducers/src/HGCDigitizerBase.cc index cd562ed79c4aa..5d3ce7b758ed0 100644 --- a/SimCalorimetry/HGCalSimProducers/src/HGCDigitizerBase.cc +++ b/SimCalorimetry/HGCalSimProducers/src/HGCDigitizerBase.cc @@ -190,7 +190,6 @@ void HGCDigitizerBase::runSimple(std::unique_ptr& template void HGCDigitizerBase::updateOutput(std::unique_ptr& coll, const DFr& rawDataFrame) { - // 9th is the sample of hte intime amplitudes int itIdx(9); if (rawDataFrame.size() <= itIdx + 2) @@ -201,16 +200,15 @@ void HGCDigitizerBase::updateOutput(std::unique_ptrpush_back(dataFrame); - } // cause the compiler to generate the appropriate code