Jpp 21.0.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JPHYSICS::PDF::help::helper Struct Reference

Auxiliary data structure to stream configuration to help output. More...

#include <JPDFSupportkit.hh>

Public Member Functions

 helper (std::ostream &out)
 Constructor.
 
std::ostream & operator<< (const configuration_type &configuration) const
 Write configuration to output stream.
 

Private Attributes

std::ostream & out
 

Detailed Description

Auxiliary data structure to stream configuration to help output.

Definition at line 607 of file JPDFSupportkit.hh.

Constructor & Destructor Documentation

◆ helper()

JPHYSICS::PDF::help::helper::helper ( std::ostream & out)
inline

Constructor.

Parameters
outoutput stream

Definition at line 613 of file JPDFSupportkit.hh.

613 :
614 out(out)
615 {}

Member Function Documentation

◆ operator<<()

std::ostream & JPHYSICS::PDF::help::helper::operator<< ( const configuration_type & configuration) const
inline

Write configuration to output stream.

Parameters
configurationconfiguration
Returns
output stream

Definition at line 624 of file JPDFSupportkit.hh.

625 {
626 using namespace std;
627 using namespace JPP;
628
629 this->out << endl;
630 this->out << " possible options absorptionLength: " << get_keys(configuration.absorptionLength) << endl;
631 this->out << " possible options scatteringLength: " << get_keys(configuration.scatteringLength) << endl;
632 this->out << " possible options scatteringProbability: " << get_keys(configuration.scatteringProbability) << endl;
633 this->out << " possible options angularAcceptance: " << get_keys(configuration.angularAcceptance) << endl;
634 this->out << " possible options QE: " << get_keys(configuration.QE) << endl << " ";
635
636 return this->out;
637 }
array_type< JKey_t > get_keys(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data)
Method to create array of keys of map.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).

Member Data Documentation

◆ out

std::ostream& JPHYSICS::PDF::help::helper::out
private

Definition at line 640 of file JPDFSupportkit.hh.


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