12 #ifndef EVT_PDF_MAX_HH
13 #define EVT_PDF_MAX_HH
15 #include "EvtGenBase/EvtMacros.hh"
19 template <
class Po
int>
25 : _value(-1),_valueKnown(
false), _locKnown(
false)
28 : _value(value),_valueKnown(
true), _locKnown(
false)
31 : _value(value), _valueKnown(
true), _locKnown(
true), _loc(p)
34 : COPY_MEM(_value), COPY_MEM(_valueKnown), COPY_MEM(_locKnown), COPY_MEM(_loc)
38 bool valueKnown()
const {
return _valueKnown; }
39 double value()
const { assert(_valueKnown);
return _value; }
40 bool locKnown()
const {
return _locKnown; }
41 Point loc()
const { assert(_locKnown);
return _loc; }