Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit 105f2c3

Browse files
clang-format modified source files
1 parent 6e4bfe3 commit 105f2c3

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

include/SimCore/UserEventInformation.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ class UserEventInformation : public G4VUserEventInformation {
2929
*
3030
* @param[in] z elemental z in which the dark brem ocurred
3131
*/
32-
void setDarkBremMaterialZ(double z) {
33-
db_material_z_ = z;
34-
}
32+
void setDarkBremMaterialZ(double z) { db_material_z_ = z; }
3533

36-
double getDarkBremMaterialZ() const {
37-
return db_material_z_;
38-
}
34+
double getDarkBremMaterialZ() const { return db_material_z_; }
3935

4036
/**
4137
* Set the event weight.

src/SimCore/APrimePhysics.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
*/
77

88
#include "SimCore/APrimePhysics.h"
9-
#include "SimCore/UserEventInformation.h"
109

1110
#include "G4DarkBreM/G4APrime.h"
1211
#include "G4DarkBreM/G4DarkBreMModel.h"
12+
#include "SimCore/UserEventInformation.h"
1313

1414
// Geant4
1515
#include "G4Electron.hh"
@@ -32,11 +32,11 @@ const std::string APrimePhysics::NAME = "APrime";
3232
*/
3333
static void store_element_z(const G4Element& element) {
3434
static_cast<UserEventInformation*>(
35-
G4EventManager::GetEventManager()->GetUserInformation()
36-
)->setDarkBremMaterialZ(element.GetZ());
35+
G4EventManager::GetEventManager()->GetUserInformation())
36+
->setDarkBremMaterialZ(element.GetZ());
3737
}
3838

39-
APrimePhysics::APrimePhysics(const framework::config::Parameters &params)
39+
APrimePhysics::APrimePhysics(const framework::config::Parameters& params)
4040
: G4VPhysicsConstructor(APrimePhysics::NAME),
4141
parameters_{params},
4242
process_{nullptr} {

0 commit comments

Comments
 (0)