![]() |
The Gaudi Framework
v26r0
|
Namespaces | |
Histos | |
Collection of useful utilities for manipulations with AIDA hisgograms. | |
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 | AlgTypeSelector< const TYPE & > |
class | AlgTypeSelector< const TYPE * > |
class | AlgTypeSelector< const TYPE > |
class | AlgTypeSelector< TYPE & > |
class | AlgTypeSelector< TYPE * > |
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... | |
struct | PropertyTypeTraits |
helper structure to define the types for properties More... | |
struct | PropertyTypeTraits< boost::array< T, N > > |
the specialization of property-traits for class boost::array to take care the non-trivial assignements and constructors for this class More... | |
struct | PropertyTypeTraits< char(&)[N]> |
specialisation for C-strings More... | |
struct | PropertyTypeTraits< const T(&)[N]> |
specialiation for const-arrays More... | |
struct | PropertyTypeTraits< T(&)[N]> |
struct | PropertyTypeTraits< T[N]> |
specialization for arrays More... | |
class | SignalMonitorSvc |
Implementation of Gaudi::ISignalMonitor. More... | |
class | StopSignalHandler |
Service that stop the processing if a signal is received. More... | |
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 > | |
_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... | |
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 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 Property * | getProperty (const IProperty *p, const std::string &name) |
simple function which gets the property with given name from the component More... | |
GAUDI_API Property * | 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 Property * > *p, const std::string &name) |
check the property by name from the list of the properties More... | |
GAUDI_API const Property * | getProperty (const std::vector< const Property * > *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 Property *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 Property &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 SimpleProperty< 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 Property *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 Property &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 SimpleProperty< TYPE > &value, const std::string &doc="") |
simple function to set the property of the given object from another property More... | |
GAUDI_API std::string | formatAsTableRow (const StatEntity &counter, const bool flag, const std::string &format1=" |%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |", const std::string &format2="*|%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |") |
print the counter in a form of the table row More... | |
GAUDI_API std::string | formatAsTableRow (const std::string &name, const StatEntity &counter, const bool flag=true, const std::string &format1=" %|-15.15s|%|17t||%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |", const std::string &format2="*%|-15.15s|%|17t||%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |") |
print the counter in a form of the table row More... | |
GAUDI_API std::string | formatAsTableRow (const std::string &name, const std::string &group, const StatEntity &entity, const bool flag=true, const std::string &format1=" %|15.15s|%|-15.15s|%|32t||%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |", const std::string &format2="*%|15.15s|%|-15.15s|%|32t||%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |") |
print the counter in a form of the table row 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 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 (TYPE(&obj)[N], std::ostream &s) |
the specialization for C-arrays, a'la python tuple 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<unsigned int N> | |
std::ostream & | toStream (char(&obj)[N], std::ostream &s) |
the specialization for C-string, 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<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... | |
std::string Gaudi::Utils::formatAsTableRow | ( | const StatEntity & | counter, |
const bool | flag, | ||
const std::string & | format1 = " |%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |" , |
||
const std::string & | format2 = "*|%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |" |
||
) |
print the counter in a form of the table row
The regular counter is printed as 6 fields
The printout is performed according to the format, described in optional "format1" parameter using Boost Format Library. The incredible flexibility of Boost Format Library allows to customize the overall layout of the table form minor change the format of individual columns to the overall reshuffling of the reformatted columns
If the parameter "flag" is set to true
, AND the content of the counter allows the interpretation of the counter as binomial efficiency counter, the printout is performed in a form of 4 numbers:
The printout is performed according to format, specified by parameter "format2"
name | the name associated with the counter |
counter | counter to be printed |
flag | use the special format for "efficiency" rows |
format1 | row format for the regular rows |
format2 | special row format for the "efficiency" rows |
Definition at line 302 of file StatEntity.cpp.
std::string Gaudi::Utils::formatAsTableRow | ( | const std::string & | name, |
const StatEntity & | counter, | ||
const bool | flag = true , |
||
const std::string & | format1 = " %|-15.15s|%|17t||%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |" , |
||
const std::string & | format2 = "*%|-15.15s|%|17t||%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |" |
||
) |
print the counter in a form of the table row
The table row for the regular counter is printed as 7 fields
The printout is performed according to the format, described in optional "format1" parameter using Boost Format Library. The incredible flexibility of Boost Format Library allows to customize the overall layout of the table form minor change the format of individual columns to the overall reshuffling of the reformatted columns
If the parameter "flag" is set to true
AND the counter name, converted to the lowercase constant one of the substrings: "eff","acc","fltr","filt","pass" AND (of course) the content of the counter allows the interpretation of the counter as the binomial efficiency counter, the printout is performed using 5 fields ("binomial efficiency format")
The printout is performed according to format, specified by parameter "format2"
name | the name associated with the counter |
counter | counter to be printed |
flag | use the special format for "efficiency" rows |
format1 | row format for the regular rows |
format2 | special row format for the "efficiency" rows |
Definition at line 341 of file StatEntity.cpp.
std::string Gaudi::Utils::formatAsTableRow | ( | const std::string & | name, |
const std::string & | group, | ||
const StatEntity & | entity, | ||
const bool | flag = true , |
||
const std::string & | format1 = " %|15.15s|%|-15.15s|%|32t||%|7d| |%|11.7g| |%|#11.5g| |%|#10.5g| |%|#10.5g| |%|#10.5g| |" , |
||
const std::string & | format2 = "*%|15.15s|%|-15.15s|%|32t||%|7d| |%|11.5g| |(%|#9.7g| +- %|-#8.6g|)%%| ----- | ----- |" |
||
) |
print the counter in a form of the table row
The table row for the regular counter is printed as 8 fields
The printout is performed according to the format, described in optional "format1" parameter using Boost Format Library. The incredible flexibility of Boost Format Library allows to customize the overall layout of the table form minor change the format of individual columns to the overall reshuffling of the reformatted columns
If the parameter "flag" is set to true
AND either the counter name or counter group, converted to the lowercase contains one of the substrings: "eff","acc","fltr","filt","pass" AND (of course) the content of the counter allows the interpretation of the counter as the binomial efficiency counter, the printout is performed using 6 fields ("binomial efficiency format")
The printout is performed according to format, specified by parameter "format2"
name | the name associated with the counter |
group | the group associated with the counter |
counter | counter to be printed |
flag | use the special format for "efficiency" rows |
format1 | row format for the regular rows |
format2 | the special row format for the "efficiency" rows |
Definition at line 384 of file StatEntity.cpp.
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 29 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.
|
inline |
Helper function to provide the minimal lookup and cast functionality of SmartDataPtr used in the helper classes.
Definition at line 63 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 67 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 127 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.
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 349 of file Property.cpp.
Property * 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 385 of file Property.cpp.
const Property * Gaudi::Utils::getProperty | ( | const std::vector< const Property * > * | 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 452 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 167 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 146 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 107 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 232 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 204 of file Property.cpp.
bool Gaudi::Utils::hasProperty | ( | const std::vector< const Property * > * | 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 421 of file Property.cpp.
|
inline |
Output stream operator for TypeNameString instances.
Definition at line 28 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 1212 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 1112 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 502 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 479 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 1170 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const Property * | 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 542 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const Property & | 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 579 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IProperty * | component, |
const std::string & | name, | ||
const SimpleProperty< 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 1301 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 1332 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 599 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 624 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 1394 of file Property.h.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const Property * | 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 656 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const Property & | 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 690 of file Property.cpp.
StatusCode Gaudi::Utils::setProperty | ( | IInterface * | component, |
const std::string & | name, | ||
const SimpleProperty< 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 341 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 184 of file Histo2String.cpp.
|
inline |
the generic implementation of the printout to the std::ostream
Definition at line 325 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 53 of file BoostArrayAsProperty.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 206 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 195 of file Histo2String.cpp.
|
inline |
the printtout of the strings.
the string is printed a'la Python using the quotes
Definition at line 78 of file ToStream.h.
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 87 of file SVectorAsProperty.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 217 of file Histo2String.cpp.
|
inline |
the printout of boolean values "a'la Python"
Definition at line 91 of file ToStream.h.
|
inline |
the printout of float values with the reasonable precision
Definition at line 98 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 228 of file Histo2String.cpp.
|
inline |
the printout of double values with the reasonable precision
Definition at line 108 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 248 of file Histo2String.cpp.
|
inline |
the printout of long double values with the reasonable precision
Definition at line 118 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 133 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 150 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 163 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 176 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 190 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 214 of file ToStream.h.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZPoint & | obj, |
std::ostream & | s | ||
) |
print XYZ point
Definition at line 131 of file ParsersVct.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::XYZVector & | obj, |
std::ostream & | s | ||
) |
print XYZ vector
Definition at line 146 of file ParsersVct.cpp.
std::ostream & Gaudi::Utils::toStream | ( | const Gaudi::LorentzVector & | obj, |
std::ostream & | s | ||
) |
print Lorentz vector
Definition at line 162 of file ParsersVct.cpp.
|
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 238 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 75 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 262 of file ToStream.h.
std::ostream& Gaudi::Utils::toStream | ( | TYPE(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-arrays, a'la python tuple
Definition at line 281 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 291 of file ToStream.h.
std::ostream& Gaudi::Utils::toStream | ( | char(&) | obj[N], |
std::ostream & | s | ||
) |
the specialization for C-string, a'la python tuple
Definition at line 301 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 309 of file ToStream.h.
|
inline |
the specialization for C-string, a'la python tuple
Definition at line 316 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 270 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 304 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 287 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 321 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 338 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 355 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 371 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 385 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 399 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 427 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 413 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 441 of file Histo2String.cpp.
|
inline |
the generic implementation of the type conversion to the string
Definition at line 367 of file ToStream.h.