ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Data::EvtGen::EvtGenGenerator Class Reference

#include <EvtGenGenerator.hpp>

Public Member Functions

 EvtGenGenerator (const ComPWA::FourMomentum &CMSP4_, const std::vector< double > &FinalStateMasses_, const std::vector< ComPWA::pid > &FinalStatePIDs_)
 
 EvtGenGenerator (const Physics::ParticleStateTransitionKinematicsInfo &KinematicsInfo)
 Constructor: Information on the decay is obtained from Kinematics. More...
 
ComPWA::EventCollection generate (unsigned int NumberOfEvents, UniformRealNumberGenerator &RandomGenerator) const final
 
- Public Member Functions inherited from ComPWA::PhaseSpaceEventGenerator
virtual ~PhaseSpaceEventGenerator ()=default
 

Private Attributes

ComPWA::FourMomentum CMSP4
 
std::vector< double > FinalStateMasses
 
std::vector< ComPWA::pidFinalStatePIDs
 
std::unique_ptr< ComPWA::Data::EvtGen::EvtGenStdRandomEngineRandomEngine
 

Detailed Description

Definition at line 34 of file EvtGenGenerator.hpp.

+ Inheritance diagram for ComPWA::Data::EvtGen::EvtGenGenerator:
+ Collaboration diagram for ComPWA::Data::EvtGen::EvtGenGenerator:

Constructor & Destructor Documentation

◆ EvtGenGenerator() [1/2]

ComPWA::Data::EvtGen::EvtGenGenerator::EvtGenGenerator ( const ComPWA::FourMomentum CMSP4_,
const std::vector< double > &  FinalStateMasses_,
const std::vector< ComPWA::pid > &  FinalStatePIDs_ 
)

Definition at line 19 of file EvtGenGenerator.cpp.

◆ EvtGenGenerator() [2/2]

ComPWA::Data::EvtGen::EvtGenGenerator::EvtGenGenerator ( const Physics::ParticleStateTransitionKinematicsInfo KinematicsInfo)

Constructor: Information on the decay is obtained from Kinematics.

Definition at line 32 of file EvtGenGenerator.cpp.

Member Function Documentation

◆ generate()

ComPWA::EventCollection ComPWA::Data::EvtGen::EvtGenGenerator::generate ( unsigned int  NumberOfEvents,
UniformRealNumberGenerator RandomGenerator 
) const
finalvirtual

Implements ComPWA::PhaseSpaceEventGenerator.

Definition at line 39 of file EvtGenGenerator.cpp.

Member Data Documentation

◆ CMSP4

ComPWA::FourMomentum ComPWA::Data::EvtGen::EvtGenGenerator::CMSP4
private

Definition at line 35 of file EvtGenGenerator.hpp.

◆ FinalStateMasses

std::vector<double> ComPWA::Data::EvtGen::EvtGenGenerator::FinalStateMasses
private

Definition at line 36 of file EvtGenGenerator.hpp.

◆ FinalStatePIDs

std::vector<ComPWA::pid> ComPWA::Data::EvtGen::EvtGenGenerator::FinalStatePIDs
private

Definition at line 37 of file EvtGenGenerator.hpp.

◆ RandomEngine

std::unique_ptr<ComPWA::Data::EvtGen::EvtGenStdRandomEngine> ComPWA::Data::EvtGen::EvtGenGenerator::RandomEngine
private

Definition at line 38 of file EvtGenGenerator.hpp.


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