EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EPIC::KinematicRange Class Reference

Container to store a single kinematic range. More...

#include <KinematicRange.h>

Inheritance diagram for EPIC::KinematicRange:

Public Member Functions

 KinematicRange ()
 
 KinematicRange (double min, double max)
 
 KinematicRange (const std::pair< double, double > &minMax)
 
 KinematicRange (const std::vector< double > &minMax)
 
 KinematicRange (const KinematicRange &other)
 
virtual ~KinematicRange ()
 
virtual std::string toString () const
 
bool inRange (double value) const
 
const std::pair< double, double > & getMinMax () const
 
double getMin () const
 
double getMax () const
 
void setMinMax (double min, double max)
 
void setMinMax (const std::pair< double, double > &minMax)
 
void setMinMax (const std::vector< double > &minMax)
 

Detailed Description

Container to store a single kinematic range.

This class acts as a container to store a single kinematic range.

Constructor & Destructor Documentation

◆ KinematicRange() [1/5]

EPIC::KinematicRange::KinematicRange ( )

Default constructor.

◆ KinematicRange() [2/5]

EPIC::KinematicRange::KinematicRange ( double  min,
double  max 
)

Assignment constructor.

◆ KinematicRange() [3/5]

EPIC::KinematicRange::KinematicRange ( const std::pair< double, double > &  minMax)

Assignment constructor.

◆ KinematicRange() [4/5]

EPIC::KinematicRange::KinematicRange ( const std::vector< double > &  minMax)

Assignment constructor.

◆ KinematicRange() [5/5]

EPIC::KinematicRange::KinematicRange ( const KinematicRange other)

Copy constructor.

◆ ~KinematicRange()

virtual EPIC::KinematicRange::~KinematicRange ( )
virtual

Destructor

Member Function Documentation

◆ getMax()

double EPIC::KinematicRange::getMax ( ) const

Get max.

◆ getMin()

double EPIC::KinematicRange::getMin ( ) const

Get min.

◆ getMinMax()

const std::pair< double, double > & EPIC::KinematicRange::getMinMax ( ) const

Get range.

◆ inRange()

bool EPIC::KinematicRange::inRange ( double  value) const

Check if value in range: [min, max].

◆ setMinMax() [1/3]

void EPIC::KinematicRange::setMinMax ( const std::pair< double, double > &  minMax)

Set range.

◆ setMinMax() [2/3]

void EPIC::KinematicRange::setMinMax ( const std::vector< double > &  minMax)

Set range.

◆ setMinMax() [3/3]

void EPIC::KinematicRange::setMinMax ( double  min,
double  max 
)

Set range.


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