BOSS 8.0.0
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 23 of file EvtPdfMax.hh.

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

Referenced by EvtPdfMax().

◆ EvtPdfMax() [2/4]

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

Definition at line 24 of file EvtPdfMax.hh.

24: _value( value ), _valueKnown( true ), _locKnown( false ) {}
double value() const
Definition EvtPdfMax.hh:32

◆ EvtPdfMax() [3/4]

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

Definition at line 25 of file EvtPdfMax.hh.

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

◆ EvtPdfMax() [4/4]

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

Definition at line 27 of file EvtPdfMax.hh.

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

◆ ~EvtPdfMax()

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

Definition at line 29 of file EvtPdfMax.hh.

29{}

Member Function Documentation

◆ loc()

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

Definition at line 37 of file EvtPdfMax.hh.

37 {
38 assert( _locKnown );
39 return _loc;
40 }

◆ locKnown()

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

Definition at line 36 of file EvtPdfMax.hh.

36{ return _locKnown; }

◆ value()

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

Definition at line 32 of file EvtPdfMax.hh.

32 {
33 assert( _valueKnown );
34 return _value;
35 }

Referenced by EvtPdfMax(), and EvtPdfMax().

◆ valueKnown()

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

Definition at line 31 of file EvtPdfMax.hh.

31{ return _valueKnown; }

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