cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
+ Inheritance diagram for YODADrawer< T >:
+ Collaboration diagram for YODADrawer< T >:

Public Member Functions

 YODADrawer (const ParametersList &params)
 
const YODADrawerdraw (const Graph1D &graph, const Mode &) const override
 Draw a one-dimensional graph.
 
const YODADrawerdraw (const Graph2D &graph, const Mode &) const override
 Draw a two-dimensional graph.
 
const YODADrawerdraw (const Hist1D &hist, const Mode &) const override
 Draw a one-dimensional histogram.
 
const YODADrawerdraw (const Hist2D &hist, const Mode &) const override
 Draw a two-dimensional histogram.
 
const YODADrawerdraw (const DrawableColl &, const std::string &name="", const std::string &title="", const Mode &mode=Mode::none) const override
 Draw a collection of drawables.
 
virtual std::ostream & operator<< (std::ostream &os) const
 Output operator (when necessary)
 
const std::string & name () const
 Module unique indexing name.
 
bool operator== (const SteeredObject &oth) const
 Equality operator.
 
bool operator!= (const SteeredObject &oth) const
 Inequality operator.
 
const ParametersListparameters () const override
 Module user-defined parameters.
 
virtual void setParameters (const ParametersList &params) override
 Set module parameters.
 
void setDescribedParameters (const ParametersList &params_orig)
 Set (documented) module parameters.
 

Static Public Member Functions

static ParametersDescription description ()
 

Protected Member Functions

template<typename T >
steer (const std::string &key) const
 Retrieve a parameters as previously steered.
 
template<typename T , typename U >
U steerAs (const std::string &key) const
 Retrieve a recasted parameters as previously steered.
 
std::string steerName () const
 Retrieve module name from parameters.
 
std::string steerPath (const std::string &key) const
 Retrieve a path from common search paths.
 

Protected Attributes

const std::string name_
 Module unique indexing name.
 
ParametersList params_
 Module parameters.
 

Detailed Description

template<typename T>
class cepgen::utils::YODADrawer< T >

Definition at line 43 of file YODADrawer.cpp.

Constructor & Destructor Documentation

◆ YODADrawer()

template<typename T >
YODADrawer ( const ParametersList params)
explicit

Definition at line 45 of file YODADrawer.cpp.

Member Function Documentation

◆ description()

template<typename T >
static ParametersDescription description ( )
static

Definition at line 52 of file YODADrawer.cpp.

◆ draw() [1/5]

template<typename T >
const YODADrawer< T > & draw ( const DrawableColl ,
const std::string &  name = "",
const std::string &  title = "",
const Mode mode = Mode::none 
) const
overridevirtual

Implements Drawer.

Definition at line 94 of file YODADrawer.cpp.

◆ draw() [2/5]

template<typename T >
const YODADrawer & draw ( const Graph1D ,
const Mode mode 
) const
overridevirtual

Implements Drawer.

Definition at line 61 of file YODADrawer.cpp.

◆ draw() [3/5]

template<typename T >
const YODADrawer & draw ( const Graph2D ,
const Mode mode 
) const
overridevirtual

Implements Drawer.

Definition at line 65 of file YODADrawer.cpp.

◆ draw() [4/5]

template<typename T >
const YODADrawer & draw ( const Hist1D ,
const Mode mode 
) const
overridevirtual

Implements Drawer.

Definition at line 69 of file YODADrawer.cpp.

◆ draw() [5/5]

template<typename T >
const YODADrawer & draw ( const Hist2D ,
const Mode mode 
) const
overridevirtual

Implements Drawer.

Definition at line 73 of file YODADrawer.cpp.

◆ name()

const std::string & name ( ) const
inherited

Definition at line 42 of file NamedModule.h.

◆ operator!=()

template<typename T >
bool operator!= ( const SteeredObject< T > &  oth) const
inherited

Definition at line 51 of file SteeredObject.h.

◆ operator<<()

virtual std::ostream & operator<< ( std::ostream &  os) const
virtualinherited

Definition at line 84 of file Drawer.h.

◆ operator==()

template<typename T >
bool operator== ( const SteeredObject< T > &  oth) const
inherited

Definition at line 49 of file SteeredObject.h.

◆ parameters()

template<typename T >
const ParametersList & parameters ( ) const
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 54 of file SteeredObject.h.

◆ setDescribedParameters()

template<typename T >
void setDescribedParameters ( const ParametersList params_orig)
inherited

Definition at line 73 of file SteeredObject.h.

◆ setParameters()

template<typename T >
virtual void setParameters ( const ParametersList params)
overridevirtualinherited

Reimplemented from Steerable.

Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.

Definition at line 62 of file SteeredObject.h.

◆ steer()

template<typename T >
T steer ( const std::string &  key) const
protectedinherited

Definition at line 39 of file Steerable.h.

◆ steerAs()

template<typename T , typename U >
U steerAs ( const std::string &  key) const
protectedinherited

Definition at line 44 of file Steerable.h.

◆ steerName()

std::string steerName ( ) const
protectedinherited

Definition at line 48 of file Steerable.h.

◆ steerPath()

std::string steerPath ( const std::string &  key) const
protectedinherited

Definition at line 30 of file Steerable.cpp.

Member Data Documentation

◆ name_

const std::string name_
protectedinherited

Definition at line 45 of file NamedModule.h.

◆ params_

ParametersList params_
mutableprotectedinherited

Definition at line 50 of file Steerable.h.