![]() |
ATLAS Offline Software
|
#include <TBranchAuxDynWriter.h>
Public Member Functions | |
| TBranchAuxDynWriter (TTree &tree, TClass &cls, int bufferSize, int splitLevel, int offsettab_len, bool branch_fill) | |
| virtual | ~TBranchAuxDynWriter () |
| virtual void | setBranchFillMode (bool mode) override final |
| set Filling mode (true/false) for branch containers | |
| void | createAuxBranch (AuxInfo &info) |
| void | setBranchOffsetTabLen (TBranch *b, int offsettab_len) |
| virtual int | writeAuxAttributes (const std::string &base_branchname, void *store, size_t backfill_nrows) override final |
| handle writing of dynamic xAOD attributes of an object called from RootTreeContainer::writeObject() | |
| virtual bool | needsCommit () override final |
| is there a need to call commit()? | |
| virtual int | commit () override final |
| Call Fill() on the ROOT object used by this writer. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
| bool | hasAuxDynStore () const |
Protected Member Functions | |
| int | auxStoreOffset (TClass &tc) |
| SG::IAuxStoreIO * | castIOStore (void *object) |
Protected Attributes | |
| TFile * | m_tfile = nullptr |
| TTree * | m_ttree = nullptr |
| int | m_bufferSize = 8192 |
| int | m_splitLevel = 1 |
| int | m_branchOffsetTabLen = 0 |
| bool | m_branchFillMode = false |
| bool | m_needsFill = false |
| std::map< SG::auxid_t, AuxInfo > | m_auxInfoMap |
| cached aux branches data by auxid | |
| TClass & | m_holderType |
| TClass of the type containing the AuxStore with attributes. | |
| int | m_ioStoreOffset |
| AuxStoreIO interface offset in the subclass type (for casting). negative means no inheritance. | |
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. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 51 of file TBranchAuxDynWriter.h.
| RootAuxDynIO::TBranchAuxDynWriter::TBranchAuxDynWriter | ( | TTree & | tree, |
| TClass & | cls, | ||
| int | bufferSize, | ||
| int | splitLevel, | ||
| int | offsettab_len, | ||
| bool | branch_fill ) |
Definition at line 42 of file TBranchAuxDynWriter.cxx.
|
inlinevirtual |
Definition at line 55 of file TBranchAuxDynWriter.h.
|
protectedinherited |
Definition at line 29 of file RootAuxDynIO.cxx.
|
protectedinherited |
Definition at line 45 of file RootAuxDynIO.cxx.
|
finaloverridevirtual |
Call Fill() on the ROOT object used by this writer.
Implements RootAuxDynIO::IRootAuxDynWriter.
Definition at line 193 of file TBranchAuxDynWriter.cxx.
| void RootAuxDynIO::TBranchAuxDynWriter::createAuxBranch | ( | AuxInfo & | info | ) |
Definition at line 68 of file TBranchAuxDynWriter.cxx.
|
inherited |
Definition at line 40 of file RootAuxDynIO.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inlinefinaloverridevirtual |
is there a need to call commit()?
Implements RootAuxDynIO::IRootAuxDynWriter.
Definition at line 72 of file TBranchAuxDynWriter.h.
|
inlinefinaloverridevirtual |
set Filling mode (true/false) for branch containers
Implements RootAuxDynIO::IRootAuxDynWriter.
Definition at line 58 of file TBranchAuxDynWriter.h.
| void RootAuxDynIO::TBranchAuxDynWriter::setBranchOffsetTabLen | ( | TBranch * | b, |
| int | offsettab_len ) |
Definition at line 54 of file TBranchAuxDynWriter.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.
|
finaloverridevirtual |
handle writing of dynamic xAOD attributes of an object called from RootTreeContainer::writeObject()
handle writing of dynamic xAOD attributes of an object - called from RootTreeContainer::writeObject()
Implements RootAuxDynIO::IRootAuxDynWriter.
Definition at line 128 of file TBranchAuxDynWriter.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
protected |
cached aux branches data by auxid
Definition at line 86 of file TBranchAuxDynWriter.h.
|
protected |
Definition at line 82 of file TBranchAuxDynWriter.h.
|
protected |
Definition at line 81 of file TBranchAuxDynWriter.h.
|
protected |
Definition at line 79 of file TBranchAuxDynWriter.h.
|
protectedinherited |
TClass of the type containing the AuxStore with attributes.
Definition at line 30 of file RootAuxDynIO.h.
|
mutableprivateinherited |
|
protectedinherited |
AuxStoreIO interface offset in the subclass type (for casting). negative means no inheritance.
Definition at line 32 of file RootAuxDynIO.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
protected |
Definition at line 83 of file TBranchAuxDynWriter.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protected |
Definition at line 80 of file TBranchAuxDynWriter.h.
|
protected |
Definition at line 77 of file TBranchAuxDynWriter.h.
|
protected |
Definition at line 78 of file TBranchAuxDynWriter.h.