Skip to content

Struct TempLat::RadialProjectionSingleBinAndValue

template <typename T>

ClassList > TempLat > RadialProjectionSingleBinAndValue

A class which combines a pair of RadialProjectionSingleDatums, one for the bin position, one for the function value for that bin. More...

  • #include <radialprojectionsinglebinandvalue.h>

Public Functions

Type Name
RadialProjectionSingleBinAndValue () = default
Default-construct binInformation and valueInformation: zeros (and equivalent), useful for summing up multiple entries.
RadialProjectionSingleBinAndValue (RadialProjectionSingleDatum< T > binInformation, RadialProjectionSingleDatum< T > valueInformation)
RadialProjectionSingleBinAndValue (const RadialProjectionSingleBinAndValue< U > & o)
RadialProjectionSingleBinAndValue< T > & combineTo (const RadialProjectionSingleBinAndValue< T > & other)
Summing two instances, lets you do a re-binning without having to think. Combines both values taking into account their original weights.
RadialProjectionSingleDatum< T > & getBin ()
const RadialProjectionSingleDatum< T > & getBin () const
std::string getBinString (int verbosity=0) const
std::string getHeader (int verbosity=0) const
std::string getHeaderBin (int verbosity=0, int shift=0) const
std::string getHeaderValue (int verbosity=0, int withMultiplicities=1, int shift=0) const
RadialProjectionSingleDatum< T > & getValue ()
const RadialProjectionSingleDatum< T > & getValue () const
std::string getValueString (bool withMultiplicity=true, int verbosity=0, bool fourierMult=false) const
std::string toString (bool withBinInfo=true, bool withMultiplicity=true, int verbosity=0) const

Detailed Description

Unit test: ctest -R test-radialprojectionsinglebinandvalue

Public Functions Documentation

function RadialProjectionSingleBinAndValue [1/3]

Default-construct binInformation and valueInformation: zeros (and equivalent), useful for summing up multiple entries.

TempLat::RadialProjectionSingleBinAndValue::RadialProjectionSingleBinAndValue () = default


function RadialProjectionSingleBinAndValue [2/3]

inline TempLat::RadialProjectionSingleBinAndValue::RadialProjectionSingleBinAndValue (
    RadialProjectionSingleDatum < T > binInformation,
    RadialProjectionSingleDatum < T > valueInformation
) 

function RadialProjectionSingleBinAndValue [3/3]

template<typename U>
inline TempLat::RadialProjectionSingleBinAndValue::RadialProjectionSingleBinAndValue (
    const RadialProjectionSingleBinAndValue < U > & o
) 

function combineTo

Summing two instances, lets you do a re-binning without having to think. Combines both values taking into account their original weights.

inline RadialProjectionSingleBinAndValue < T > & TempLat::RadialProjectionSingleBinAndValue::combineTo (
    const RadialProjectionSingleBinAndValue < T > & other
) 


function getBin [1/2]

inline RadialProjectionSingleDatum < T > & TempLat::RadialProjectionSingleBinAndValue::getBin () 

function getBin [2/2]

inline const RadialProjectionSingleDatum < T > & TempLat::RadialProjectionSingleBinAndValue::getBin () const

function getBinString

inline std::string TempLat::RadialProjectionSingleBinAndValue::getBinString (
    int verbosity=0
) const

function getHeader

inline std::string TempLat::RadialProjectionSingleBinAndValue::getHeader (
    int verbosity=0
) const

function getHeaderBin

inline std::string TempLat::RadialProjectionSingleBinAndValue::getHeaderBin (
    int verbosity=0,
    int shift=0
) const

function getHeaderValue

inline std::string TempLat::RadialProjectionSingleBinAndValue::getHeaderValue (
    int verbosity=0,
    int withMultiplicities=1,
    int shift=0
) const

function getValue [1/2]

inline RadialProjectionSingleDatum < T > & TempLat::RadialProjectionSingleBinAndValue::getValue () 

function getValue [2/2]

inline const RadialProjectionSingleDatum < T > & TempLat::RadialProjectionSingleBinAndValue::getValue () const

function getValueString

inline std::string TempLat::RadialProjectionSingleBinAndValue::getValueString (
    bool withMultiplicity=true,
    int verbosity=0,
    bool fourierMult=false
) const

function toString

inline std::string TempLat::RadialProjectionSingleBinAndValue::toString (
    bool withBinInfo=true,
    bool withMultiplicity=true,
    int verbosity=0
) const

Friends Documentation

friend combine

Summing two instances, lets you do a re-binning without having to think. Combines both values taking into account their original weights.

inline RadialProjectionSingleBinAndValue < T > TempLat::RadialProjectionSingleBinAndValue::combine (
    const RadialProjectionSingleBinAndValue < T > & a,
    const RadialProjectionSingleBinAndValue < T > & b
) 


friend operator<<

inline std::ostream & TempLat::RadialProjectionSingleBinAndValue::operator<< (
    std::ostream & ostream,
    const RadialProjectionSingleBinAndValue & dp
) 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/measuringtools/projectionhelpers/radialprojectionsinglebinandvalue.h