|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHENAROOTCOMPS_ROOTNTUPLEOUTPUTSTREAM_H
8 #define ATHENAROOTCOMPS_ROOTNTUPLEOUTPUTSTREAM_H
18 #include "GaudiKernel/IDataSelector.h"
19 #include "GaudiKernel/ClassID.h"
20 #include "GaudiKernel/ServiceHandle.h"
21 #include "GaudiKernel/ToolHandle.h"
22 #include "GaudiKernel/IIncidentListener.h"
47 :
virtual public IIncidentListener,
53 typedef std::vector<SG::DataProxy*>
Items;
106 typedef std::vector<std::pair<std::string, std::string> >
TypeKeyPairs;
132 void handle(
const Incident& incident);
137 #endif // ATHENAROOTCOMPS_ROOTNTUPLEOUTPUTSTREAM_H
ToolHandle< IAthenaOutputStreamTool > m_streamer
pointer to AthenaOutputStreamTool
IDataSelector * selectedObjects()
Return the list of selected objects.
algorithm that marks for write data objects in SG
bool m_writeOnFinalize
set to true to trigger streaming of data on finalize()
void collectAllObjects()
Collect data objects for output streamer list.
std::vector< unsigned int > m_exemptPersToPers
bool m_writeOnExecute
set to true to trigger streaming of data on execute()
std::vector< std::pair< std::string, std::string > > TypeKeyPairs
int m_events
Number of events written to this output stream.
bool m_dynamicItemList
dynamic output itemlist: if enabled rediscover object list to be written out at each event otherwise:...
void clearSelection()
Clear list of selected objects.
std::vector< SG::DataProxy * > Items
IDataSelector m_objects
Collection of objects beeing selected.
void handle(const Incident &incident)
Incident service handle listening for MetaDataStop.
virtual StatusCode execute()
The Athena Transient Store API.
StringProperty m_writingTool
Name of the OutputStreamTool used for writing.
virtual StatusCode finalize()
StringArrayProperty m_itemList
Vector of item names.
algorithm that marks for write data objects in SG
bool m_forceRead
set to true to force read of data objects in item list
Some weak symbol referencing magic...
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_persName
Name of the persistency service capable to write data from the store.
DataProxy provides the registry services for StoreGate.
virtual StatusCode write()
Stream the data.
bool m_itemListFromTool
set to write out everything from input DataHeader
bool m_persToPers
set to true to allow data objects being copied persistent to persistent (without SG retrieve).
ServiceHandle< StoreGateSvc > m_dataStore
handle to the StoreGateSvc store where the data we want to write out resides
ToolHandleArray< IAthenaOutputTool > m_helperTools
vector of AlgTools that that are executed by this stream
std::vector< SG::FolderItem > m_selection
list of selected proxies.
virtual StatusCode initialize()
StringProperty m_processTag
tag of processing stage:
bool m_provideDef
set to true to allow defaults being provided for non-existent data objects.
std::string m_outputName
Name of the output file.
setBGCode setTAP setLVL2ErrorBits bool