![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Algorithms/Generators/ActsExamples/Generators/MultiplicityGenerators.hpp>
Inheritance diagram for ActsExamples::FixedMultiplicityGenerator:
Collaboration diagram for ActsExamples::FixedMultiplicityGenerator:Public Member Functions | |
| FixedMultiplicityGenerator (size_t _n) | |
| size_t | operator() (RandomEngine &) const override |
| Generate the multiplicity of vertices. | |
Public Member Functions inherited from ActsExamples::EventGenerator::MultiplicityGenerator | |
| virtual | ~MultiplicityGenerator ()=default |
| Virtual destructor required. | |
Public Attributes | |
| size_t | n = 1 |
Definition at line 22 of file MultiplicityGenerators.hpp.
View newest version in sPHENIX GitHub at line 22 of file MultiplicityGenerators.hpp
|
inline |
Definition at line 26 of file MultiplicityGenerators.hpp.
View newest version in sPHENIX GitHub at line 26 of file MultiplicityGenerators.hpp
|
inlineoverridevirtual |
Generate the multiplicity of vertices.
| rng | Shared random number generator instance |
Implements ActsExamples::EventGenerator::MultiplicityGenerator.
Definition at line 29 of file MultiplicityGenerators.hpp.
View newest version in sPHENIX GitHub at line 29 of file MultiplicityGenerators.hpp
References n.
| size_t ActsExamples::FixedMultiplicityGenerator::n = 1 |
Definition at line 24 of file MultiplicityGenerators.hpp.
View newest version in sPHENIX GitHub at line 24 of file MultiplicityGenerators.hpp
Referenced by Acts::Python::addGenerators(), and operator()().