npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0

Public Types

enum  { BM_MAXPARAMS = 4U }
 

Public Member Functions

 BoundaryHandling (const char *in_methodName, const double *params=0, const unsigned nParams=0)
 
 BoundaryHandling (const char *in_methodName, const std::vector< double > &params)
 
const char * methodName () const
 
const double * parameters () const
 
unsigned nParameters () const
 
unsigned methodId () const
 
bool operator== (const BoundaryHandling &r) const
 
bool operator!= (const BoundaryHandling &r) const
 
bool operator< (const BoundaryHandling &r) const
 
bool operator> (const BoundaryHandling &r) const
 
gs::ClassId classId () const
 
bool write (std::ostream &of) const
 

Static Public Member Functions

static bool isValidMethodName (const char *name)
 
static std::string validMethodNames ()
 
static bool isParameterFree (const char *name)
 
static std::string parameterFreeNames ()
 
static unsigned expectedNParameters (const char *name)
 
static const char * classname ()
 
static unsigned version ()
 
static void restore (const gs::ClassId &id, std::istream &in, BoundaryHandling *ptr)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Maximum number of parameters used by any of the LOrPE boundary handling methods

Member Function Documentation

◆ expectedNParameters()

static unsigned npstat::BoundaryHandling::expectedNParameters ( const char *  name)
static

Number of parameters needed for the method with the given name

◆ isParameterFree()

static bool npstat::BoundaryHandling::isParameterFree ( const char *  name)
static

Does given C-string represent a valid boundary method name for a method which does not need additional parameters?

◆ isValidMethodName()

static bool npstat::BoundaryHandling::isValidMethodName ( const char *  name)
static

Does given C-string represent a valid boundary method name? Valid boundary method names are listed in the comments to the "npstat/stat/BoundaryMethod.hh" header file. Nullptr corresponds to a valid name with id 0.

◆ methodId()

unsigned npstat::BoundaryHandling::methodId ( ) const
inline

The id of the given boundary handling method can change from one NPStat release to another, so do not store it anywhere

◆ parameterFreeNames()

static std::string npstat::BoundaryHandling::parameterFreeNames ( )
static

Names of boundary methods which do not need any parameters

◆ validMethodNames()

static std::string npstat::BoundaryHandling::validMethodNames ( )
static

All valid boundary method names (for use in error messages, etc)


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