![]() |
ATLAS Offline Software
|
Base class for the event (xAOD::TEvent and xAOD::REvent) classes.
More...
#include <Event.h>
Classes | |
| struct | BranchInfo |
Helper struct used by the IProxyDict code. More... | |
Public Types | |
| using | sgkey_t = SG::sgkey_t |
Public Member Functions | |
| Event (std::string_view name) | |
| Constructor with a name. | |
| virtual | ~Event () |
| Virtual destructor. | |
| template<typename T> | |
| bool | retrieve (const T *&obj, sgkey_t key=DEFAULT_KEY, bool silent=false) |
| Function retrieving an object from the event (constant version) | |
| template<typename T> | |
| bool | retrieve (const T *&obj, const std::string &key, bool silent=false) |
| Function retrieving an object from the event (constant version) | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Setup functions | |
| void | setActive () const |
| Set this event object as the currently active one. | |
| void | setAuxItemList (const std::string &containerKey, const std::string &itemList) |
| Configure which dynamic variables to write out for a given store. | |
| StatusCode | addListener (TVirtualIncidentListener *listener) |
| Register an incident listener object. | |
| StatusCode | removeListener (TVirtualIncidentListener *listener) |
| Remove an incident listener object. | |
| void | clearListeners () |
| Remove all listeners from the object. | |
| StatusCode | addNameRemap (const std::string &onfile, const std::string &newName) |
| Add a name re-mapping rule. | |
| void | clearNameRemap () |
| Clear the current name re-mapping. | |
| void | printNameRemap () const |
| Print the current name re-mapping rules. | |
| void | printProxyWarnings (bool value=true) |
| Enable warnings associated with broken element links. | |
Persistent data accessor/modifier functions | |
| const EventFormat * | inputEventFormat () const |
| Get information about the input objects. | |
| const EventFormat * | outputEventFormat () const |
| Get information about the output objects. | |
Event data accessor/modifier functions | |
| std::string | dump () |
| Function creating a user-readable dump of the current input. | |
| void | printIOStats () const |
| Function printing the I/O statistics of the current process. | |
| template<typename T> | |
| bool | contains (const std::string &key) |
| Function checking if an object is available from the store. | |
| template<typename T> | |
| bool | transientContains (const std::string &key) const |
| Function checking if an object is already in memory. | |
| template<typename T> | |
| StatusCode | keys (std::vector< std::string > &vkeys, bool metadata) const |
| Provide a list of all data object keys associated with a specific type. | |
| template<typename T> | |
| StatusCode | retrieve (const T *&obj, const std::string &key) |
| Retrieve either an input or an output object from the event. | |
| template<typename T> | |
| StatusCode | retrieve (T *&obj, const std::string &key) |
| Retrieve an output object from the event. | |
| template<typename T> | |
| StatusCode | record (T *obj, const std::string &key) |
| Add an output object to the event. | |
| template<typename T> | |
| StatusCode | record (std::unique_ptr< T > obj, const std::string &key) |
| Add an output object to the event, explicitly taking ownership of it. | |
| StatusCode | copy (const std::string &pattern=".*") |
| Copy an object directly from the input to the output. | |
Metadata accessor/modifier functions | |
| template<typename T> | |
| bool | containsMeta (const std::string &key) |
| Function checking if a meta-object is available from the store. | |
| template<typename T> | |
| bool | transientContainsMeta (const std::string &key) const |
| Function checking if a meta-object is already in memory. | |
| template<typename T> | |
| StatusCode | metaKeys (std::vector< std::string > &vkeys) const |
| Provide a list of all metadata object keys associated with a specific type. | |
| template<typename T> | |
| StatusCode | retrieveMetaInput (const T *&obj, const std::string &key) |
| Retrieve an input metadata object. | |
| template<typename T> | |
| StatusCode | retrieveMetaOutput (const T *&obj, const std::string &key) |
| Retrieve an output metadata object. | |
| template<typename T> | |
| StatusCode | retrieveMetaOutput (T *&obj, const std::string &key) |
| Retrieve an output metadata object. | |
| template<typename T> | |
| StatusCode | recordMeta (T *obj, const std::string &key) |
| Add an object to the output file's metadata. | |
| template<typename T> | |
| StatusCode | recordMeta (std::unique_ptr< T > obj, const std::string &key) |
| Add an object to the output file's metadata, explicitly taking ownership of it. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Static Public Attributes | |
| static constexpr sgkey_t | DEFAULT_KEY = ~static_cast<sgkey_t>(0) |
| Key for retrieving the "default" object of a given type. | |
| static constexpr sgkey_t | KEY_MASK = DEFAULT_KEY >> 2 |
| Mask for the keys, used mostly internally. | |
Protected Types | |
| using | Object_t |
| Definition of the internal data structure type. | |
Protected Member Functions | |
| StatusCode | recordTypeless (void *obj, const std::string &typeName, const std::string &key, bool overwrite=false, bool metadata=true, bool isOwner=true) |
| Internal function for recording an object into the output. | |
| void * | getOutputObject (const std::string &key, const std::type_info &ti, bool metadata) const |
| Function for retrieving an output object in a non-template way. | |
| const void * | getInputObject (const std::string &key, const std::type_info &ti, bool silent, bool metadata) |
| Function for retrieving an input object in a non-template way. | |
| bool | contains (const std::string &key, const std::type_info &ti, bool metadata) |
| Internal function checking if an object is in the input. | |
| bool | transientContains (const std::string &key, const std::type_info &ti, bool metadata) const |
| Internal function checking if an object is already in memory. | |
Functions implementing the IProxyDict interface | |
| SG::DataProxy * | proxy (const void *const pTransient) const override |
| get proxy for a given data object address in memory | |
| SG::DataProxy * | proxy (const CLID &id, const std::string &key) const override |
| get proxy with given id and key. Returns 0 to flag failure | |
| SG::DataProxy * | proxy_exact (SG::sgkey_t sgkey) const override |
| Get proxy given a hashed key+clid. | |
| StatusCode | addToStore (CLID id, SG::DataProxy *proxy) override |
| Add a new proxy to the store. | |
| std::vector< const SG::DataProxy * > | proxies () const override |
| return the list of all current proxies in store | |
| SG::sgkey_t | stringToKey (const std::string &str, CLID clid) override |
| Find the string corresponding to a given key. | |
| const std::string * | keyToString (SG::sgkey_t key) const override |
| Find the string corresponding to a given key. | |
| const std::string * | keyToString (SG::sgkey_t key, CLID &clid) const override |
| Find the string and CLID corresponding to a given key. | |
| void | registerKey (SG::sgkey_t key, const std::string &str, CLID clid) override |
| Remember an additional mapping from key to string/CLID. | |
| SG::DataProxy * | recordObject (SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting) override |
| Record an object in the store. | |
| const std::string & | name () const override |
| Get the name of the instance. | |
Functions to be implemented by the derived types | |
| virtual bool | hasInput () const =0 |
| Check if an input file is connected to the object. | |
| virtual bool | hasOutput () const =0 |
| Check if an output file is connected to the object. | |
| virtual StatusCode | getNames (const std::string &targetClassName, std::vector< std::string > &vkeys, bool metadata=false) const =0 |
| Function determining the list keys associated with a type name. | |
| virtual StatusCode | connectObject (const std::string &key, bool silent)=0 |
| Function setting up access to a particular object. | |
| virtual StatusCode | connectMetaObject (const std::string &key, bool silent)=0 |
| Function setting up access to a particular metadata object. | |
| virtual StatusCode | connectAux (const std::string &prefix, bool standalone)=0 |
| Function setting up access to a set of auxiliary branches. | |
| virtual StatusCode | connectMetaAux (const std::string &prefix, bool standalone)=0 |
| Function setting up access to a set of auxiliary branches for a metadata object. | |
| virtual StatusCode | setAuxStore (const std::string &key, Details::IObjectManager &mgr, bool metadata)=0 |
| Function connecting a DV object to its auxiliary store. | |
| virtual StatusCode | record (void *obj, const std::string &typeName, const std::string &key, bool overwrite, bool metadata, bool isOwner)=0 |
| Record an object into a connected output file. | |
| virtual StatusCode | recordAux (TVirtualManager &mgr, const std::string &key, bool metadata)=0 |
| Record an auxiliary store into a connected output file. | |
Helper functions for the IProxyDict interface | |
| const xAOD::EventFormatElement * | getEventFormatElement (SG::sgkey_t sgkey) const |
| Get the metadata object for a given "SG key". | |
| const BranchInfo * | getBranchInfo (SG::sgkey_t sgkey) const |
| Get the object describing one object/branch. | |
Protected Attributes | |
| Object_t | m_inputObjects |
| Collection of all the managed input objects. | |
| std::set< std::string > | m_inputMissingObjects |
| Objects that have been asked for, but were found to be missing in the current input. | |
| Object_t | m_outputObjects |
| Collection of all the managed output object. | |
| Object_t | m_inputMetaObjects |
| Collection of all the managed input meta-objects. | |
| Object_t | m_outputMetaObjects |
| Collection of all the managed output meta-objects. | |
| EventFormat | m_inputEventFormat |
| Format of the current input file. | |
| EventFormat * | m_outputEventFormat = nullptr |
| Format of the current output file. | |
| std::unordered_map< std::string, std::set< std::string > > | m_auxItemList |
| Rules for selecting which auxiliary branches to write. | |
| std::vector< TVirtualIncidentListener * > | m_listeners |
| Listeners who should be notified when certain incidents happen. | |
| std::unordered_map< std::string, std::string > | m_nameRemapping |
| Container name re-mapping rules. | |
| bool | m_printEventProxyWarnings = false |
| Option to silence common warnings that seem to be harmless. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
Friends | |
| class | xAODPrivate::HolderBucket |
| class | xAODPrivate::Loader |
Variable(s) used in the @c IProxyDict implementation | |
| using | upgrade_mutex_t = AthContainers_detail::upgrade_mutex |
| Mutex type for multithread synchronization. | |
| using | upgrading_lock_t |
| Lock type for multithread synchronization. | |
| upgrade_mutex_t | m_branchesMutex |
| Mutex for multithread synchronization. | |
| SG::SGKeyMap< BranchInfo > m_branches | ATLAS_THREAD_SAFE |
| Map from hashed sgkey to BranchInfo. | |
Functions implementing the @c xAOD::TVirtualEvent interface | |
| SG::sgkey_t | getHash (const std::string &key) const override |
| Function returning the hash describing an object name. | |
| SG::sgkey_t | getKey (const void *obj) const override |
| Function returning the hash describing a known object. | |
| const std::string & | getName (const void *obj) const override |
| Function returning the key describing a known object. | |
| const std::string & | getName (SG::sgkey_t hash) const override |
| Function returning the key describing a known object. | |
| void * | getOutputObject (SG::sgkey_t key, const std::type_info &ti) override |
| Function for retrieving an output object in a non-template way. | |
| const void * | getInputObject (SG::sgkey_t key, const std::type_info &ti, bool silent) override |
| Function for retrieving an input object in a non-template way. | |
Base class for the event (xAOD::TEvent and xAOD::REvent) classes.
It implements all the common functionality used by the different storage technologies. Leaving just the technology specific parts to the derived classes.
|
protected |
|
inherited |
Definition at line 29 of file TVirtualEvent.h.
|
protected |
|
protected |
Lock type for multithread synchronization.
| Event::Event | ( | std::string_view | name | ) |
Constructor with a name.
| name | Name to use in printed messages |
Definition at line 27 of file EventCore.cxx.
|
virtual |
Virtual destructor.
Definition at line 39 of file EventCore.cxx.
| StatusCode Event::addListener | ( | TVirtualIncidentListener * | listener | ) |
Register an incident listener object.
This function works pretty much like IIncidentSvc::addListener does in Athena.
It tells the TEvent object that when certain "interesting incidents" happen, a given object should be notified about it.
| listener | Pointer to the object that should be notified |
StatusCode types Definition at line 97 of file EventCore.cxx.
| StatusCode Event::addNameRemap | ( | const std::string & | onfile, |
| const std::string & | newName ) |
Add a name re-mapping rule.
The names of containers can change during the lifetime of the experiment.
One such change happened after the DC14 exercise, when many containers got a new name. (Like "ElectronCollection" became simply "Electrons".)
This function allows us to create aliases with which certain containers should be accessible. So that the analyser would be able to access older files, while using the latest container name(s).
| onfile | The name of the container as it was saved into the input file |
| newName | The alias with which the object/container should be accessible |
StatusCode types Save the new name association:
Definition at line 162 of file EventCore.cxx.
|
overrideprotected |
Add a new proxy to the store.
Smart pointers to objects that don't exist in the input event, can end up calling this function.
In this case warn the user that something fishy is happening, and take posession of the received proxy.
| clid | The CLID of the type. Not taken into account. |
| proxy | The proxy to take posession of. Not used for anything useful. |
Definition at line 251 of file EventIProxyDict.cxx.
| void Event::clearListeners | ( | ) |
Remove all listeners from the object.
This function can be used to remove all the listeners from the internal list.
Should not be necessary under regular circumstances.
Definition at line 143 of file EventCore.cxx.
| void Event::clearNameRemap | ( | ) |
Clear the current name re-mapping.
This function simply clears out any existing name remapping declarations.
In case the remapping rules need to be changed in the code in some complicated way.
Definition at line 193 of file EventCore.cxx.
|
protectedpure virtual |
Function setting up access to a set of auxiliary branches.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protectedpure virtual |
Function setting up access to a set of auxiliary branches for a metadata object.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protectedpure virtual |
Function setting up access to a particular metadata object.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protectedpure virtual |
Function setting up access to a particular object.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
| bool xAOD::Event::contains | ( | const std::string & | key | ) |
Function checking if an object is available from the store.
|
protected |
Internal function checking if an object is in the input.
| bool xAOD::Event::containsMeta | ( | const std::string & | key | ) |
Function checking if a meta-object is available from the store.
| StatusCode Event::copy | ( | const std::string & | pattern = ".*" | ) |
Copy an object directly from the input to the output.
This function can be used to easily copy a given (set of) object/container(s) to the output, without modifying the contents of it/them.
It only needs to be called on the interface object/container(s), the copying of the auxiliary data is done automatically, and is steered by the xAOD::Event::setAuxItemList function.
| pattern | Regular expression for the key(s)/name(s) of the object(s)/container(s) to copy |
Definition at line 28 of file EventIO.cxx.
| std::string Event::dump | ( | ) |
Function creating a user-readable dump of the current input.
This function behaves exactly like StoreGateSvc::dump().
It doesn't actually print anything to the screen, it just returns a user readable dump of the contents of the current input file/chain.
It is a pretty dumb implementation for the moment. Should be made nicer later on.
Definition at line 250 of file EventCore.cxx.
|
protected |
Get the object describing one object/branch.
Definition at line 347 of file EventIProxyDict.cxx.
|
protected |
Get the metadata object for a given "SG key".
Definition at line 321 of file EventIProxyDict.cxx.
|
overridevirtual |
Function returning the hash describing an object name.
This helper function is mostly needed by the smart pointers of the xAOD EDM.
Right now it very simply just calculates the hash just based on the key given to the function. But later on it might be good to do some tests here, checking if the event format knows about the specified key or not. This is why it's not made to be a static function
| key | String key to turn into a hash |
Implements xAOD::TVirtualEvent.
Definition at line 27 of file EventTVirtualEvent.cxx.
|
protected |
Function for retrieving an input object in a non-template way.
This is the function doing the heavy lifting to retrieve objects from the input file.
| key | The key (branch name) of the object to retrieve |
| ti | The type as which the object is to be retrieved |
| silent | Set to kTRUE to make the code fail silently in case the object can't be retrieved |
| metadata | Flag deciding whether we're looking for a metadata or event data object |
Definition at line 218 of file EventIO.cxx.
|
overrideprotectedvirtual |
Function for retrieving an input object in a non-template way.
This function is used by the TVirtualEvent interface to access an input object with a given hashed key.
The function looks up the string key belonging to the hash, and then calls the other GetInputObject(...) function in the class with that parameter.
| key | The hashed key of the input object |
| ti | The type description of the object requested |
| silent | Switch for being silent about failures or not |
Implements xAOD::TVirtualEvent.
Definition at line 162 of file EventTVirtualEvent.cxx.
|
overridevirtual |
Function returning the hash describing a known object.
This function is used by the smart pointer code to find the identifier of an object that's already in the event in some way.
| obj | Pointer to the object that we want to look up |
Implements xAOD::TVirtualEvent.
Definition at line 51 of file EventTVirtualEvent.cxx.
|
overridevirtual |
Function returning the key describing a known object.
This function is used by the smart pointer code to find the identifier of an object that's already in the event in some way.
| obj | Pointer to the object that we want to look up |
Implements xAOD::TVirtualEvent.
Definition at line 64 of file EventTVirtualEvent.cxx.
|
overridevirtual |
Function returning the key describing a known object.
This function is used primarily when getting the string key of a smart pointer that we read in from a file, or access it in memory.
| hash | The hashed key for the container/object |
Implements xAOD::TVirtualEvent.
Definition at line 105 of file EventTVirtualEvent.cxx.
|
protectedpure virtual |
Function determining the list keys associated with a type name.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protected |
Function for retrieving an output object in a non-template way.
This function does the heavy lifting of retrieving object from the list of output objects.
While it returns a typeless pointer, that pointer can be cast directly to the type described by the second parameter in the caller code.
| key | The key (branch name) of the object to retrieve |
| ti | The type as which the object is to be retrieved |
| metadata | Flag deciding whether we're looking for a metadata or event data object |
Definition at line 154 of file EventIO.cxx.
|
overrideprotectedvirtual |
Function for retrieving an output object in a non-template way.
This function is used by the TVirtualEvent interface to access an output object with a given hashed key.
The function looks up the string key belonging to the hash, and then calls the other GetOutputObject(...) function in the class with that parameter.
| key | The hashed key of the output object |
| ti | The type description of the object requested |
Implements xAOD::TVirtualEvent.
Definition at line 138 of file EventTVirtualEvent.cxx.
|
protectedpure virtual |
Check if an input file is connected to the object.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protectedpure virtual |
Check if an output file is connected to the object.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| const EventFormat * Event::inputEventFormat | ( | ) | const |
Get information about the input objects.
Definition at line 228 of file EventCore.cxx.
| StatusCode xAOD::Event::keys | ( | std::vector< std::string > & | vkeys, |
| bool | metadata ) const |
Provide a list of all data object keys associated with a specific type.
|
overrideprotected |
Find the string corresponding to a given key.
Definition at line 294 of file EventIProxyDict.cxx.
|
overrideprotected |
Find the string and CLID corresponding to a given key.
Definition at line 299 of file EventIProxyDict.cxx.
| StatusCode xAOD::Event::metaKeys | ( | std::vector< std::string > & | vkeys | ) | const |
Provide a list of all metadata object keys associated with a specific type.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
|
overrideprotected |
Get the name of the instance.
Definition at line 315 of file EventIProxyDict.cxx.
| const EventFormat * Event::outputEventFormat | ( | ) | const |
Get information about the output objects.
Definition at line 236 of file EventCore.cxx.
| void Event::printIOStats | ( | ) | const |
Function printing the I/O statistics of the current process.
This is a convenience function for printing basic I/O information about the current job.
It can be called at the end of a job to get an overview of what the job did exactly I/O-wise.
Definition at line 298 of file EventCore.cxx.
| void Event::printNameRemap | ( | ) | const |
Print the current name re-mapping rules.
This function can be used for debugging, to check what container/object name remapping rules are in place for the current TEvent object.
Definition at line 201 of file EventCore.cxx.
| void Event::printProxyWarnings | ( | bool | value = true | ) |
Enable warnings associated with broken element links.
These appear harmless so long as you don't actually try to access the links.
Which will cause other errors anyway.
| value | The new value for the option |
Definition at line 223 of file EventCore.cxx.
|
overrideprotected |
return the list of all current proxies in store
Definition at line 275 of file EventIProxyDict.cxx.
|
overrideprotected |
get proxy with given id and key. Returns 0 to flag failure
Definition at line 213 of file EventIProxyDict.cxx.
|
overrideprotected |
get proxy for a given data object address in memory
Definition at line 185 of file EventIProxyDict.cxx.
|
overrideprotected |
Get proxy given a hashed key+clid.
Definition at line 222 of file EventIProxyDict.cxx.
| StatusCode xAOD::Event::record | ( | std::unique_ptr< T > | obj, |
| const std::string & | key ) |
Add an output object to the event, explicitly taking ownership of it.
| StatusCode xAOD::Event::record | ( | T * | obj, |
| const std::string & | key ) |
Add an output object to the event.
|
protectedpure virtual |
Record an object into a connected output file.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
protectedpure virtual |
Record an auxiliary store into a connected output file.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
| StatusCode xAOD::Event::recordMeta | ( | std::unique_ptr< T > | obj, |
| const std::string & | key ) |
Add an object to the output file's metadata, explicitly taking ownership of it.
| StatusCode xAOD::Event::recordMeta | ( | T * | obj, |
| const std::string & | key ) |
Add an object to the output file's metadata.
|
overrideprotected |
Record an object in the store.
Definition at line 309 of file EventIProxyDict.cxx.
|
protected |
Internal function for recording an object into the output.
|
overrideprotected |
Remember an additional mapping from key to string/CLID.
Definition at line 304 of file EventIProxyDict.cxx.
| StatusCode Event::removeListener | ( | TVirtualIncidentListener * | listener | ) |
Remove an incident listener object.
This function allows us to remove a listener when for instance a metadata tool is deleted during a job.
| listener | Pointer to the listener that should be removed |
StatusCode types Definition at line 126 of file EventCore.cxx.
| StatusCode xAOD::Event::retrieve | ( | const T *& | obj, |
| const std::string & | key ) |
Retrieve either an input or an output object from the event.
| StatusCode xAOD::Event::retrieve | ( | T *& | obj, |
| const std::string & | key ) |
Retrieve an output object from the event.
|
inherited |
Function retrieving an object from the event (constant version)
|
inherited |
Function retrieving an object from the event (constant version)
| StatusCode xAOD::Event::retrieveMetaInput | ( | const T *& | obj, |
| const std::string & | key ) |
Retrieve an input metadata object.
| StatusCode xAOD::Event::retrieveMetaOutput | ( | const T *& | obj, |
| const std::string & | key ) |
Retrieve an output metadata object.
| StatusCode xAOD::Event::retrieveMetaOutput | ( | T *& | obj, |
| const std::string & | key ) |
Retrieve an output metadata object.
| void Event::setActive | ( | ) | const |
Set this event object as the currently active one.
Definition at line 54 of file EventCore.cxx.
| void Event::setAuxItemList | ( | const std::string & | containerKey, |
| const std::string & | itemList ) |
Configure which dynamic variables to write out for a given store.
This function receives the rules for selecting which dynamic auxiliary branches should be written for a given container, in the exact same format in which we need to set it in the Athena output ItemList.
| containerKey | The name of the auxiliary container in question |
| itemList | The variable list according to the formatting rules |
Definition at line 71 of file EventCore.cxx.
|
protectedpure virtual |
Function connecting a DV object to its auxiliary store.
Implemented in xAOD::Experimental::REvent, and xAOD::TEvent.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
overrideprotected |
Find the string corresponding to a given key.
Definition at line 289 of file EventIProxyDict.cxx.
| bool xAOD::Event::transientContains | ( | const std::string & | key | ) | const |
Function checking if an object is already in memory.
|
protected |
Internal function checking if an object is already in memory.
| bool xAOD::Event::transientContainsMeta | ( | const std::string & | key | ) | const |
Function checking if a meta-object is already in memory.
|
friend |
|
friend |
|
mutableprotected |
Map from hashed sgkey to BranchInfo.
Key for retrieving the "default" object of a given type.
Definition at line 35 of file TVirtualEvent.h.
|
staticconstexprinherited |
Mask for the keys, used mostly internally.
Definition at line 37 of file TVirtualEvent.h.
|
protected |
|
mutableprotected |
|
mutableprivateinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
protected |
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protected |
|
protected |
|
protected |
|
protected |