1 #ifndef GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H
29 typedef std::vector<DataStoreItem*>
Items;
114 std::vector<Algorithm*>* theAlgs );
151 #endif // GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H
StringArrayProperty m_acceptNames
Vector of names of Algorithms that this stream accepts.
StatusCode decodeAlgorithms(StringArrayProperty &theNames, std::vector< Algorithm * > *theAlgs)
Decode specified list of Algorithms.
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.
StatusCode decodeRequireAlgs()
Decode list of Algorithms that this stream requires.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
IDataSelector m_objects
Collection of objects being selected.
std::string m_storeName
Name of the service managing the data store.
int m_events
Number of events written to this output stream.
std::string m_outputType
Output type: NEW(NEW,CREATE,WRITE,RECREATE), UPDATE)
DataStoreItem * m_currentItem
Keep track of the current item.
StringArrayProperty m_vetoNames
Vector of names of Algorithms that this stream is vetoed by.
std::map< Algorithm *, Items > AlgDependentItems
std::string m_outputName
Name of the output file.
void requireAlgsHandler(Property &theProp)
Handler for RequireAlgs Property.
std::string m_persName
Name of the persistency service capable to write data from the store.
IDataSelector * selectedObjects()
Return the list of selected objects.
virtual StatusCode execute()
Working entry point.
SmartIF< IDataProviderSvc > m_pDataProvider
Keep reference to the data provider service.
AlgDependentItemNames m_algDependentItemList
Mapping between algorithm names, and a list of items for which, if the algorithm in question accepted...
Description of the DataStoreItem class.
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.
virtual StatusCode connectConversionSvc()
AlgDependentItems m_algDependentItems
Items to be saved for specific algorithms.
bool m_verifyItems
Flag to indicate that item consistency should be checked.
std::vector< DataStoreItem * > Items
OutputStreamAgent * m_agent
Keep reference of agent.
This class is used for returning status codes from appropriate routines.
virtual StatusCode finalize()
Terminate OutputStream.
Items m_itemList
Vector of items to be saved to this stream.
bool m_doPreLoad
Flag indicating whether data pre-loading should be performed.
virtual const std::string & name() const
The identifying name of the algorithm object.
void addItem(Items &itms, const std::string &descriptor)
Add item to output streamer list.
bool m_doPreLoadOpt
Flag indicating whether optional items should be preloaded.
std::vector< Algorithm * > * m_requireAlgs
Vector of Algorithms that this stream requires.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
SmartIF< IDataManagerSvc > m_pDataManager
Keep reference to the data manager service.
std::vector< Algorithm * > * m_acceptAlgs
Vector of Algorithms that this stream accepts.
void clearSelection()
Clear list of selected objects.
SmartIF< IIncidentSvc > m_incidentSvc
Reference to the incident service.
StatusCode decodeVetoAlgs()
Decode list of Algorithms that this stream is vetoed by.
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
virtual ~OutputStream()
Standard Destructor.
Base class from which all concrete algorithm classes should be derived.
ItemNames m_itemNames
Vector of item names.
Property base class allowing Property* collections to be "homogeneous".
ItemNames m_optItemNames
Vector of item names.
std::vector< std::string > ItemNames
void acceptAlgsHandler(Property &theProp)
Handler for AcceptAlgs Property.
StringArrayProperty m_requireNames
Vector of names of Algorithms that this stream requires.
Algorithm * decodeAlgorithm(const std::string &theName)
Decode a single algorithm name.
OutputStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
std::string m_output
Name of the output file specification.
std::map< std::string, ItemNames > AlgDependentItemNames
std::vector< Algorithm * > * m_vetoAlgs
Vector of Algorithms that this stream is vetoed by.
virtual StatusCode collectObjects()
Collect all objects to be written to the output stream.
virtual StatusCode initialize()
Initialize OutputStream.
std::vector< DataObject * > IDataSelector
This is only a placeholder to allow me compiling until the responsible guy does his work! M...
void vetoAlgsHandler(Property &theProp)
Handler for VetoAlgs Property.
The interface implemented by the IncidentSvc service.
StatusCode decodeAcceptAlgs()
Decode list of Algorithms that this stream accepts.
bool m_fireIncidents
should I fire incidents for writing opening/closing etc?
Items m_optItemList
Vector of optional items to be saved to this stream.