Skip to content

Commit db4d339

Browse files
pre-commit-ci[bot]wdconinc
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8e51321 commit db4d339

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

src/algorithms/calorimetry/HEXPLIT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <algorithms/geo.h>
1515
#include <edm4eic/CalorimeterHitCollection.h>
1616
#include <gsl/pointers>
17-
#include <string> // for basic_string
17+
#include <string> // for basic_string
1818
#include <string_view> // for string_view
1919
#include <vector>
2020

src/algorithms/digi/SiliconPulseGenerationConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ namespace eicrecon {
1010
struct SiliconPulseGenerationConfig {
1111
// Parameters of Silicon signal generation
1212
std::string pulse_shape_function = "LandauPulse"; // Pulse shape function
13-
std::vector<double> pulse_shape_params = {1.0, 0.1}; // Parameters of the pulse shape function
13+
std::vector<double> pulse_shape_params = {1.0, 0.1}; // Parameters of the pulse shape function
1414
double ignore_thres = 10; // When EDep drops below this value pulse stops
1515
double timestep = 0.2 * edm4eic::unit::ns; // Minimum digitization time step
16-
double min_sampling_time = 0 * edm4eic::unit::ns; // Minimum sampling time
16+
double min_sampling_time = 0 * edm4eic::unit::ns; // Minimum sampling time
1717
uint32_t max_time_bins = 10000;
1818
};
1919

src/algorithms/reco/JetReconstructionConfig.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ struct JetReconstructionConfig {
1212

1313
float rJet = 1.0; // jet resolution parameter
1414
float pJet = -1.0; // exponent for generalized kt algorithms
15-
double minCstPt = 0.2 * dd4hep::GeV; // minimum pT of objects fed to cluster sequence
15+
double minCstPt = 0.2 * dd4hep::GeV; // minimum pT of objects fed to cluster sequence
1616
double maxCstPt = 100. * dd4hep::GeV; // maximum pT of objects fed to clsuter sequence
17-
double minJetPt = 1.0 * dd4hep::GeV; // minimum jet pT
18-
double ghostMaxRap = 3.5; // maximum rapidity of ghosts
19-
double ghostArea = 0.01; // area per ghost
17+
double minJetPt = 1.0 * dd4hep::GeV; // minimum jet pT
18+
double ghostMaxRap = 3.5; // maximum rapidity of ghosts
19+
double ghostArea = 0.01; // area per ghost
2020
int numGhostRepeat = 1; // number of times a ghost is reused per grid site
2121
std::string jetAlgo = "antikt_algorithm"; // jet finding algorithm
22-
std::string recombScheme = "E_scheme"; // particle recombination scheme
23-
std::string areaType = "active_area"; // type of area calculated
24-
std::string jetContribAlgo = "Centauro"; // contributed algorithm name
22+
std::string recombScheme = "E_scheme"; // particle recombination scheme
23+
std::string areaType = "active_area"; // type of area calculated
24+
std::string jetContribAlgo = "Centauro"; // contributed algorithm name
2525
};
2626

2727
} // namespace eicrecon

src/algorithms/tracking/OrthogonalTrackSeedingConfig.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ struct OrthogonalTrackSeedingConfig {
2727
float deltaRMaxBottomSP =
2828
200. * Acts::UnitConstants::mm; // Max distance in r between middle and bottom SP in one seed
2929
float collisionRegionMin = -250 * Acts::UnitConstants::mm; // Min z for primary vertex
30-
float collisionRegionMax = 250 * Acts::UnitConstants::mm; // Max z for primary vertex
30+
float collisionRegionMax = 250 * Acts::UnitConstants::mm; // Max z for primary vertex
3131

3232
unsigned int maxSeedsPerSpM = 0; // max number of seeds a single middle sp can belong to - 1
3333
float cotThetaMax =
3434
1.0 / tan(2. * atan(exp(-4.0))); // Cotangent of max theta angle (based on eta)
3535

36-
float sigmaScattering = 5; // How many standard devs of scattering angles to consider
36+
float sigmaScattering = 5; // How many standard devs of scattering angles to consider
3737
float radLengthPerSeed = 0.1; // Average radiation lengths of material on the length of a seed
3838
float minPt = (100. * Acts::UnitConstants::MeV) /
3939
cotThetaMax; // MeV (in Acts units of GeV) - minimum transverse momentum
4040
float bFieldInZ =
4141
1.7 * Acts::UnitConstants::T; // T (in Acts units of GeV/[e*mm]) - Magnetic field strength
42-
float beamPosX = 0; // x offset for beam position
43-
float beamPosY = 0; // y offset for beam position
42+
float beamPosX = 0; // x offset for beam position
43+
float beamPosY = 0; // y offset for beam position
4444
float impactMax = 3. * Acts::UnitConstants::mm; // Maximum transverse PCA allowed
4545
float rMinMiddle =
4646
20. * Acts::UnitConstants::mm; // Middle spacepoint must fall between these two radii
@@ -89,12 +89,12 @@ struct OrthogonalTrackSeedingConfig {
8989

9090
//////////////////////////////////////
9191
///Seed Covariance Error Matrix
92-
float locaError = 1.5 * Acts::UnitConstants::mm; //Error on Loc a
93-
float locbError = 1.5 * Acts::UnitConstants::mm; //Error on Loc b
94-
float phiError = 0.02 * Acts::UnitConstants::rad; //Error on phi
92+
float locaError = 1.5 * Acts::UnitConstants::mm; //Error on Loc a
93+
float locbError = 1.5 * Acts::UnitConstants::mm; //Error on Loc b
94+
float phiError = 0.02 * Acts::UnitConstants::rad; //Error on phi
9595
float thetaError = 0.002 * Acts::UnitConstants::rad; //Error on theta
9696
float qOverPError = 0.025 / Acts::UnitConstants::GeV; //Error on q over p
97-
float timeError = 0.1 * Acts::UnitConstants::mm; //Error on time
97+
float timeError = 0.1 * Acts::UnitConstants::mm; //Error on time
9898
// Note: Acts native time units are mm: https://acts.readthedocs.io/en/latest/core/definitions/units.html
9999
};
100100
} // namespace eicrecon

src/benchmarks/reconstruction/lfhcal_studies/clusterizer_MA.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ bool acompareCl(clustersStrct lhs, clustersStrct rhs) { return lhs.cluster_E > r
7474
//**************************************************************************************************************//
7575
//**************************************************************************************************************//
7676
clustersStrct findMACluster(
77-
float seed, // minimum seed energy
78-
float /* agg */, // minimum aggregation energy
79-
std::vector<towersStrct>& input_towers_temp, // temporary full tower array
77+
float seed, // minimum seed energy
78+
float /* agg */, // minimum aggregation energy
79+
std::vector<towersStrct>& input_towers_temp, // temporary full tower array
8080
std::vector<towersStrct>& cluster_towers_temp, // towers associated to cluster
8181
// std::vector<int> clslabels_temp // MC labels in cluster
8282
float aggMargin = 1.0 // aggregation margin

src/utilities/eicrecon/eicrecon_cli.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ JApplication* CreateJApplication(UserOptions& options) {
289289
// If the user hasn't specified a timeout (on cmd line or in config file), set the timeout to
290290
// something reasonably high
291291
if (para_mgr->FindParameter("jana:timeout") == nullptr) {
292-
para_mgr->SetParameter("jana:timeout", 180); // seconds
292+
para_mgr->SetParameter("jana:timeout", 180); // seconds
293293
para_mgr->SetParameter("jana:warmup_timeout", 180); // seconds
294294
}
295295

@@ -409,7 +409,7 @@ int Execute(JApplication* app, UserOptions& options) {
409409
} else if (options.flags[Benchmark]) {
410410
JSignalHandler::register_handlers(app);
411411
// Run JANA in benchmark mode
412-
JBenchmarker benchmarker(app); // Benchmarking params override default params
412+
JBenchmarker benchmarker(app); // Benchmarking params override default params
413413
benchmarker.RunUntilFinished(); // Benchmarker will control JApp Run/Stop
414414
} else if (options.flags[ListFactories]) {
415415
app->Initialize();

0 commit comments

Comments
 (0)