![]() |
The Gaudi Framework
master (ff829712)
|
Namespaces | |
namespace | Histos |
Collection of useful utilities for manipulations with AIDA hisgograms. | |
namespace | QuasiRandom |
namespace | RegEx |
RegeEx: nemspace to hold gaudi regular expression checking. | |
Classes | |
class | Aida2ROOT |
Accessor to underlying ROOT-representation of transient histograms The actual code is imported from Bender project. More... | |
class | AlgContext |
Helper "sentry" class to automatize the safe register/unregister the algorithm's context. More... | |
class | AttribStringParser |
Parse attribute strings allowing iteration over the various attributes. More... | |
class | HistoStats |
The collection of trivial functions to access the statistical information for the histograms. More... | |
class | LockedChrono |
Helper object, useful for measurement of CPU-performance of highly-recursive structures, e.g. More... | |
class | MapBase |
Helper base-class to allow the generic Python-decoration for all "map-like" classes in Gaudi. More... | |
class | PeriodicAction |
Helper to periodically run asynchronous tasks. More... | |
class | SignalMonitorSvc |
Implementation of Gaudi::ISignalMonitor. More... | |
class | StopSignalHandler |
Service that stop the processing if a signal is received. More... | |
struct | TuplePrinter |
struct | TuplePrinter< Tuple, 1 > |
class | TypeNameString |
Helper class to parse a string of format "type/name". More... | |
Functions | |
GAUDI_API bool | hasProperty (const IProperty *p, std::string_view name) |
simple function which check the existence of the property with the given name. | |
GAUDI_API bool | hasProperty (const IInterface *p, std::string_view name) |
simple function which check the existence of the property with the given name. | |
GAUDI_API Gaudi::Details::PropertyBase * | getProperty (const IProperty *p, std::string_view name) |
simple function which gets the property with given name from the component | |
GAUDI_API Gaudi::Details::PropertyBase * | getProperty (const IInterface *p, std::string_view name) |
simple function which gets the property with given name from the component | |
GAUDI_API bool | hasProperty (const std::vector< const Gaudi::Details::PropertyBase * > *p, std::string_view name) |
check the property by name from the list of the properties | |
GAUDI_API const Gaudi::Details::PropertyBase * | getProperty (const std::vector< const Gaudi::Details::PropertyBase * > *p, std::string_view name) |
get the property by name from the list of the properties | |
template<class TYPE> | |
StatusCode | setProperty (IProperty *component, const std::string &name, const TYPE &value, const std::string &doc) |
simple function to set the property of the given object from the value | |
template<class TYPE> | |
StatusCode | setProperty (IProperty *component, const std::string &name, const TYPE &value) |
simple function to set the property of the given object from the value | |
GAUDI_API StatusCode | setProperty (IProperty *component, const std::string &name, const std::string &value, const std::string &doc="") |
the full specialization of the previous method setProperty( IProperty, std::string, const TYPE&) for standard strings | |
GAUDI_API StatusCode | setProperty (IProperty *component, const std::string &name, const char *value, const std::string &doc="") |
the full specialization of the method setProperty( IProperty, std::string, const TYPE&) for C-strings | |
template<unsigned N> | |
StatusCode | setProperty (IProperty *component, const std::string &name, const char(&value)[N], const std::string &doc="") |
the full specialization of the method setProperty( IProperty, std::string, const TYPE&) for C-arrays | |
GAUDI_API StatusCode | setProperty (IProperty *component, const std::string &name, const Gaudi::Details::PropertyBase *property, const std::string &doc="") |
simple function to set the property of the given object from another property | |
GAUDI_API StatusCode | setProperty (IProperty *component, const std::string &name, const Gaudi::Details::PropertyBase &property, const std::string &doc="") |
simple function to set the property of the given object from another property | |
template<class TYPE> | |
StatusCode | setProperty (IProperty *component, const std::string &name, const Gaudi::Property< TYPE > &value, const std::string &doc="") |
simple function to set the property of the given object from another property | |
template<class TYPE> | |
StatusCode | setProperty (IInterface *component, const std::string &name, const TYPE &value, const std::string &doc="") |
simple function to set the property of the given object from the value | |
GAUDI_API StatusCode | setProperty (IInterface *component, const std::string &name, const std::string &value, const std::string &doc="") |
the full specialization of the method setProperty( IInterface , std::string, const TYPE&) for standard strings | |
GAUDI_API StatusCode | setProperty (IInterface *component, const std::string &name, const char *value, const std::string &doc="") |
the full specialization of the method setProperty( IInterface , std::string, const TYPE&) for C-strings | |
template<unsigned N> | |
StatusCode | setProperty (IInterface *component, const std::string &name, const char(&value)[N], const std::string &doc="") |
the full specialization of the method setProperty( IInterface, std::string, const TYPE&) for C-arrays | |
GAUDI_API StatusCode | setProperty (IInterface *component, const std::string &name, const Gaudi::Details::PropertyBase *property, const std::string &doc="") |
simple function to set the property of the given object from another property | |
GAUDI_API StatusCode | setProperty (IInterface *component, const std::string &name, const Gaudi::Details::PropertyBase &property, const std::string &doc="") |
simple function to set the property of the given object from another property | |
template<class TYPE> | |
StatusCode | setProperty (IInterface *component, const std::string &name, const Gaudi::Property< TYPE > &value, const std::string &doc="") |
simple function to set the property of the given object from another property | |
AttribStringParser::Iterator | begin (const AttribStringParser &parser) |
AttribStringParser::Iterator | end (const AttribStringParser &) |
template<class ITERATOR> | |
std::ostream & | toStream (ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim) |
the helper function to print the sequence | |
template<class TYPE, std::size_t N> | |
std::ostream & | toStream (const boost::array< TYPE, N > &obj, std::ostream &s) |
printout of class boost::array The format is "Python's tuple" | |
GAUDI_API std::ostream & | toStream (const DataHandle &v, std::ostream &o) |
bool | iequal (std::string_view v1, std::string_view v2) |
Helper for case insensitive string comparison. | |
GAUDI_API std::ostream & | toStream (const Gaudi::StringKey &key, std::ostream &s) |
send the object to stream (needed to use it as property) | |
template<class SCALAR> | |
std::ostream & | toStream (const SCALAR &, std::ostream &) |
template<class SCALAR, unsigned int N> | |
std::ostream & | toStream (const ROOT::Math::SVector< SCALAR, N > &obj, std::ostream &s) |
the general streaming function for SVector using python-tupel format | |
template<class TYPE> | |
std::ostream & | toStream (const TYPE &obj, std::ostream &s) |
the generic implementation of the printout to the std::ostream | |
std::ostream & | toStream (const std::string &obj, std::ostream &s) |
the printtout of the strings. | |
std::ostream & | toStream (const bool obj, std::ostream &s) |
the printout of boolean values "a'la Python" | |
std::ostream & | toStream (const float obj, std::ostream &s, const int prec=6) |
the printout of float values with the reasonable precision | |
std::ostream & | toStream (const double obj, std::ostream &s, const int prec=8) |
the printout of double values with the reasonable precision | |
std::ostream & | toStream (const long double obj, std::ostream &s, const int prec=10) |
the printout of long double values with the reasonable precision | |
template<class KTYPE, class VTYPE> | |
std::ostream & | toStream (const std::pair< KTYPE, VTYPE > &obj, std::ostream &s) |
the partial template specialization of std::pair<KTYPE,VTYPE> printout the pair is printed a'la Python tuple: " ( a , b )" | |
template<typename... Args> | |
std::ostream & | toStream (const std::tuple< Args... > &tuple, std::ostream &s) |
the helper function to print the tuple | |
template<class TYPE, class ALLOCATOR> | |
std::ostream & | toStream (const std::vector< TYPE, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of std::vector<TYPE,ALLOCATOR> printout. | |
template<class TYPE, class ALLOCATOR> | |
std::ostream & | toStream (const std::list< TYPE, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of std::list<TYPE,ALLOCATOR> printout. | |
template<class TYPE, class CMP, class ALLOCATOR> | |
std::ostream & | toStream (const std::set< TYPE, CMP, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of std::set<TYPE,CMP,ALLOCATOR> printout. | |
template<class TYPE, class HASH, class CMP, class ALLOCATOR> | |
std::ostream & | toStream (const std::unordered_set< TYPE, HASH, CMP, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of std::unordered_set<TYPE,HASH,CMP,ALLOCATOR> printout. | |
template<class KTYPE, class VTYPE, class CMP, class ALLOCATOR> | |
std::ostream & | toStream (const std::map< KTYPE, VTYPE, CMP, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of std::map<KTYPE,VTYPE,CMP,ALLOCATOR> printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )" | |
template<class KTYPE, class VTYPE, class CMP, class ALLOCATOR> | |
std::ostream & | toStream (const GaudiUtils::VectorMap< KTYPE, VTYPE, CMP, ALLOCATOR > &obj, std::ostream &s) |
the partial template specialization of GaudiUtils::VectorMap<KTYPE,VTYPE,CMP,ALLOCATOR> printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )" | |
template<class KTYPE, class VTYPE, class MAP> | |
std::ostream & | toStream (const GaudiUtils::Map< KTYPE, VTYPE, MAP > &obj, std::ostream &s) |
the partial template specialization of GaudiUtils::Map<KTYPE,VTYPE,MAP> printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )" | |
template<class KTYPE, class VTYPE, class HASH, class MAP> | |
std::ostream & | toStream (const GaudiUtils::HashMap< KTYPE, VTYPE, HASH, MAP > &obj, std::ostream &s) |
the partial template specialization of GaudiUtils::HashMap<KTYPE,VTYPE,HASH,MAP> printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )" | |
template<class TYPE, unsigned int N> | |
std::ostream & | toStream (const TYPE(&obj)[N], std::ostream &s) |
the specialization for C-arrays, a'la python tuple | |
template<class TYPE, std::size_t N> | |
std::ostream & | toStream (const std::array< TYPE, N > &obj, std::ostream &s) |
the specialization for std::array, a'la python tuple | |
template<unsigned int N> | |
std::ostream & | toStream (const char(&obj)[N], std::ostream &s) |
the specialization for C-string, a'la python tuple | |
std::ostream & | toStream (const char *obj, std::ostream &s) |
the specialization for C-string, a'la python tuple | |
template<class TYPE> | |
std::string | toString (const TYPE &obj) |
the generic implementation of the type conversion to the string | |
std::ostream & | operator<< (std::ostream &s, const TypeNameString &tn) |
Output stream operator for TypeNameString instances. | |
GAUDI_API std::ostream & | toStream (const Gaudi::XYZPoint &obj, std::ostream &s) |
print XYZ point | |
GAUDI_API std::ostream & | toStream (const Gaudi::XYZVector &obj, std::ostream &s) |
print XYZ vector | |
GAUDI_API std::ostream & | toStream (const Gaudi::LorentzVector &obj, std::ostream &s) |
print Lorentz vector | |
GAUDI_API std::ostream & | toStream (const std::vector< const Gaudi::ParticleProperty * > &particles, std::ostream &stream) |
print a list of particle properties as formatted table | |
GAUDI_API std::ostream & | toStream (const TH1D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream | |
GAUDI_API std::ostream & | toStream (const TH2D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream | |
GAUDI_API std::ostream & | toStream (const TH3D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream | |
GAUDI_API std::ostream & | toStream (const TH1F &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream | |
GAUDI_API std::ostream & | toStream (const TH2F &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream | |
GAUDI_API std::ostream & | toStream (const TH3F &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram1D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram2D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram3D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream | |
GAUDI_API std::string | toString (const TH1D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH2D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH3D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH1F &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH2F &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH3F &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const AIDA::IHistogram1D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const AIDA::IHistogram2D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const AIDA::IHistogram3D &histo, const bool asXML=false) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const AIDA::IHistogram1D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (AIDA::IHistogram1D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH1D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (TH1D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH2D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (TH2D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (const TH3D *histo) |
convert the histogram into the string | |
GAUDI_API std::string | toString (TH3D *histo) |
convert the histogram into the string | |
|
inline |
Definition at line 135 of file AttribStringParser.h.
|
inline |
Definition at line 138 of file AttribStringParser.h.
PropertyBase * Gaudi::Utils::getProperty | ( | const IInterface * | p, |
std::string_view | name ) |
simple function which gets the property with given name from the component
p | pointer to IInterface object |
name | property name (case insensitive) |
Definition at line 217 of file Property.cpp.
PropertyBase * Gaudi::Utils::getProperty | ( | const IProperty * | p, |
std::string_view | name ) |
simple function which gets the property with given name from the component
p | pointer to IProperty object |
name | property name (case insensitive) |
Definition at line 191 of file Property.cpp.
const PropertyBase * Gaudi::Utils::getProperty | ( | const std::vector< const Gaudi::Details::PropertyBase * > * | p, |
std::string_view | name ) |
get the property by name from the list of the properties
p | list of properties |
name | property name (case insensitive) |
Definition at line 273 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const IInterface * | p, |
std::string_view | name ) |
simple function which check the existence of the property with the given name.
p | pointer to IInterface object (any component) |
name | property name (case insensitive) |
Definition at line 66 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const IProperty * | p, |
std::string_view | name ) |
simple function which check the existence of the property with the given name.
p | pointer to IProperty object |
name | property name (case insensitive) |
Definition at line 87 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const std::vector< const Gaudi::Details::PropertyBase * > * | p, |
std::string_view | name ) |
check the property by name from the list of the properties
p | list of properties |
name | property name (case insensitive) |
Definition at line 248 of file Property.cpp.
|
inline |
Helper for case insensitive string comparison.
Definition at line 41 of file PropertyHolder.h.
|
inline |
Output stream operator for TypeNameString instances.
Definition at line 53 of file TypeNameString.h.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const char * | value, | ||
const std::string & | doc = "" ) |
the full specialization of the method setProperty( IInterface , std::string, const TYPE&) for C-strings
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 404 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const char(&) | value[N], | ||
const std::string & | doc = "" ) |
the full specialization of the method setProperty( IInterface, std::string, const TYPE&) for C-arrays
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 1039 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const Gaudi::Details::PropertyBase & | property, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
property | the property |
doc | the new documentation string |
Definition at line 457 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const Gaudi::Details::PropertyBase * | property, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
property | the property |
doc | the new documentation string |
Definition at line 429 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const Gaudi::Property< TYPE > & | value, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
value | the property |
doc | the new documentation string |
Definition at line 1113 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const std::string & | value, | ||
const std::string & | doc = "" ) |
the full specialization of the method setProperty( IInterface , std::string, const TYPE&) for standard strings
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 386 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const TYPE & | value, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from the value
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 991 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const char * | value, | ||
const std::string & | doc = "" ) |
the full specialization of the method setProperty( IProperty, std::string, const TYPE&) for C-strings
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 292 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const char(&) | value[N], | ||
const std::string & | doc = "" ) |
the full specialization of the method setProperty( IProperty, std::string, const TYPE&) for C-arrays
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 856 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const Gaudi::Details::PropertyBase & | property, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
property | the property |
doc | the new documentation string |
Definition at line 370 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const Gaudi::Details::PropertyBase * | property, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
property | the property |
doc | the new documentation string |
Definition at line 341 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const Gaudi::Property< TYPE > & | value, | ||
const std::string & | doc = "" ) |
simple function to set the property of the given object from another property
component | component which needs to be configured |
name | name of the property |
value | the property |
doc | the new documentation string |
Definition at line 966 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const std::string & | value, | ||
const std::string & | doc = "" ) |
the full specialization of the previous method setProperty( IProperty, std::string, const TYPE&) for standard strings
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 308 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const TYPE & | value ) |
simple function to set the property of the given object from the value
Note: the interface IProperty allows setting of the properties either directly from other properties or from strings only
component | component which needs to be configured |
name | name of the property |
value | value of the property |
Definition at line 809 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const TYPE & | value, | ||
const std::string & | doc ) |
simple function to set the property of the given object from the value
Note: the interface IProperty allows setting of the properties either directly from other properties or from strings only
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Note: the native interface IProperty allows setting of the properties either directly from other properties or from strings only
component | component which needs to be configured |
name | name of the property |
value | value of the property |
doc | the new documentation string |
Definition at line 891 of file Property.h.
std::ostream & Gaudi::Utils::toStream | ( | const AIDA::IHistogram1D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the AIDA histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 326 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const AIDA::IHistogram2D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the AIDA histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 337 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const AIDA::IHistogram3D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the AIDA histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 349 of file Histo2String.cpp.
|
inline |
the printout of boolean values "a'la Python"
Definition at line 75 of file ToStream.h.
|
inline |
printout of class boost::array The format is "Python's tuple"
obj | (INPUT) the arary to be printed |
s | (UPDATE) the actual stream |
Definition at line 47 of file BoostArrayAsProperty.h.
|
inline |
the specialization for C-string, a'la python tuple
Definition at line 252 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const char(&) | obj[N], |
std::ostream & | s ) |
the specialization for C-string, a'la python tuple
Definition at line 245 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const DataHandle & | v, |
std::ostream & | o ) |
Definition at line 30 of file DataHandleProperty.cpp.
|
inline |
the printout of double values with the reasonable precision
Definition at line 88 of file ToStream.h.
|
inline |
the printout of float values with the reasonable precision
Definition at line 80 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::LorentzVector & | obj, |
std::ostream & | s ) |
print Lorentz vector
Definition at line 112 of file ParsersVct.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::StringKey & | key, |
std::ostream & | s ) |
send the object to stream (needed to use it as property)
key | (INPUT) the object to be printed |
s | (OUTPUT) the stream |
Definition at line 29 of file StringKey.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZPoint & | obj, |
std::ostream & | s ) |
print XYZ point
Definition at line 91 of file ParsersVct.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZVector & | obj, |
std::ostream & | s ) |
print XYZ vector
Definition at line 101 of file ParsersVct.cpp.
|
inline |
the partial template specialization of GaudiUtils::HashMap<KTYPE,VTYPE,HASH,MAP>
printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )"
Definition at line 212 of file ToStream.h.
|
inline |
the partial template specialization of GaudiUtils::Map<KTYPE,VTYPE,MAP>
printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )"
Definition at line 195 of file ToStream.h.
|
inline |
the partial template specialization of GaudiUtils::VectorMap<KTYPE,VTYPE,CMP,ALLOCATOR>
printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )"
Definition at line 178 of file ToStream.h.
|
inline |
the printout of long double values with the reasonable precision
Definition at line 96 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const ROOT::Math::SVector< SCALAR, N > & | obj, |
std::ostream & | s ) |
the general streaming function for SVector using python-tupel format
Definition at line 56 of file SVectorAsProperty.h.
std::ostream & Gaudi::Utils::toStream | ( | const SCALAR & | , |
std::ostream & | ) |
std::ostream & Gaudi::Utils::toStream | ( | const std::array< TYPE, N > & | obj, |
std::ostream & | s ) |
|
inline |
the partial template specialization of std::list<TYPE,ALLOCATOR>
printout.
The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 132 of file ToStream.h.
|
inline |
the partial template specialization of std::map<KTYPE,VTYPE,CMP,ALLOCATOR>
printout the map is printed a'la Python dict: " ( a : b , c: d , e : f )"
Definition at line 161 of file ToStream.h.
|
inline |
the partial template specialization of std::pair<KTYPE,VTYPE>
printout the pair is printed a'la Python tuple: " ( a , b )"
Definition at line 108 of file ToStream.h.
|
inline |
the partial template specialization of std::set<TYPE,CMP,ALLOCATOR>
printout.
The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 142 of file ToStream.h.
|
inline |
the printtout of the strings.
the string is printed a'la Python using the quotes
Definition at line 70 of file ToStream.h.
|
inline |
the helper function to print the tuple
tuple | (INPUT) tuple |
Definition at line 285 of file ToStream.h.
|
inline |
the partial template specialization of std::unordered_set<TYPE,HASH,CMP,ALLOCATOR>
printout.
The set is printed a'la Python set: "{ a, b, c }"
Definition at line 149 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const std::vector< const Gaudi::ParticleProperty * > & | particles, |
std::ostream & | stream ) |
print a list of particle properties as formatted table
particles | the list of particle properties |
stream | the reference to the output stream |
Definition at line 346 of file ParticleProperty.cpp.
|
inline |
the partial template specialization of std::vector<TYPE,ALLOCATOR>
printout.
The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 122 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const TH1D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the ROOT histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 266 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const TH1F & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the ROOT histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 276 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const TH2D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the ROOT histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 286 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const TH2F & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the ROOT histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 296 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const TH3D & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the ROOT histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 306 of file Histo2String.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const TH3F & | histo, |
std::ostream & | stream, | ||
const bool | asXML = false ) |
stream the AIDA histogram into output stream
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
asXML | (INPUT) use XML-format |
Definition at line 316 of file Histo2String.cpp.
|
inline |
the generic implementation of the printout to the std::ostream
Definition at line 259 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const TYPE(&) | obj[N], |
std::ostream & | s ) |
the specialization for C-arrays, a'la python tuple
Definition at line 221 of file ToStream.h.
|
inline |
the helper function to print the sequence
first | (INPUT) begin-iterator for the sequence |
last | (INPUT) end-iterator for the sequence |
s | (UPDATE) the stream itself |
open | (INPUT) "open"-symbol |
close | (INPUT) "close"-symbol |
delim | (INPUT) "delimiter"-symbol |
Definition at line 304 of file ToStream.h.
std::string Gaudi::Utils::toString | ( | AIDA::IHistogram1D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 500 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const AIDA::IHistogram1D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 448 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const AIDA::IHistogram1D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 490 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const AIDA::IHistogram2D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 462 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const AIDA::IHistogram3D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 476 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH1D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 364 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH1D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 510 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH1F & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 378 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH2D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 392 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH2D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 520 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH2F & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 406 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH3D & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 420 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH3D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 550 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | const TH3F & | histo, |
const bool | asXML = false ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 434 of file Histo2String.cpp.
|
inline |
the generic implementation of the type conversion to the string
Definition at line 326 of file ToStream.h.
std::string Gaudi::Utils::toString | ( | TH1D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 530 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | TH2D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 540 of file Histo2String.cpp.
std::string Gaudi::Utils::toString | ( | TH3D * | histo | ) |
convert the histogram into the string
histo | (INPUT) the histogram to be streamed |
asXML | (INPUT) use XML-format |
Definition at line 560 of file Histo2String.cpp.