CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPdfMax< Point > Class Template Reference

#include <EvtPdfMax.hh>

Public Member Functions

 EvtPdfMax ()
 
 EvtPdfMax (double value)
 
 EvtPdfMax (Point p, double value)
 
 EvtPdfMax (const EvtPdfMax &other)
 
 ~EvtPdfMax ()
 
bool valueKnown () const
 
double value () const
 
bool locKnown () const
 
Point loc () const
 

Detailed Description

template<class Point>
class EvtPdfMax< Point >

Definition at line 20 of file EvtPdfMax.hh.

Constructor & Destructor Documentation

◆ EvtPdfMax() [1/4]

template<class Point >
EvtPdfMax< Point >::EvtPdfMax ( )
inline

Definition at line 24 of file EvtPdfMax.hh.

25 : _value(-1),_valueKnown(false), _locKnown(false)
26 {}

◆ EvtPdfMax() [2/4]

template<class Point >
EvtPdfMax< Point >::EvtPdfMax ( double  value)
inline

Definition at line 27 of file EvtPdfMax.hh.

28 : _value(value),_valueKnown(true), _locKnown(false)
29 {}
double value() const
Definition: EvtPdfMax.hh:39

◆ EvtPdfMax() [3/4]

template<class Point >
EvtPdfMax< Point >::EvtPdfMax ( Point  p,
double  value 
)
inline

Definition at line 30 of file EvtPdfMax.hh.

31 : _value(value), _valueKnown(true), _locKnown(true), _loc(p)
32 {}

◆ EvtPdfMax() [4/4]

template<class Point >
EvtPdfMax< Point >::EvtPdfMax ( const EvtPdfMax< Point > &  other)
inline

Definition at line 33 of file EvtPdfMax.hh.

34 : COPY_MEM(_value), COPY_MEM(_valueKnown), COPY_MEM(_locKnown), COPY_MEM(_loc)
35 {}
#define COPY_MEM(X)
Definition: EvtMacros.hh:16

◆ ~EvtPdfMax()

template<class Point >
EvtPdfMax< Point >::~EvtPdfMax ( )
inline

Definition at line 36 of file EvtPdfMax.hh.

36{}

Member Function Documentation

◆ loc()

template<class Point >
Point EvtPdfMax< Point >::loc ( ) const
inline

Definition at line 41 of file EvtPdfMax.hh.

41{ assert(_locKnown); return _loc; }

◆ locKnown()

template<class Point >
bool EvtPdfMax< Point >::locKnown ( ) const
inline

Definition at line 40 of file EvtPdfMax.hh.

40{ return _locKnown; }

◆ value()

template<class Point >
double EvtPdfMax< Point >::value ( ) const
inline

Definition at line 39 of file EvtPdfMax.hh.

39{ assert(_valueKnown); return _value; }

Referenced by EvtPdfPred< T >::compute_max(), and EvtPdfPred< T >::operator()().

◆ valueKnown()

template<class Point >
bool EvtPdfMax< Point >::valueKnown ( ) const
inline

Definition at line 38 of file EvtPdfMax.hh.

38{ return _valueKnown; }

Referenced by EvtPdfPred< T >::operator()().


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