Jpp  master_rocky
the software that should make you happy
Public Member Functions | List of all members
JMARKOV::JGenerator Class Referenceabstract

Abstract interface for the generation of points in 3D space. More...

#include <JMarkovGenerator.hh>

Inheritance diagram for JMARKOV::JGenerator:
JMARKOV::J3DhistGenerator JMARKOV::JBallGenerator JMARKOV::JCombinedGenerator JMARKOV::JExpRsqInvGenerator JMARKOV::JExponentialGenerator JMARKOV::JGaussianGenerator JMARKOV::JHistGenerator JMARKOV::JMagicalDistribution JMARKOV::JShiftedGenerator JMARKOV::JSingularityGenerator JMARKOV::JSphereGenerator JMARKOV::JTripleGenerator JMARKOV::JUniformGenerator

Public Member Functions

virtual ~JGenerator ()
 
virtual JPosition3D getPosition ()=0
 Return a randomly generated position. More...
 
virtual double getWeight (JPosition3D pos)=0
 return the weight (=probability density dP/dV) for the given position. More...
 

Detailed Description

Abstract interface for the generation of points in 3D space.

By convention, the random number generator used in the derived classes is gRandom.

Definition at line 37 of file JMarkovGenerator.hh.

Constructor & Destructor Documentation

◆ ~JGenerator()

virtual JMARKOV::JGenerator::~JGenerator ( )
inlinevirtual

Definition at line 40 of file JMarkovGenerator.hh.

40 {}

Member Function Documentation

◆ getPosition()

virtual JPosition3D JMARKOV::JGenerator::getPosition ( )
pure virtual

◆ getWeight()

virtual double JMARKOV::JGenerator::getWeight ( JPosition3D  pos)
pure virtual

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