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

#include <acts/blob/sPHENIX/Examples/Algorithms/Generators/ActsExamples/Generators/MultiplicityGenerators.hpp>

+ Inheritance diagram for ActsExamples::PoissonMultiplicityGenerator:
+ Collaboration diagram for ActsExamples::PoissonMultiplicityGenerator:

Public Member Functions

 PoissonMultiplicityGenerator (double _mean)
 
size_t operator() (RandomEngine &rng) const override
 Generate the multiplicity of vertices.
 
- Public Member Functions inherited from ActsExamples::EventGenerator::MultiplicityGenerator
virtual ~MultiplicityGenerator ()=default
 Virtual destructor required.
 

Public Attributes

double mean = 1
 

Detailed Description

Definition at line 32 of file MultiplicityGenerators.hpp.

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

Constructor & Destructor Documentation

ActsExamples::PoissonMultiplicityGenerator::PoissonMultiplicityGenerator ( double  _mean)
inline

Definition at line 35 of file MultiplicityGenerators.hpp.

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

Member Function Documentation

size_t ActsExamples::PoissonMultiplicityGenerator::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 38 of file MultiplicityGenerators.hpp.

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

References mean.

Member Data Documentation

double ActsExamples::PoissonMultiplicityGenerator::mean = 1

Definition at line 34 of file MultiplicityGenerators.hpp.

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

Referenced by Acts::Python::addGenerators(), ambiguity_solver_network.Normalise::forward(), and operator()().


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