![]() |
ATLAS Offline Software
|
Helper branch class to dump a pick a single hit summary value from the overall summary & to dump it in the tree. More...
#include <TrackSummaryModule.h>
Public Types | |
| using | Category = MuonR4::HitSummary::HitCategory |
| using | Status = MuonR4::HitSummary::Status |
| using | LayerIndex = MuonR4::HitSummary::LayerIndex |
| using | DataDependency |
Public Member Functions | |
| TrackSummaryValueBranch (TTree *tree, const std::string &collName, Category cat, Status status, LayerIndex layer, bool isSmall) | |
| Constructor taking the reference to the tree & the summary values together with an overall collection name. | |
| void | push_back (const MuonR4::HitSummary &summary) |
| push back the assigned hit summary value | |
| bool & | get (size_t idx) |
| bool & | get (size_t) |
| bool | fill (const EventContext &ctx) override |
| Clears vector in cases that it has not been updated in this event Retursn falls if the vector has not been initialized yet. | |
| bool | init () override |
| Initialized the Branch. | |
| size_t | size () const |
| Returns the number of actual saved elements. | |
| void | push_back (const std::uint8_t &value) |
| Adds a new element at the end of the vector. | |
| void | operator+= (const std::uint8_t &value) |
| std::uint8_t & | operator[] (size_t idx) |
| Accesses the idx-th element. | |
| const std::uint8_t & | getDefault () const |
| void | setDefault (const std::uint8_t &def) |
| bool | isUpdated () const |
| bool | hasDefault () const |
| std::string | name () const override final |
| Returns the name of the branch. | |
| bool | initialized () const |
| Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method. | |
| TTree * | tree () override final |
| Returns the underlying TTree object. | |
| const TTree * | tree () const override final |
| std::vector< DataDependency > | data_dependencies () override final |
| Returns the data dependencies needed by the MuonTesterBranch. | |
| 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. | |
Static Public Member Functions | |
| static std::string | eraseWhiteSpaces (const std::string &In) |
Protected Member Functions | |
| bool | addToTree (std::uint8_t &variable) |
| Connects the Memory buffer with the TTree. | |
| bool | declare_dependency (Key &key) |
| Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm. | |
| MuonTesterTree & | parent () |
| Returns the reference to the MuonTesterTree parent. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| Category | m_cat {Category::nCategories} |
| Status | m_status {Status::MaxValue} |
| LayerIndex | m_layer {LayerIndex::LayerIndexMax} |
| bool | m_isSmall {false} |
| std::vector< std::uint8_t > | m_variable |
| std::uint8_t | m_default |
| bool | m_hasDefault |
| bool | m_updated |
| TTree * | m_tree |
| MuonTesterTree * | m_parent |
| std::string | m_name |
| bool | m_init |
| std::vector< DataDependency > | m_dependencies |
| 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 |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE |
| Messaging initialized (initMessaging). | |
Helper branch class to dump a pick a single hit summary value from the overall summary & to dump it in the tree.
Definition at line 16 of file TrackSummaryModule.h.
Definition at line 18 of file TrackSummaryModule.h.
|
inherited |
Definition at line 39 of file IMuonTesterBranch.h.
Definition at line 20 of file TrackSummaryModule.h.
Definition at line 19 of file TrackSummaryModule.h.
| MuonValR4::TrackSummaryValueBranch::TrackSummaryValueBranch | ( | TTree * | tree, |
| const std::string & | collName, | ||
| Category | cat, | ||
| Status | status, | ||
| LayerIndex | layer, | ||
| bool | isSmall ) |
Constructor taking the reference to the tree & the summary values together with an overall collection name.
| tree | TTree to which the branch is appended |
| collName | Name of the hit summary collection |
| cat | HitCategory of the summary to be picked by this instance |
| status | HitStatus of the summary to be picked by this instance |
| layer | Spectrometer lay to be picked by this instance |
| isSmall | Pick the summary from the large or the small chambers |
Definition at line 26 of file TrackSummaryModule.cxx.
|
protectedinherited |
Connects the Memory buffer with the TTree.
|
finaloverrideinherited |
Returns the data dependencies needed by the MuonTesterBranch.
Definition at line 40 of file MuonTesterBranch.cxx.
|
protectedinherited |
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
|
staticinherited |
Definition at line 42 of file MuonTesterBranch.cxx.
|
overridevirtualinherited |
Clears vector in cases that it has not been updated in this event Retursn falls if the vector has not been initialized yet.
Implements MuonVal::IMuonTesterBranch.
|
inherited |
|
inherited |
Definition at line 64 of file MuonTesterBranch.cxx.
|
inlineinherited |
|
inlineinherited |
|
overridevirtualinherited |
Initialized the Branch.
Implements MuonVal::IMuonTesterBranch.
|
inherited |
Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.
Definition at line 35 of file MuonTesterBranch.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 121 of file AthMessaging.cxx.
|
inlineinherited |
|
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 92 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 99 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 86 of file AthMessaging.h.
|
finaloverrideinherited |
|
inlineinherited |
|
inlineinherited |
Accesses the idx-th element.
If the index is larger than the size of the vector it is then enlarged with the default_value
|
protectedinherited |
Returns the reference to the MuonTesterTree parent.
Definition at line 52 of file MuonTesterBranch.cxx.
|
inlineinherited |
Adds a new element at the end of the vector.
| void MuonValR4::TrackSummaryValueBranch::push_back | ( | const MuonR4::HitSummary & | summary | ) |
push back the assigned hit summary value
Definition at line 34 of file TrackSummaryModule.cxx.
|
inherited |
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 108 of file AthMessaging.cxx.
|
inlineinherited |
Returns the number of actual saved elements.
|
finaloverrideinherited |
Definition at line 38 of file MuonTesterBranch.cxx.
|
finaloverrideinherited |
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 39 of file TrackSummaryModule.h.
|
privateinherited |
Definition at line 55 of file VectorBranch.h.
|
privateinherited |
Definition at line 62 of file MuonTesterBranch.h.
|
privateinherited |
Definition at line 56 of file VectorBranch.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 61 of file MuonTesterBranch.h.
|
private |
Definition at line 42 of file TrackSummaryModule.h.
|
private |
Definition at line 41 of file TrackSummaryModule.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels).
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Definition at line 60 of file MuonTesterBranch.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
privateinherited |
Definition at line 59 of file MuonTesterBranch.h.
|
private |
Definition at line 40 of file TrackSummaryModule.h.
|
privateinherited |
Definition at line 58 of file MuonTesterBranch.h.
|
privateinherited |
Definition at line 57 of file VectorBranch.h.
|
privateinherited |
Definition at line 54 of file VectorBranch.h.