Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Algorithms/Digitization/include/ActsExamples/Digitization/Smearers.hpp>
Public Member Functions | |
GaussClipped (double sigma_, const std::pair< double, double > &range_) | |
Construct with a. | |
range (range_) | |
Acts::Result< std::pair < double, double > > | operator() (double value, RandomEngine &rnd) const |
Public Attributes | |
double | sigma |
size_t | maxAttemps = 1000 |
std::pair< double, double > | range |
Gaussian smearing of a single parameter with clipping.
In case a hit is smeared outside the range, the smearing will be repeated, until a maximum attempt number is reached
Definition at line 100 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 100 of file Smearers.hpp
|
inline |
Construct with a.
sigma | standard deviation and |
range |
Definition at line 109 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 109 of file Smearers.hpp
|
inline |
Call operator for the SmearFunction caller interface.
value | parameter to be smeared |
rnd | random generator to be used for the call |
Definition at line 120 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 120 of file Smearers.hpp
References dist(), maxAttemps, range, and sigma.
|
inline |
Definition at line 110 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 110 of file Smearers.hpp
size_t ActsExamples::Digitization::GaussClipped::maxAttemps = 1000 |
Definition at line 103 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 103 of file Smearers.hpp
Referenced by operator()().
Definition at line 105 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 105 of file Smearers.hpp
Referenced by operator()().
double ActsExamples::Digitization::GaussClipped::sigma |
Definition at line 101 of file Smearers.hpp.
View newest version in sPHENIX GitHub at line 101 of file Smearers.hpp
Referenced by operator()().