Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::FixedMultiplicityGenerator Struct Reference

#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
 

Detailed Description

Definition at line 22 of file MultiplicityGenerators.hpp.

View newest version in sPHENIX GitHub at line 22 of file MultiplicityGenerators.hpp

Constructor & Destructor Documentation

ActsExamples::FixedMultiplicityGenerator::FixedMultiplicityGenerator ( size_t  _n)
inline

Definition at line 26 of file MultiplicityGenerators.hpp.

View newest version in sPHENIX GitHub at line 26 of file MultiplicityGenerators.hpp

Member Function Documentation

size_t ActsExamples::FixedMultiplicityGenerator::operator() ( RandomEngine rng) const
inlineoverridevirtual

Generate the multiplicity of vertices.

Parameters
rngShared random number generator instance
Returns
size_t The multiplicity for the event

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.

Member Data Documentation

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()().


The documentation for this struct was generated from the following file: