#include <FlavorObservable.hpp>
Definition at line 24 of file FlavorObservable.hpp.
◆ FlavorObservable() [1/2]
LHPC::FlavorObservable::FlavorObservable |
( |
| ) |
|
Definition at line 21 of file FlavorObservable.cpp.
static double const notANumber
std::list< int > daughterParticleCodes
◆ FlavorObservable() [2/2]
◆ ~FlavorObservable()
LHPC::FlavorObservable::~FlavorObservable |
( |
| ) |
|
◆ getAsString()
std::string LHPC::FlavorObservable::getAsString |
( |
| ) |
const |
Definition at line 97 of file FlavorObservable.cpp.
107 for( std::list< int >::const_iterator
static std::string doubleToString(double inputDouble, int const numberOfMantissaDigits, int const numberOfExponentDigits, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-", std::string const positiveExponentPrefix="+", std::string const negativeExponentPrefix="-", std::string const exponentCharacter="E")
static std::string intToSpacePaddedString(int inputInt, int const minimumNumberOfChars, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-")
static int const spacesBetweenCodes
static int const minimumDigitsForCodes
◆ getDaughterParticleList() [1/2]
std::list< int > & LHPC::FlavorObservable::getDaughterParticleList |
( |
| ) |
|
|
inline |
◆ getDaughterParticleList() [2/2]
std::list< int > const & LHPC::FlavorObservable::getDaughterParticleList |
( |
| ) |
const |
|
inline |
◆ getNumberOfDaughterParticles()
int LHPC::FlavorObservable::getNumberOfDaughterParticles |
( |
| ) |
const |
|
inline |
◆ getScale()
double LHPC::FlavorObservable::getScale |
( |
| ) |
const |
|
inline |
◆ getValue()
double LHPC::FlavorObservable::getValue |
( |
| ) |
const |
|
inline |
◆ setFromString()
void LHPC::FlavorObservable::setFromString |
( |
std::string const & |
valuesString | ) |
|
Definition at line 43 of file FlavorObservable.cpp.
45 std::string firstRemainder;
46 std::string secondRemainder;
66 while( !(secondRemainder.empty()) )
77 if( ( 0 < numberOfDaughterParticles )
83 <<
"LHPC::warning! An FOBS line declared a different number of daughter"
84 <<
" particles ( " << numberOfDaughterParticles <<
" ) to the actual"
85 <<
" number of daughter particle codes it had ( "
87 <<
" )! The declared number is being ignored in favor of the number of"
91 <<
"input string: \"" << valuesString <<
"\"";
92 std::cout << std::endl;
static std::string firstWordOf(std::string const &stringToParse, std::string *const remainderString=NULL, std::string const &separatorChars=whitespaceChars)
static std::string const whitespaceAndNewlineChars
static std::string trimFromFrontAndBack(std::string const &stringToTrim, std::string const &charsToTrim=whitespaceAndNewlineChars)
static double stringToDouble(std::string const &stringToInterpret)
static int stringToInt(std::string const &stringToInterpret)
◆ setValues()
void LHPC::FlavorObservable::setValues |
( |
double const |
valueDouble, |
|
|
double const |
evaluationScale, |
|
|
std::list< int > const & |
daughterParticleCodes |
|
) |
| |
|
inline |
◆ daughterParticleCodes
std::list< int > LHPC::FlavorObservable::daughterParticleCodes |
|
protected |
◆ evaluationScale
double LHPC::FlavorObservable::evaluationScale |
|
protected |
◆ minimumDigitsForCodes
int const LHPC::FlavorObservable::minimumDigitsForCodes |
|
static |
◆ spacesBetweenCodes
int const LHPC::FlavorObservable::spacesBetweenCodes |
|
static |
◆ valueDouble
double LHPC::FlavorObservable::valueDouble |
|
protected |
The documentation for this class was generated from the following files: