Skip to content

Commit 08d6397

Browse files
committed
add the parameters of energy (resolution) and threshold
1 parent 66d0a85 commit 08d6397

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

boosteddmanalysis/Reconstruction/SmearedReconstructionAlg.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ namespace bdm {
103103
/// Smearing of reconstructed energy [fraction].
104104
double fEnergySmearingFraction = 0.0;
105105

106+
/// Detection threshold by kinetic energy [GeV].
107+
double fKEThreshold = 0.0;
108+
106109
/// Prints into the specified stream the content of these parameters.
107110
template <typename Stream>
108111
void dump(
@@ -186,7 +189,18 @@ namespace bdm {
186189
Comment("transversal displacement of reconstructed momentum [fraction]"),
187190
0.0
188191
};
189-
192+
193+
fhicl::Atom<double> energy {
194+
Name("energy"),
195+
Comment("energy resolution [fraction]"),
196+
0.0
197+
};
198+
fhicl::Atom<double> threshold {
199+
Name("threshold"),
200+
Comment("detection threshold in kinetic energy [GeV]"),
201+
0.0
202+
};
203+
190204
}; // struct ParticleParameterConfig
191205

192206

0 commit comments

Comments
 (0)