1 #ifndef GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H 2 #define GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H 20 class OutputStreamAgent;
42 this,
"OptItemList", {},
"vector of optional item names to be saved to this stream"};
45 "AlgDependentItemList",
47 "mapping between algorithm names, and a list of items for which, if the " 48 "algorithm in question accepted the event, they should be also stored"};
50 "flag indicating whether data pre-loading should be performed"};
52 "flag indicating whether optional items should be preloaded"};
56 "name of the service managing the data store"};
58 "name of the persistency service capable to write data from the store"};
64 "names of Algorithms that this stream accepts"};
70 "names of Algorithms that this stream requires"};
76 "names of Algorithms that this stream is vetoed by"};
78 "flag to indicate that item consistency should be checked"};
158 #endif // GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H Gaudi::Property< std::vector< std::string > > m_acceptNames
bool isEventAccepted() const
Test whether this event should be output.
void clearItems(Items &itms)
Clear item list.
virtual bool hasInput() const
Tell if the instance has been configured with input items or not.
Gaudi::Property< std::vector< std::string > > m_vetoNames
IDataSelector m_objects
Collection of objects being selected.
StatusCode finalize() override
Terminate OutputStream.
int m_events
Number of events written to this output stream.
Implementation of property with value of concrete type.
std::map< std::string, ItemNames > AlgDependentItemNames
std::string m_outputType
Output type: NEW(NEW,CREATE,WRITE,RECREATE), UPDATE)
Gaudi::Property< bool > m_verifyItems
std::vector< Gaudi::Algorithm * > m_requireAlgs
Vector of Algorithms that this stream requires.
DataStoreItem * m_currentItem
Keep track of the current item.
Gaudi::Property< std::string > m_output
Algorithm(const std::string &name, ISvcLocator *svcloc, const std::string &version=PACKAGE_VERSION)
Constructor.
Gaudi::Property< std::string > m_outputName
Gaudi::Property< ItemNames > m_optItemNames
IDataSelector * selectedObjects()
Return the list of selected objects.
SmartIF< IDataProviderSvc > m_pDataProvider
Keep reference to the data provider service.
Description of the DataStoreItem class.
Gaudi::Property< bool > m_doPreLoad
A small to stream Data I/O.
virtual bool collect(IRegistry *dir, int level)
Store agent's classback.
DataStoreItem * findItem(const std::string &path)
Find single item identified by its path (exact match)
virtual StatusCode writeObjects()
Select the different objects and write them to file.
SmartIF< IConversionSvc > m_pConversionSvc
Keep reference to the data conversion service.
StatusCode initialize() override
Initialize OutputStream.
virtual StatusCode connectConversionSvc()
AlgDependentItems m_algDependentItems
Items to be saved for specific algorithms.
std::vector< DataStoreItem * > Items
std::vector< Gaudi::Algorithm * > m_vetoAlgs
Vector of Algorithms that this stream is vetoed by.
Gaudi::Property< std::vector< std::string > > m_requireNames
This class is used for returning status codes from appropriate routines.
Items m_itemList
Vector of items to be saved to this stream.
void addItem(Items &itms, const std::string &descriptor)
Add item to output streamer list.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Gaudi::Property< AlgDependentItemNames > m_algDependentItemList
SmartIF< IDataManagerSvc > m_pDataManager
Keep reference to the data manager service.
void clearSelection()
Clear list of selected objects.
SmartIF< IIncidentSvc > m_incidentSvc
Reference to the incident service.
StatusCode execute() override
Working entry point.
Alias for backward compatibility.
Gaudi::Property< std::string > m_storeName
std::vector< std::string > ItemNames
Base class from which all concrete algorithm classes should be derived.
std::map< Gaudi::Algorithm *, Items > AlgDependentItems
Gaudi::Property< bool > m_doPreLoadOpt
StatusCode collectFromSubTree(DataObject *)
void decodeAlgorithms(Gaudi::Property< std::vector< std::string >> &theNames, std::vector< Gaudi::Algorithm * > &theAlgs)
Decode specified list of Algorithms.
Gaudi::Property< std::string > m_persName
Gaudi::Algorithm * decodeAlgorithm(const std::string &theName)
Decode a single algorithm name.
A DataObject is the base class of any identifiable object on any data store.
Gaudi::Property< ItemNames > m_itemNames
virtual StatusCode collectObjects()
Collect all objects to be written to the output stream.
The interface implemented by the IncidentSvc service.
std::vector< Gaudi::Algorithm * > m_acceptAlgs
Vector of Algorithms that this stream accepts.
bool m_fireIncidents
should I fire incidents for writing opening/closing etc? in the baseclass, always fire the incidents ...
Items m_optItemList
Vector of optional items to be saved to this stream.