![]() |
ATLAS Offline Software
|
#include <RNtupleFieldHelpers.h>
Public Member Functions | |
| ContainerProcessor (const std::string &sgName) | |
| virtual | ~ContainerProcessor ()=default |
| ContainerProcessor (const ContainerProcessor &)=delete | |
| ContainerProcessor & | operator= (const ContainerProcessor &)=delete |
| virtual StatusCode | retrieveProcess (StoreType &evtStore) override |
| retrieve and process the object | |
| virtual StatusCode | addBranch (ROOT::RNTupleModel &model, const BranchConfig &branchConfig, OutputBranchData &outputData) override |
| virtual StatusCode | addBranch (TTree &tree, const BranchConfig &branchConfig, OutputBranchData &outputData) override |
| Add one branch to the output tree. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
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. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_sgName |
| std::vector< std::unique_ptr< ContainerFieldProcessor > > | m_fields |
| TVirtualCollectionProxy * | m_collProxy = nullptr |
| int | m_auxElementOffset = -1 |
| 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. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging). | |
Definition at line 147 of file RNtupleFieldHelpers.h.
| CP::RNtupleFieldHelpers::ContainerProcessor::ContainerProcessor | ( | const std::string & | sgName | ) |
Definition at line 409 of file RNtupleFieldHelpers.cxx.
|
virtualdefault |
|
delete |
|
overridevirtual |
Implements CP::TreeBranchHelpers::IObjectProcessor.
Definition at line 412 of file RNtupleFieldHelpers.cxx.
|
overridevirtual |
Add one branch to the output tree.
This function is used during the setup of the output tree to create one branch in it, from one specific auxiliary variable. The type of the variable is figured out at runtime using the auxiliary store infrastructure.
| tree | The tree to create the branch in |
| auxName | Name of the auxiliary variable to create the branch from |
| branchName | The name of the branch to create in the tree |
StatusCode values Implements CP::TreeBranchHelpers::IObjectProcessor.
Definition at line 424 of file RNtupleFieldHelpers.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
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.
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.
|
delete |
|
overridevirtual |
retrieve and process the object
This function is called during the event processing to first retrieve the object from the event store, and then to extract all configured variables from the xAOD object into the output variables set up via addBranch.
Implements CP::TreeBranchHelpers::IObjectProcessor.
Definition at line 431 of file RNtupleFieldHelpers.cxx.
|
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.
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 168 of file RNtupleFieldHelpers.h.
|
private |
Definition at line 167 of file RNtupleFieldHelpers.h.
|
private |
Definition at line 166 of file RNtupleFieldHelpers.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels).
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 165 of file RNtupleFieldHelpers.h.