![]() |
ATLAS Offline Software
|
#include <AANTupleStream.h>
Public Member Functions | |
| AANTupleStream (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard AANTupleStream Constructor. | |
| virtual | ~AANTupleStream () |
| Standard Destructor. | |
| virtual StatusCode | initialize () |
| Initialize AANTupleStream. | |
| virtual StatusCode | finalize () |
| Terminate AANTupleStream. | |
| virtual StatusCode | execute () |
| Working entry point. | |
| AthLegacySequenceAdapter (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| const EventContext & | getContext () const |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| bool | isReEntrant () const override final |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | initCollection () |
| Initialize the output collection. | |
| StatusCode | getRef (CLID id, const std::string &key, std::string &ref) |
| Get ref from a proxy. | |
| StatusCode | splitAddress (const std::string &address, const std::string &match, std::string &address_header, std::string &address_data) const |
| Split the address to get pool token. | |
| StatusCode | initialize_subAlgos () |
| initialize sub-algos | |
| StatusCode | execute_subAlgos () |
| execute sub-algos | |
| void | writeAttributeListSpecification () |
| write schema of AttributeList | |
| void | setupTree () |
| setup Tree | |
| bool | writeTokenAttrList (const std::string &token, const coral::AttributeList &attributeList) |
| write Token and AttributeList | |
| StatusCode | getFilters () |
| get filter alogs | |
| bool | isEventAccepted () const |
| check filters passed | |
| StatusCode | initSchema () |
| StatusCode | io_reinit () |
| callback method to reinitialize the internal state of the component for I/O purposes (e.g. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ServiceHandle< IAddressCreator > | m_persSvc |
| Persistency service. | |
| coral::AttributeListSpecification * | m_attribSpec |
| Collection attribute specification. | |
| std::string | m_fileName |
| Name of the output collection. | |
| StringArrayProperty | m_extraRefNames |
| Vector of extra parent ref names to register in collection. | |
| BooleanProperty | m_writeInputDH |
| Flag to signal whether or not to write input data header. | |
| BooleanProperty | m_existDH |
| Flag to signal whether data header exists. | |
| std::string | m_streamName |
| Name of Stream. | |
| BooleanProperty | m_lateSchema |
| write schema in execute() | |
| std::string | m_macro |
| macro | |
| bool | m_schemaDone |
| first event | |
| std::string | m_treeName |
| Name of the output tree. | |
| std::vector< std::string > | m_acceptNames |
| Vector of names of Algorithms that this stream accepts. | |
| std::vector< IAlgorithm * > | m_acceptAlgs |
| Vector of Algorithms that this stream accepts. | |
| TTree * | m_tree |
| TTree. | |
| TBranch * | m_tokenBranch |
| TBranch which contains Token info. | |
| ServiceHandle< ITHistSvc > | m_tHistSvc |
| THistSvc. | |
| std::vector< std::string > | m_membersNames |
| char | m_tokenCString [s_maxLengthOfStrings] |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Static Private Attributes | |
| static const unsigned int | s_maxLengthOfStrings = 5000 |
| for string branches | |
Definition at line 33 of file AANTupleStream.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| AANTupleStream::AANTupleStream | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Standard AANTupleStream Constructor.
Definition at line 48 of file AANTupleStream.cxx.
|
virtual |
|
inherited |
Constructor with parameters:
Definition at line 31 of file AthLegacySequence.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
virtual |
Working entry point.
Implements AthLegacySequence.
Definition at line 173 of file AANTupleStream.cxx.
|
private |
execute sub-algos
Definition at line 559 of file AANTupleStream.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Definition at line 30 of file AthLegacySequence.cxx.
|
virtual |
Terminate AANTupleStream.
Definition at line 149 of file AANTupleStream.cxx.
|
inlineinherited |
Definition at line 36 of file AthLegacySequence.h.
|
private |
get filter alogs
Definition at line 587 of file AANTupleStream.cxx.
|
private |
Get ref from a proxy.
Definition at line 385 of file AANTupleStream.cxx.
|
private |
Initialize the output collection.
Definition at line 132 of file AANTupleStream.cxx.
|
virtual |
Initialize AANTupleStream.
Definition at line 79 of file AANTupleStream.cxx.
|
private |
initialize sub-algos
Definition at line 529 of file AANTupleStream.cxx.
|
private |
dump
Definition at line 639 of file AANTupleStream.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
private |
callback method to reinitialize the internal state of the component for I/O purposes (e.g.
upon fork(2))
Definition at line 658 of file AANTupleStream.cxx.
|
private |
check filters passed
Definition at line 619 of file AANTupleStream.cxx.
|
inlinefinaloverrideprotectedinherited |
Definition at line 41 of file AthLegacySequence.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
private |
setup Tree
Definition at line 339 of file AANTupleStream.cxx.
|
private |
Split the address to get pool token.
Definition at line 449 of file AANTupleStream.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
write schema of AttributeList
Definition at line 322 of file AANTupleStream.cxx.
|
private |
write Token and AttributeList
Definition at line 481 of file AANTupleStream.cxx.
|
private |
Vector of Algorithms that this stream accepts.
Definition at line 133 of file AANTupleStream.h.
|
private |
Vector of names of Algorithms that this stream accepts.
Definition at line 130 of file AANTupleStream.h.
|
private |
Collection attribute specification.
Definition at line 100 of file AANTupleStream.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Flag to signal whether data header exists.
Definition at line 112 of file AANTupleStream.h.
|
privateinherited |
Definition at line 51 of file AthLegacySequence.h.
|
private |
Vector of extra parent ref names to register in collection.
Definition at line 106 of file AANTupleStream.h.
|
private |
Name of the output collection.
Definition at line 103 of file AANTupleStream.h.
|
private |
write schema in execute()
Definition at line 118 of file AANTupleStream.h.
|
private |
macro
Definition at line 121 of file AANTupleStream.h.
|
private |
Definition at line 145 of file AANTupleStream.h.
|
private |
Persistency service.
Definition at line 97 of file AANTupleStream.h.
|
private |
first event
Definition at line 124 of file AANTupleStream.h.
|
private |
Name of Stream.
Definition at line 115 of file AANTupleStream.h.
|
private |
THistSvc.
Definition at line 142 of file AANTupleStream.h.
|
private |
TBranch which contains Token info.
Definition at line 139 of file AANTupleStream.h.
|
private |
Definition at line 149 of file AANTupleStream.h.
|
private |
TTree.
Definition at line 136 of file AANTupleStream.h.
|
private |
Name of the output tree.
Definition at line 127 of file AANTupleStream.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Flag to signal whether or not to write input data header.
Definition at line 109 of file AANTupleStream.h.
|
staticprivate |
for string branches
Definition at line 148 of file AANTupleStream.h.