Skip to content

Commit 5db596c

Browse files
authored
Merge pull request #23 from alibuild/alibot-cleanup-15602
Please consider the following formatting changes to #15602
2 parents 8f6468c + 9ebb011 commit 5db596c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Detectors/TPC/simulation/src/Detector.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Bool_t Detector::ProcessHits(FairVolume* vol)
117117
const int trackPdg = fMC->TrackPid();
118118
const bool isMonopole = (TMath::Abs(trackPdg) == 4110000 || TMath::Abs(trackPdg) == 4120000);
119119
if (static_cast<int>(trackCharge) == 0) {
120-
// Fall through only for monopoles when ionisation is enabled.
120+
// Fall through only for monopoles when ionisation is enabled.
121121
// The behaviour for the other neutral particles remains as before.
122122
if (!isMonopole || fMC->Edep() <= 0.) {
123123
// set a very large step size for neutral particles
@@ -215,7 +215,7 @@ Bool_t Detector::ProcessHits(FairVolume* vol)
215215
if (isMonopole) {
216216
// ---| MONOPOLE IONISATION |--------
217217
// A magnetic monopole ionises the gas via G4mplIonisation (Ahlen stopping
218-
// power), which is not described by the electric-charge model (no e-charge)
218+
// power), which is not described by the electric-charge model (no e-charge)
219219
// Ionisation electrons calculated directly from the energy deposited in this step: Nel = Edep / Wion.
220220
// To check by TPC experts if this is actually the best way...
221221
numberOfElectrons = static_cast<int>(fMC->Edep() / static_cast<double>(gasParam.Wion));

Detectors/gconfig/src/O2MonopolePhysics.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class O2MonopolePhysics : public G4VUserPhysicsList
103103
continue;
104104
}
105105
// The reference EM physics list attaches the standard hadron ionisation
106-
// (hIoni) to the monopole, which is wrong and makes G4LossTableManager crash
106+
// (hIoni) to the monopole, which is wrong and makes G4LossTableManager crash
107107
// while merging the two dE/dx tables.
108108
// Any pre-existing energy-loss process is removed so that mplIoni is the
109109
// monopole single, correct ionisation process. This is taken from Geant4

0 commit comments

Comments
 (0)