![]() |
The Gaudi Framework
v38r0 (2143aa4c)
|
Namespaces | |
Histos | |
QuasiRandom | |
RegEx | |
RegeEx: nemspace to hold gaudi regular expression checking. | |
Functions | |
GAUDI_API IAlgorithm * | getAlgorithm (const IAlgContextSvc *svc, const AlgSelector &sel) |
simple function to get the algorithm from Context Service More... | |
GAUDI_API IAlgorithm * | getAlgorithm (const std::vector< IAlgorithm * > &lst, const AlgSelector &sel) |
simple function to get the algorithm from Context Service More... | |
GAUDI_API GaudiAlgorithm * | getGaudiAlg (const IAlgContextSvc *svc) |
simple function to extract the last active GaudiAlgorithm from the context More... | |
GAUDI_API GaudiHistoAlg * | getHistoAlg (const IAlgContextSvc *svc) |
simple function to extract the last active GaudiHistoAlg from the context More... | |
GAUDI_API GaudiTupleAlg * | getTupleAlg (const IAlgContextSvc *svc) |
simple function to extract the last active GaudiTupleAlg from the context More... | |
GAUDI_API GaudiSequencer * | getGaudiSequencer (const IAlgContextSvc *svc) |
simple function to extract the last active GaudiSequencer from the context More... | |
GAUDI_API Sequencer * | getSequencerAlg (const IAlgContextSvc *svc) |
simple function to extract the last active Sequencer from the context More... | |
GAUDI_API IAlgorithm * | getSequencer (const IAlgContextSvc *svc) |
simple function to extract the last active "Sequencer" () GaudiSequencer or simple Sequencer) from the context More... | |
template<class TYPE , std::enable_if_t<!std::is_constructible_v< TYPE >, void * > = nullptr> | |
_GetType< TYPE >::return_type | getFromTS (IDataProviderSvc *service, std::string_view location) |
Helper function to provide the minimal lookup and cast functionality of SmartDataPtr used in the helper classes. More... | |
GAUDI_API bool | hasProperty (const IProperty *p, std::string_view name) |
simple function which check the existence of the property with the given name. More... | |
GAUDI_API bool | hasProperty (const IInterface *p, std::string_view name) |
simple function which check the existence of the property with the given name. More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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" More... | |
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. More... | |
GAUDI_API std::ostream & | toStream (const Gaudi::StringKey &key, std::ostream &s) |
send the object to stream (needed to use it as property) More... | |
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 More... | |
template<class TYPE > | |
std::ostream & | toStream (const TYPE &obj, std::ostream &s) |
the generic implementation of the printout to the std::ostream More... | |
std::ostream & | toStream (const std::string &obj, std::ostream &s) |
the printtout of the strings. More... | |
std::ostream & | toStream (const bool obj, std::ostream &s) |
the printout of boolean values "a'la Python" More... | |
std::ostream & | toStream (const float obj, std::ostream &s, const int prec=6) |
the printout of float values with the reasonable precision More... | |
std::ostream & | toStream (const double obj, std::ostream &s, const int prec=8) |
the printout of double values with the reasonable precision More... | |
std::ostream & | toStream (const long double obj, std::ostream &s, const int prec=10) |
the printout of long double values with the reasonable precision More... | |
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 )" More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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 )" More... | |
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 )" More... | |
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 )" More... | |
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 )" More... | |
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 More... | |
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 More... | |
template<unsigned int N> | |
std::ostream & | toStream (const char(&obj)[N], std::ostream &s) |
the specialization for C-string, a'la python tuple More... | |
std::ostream & | toStream (const char *obj, std::ostream &s) |
the specialization for C-string, a'la python tuple More... | |
template<typename... Args> | |
std::ostream & | toStream (const std::tuple< Args... > &tuple, std::ostream &s) |
the helper function to print the tuple More... | |
template<class TYPE > | |
std::string | toString (const TYPE &obj) |
the generic implementation of the type conversion to the string More... | |
std::ostream & | operator<< (std::ostream &s, const TypeNameString &tn) |
Output stream operator for TypeNameString instances. More... | |
GAUDI_API std::ostream & | toStream (const Gaudi::XYZPoint &obj, std::ostream &s) |
print XYZ point More... | |
GAUDI_API std::ostream & | toStream (const Gaudi::XYZVector &obj, std::ostream &s) |
print XYZ vector More... | |
GAUDI_API std::ostream & | toStream (const Gaudi::LorentzVector &obj, std::ostream &s) |
print Lorentz vector More... | |
GAUDI_API std::ostream & | toStream (const std::vector< const Gaudi::ParticleProperty * > &particles, std::ostream &stream) |
print a list of particle properties as formatted table More... | |
GAUDI_API std::ostream & | toStream (const TH1D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const TH2D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const TH3D &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const TH1F &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const TH2F &histo, std::ostream &stream, const bool asXML=false) |
stream the ROOT histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const TH3F &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram1D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram2D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream More... | |
GAUDI_API std::ostream & | toStream (const AIDA::IHistogram3D &histo, std::ostream &stream, const bool asXML=false) |
stream the AIDA histogram into output stream More... | |
GAUDI_API std::string | toString (const TH1D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH2D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH3D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH1F &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH2F &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH3F &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const AIDA::IHistogram1D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const AIDA::IHistogram2D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const AIDA::IHistogram3D &histo, const bool asXML=false) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const AIDA::IHistogram1D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (AIDA::IHistogram1D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH1D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (TH1D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH2D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (TH2D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (const TH3D *histo) |
convert the histogram into the string More... | |
GAUDI_API std::string | toString (TH3D *histo) |
convert the histogram into the string More... | |
|
inline |
Definition at line 136 of file AttribStringParser.h.
|
inline |
Definition at line 139 of file AttribStringParser.h.
IAlgorithm * Gaudi::Utils::getAlgorithm | ( | const IAlgContextSvc * | svc, |
const AlgSelector & | sel | ||
) |
simple function to get the algorithm from Context Service
svc | pointer to Algororithm Contetx Service |
sel | the selection functor |
Definition at line 34 of file GetAlg.cpp.
IAlgorithm * Gaudi::Utils::getAlgorithm | ( | const std::vector< IAlgorithm * > & | lst, |
const AlgSelector & | sel | ||
) |
simple function to get the algorithm from Context Service
lst | list of the algorithms |
sel | the selection functor |
Definition at line 40 of file GetAlg.cpp.
_GetType< TYPE >::return_type Gaudi::Utils::getFromTS | ( | IDataProviderSvc * | service, |
std::string_view | location | ||
) |
Helper function to provide the minimal lookup and cast functionality of SmartDataPtr used in the helper classes.
This version is dealing with the general case, where AnyDataWrapper cannot be used
This version allows the use of AnyDataWrapper but restricts to the case where TYPE is constructible
Definition at line 79 of file GetData.h.
GaudiAlgorithm * Gaudi::Utils::getGaudiAlg | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active GaudiAlgorithm from the context
Definition at line 69 of file GetAlgs.cpp.
GaudiSequencer * Gaudi::Utils::getGaudiSequencer | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active GaudiSequencer from the context
Definition at line 123 of file GetAlgs.cpp.
GaudiHistoAlg * Gaudi::Utils::getHistoAlg | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active GaudiHistoAlg from the context
Definition at line 87 of file GetAlgs.cpp.
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 242 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 214 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 302 of file Property.cpp.
IAlgorithm * Gaudi::Utils::getSequencer | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active "Sequencer" () GaudiSequencer or simple Sequencer) from the context
Definition at line 159 of file GetAlgs.cpp.
Sequencer * Gaudi::Utils::getSequencerAlg | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active Sequencer from the context
Definition at line 140 of file GetAlgs.cpp.
GaudiTupleAlg * Gaudi::Utils::getTupleAlg | ( | const IAlgContextSvc * | svc | ) |
simple function to extract the last active GaudiTupleAlg from the context
Definition at line 105 of file GetAlgs.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 83 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 106 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 275 of file Property.cpp.
|
inline |
|
inline |
Output stream operator for TypeNameString instances.
Definition at line 54 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 445 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 1069 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 502 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 472 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 1146 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 425 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 1018 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 323 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 878 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 407 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 376 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 992 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 341 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 828 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 914 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 90 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 57 of file BoostArrayAsProperty.h.
|
inline |
the specialization for C-string, a'la python tuple
Definition at line 276 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 268 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 103 of file ToStream.h.
|
inline |
the printout of float values with the reasonable precision
Definition at line 95 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::LorentzVector & | obj, |
std::ostream & | s | ||
) |
print Lorentz vector
Definition at line 138 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 66 of file StringKey.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZPoint & | obj, |
std::ostream & | s | ||
) |
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZVector & | obj, |
std::ostream & | s | ||
) |
|
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 232 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 214 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 196 of file ToStream.h.
|
inline |
the printout of long double values with the reasonable precision
Definition at line 111 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 87 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 | ||
) |
the specialization for std::array, a'la python tuple
Definition at line 255 of file ToStream.h.
|
inline |
|
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 178 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 124 of file ToStream.h.
|
inline |
|
inline |
the printtout of the strings.
the string is printed a'la Python using the quotes
Definition at line 85 of file ToStream.h.
|
inline |
the helper function to print the tuple
tuple | (INPUT) tuple |
Definition at line 337 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 165 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 |
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 284 of file ToStream.h.
std::ostream& Gaudi::Utils::toStream | ( | const TYPE(&) | obj[N], |
std::ostream & | s | ||
) |
|
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 300 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 354 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.