Skip to content

Commit

Permalink
apply code format
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Dec 16, 2019
1 parent 3dff029 commit e61b9fc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion SimG4CMS/Calo/src/HcalTestAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion SimG4CMS/HcalTestBeam/plugins/HcalTB04Analysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ void HcalTB04Analysis::update(const EndOfEvent* evt) {

void HcalTB04Analysis::fillBuffer(const EndOfEvent* evt) {
std::vector<CaloHit> hhits, hhitl;
int idHC;size_t j;
int idHC;
size_t j;
CaloG4HitCollection* theHC;
std::map<int, float, std::less<int> > primaries;
double etot1 = 0, etot2 = 0;
Expand Down
3 changes: 2 additions & 1 deletion SimG4CMS/ShowerLibraryProducer/src/HcalForwardAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 2 additions & 1 deletion Validation/HcalHits/src/SimG4HcalValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit e61b9fc

Please sign in to comment.