The Gaudi Framework
v30r3 (a5ef0a68)
|
Namespaces | |
Histos | |
Collection of useful utilities for manipulations with AIDA hisgograms. | |
QuasiRandom | |
RegEx | |
RegeEx: nemspace to hold gaudi regular expression checking. | |
Classes | |
struct | _GetType |
Helper structure to define the proper return type for "get"-functions. More... | |
struct | _GetType< Gaudi::NamedRange_< CONTAINER > > |
the template specialization for "named ranges" More... | |
struct | _GetType< Gaudi::Range_< CONTAINER > > |
the template specialization for "ranges" More... | |
struct | _GetType< TYPE & > |
the template specialization for references More... | |
struct | _GetType< TYPE * > |
the template specialization for pointers More... | |
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 | AlgNameSelector |
The trivial selector of algorithm by type. More... | |
class | AlgSelector |
Simple interface class for selection of algorithms. More... | |
class | AlgTypeSelector |
The trivial selector of algorithm by type. More... | |
class | AttribStringParser |
Parse attribute strings allowing iteration over the various attributes. More... | |
struct | CheckData |
Helper structure for implementation of "exists"-functions for GaudiCommon<BASE> More... | |
struct | CheckData< const TYPE > |
the template specialization for 'const'-type More... | |
struct | CheckData< Gaudi::NamedRange_< std::vector< const TYPE * > > > |
the template specialization for ranges More... | |
struct | CheckData< Gaudi::Range_< std::vector< const TYPE * > > > |
the template specialization for ranges More... | |
struct | CheckData< TYPE & > |
the template specialization for reference types More... | |
struct | CheckData< TYPE * > |
the template specialization for pointer types More... | |
struct | GetData |
Helper structure for implementation of "get"-functions for GaudiCommon<BASE> More... | |
struct | GetData< const TYPE > |
the template specialization for const types More... | |
struct | GetData< Gaudi::NamedRange_< std::vector< const TYPE * > > > |
the template specialization for named ranges More... | |
struct | GetData< Gaudi::Range_< std::vector< const TYPE * > > > |
the template specialization for ranges More... | |
struct | GetData< TYPE & > |
the template specialization for reference types More... | |
struct | GetData< TYPE * > |
the template specialization for pointer types More... | |
struct | GetOrCreateData |
Helper structure for implementation of "getOrCreate"-functions for GaudiCommon<BASE> More... | |
struct | GetOrCreateData< const TYPE, const TYPE2 > |
struct | GetOrCreateData< const TYPE, TYPE2 > |
struct | GetOrCreateData< Gaudi::NamedRange_< std::vector< const TYPE * > >, TYPE2 > |
struct | GetOrCreateData< Gaudi::Range_< std::vector< const TYPE * > >, TYPE2 > |
struct | GetOrCreateData< TYPE &, TYPE2 & > |
struct | GetOrCreateData< TYPE &, TYPE2 > |
struct | GetOrCreateData< TYPE *, TYPE2 * > |
struct | GetOrCreateData< TYPE *, TYPE2 > |
struct | GetOrCreateData< TYPE, const TYPE2 > |
struct | GetOrCreateData< TYPE, TYPE2 & > |
struct | GetOrCreateData< TYPE, TYPE2 * > |
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 | 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 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< TYPE >::value, void * > = nullptr> | |
_GetType< TYPE >::return_type | getFromTS (IDataProviderSvc *service, const std::string &location) |
Helper function to provide the minimal lookup and cast functionality of SmartDataPtr used in the helper classes. 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 DataObjectHandleBase &v, std::ostream &o) |
GAUDI_API bool | hasProperty (const IProperty *p, const std::string &name) |
simple function which check the existence of the property with the given name. More... | |
GAUDI_API bool | hasProperty (const IInterface *p, const std::string &name) |
simple function which check the existence of the property with the given name. More... | |
GAUDI_API Gaudi::Details::PropertyBase * | getProperty (const IProperty *p, const std::string &name) |
simple function which gets the property with given name from the component More... | |
GAUDI_API Gaudi::Details::PropertyBase * | getProperty (const IInterface *p, const std::string &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, const std::string &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, const std::string &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... | |
bool | iequal (const std::string &v1, const std::string &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 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 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 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::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 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 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::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... | |
|
inline |
Definition at line 129 of file AttribStringParser.h.
|
inline |
Definition at line 133 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 24 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 31 of file GetAlg.cpp.
|
inline |
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 71 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 65 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 119 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 83 of file GetAlgs.cpp.
PropertyBase * Gaudi::Utils::getProperty | ( | const IProperty * | p, |
const std::string & | 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 223 of file Property.cpp.
PropertyBase * Gaudi::Utils::getProperty | ( | const IInterface * | p, |
const std::string & | 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 254 of file Property.cpp.
const PropertyBase * Gaudi::Utils::getProperty | ( | const std::vector< const Gaudi::Details::PropertyBase * > * | p, |
const std::string & | name | ||
) |
get the property by name from the list of the properties
p | list of properties |
name | property name (case insensitive) |
Definition at line 320 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 155 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 136 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 101 of file GetAlgs.cpp.
bool Gaudi::Utils::hasProperty | ( | const IProperty * | p, |
const std::string & | 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 100 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const IInterface * | p, |
const std::string & | 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 76 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const std::vector< const Gaudi::Details::PropertyBase * > * | p, |
const std::string & | name | ||
) |
check the property by name from the list of the properties
p | list of properties |
name | property name (case insensitive) |
Definition at line 292 of file Property.cpp.
|
inline |
Helper for case insensitive string comparison.
Definition at line 49 of file PropertyHolder.h.
|
inline |
Output stream operator for TypeNameString instances.
Definition at line 49 of file TypeNameString.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 1243 of file Property.h.
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 1155 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 363 of file Property.cpp.
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 344 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 1206 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 405 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 439 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 1322 of file Property.h.
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 1349 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 458 of file Property.cpp.
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 481 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 1403 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 509 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 544 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 1483 of file Property.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 303 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 174 of file Histo2String.cpp.
|
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 49 of file BoostArrayAsProperty.h.
|
inline |
the generic implementation of the printout to the std::ostream
Definition at line 286 of file ToStream.h.
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 196 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 185 of file Histo2String.cpp.
|
inline |
the printtout of the strings.
the string is printed a'la Python using the quotes
Definition at line 77 of file ToStream.h.
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 207 of file Histo2String.cpp.
std::ostream& Gaudi::Utils::toStream | ( | const SCALAR & | , |
std::ostream & | |||
) |
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 86 of file SVectorAsProperty.h.
|
inline |
the printout of boolean values "a'la Python"
Definition at line 86 of file ToStream.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 218 of file Histo2String.cpp.
|
inline |
the printout of float values with the reasonable precision
Definition at line 91 of file ToStream.h.
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 230 of file Histo2String.cpp.
|
inline |
the printout of double values with the reasonable precision
Definition at line 100 of file ToStream.h.
|
inline |
the printout of long double values with the reasonable precision
Definition at line 109 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const DataObjectHandleBase & | v, |
std::ostream & | o | ||
) |
Definition at line 24 of file DataObjectHandleProperty.cpp.
|
inline |
the partial template specialization of std::pair<KTYPE,VTYPE>
printout the pair is printed a'la Python tuple: " ( a , b )"
Definition at line 123 of file ToStream.h.
|
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 135 of file ToStream.h.
|
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 147 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 159 of file ToStream.h.
|
inline |
the partial template specialization of std::unordered_set<TYPE,HASH,CMP,ALLOCATOR>
printout.
The vector is printed a'la Python list: "[ a, b, c ]"
Definition at line 168 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 181 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 200 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZPoint & | obj, |
std::ostream & | s | ||
) |
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZVector & | obj, |
std::ostream & | s | ||
) |
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::LorentzVector & | obj, |
std::ostream & | s | ||
) |
|
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 219 of file ToStream.h.
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 63 of file StringKey.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 238 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 249 of file ToStream.h.
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 259 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 269 of file ToStream.h.
|
inline |
the specialization for C-string, a'la python tuple
Definition at line 278 of file ToStream.h.
|
inline |
the helper function to print the tuple
tulpe | (INPUT) tuple |
Definition at line 342 of file ToStream.h.
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 245 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 275 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 260 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 290 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 305 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 320 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 335 of file Histo2String.cpp.
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 345 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 355 of file Histo2String.cpp.
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 375 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 365 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 385 of file Histo2String.cpp.
|
inline |
the generic implementation of the type conversion to the string
Definition at line 356 of file ToStream.h.