diff --git a/SimG4CMS/Calo/src/HcalTestAnalysis.cc b/SimG4CMS/Calo/src/HcalTestAnalysis.cc index 2b0c096927312..3f588f0542a64 100644 --- a/SimG4CMS/Calo/src/HcalTestAnalysis.cc +++ b/SimG4CMS/Calo/src/HcalTestAnalysis.cc @@ -317,7 +317,8 @@ void HcalTestAnalysis::fill(const EndOfEvent* evt) { // access to the G4 hit collections G4HCofThisEvent* allHC = (*evt)()->GetHCofThisEvent(); - int nhc = 0, neb = 0, nef = 0; size_t j = 0; + int nhc = 0, neb = 0, nef = 0; + size_t j = 0; caloHitCache_.erase(caloHitCache_.begin(), caloHitCache_.end()); // Hcal diff --git a/SimG4CMS/HcalTestBeam/plugins/HcalTB04Analysis.cc b/SimG4CMS/HcalTestBeam/plugins/HcalTB04Analysis.cc index a5bf0ffbbe93e..9cf9b93cbd864 100644 --- a/SimG4CMS/HcalTestBeam/plugins/HcalTB04Analysis.cc +++ b/SimG4CMS/HcalTestBeam/plugins/HcalTB04Analysis.cc @@ -459,7 +459,8 @@ void HcalTB04Analysis::update(const EndOfEvent* evt) { void HcalTB04Analysis::fillBuffer(const EndOfEvent* evt) { std::vector hhits, hhitl; - int idHC;size_t j; + int idHC; + size_t j; CaloG4HitCollection* theHC; std::map > primaries; double etot1 = 0, etot2 = 0; diff --git a/SimG4CMS/ShowerLibraryProducer/src/HcalForwardAnalysis.cc b/SimG4CMS/ShowerLibraryProducer/src/HcalForwardAnalysis.cc index d921f11f07dbb..82f91ee307b54 100644 --- a/SimG4CMS/ShowerLibraryProducer/src/HcalForwardAnalysis.cc +++ b/SimG4CMS/ShowerLibraryProducer/src/HcalForwardAnalysis.cc @@ -116,7 +116,8 @@ void HcalForwardAnalysis::update(const EndOfEvent* evt) { } void HcalForwardAnalysis::setPhotons(const EndOfEvent* evt) { - int idHC; size_t j; + int idHC; + size_t j; FiberG4HitsCollection* theHC; // Look for the Hit Collection of HCal G4HCofThisEvent* allHC = (*evt)()->GetHCofThisEvent(); diff --git a/Validation/HcalHits/src/SimG4HcalValidation.cc b/Validation/HcalHits/src/SimG4HcalValidation.cc index 6a9cef95f6c3b..91fcd62d36ae7 100644 --- a/Validation/HcalHits/src/SimG4HcalValidation.cc +++ b/Validation/HcalHits/src/SimG4HcalValidation.cc @@ -268,7 +268,8 @@ void SimG4HcalValidation::fill(const EndOfEvent *evt) { // access to the G4 hit collections G4HCofThisEvent *allHC = (*evt)()->GetHCofThisEvent(); - int nhc = 0; size_t j = 0; + int nhc = 0; + size_t j = 0; // Hcal int HCHCid = G4SDManager::GetSDMpointer()->GetCollectionID(names[0]);