ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Data::Root::RootUniformRealGenerator Class Reference

#include <RootGenerator.hpp>

Public Member Functions

 RootUniformRealGenerator (int seed=123456)
 
double operator() () final
 
int getSeed () const final
 
void setSeed (int seed) final
 
- Public Member Functions inherited from ComPWA::UniformRealNumberGenerator
virtual ~UniformRealNumberGenerator ()=default
 

Private Attributes

TRandom3 RandomGenerator
 
int Seed
 

Detailed Description

Definition at line 28 of file RootGenerator.hpp.

+ Inheritance diagram for ComPWA::Data::Root::RootUniformRealGenerator:
+ Collaboration diagram for ComPWA::Data::Root::RootUniformRealGenerator:

Constructor & Destructor Documentation

◆ RootUniformRealGenerator()

ComPWA::Data::Root::RootUniformRealGenerator::RootUniformRealGenerator ( int  seed = 123456)

Definition at line 17 of file RootGenerator.cpp.

Member Function Documentation

◆ getSeed()

int ComPWA::Data::Root::RootUniformRealGenerator::getSeed ( ) const
finalvirtual

Implements ComPWA::UniformRealNumberGenerator.

Definition at line 22 of file RootGenerator.cpp.

◆ operator()()

double ComPWA::Data::Root::RootUniformRealGenerator::operator() ( )
finalvirtual

Implements ComPWA::UniformRealNumberGenerator.

Definition at line 20 of file RootGenerator.cpp.

◆ setSeed()

void ComPWA::Data::Root::RootUniformRealGenerator::setSeed ( int  seed)
finalvirtual

Implements ComPWA::UniformRealNumberGenerator.

Definition at line 24 of file RootGenerator.cpp.

Member Data Documentation

◆ RandomGenerator

TRandom3 ComPWA::Data::Root::RootUniformRealGenerator::RandomGenerator
private

Definition at line 29 of file RootGenerator.hpp.

◆ Seed

int ComPWA::Data::Root::RootUniformRealGenerator::Seed
private

Definition at line 30 of file RootGenerator.hpp.


The documentation for this class was generated from the following files: