Skip to content

Commit 9afc7f9

Browse files
committed
code format
1 parent 9dd2e0c commit 9afc7f9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

SimG4CMS/Forward/src/TimingSD.cc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bool TimingSD::ProcessHits(G4Step* aStep, G4TouchableHistory*) {
104104
edeposit = aStep->GetTotalEnergyDeposit();
105105
if (edeposit > 0.f) {
106106
getStepInfo(aStep);
107-
// (primaryID = -2) means ECAL GFlash spot inside MTD
107+
// (primaryID = -2) means ECAL GFlash spot inside MTD
108108
if (-1 <= primaryID && !hitExists(aStep)) {
109109
createNewHit(aStep);
110110
}
@@ -117,8 +117,10 @@ void TimingSD::getStepInfo(const G4Step* aStep) {
117117
// exclude ECAL gflash spots inside MTD detectors,
118118
// which not possible correctly handle
119119
primaryID = getTrackID(newTrack);
120-
if (primaryID < -1) { return; }
121-
120+
if (primaryID < -1) {
121+
return;
122+
}
123+
122124
preStepPoint = aStep->GetPreStepPoint();
123125
postStepPoint = aStep->GetPostStepPoint();
124126
hitPointExit = postStepPoint->GetPosition();

SimG4Core/Application/src/LowEnergyFastSimModel.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ void LowEnergyFastSimModel::DoIt(const G4FastTrack& fastTrack, G4FastStep& fastS
100100

101101
// in point energy deposition
102102
GFlashEnergySpot spot;
103-
spot.SetEnergy(inPointEnergy*wt2);
103+
spot.SetEnergy(inPointEnergy * wt2);
104104
spot.SetPosition(pos);
105105
fHitMaker.make(&spot, &fastTrack);
106106

107107
G4double zz = 0.0;
108108
if (0 < nspots) {
109109
etail *= wt2 / (G4double)nspots;
110-
/*
110+
/*
111111
edm::LogVerbatim("LowEnergyFastSimModel") << track->GetDefinition()->GetParticleName()
112112
<< " Ekin(MeV)=" << energy << " material: <"
113113
<< track->GetMaterial()->GetName()

0 commit comments

Comments
 (0)