The Gaudi Framework  master (594c33fa)
HistogramPersistencySvc Class Reference

HistogramPersistencySvc class implementation definition. More...

#include </builds/gaudi/Gaudi/GaudiCommonSvc/src/HistogramPersistencySvc/HistogramPersistencySvc.h>

Inheritance diagram for HistogramPersistencySvc:
Collaboration diagram for HistogramPersistencySvc:

Public Member Functions

PersistencySvc overrides


StatusCode initialize () override
 Initialize the service. More...
 
StatusCode reinitialize () override
 Reinitialize the service. More...
 
StatusCode finalize () override
 Finalize the service. More...
 
StatusCode createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override
 Implementation of IConverter: Convert the transient object to the requested representation. More...
 
- Public Member Functions inherited from PersistencySvc
long repSvcType () const override
 Return default service type. More...
 
const CLIDobjType () const override
 Retrieve the class type of objects the converter produces. (DUMMY) More...
 
StatusCode createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) override
 Implementation of IConverter: Create the transient representation of an object. More...
 
StatusCode fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override
 Implementation of IConverter: Resolve the references of the created transient object. More...
 
StatusCode updateObj (IOpaqueAddress *pAddress, DataObject *refpObject) override
 Implementation of IConverter: Update the transient object from the other representation. More...
 
StatusCode updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override
 Implementation of IConverter: Update the references of an updated transient object. More...
 
StatusCode createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override
 Implementation of IConverter: Convert the transient object to the requested representation. More...
 
StatusCode fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override
 Implementation of IConverter: Resolve the references of the converted object. More...
 
StatusCode updateRep (IOpaqueAddress *pAddress, DataObject *pObject) override
 Implementation of IConverter: Update the converted representation of a transient object. More...
 
StatusCode updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override
 Implementation of IConverter: Update the references of an already converted object. More...
 
StatusCode setDataProvider (IDataProviderSvc *pStore) override
 Define transient datastore. More...
 
SmartIF< IDataProviderSvc > & dataProvider () const override
 Access reference to transient datastore. More...
 
StatusCode setConversionSvc (IConversionSvc *svc) override
 Set conversion service the converter is connected to. More...
 
SmartIF< IConversionSvc > & conversionSvc () const override
 Get conversion service the converter is connected to. More...
 
StatusCode setAddressCreator (IAddressCreator *creator) override
 Set address creator facility. More...
 
SmartIF< IAddressCreator > & addressCreator () const override
 Retrieve address creator facility. More...
 
StatusCode addConverter (IConverter *pConverter) override
 Add converter object to conversion service. More...
 
StatusCode addConverter (const CLID &clid) override
 Add converter object to conversion service. More...
 
IConverterconverter (const CLID &clid) override
 Retrieve converter from list. More...
 
StatusCode removeConverter (const CLID &clid) override
 Remove converter object from conversion service (if present). More...
 
StatusCode connectOutput (const std::string &outputFile, const std::string &openMode) override
 Connect the output file to the service with open mode. More...
 
StatusCode connectOutput (const std::string &outputFile) override
 Connect the output file to the service. More...
 
StatusCode commitOutput (const std::string &output, bool do_commit) override
 Commit pending output. More...
 
StatusCode createAddress (long svc_type, const CLID &clid, const std::string *pars, const unsigned long *ipars, IOpaqueAddress *&refpAddress) override
 Create a Generic address using explicit arguments to identify a single object. More...
 
StatusCode convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress) override
 Convert an address to string form. More...
 
StatusCode createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress) override
 Convert an address in string form to object form. More...
 
StatusCode addCnvService (IConversionSvc *service) override
 Add a new Service. More...
 
StatusCode removeCnvService (long type) override
 Remove a Service. More...
 
StatusCode setDefaultCnvService (long type) override
 Set default service type. More...
 
StatusCode getService (long service_type, IConversionSvc *&refpSvc) override
 Retrieve conversion service identified by technology. More...
 
StatusCode getService (const std::string &service_type, IConversionSvc *&refpSvc) override
 Retrieve conversion service identified by technology. More...
 
StatusCode initialize () override
 Initialize the service. More...
 
StatusCode finalize () override
 stop the service. More...
 
- Public Member Functions inherited from extends< Service, IConversionSvc, IPersistencySvc, IAddressCreator >
void * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast. More...
 
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface. More...
 
std::vector< std::stringgetInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames. More...
 
- Public Member Functions inherited from Service
const std::stringname () const override
 Retrieve name of the service
More...
 
StatusCode configure () override
 
StatusCode initialize () override
 
StatusCode start () override
 
StatusCode stop () override
 
StatusCode finalize () override
 
StatusCode terminate () override
 
Gaudi::StateMachine::State FSMState () const override
 
Gaudi::StateMachine::State targetFSMState () const override
 
StatusCode reinitialize () override
 
StatusCode restart () override
 
StatusCode sysInitialize () override
 Initialize Service
More...
 
StatusCode sysStart () override
 Initialize Service
More...
 
StatusCode sysStop () override
 Initialize Service
More...
 
StatusCode sysFinalize () override
 Finalize Service
More...
 
StatusCode sysReinitialize () override
 Re-initialize the Service. More...
 
StatusCode sysRestart () override
 Re-initialize the Service. More...
 
 Service (std::string name, ISvcLocator *svcloc)
 Standard Constructor
More...
 
SmartIF< ISvcLocator > & serviceLocator () const override
 Retrieve pointer to service locator
More...
 
template<class T >
StatusCode service (const std::string &name, const T *&psvc, bool createIf=true) const
 Access a service by name, creating it if it doesn't already exist. More...
 
template<class T >
StatusCode service (const std::string &name, T *&psvc, bool createIf=true) const
 
template<typename IFace = IService>
SmartIF< IFace > service (const std::string &name, bool createIf=true) const
 
template<class T >
StatusCode service (const std::string &svcType, const std::string &svcName, T *&psvc) const
 Access a service by name and type, creating it if it doesn't already exist. More...
 
template<class T >
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
 
template<class T >
StatusCode declareTool (ToolHandle< T > &handle, bool createIf=true)
 
template<class T >
StatusCode declareTool (ToolHandle< T > &handle, std::string toolTypeAndName, bool createIf=true)
 Declare used tool. More...
 
template<class T >
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandleArray< T > &hndlArr, const std::string &doc="none")
 
template<class T >
void addToolsArray (ToolHandleArray< T > &hndlArr)
 
const std::vector< IAlgTool * > & tools () const
 
SmartIF< IAuditorSvc > & auditorSvc () const
 The standard auditor service.May not be invoked before sysInitialize() has been invoked. More...
 
- Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
 PropertyHolder ()=default
 
Gaudi::Details::PropertyBasedeclareProperty (Gaudi::Details::PropertyBase &prop)
 Declare a property. More...
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
 Helper to wrap a regular data member and use it as a regular property. More...
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none")
 Declare a PropertyBase instance setting name and documentation. More...
 
Gaudi::Details::PropertyBasedeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="")
 Declare a remote property. More...
 
StatusCode setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p) override
 set the property from another property with a different name More...
 
StatusCode setProperty (const std::string &s) override
 set the property from the formatted string More...
 
StatusCode setProperty (const Gaudi::Details::PropertyBase &p)
 Set the property from a property. More...
 
virtual StatusCode setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p)=0
 Set the property from a property with a different name. More...
 
virtual StatusCode setProperty (const std::string &s)=0
 Set the property by string. More...
 
StatusCode setProperty (const std::string &name, const char *v)
 Special case for string literals. More...
 
StatusCode setProperty (const std::string &name, const std::string &v)
 Special case for std::string. More...
 
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value More...
 
StatusCode setPropertyRepr (const std::string &n, const std::string &r) override
 set the property from name and value string representation More...
 
StatusCode getProperty (Gaudi::Details::PropertyBase *p) const override
 get the property More...
 
const Gaudi::Details::PropertyBasegetProperty (std::string_view name) const override
 get the property by name More...
 
StatusCode getProperty (std::string_view n, std::string &v) const override
 convert the property to the string More...
 
const std::vector< Gaudi::Details::PropertyBase * > & getProperties () const override
 get all properties More...
 
bool hasProperty (std::string_view name) const override
 Return true if we have a property with the given name. More...
 
Gaudi::Details::PropertyBaseproperty (std::string_view name) const
 \fixme property and bindPropertiesTo should be protected More...
 
void bindPropertiesTo (Gaudi::Interfaces::IOptionsSvc &optsSvc)
 
 PropertyHolder (const PropertyHolder &)=delete
 
PropertyHolderoperator= (const PropertyHolder &)=delete
 
- Public Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level msgLevel () const
 get the cached level (originally extracted from the embedded MsgStream) More...
 
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream More...
 

: Object implementation


typedef std::set< std::stringSet
 for report: unconverted histograms More...
 
Gaudi::Property< std::stringm_histPersName { this, "HistogramPersistency", "", "name of the Hist Pers type" }
 
Gaudi::Property< std::stringm_outputFile { this, "OutputFile", "", "name of the output file" }
 
Gaudi::Property< std::vector< std::string > > m_convert
 
Gaudi::Property< std::vector< std::string > > m_exclude
 
Gaudi::Property< bool > m_warnings { this, "Warnings", true, "Set this property to false to suppress warning messages" }
 
Set m_converted
 for the final report: the list of converted histograms More...
 
Set m_excluded
 for the final report: the list of excluded histograms More...
 
 HistogramPersistencySvc (const std::string &name, ISvcLocator *svc)
 Standard Constructor. More...
 

Additional Inherited Members

- Public Types inherited from extends< Service, IConversionSvc, IPersistencySvc, IAddressCreator >
using base_class = extends
 Typedef to this class. More...
 
using extend_interfaces_base = extend_interfaces< Interfaces... >
 Typedef to the base of this class. More...
 
- Public Types inherited from Service
using Factory = Gaudi::PluginService::Factory< IService *(const std::string &, ISvcLocator *)>
 
- Public Types inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
using PropertyHolderImpl = PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
 Typedef used to refer to this class from derived classes, as in. More...
 
- Public Types inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
using base_class = CommonMessaging
 
- Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
 take union of the ext_iids of all Interfaces... More...
 
- Protected Types inherited from PersistencySvc
typedef std::map< long, ServiceEntryServices
 
- Protected Member Functions inherited from PersistencySvc
SmartIF< IConversionSvc > & service (const std::string &nam)
 Retrieve conversion service by name. More...
 
SmartIF< IConversionSvc > & service (long service_type)
 Retrieve conversion service from list. More...
 
SmartIF< IAddressCreator > & addressCreator (long service_type)
 Retrieve address creator from list. More...
 
void encodeAddrHdr (long service_type, const CLID &clid, std::string &address) const
 Retrieve string from storage type and clid. More...
 
void decodeAddrHdr (const std::string &address, long &service_type, CLID &clid, std::string &address_trailer) const
 Retrieve storage type and clid from address header of string. More...
 
StatusCode makeCall (int typ, IOpaqueAddress *&pAddress, DataObject *&pObject)
 Implementation helper. More...
 
bool enable (bool value)
 Set enabled flag. More...
 
- Protected Member Functions inherited from Service
std::vector< IAlgTool * > & tools ()
 
 ~Service () override
 Standard Destructor
More...
 
int outputLevel () const
 get the Service's output level More...
 
- Protected Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level setUpMessaging () const
 Set up local caches. More...
 
MSG::Level resetMessaging ()
 Reinitialize internal states. More...
 
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream. More...
 
- Protected Attributes inherited from PersistencySvc
long m_cnvDefType = TEST_StorageType
 Default service type. More...
 
SmartIF< IDataProviderSvcm_dataSvc
 Pointer to datma provider service. More...
 
Services m_cnvServices
 List of convermsion workers. More...
 
SmartIF< IConversionSvcm_cnvDefault
 Default output service. More...
 
Gaudi::Property< std::vector< std::string > > m_svcNames
 
bool m_enable = true
 Flag to indicate that the service is enabled. More...
 
SmartIF< IAddressCreatorm_addrCreator
 Pointer to the IAddressCreator interface of this, for addressCreator(). More...
 
- Protected Attributes inherited from Service
Gaudi::StateMachine::State m_state = Gaudi::StateMachine::OFFLINE
 Service state
More...
 
Gaudi::StateMachine::State m_targetState = Gaudi::StateMachine::OFFLINE
 Service state
More...
 
Gaudi::Property< int > m_outputLevel { this, "OutputLevel", MSG::NIL, "output level" }
 flag indicating whether ToolHandle tools have been added to m_tools More...
 
Gaudi::Property< bool > m_auditInit { this, "AuditServices", false, "[[deprecated]] unused" }
 
Gaudi::Property< bool > m_auditorInitialize { this, "AuditInitialize", false, "trigger auditor on initialize()" }
 
Gaudi::Property< bool > m_auditorStart { this, "AuditStart", false, "trigger auditor on start()" }
 
Gaudi::Property< bool > m_auditorStop { this, "AuditStop", false, "trigger auditor on stop()" }
 
Gaudi::Property< bool > m_auditorFinalize { this, "AuditFinalize", false, "trigger auditor on finalize()" }
 
Gaudi::Property< bool > m_auditorReinitialize { this, "AuditReinitialize", false, "trigger auditor on reinitialize()" }
 
Gaudi::Property< bool > m_auditorRestart { this, "AuditRestart", false, "trigger auditor on restart()" }
 
Gaudi::Property< bool > m_autoRetrieveTools
 
Gaudi::Property< bool > m_checkToolDeps
 
SmartIF< IAuditorSvcm_pAuditorSvc
 Auditor Service
More...
 

Detailed Description

HistogramPersistencySvc class implementation definition.

System: The LHCb Offline System

Package: HistogramPersistencySvc

Dependencies:

History:

+---------+----------------------------------------------+---------+
|    Date |                 Comment                      | Who     |
+---------+----------------------------------------------+---------+
| 3/11/98 | Initial version                              | M.Frank |
+---------+----------------------------------------------+---------+
Author
Markus Frank
Version
1.0

Definition at line 57 of file HistogramPersistencySvc.h.

Member Typedef Documentation

◆ Set

for report: unconverted histograms

Definition at line 80 of file HistogramPersistencySvc.h.

Constructor & Destructor Documentation

◆ HistogramPersistencySvc()

HistogramPersistencySvc::HistogramPersistencySvc ( const std::string name,
ISvcLocator svc 
)

Standard Constructor.

Definition at line 212 of file HistogramPersistencySvc.cpp.

213  : PersistencySvc( name, svc ) {
214  // bypass update handler
215  m_svcNames.value() = std::vector<std::string>{ { "RootHistSvc" } };
216 }

Member Function Documentation

◆ createRep()

StatusCode HistogramPersistencySvc::createRep ( DataObject pObject,
IOpaqueAddress *&  refpAddress 
)
override

Implementation of IConverter: Convert the transient object to the requested representation.

Definition at line 180 of file HistogramPersistencySvc.cpp.

180  {
181  // enable the conversion
182  enable( true );
183  // conversion is possible ?
184  if ( m_histPersName == "NONE" ) {
185  enable( false );
186  return PersistencySvc::createRep( pObj, refpAddr ); // RETURN
187  }
188  // histogram ?
189  if ( dynamic_cast<AIDA::IBaseHistogram*>( pObj ) ) {
190 
191  auto match_pObj = [&]( const std::string& s ) { return match( pObj, s ); };
192  // Empty ConvertHistos property means convert all
193  bool select = ( m_convert.empty() || std::any_of( m_convert.begin(), m_convert.end(), match_pObj ) ) &&
194  std::none_of( m_exclude.begin(), m_exclude.end(), match_pObj );
195  //
196  enable( select );
197  //
198  const auto& path = oname( pObj );
199  //
200  if ( !select ) {
202  } else {
204  }
205  }
206  //
207  return PersistencySvc::createRep( pObj, refpAddr ); // RETURN
208 }

◆ finalize()

StatusCode HistogramPersistencySvc::finalize ( )
override

Finalize the service.

Definition at line 67 of file HistogramPersistencySvc.cpp.

67  {
68  //
69  if ( !( m_convert.empty() && m_exclude.empty() ) ) { // print message if any of the two properties is used
70  info() << "Histograms Converted/Excluded: " << m_converted.size() << "/" << m_excluded.size() << endmsg;
71  }
72  if ( msgLevel( MSG::DEBUG ) ) {
73  if ( !m_excluded.empty() ) {
74  auto& log = debug();
75  log << "Excluded Histos : #" << m_excluded.size();
76  for ( const auto& item : m_excluded ) { log << std::endl << " '" << item << "'"; }
77  log << endmsg;
78  }
79  //
80  if ( !m_converted.empty() ) {
81  auto& log = debug();
82  log << "Converted Histos : #" << m_converted.size();
83  for ( const auto& item : m_converted ) { log << std::endl << " '" << item << "'"; }
84  log << endmsg;
85  }
86  }
87  return PersistencySvc::finalize();
88 }

◆ initialize()

StatusCode HistogramPersistencySvc::initialize ( )
override

Initialize the service.

Definition at line 92 of file HistogramPersistencySvc.cpp.

92  {
94  return status.isSuccess() ? reinitialize() : status;
95 }

◆ reinitialize()

StatusCode HistogramPersistencySvc::reinitialize ( )
override

Reinitialize the service.

Definition at line 99 of file HistogramPersistencySvc.cpp.

99  {
100  // Obtain the IProperty of the ApplicationMgr
101  auto prpMgr = serviceLocator()->as<IProperty>();
102  if ( !prpMgr ) {
103  fatal() << "IProperty interface not found in ApplicationMgr." << endmsg;
104  return StatusCode::FAILURE;
105  } else {
106  setProperty( prpMgr->getProperty( "HistogramPersistency" ) ).ignore();
107  }
108 
109  // To keep backward compatibility, we set the property of conversion service
110  // into JobOptions catalogue
111  if ( !m_outputFile.empty() ) {
112  auto& opts = serviceLocator()->getOptsSvc();
113  const std::string outputFile = '"' + m_outputFile + '"';
114  if ( m_histPersName == "ROOT" ) {
115  opts.set( "RootHistSvc.OutputFile", outputFile );
116  } else if ( m_histPersName == "HBOOK" ) {
117  opts.set( "HbookHistSvc.OutputFile", outputFile );
118  }
119  }
120 
121  // Load the Histogram persistency service that's required as default
122  setConversionSvc( nullptr ).ignore();
123  if ( m_histPersName == "ROOT" ) {
124  setConversionSvc( service( "RootHistSvc" ) ).ignore();
125  if ( !conversionSvc() ) { return StatusCode::FAILURE; }
126  enable( true );
127  } else if ( m_histPersName == "HBOOK" ) {
128  setConversionSvc( service( "HbookHistSvc" ) ).ignore();
129  if ( !conversionSvc() ) { return StatusCode::FAILURE; }
130  enable( true );
131  } else if ( m_histPersName == "NONE" ) {
132  enable( false );
133  if ( msgLevel( MSG::DEBUG ) ) debug() << "Histograms saving not required." << endmsg;
134  } else {
136  if ( !conversionSvc() ) { return StatusCode::FAILURE; }
137  enable( true );
138  if ( m_warnings ) { warning() << "Unknown Histogram Persistency Mechanism " << m_histPersName << endmsg; }
139  }
140  return StatusCode::SUCCESS;
141 }

Member Data Documentation

◆ m_convert

Gaudi::Property<std::vector<std::string> > HistogramPersistencySvc::m_convert
protected
Initial value:
{
this, "ConvertHistos", {}, "The list of patterns to be accepted for conversion" }

Definition at line 85 of file HistogramPersistencySvc.h.

◆ m_converted

Set HistogramPersistencySvc::m_converted
protected

for the final report: the list of converted histograms

Definition at line 92 of file HistogramPersistencySvc.h.

◆ m_exclude

Gaudi::Property<std::vector<std::string> > HistogramPersistencySvc::m_exclude
protected
Initial value:
{
this, "ExcludeHistos", {}, "The list of patterns to be excluded from conversion" }

Definition at line 87 of file HistogramPersistencySvc.h.

◆ m_excluded

Set HistogramPersistencySvc::m_excluded
protected

for the final report: the list of excluded histograms

Definition at line 94 of file HistogramPersistencySvc.h.

◆ m_histPersName

Gaudi::Property<std::string> HistogramPersistencySvc::m_histPersName { this, "HistogramPersistency", "", "name of the Hist Pers type" }
protected

Definition at line 83 of file HistogramPersistencySvc.h.

◆ m_outputFile

Gaudi::Property<std::string> HistogramPersistencySvc::m_outputFile { this, "OutputFile", "", "name of the output file" }
protected

Definition at line 84 of file HistogramPersistencySvc.h.

◆ m_warnings

Gaudi::Property<bool> HistogramPersistencySvc::m_warnings { this, "Warnings", true, "Set this property to false to suppress warning messages" }
protected

Definition at line 89 of file HistogramPersistencySvc.h.


The documentation for this class was generated from the following files:
MSG::DEBUG
@ DEBUG
Definition: IMessageSvc.h:25
PersistencySvc
PersistencySvc class implementation definition.
Definition: PersistencySvc.h:60
PersistencySvc::createRep
StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress) override
Implementation of IConverter: Convert the transient object to the requested representation.
Definition: PersistencySvc.cpp:135
PersistencySvc::finalize
StatusCode finalize() override
stop the service.
Definition: PersistencySvc.cpp:508
std::string
STL class.
Gaudi.Configuration.log
log
Definition: Configuration.py:28
GaudiAlg.HistoUtils.path
path
Definition: HistoUtils.py:960
PersistencySvc::conversionSvc
SmartIF< IConversionSvc > & conversionSvc() const override
Get conversion service the converter is connected to.
Definition: PersistencySvc.cpp:187
StatusCode::isSuccess
bool isSuccess() const
Definition: StatusCode.h:314
HistogramPersistencySvc::m_convert
Gaudi::Property< std::vector< std::string > > m_convert
Definition: HistogramPersistencySvc.h:85
gaudirun.s
string s
Definition: gaudirun.py:346
std::vector< std::string >
std::set::size
T size(T... args)
PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >::setProperty
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
Definition: IProperty.h:39
std::any_of
T any_of(T... args)
CommonMessaging< implements< IService, IProperty, IStateful > >::msgLevel
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)
Definition: CommonMessaging.h:148
HistogramPersistencySvc::m_excluded
Set m_excluded
for the final report: the list of excluded histograms
Definition: HistogramPersistencySvc.h:94
IProperty
Definition: IProperty.h:33
Service::name
const std::string & name() const override
Retrieve name of the service
Definition: Service.cpp:332
StatusCode
Definition: StatusCode.h:65
gaudirun.opts
opts
Definition: gaudirun.py:336
PersistencySvc::service
SmartIF< IConversionSvc > & service(const std::string &nam)
Retrieve conversion service by name.
Definition: PersistencySvc.cpp:214
Gaudi::Property::value
const ValueType & value() const
Definition: Property.h:239
HistogramPersistencySvc::m_converted
Set m_converted
for the final report: the list of converted histograms
Definition: HistogramPersistencySvc.h:92
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:203
HistogramPersistencySvc::m_histPersName
Gaudi::Property< std::string > m_histPersName
Definition: HistogramPersistencySvc.h:83
PersistencySvc::m_svcNames
Gaudi::Property< std::vector< std::string > > m_svcNames
Definition: PersistencySvc.h:247
StatusCode::ignore
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
Definition: StatusCode.h:139
SmartIF::as
SmartIF< IFace > as() const
return a new SmartIF instance to another interface
Definition: SmartIF.h:117
HistogramPersistencySvc::m_warnings
Gaudi::Property< bool > m_warnings
Definition: HistogramPersistencySvc.h:89
PersistencySvc::initialize
StatusCode initialize() override
Initialize the service.
Definition: PersistencySvc.cpp:499
PersistencySvc::setConversionSvc
StatusCode setConversionSvc(IConversionSvc *svc) override
Set conversion service the converter is connected to.
Definition: PersistencySvc.cpp:181
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
std::endl
T endl(T... args)
HistogramPersistencySvc::reinitialize
StatusCode reinitialize() override
Reinitialize the service.
Definition: HistogramPersistencySvc.cpp:99
HistogramPersistencySvc::m_outputFile
Gaudi::Property< std::string > m_outputFile
Definition: HistogramPersistencySvc.h:84
std::set::insert
T insert(T... args)
std::set::empty
T empty(T... args)
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:101
PersistencySvc::enable
bool enable(bool value)
Set enabled flag.
Definition: PersistencySvc.cpp:517
HistogramPersistencySvc::m_exclude
Gaudi::Property< std::vector< std::string > > m_exclude
Definition: HistogramPersistencySvc.h:87
Service::serviceLocator
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator
Definition: Service.cpp:335