![]() |
ATLAS Offline Software
|
#include <sTGCRDOVariables.h>
Public Types | |
| using | DataDependency = SG::VarHandleKey* |
Public Member Functions | |
| sTGCRDOVariables (MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl) | |
| ~sTGCRDOVariables ()=default | |
| bool | fill (const EventContext &ctx) override final |
| The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided. | |
| bool | declare_keys () override final |
| unsigned int | push_back (const EventContext &ctx, const Muon::STGC_RawData &rdo) |
| Adds a RDO to the output tree. | |
| unsigned int | push_back (const EventContext &ctx, const Identifier &id) |
| void | dumpAllHitsInChamber (const MuonGM::sTgcReadoutElement &detEle) |
| Adds all hits in this particular chamber to the output n-tuple. | |
| void | enableSeededDump () |
| Dumps only hits which are marked by the dumpAllHitsInChamber method. | |
| bool | init () override final |
| The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty. | |
| 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 | |
| const Muon::IMuonIdHelperSvc * | idHelperSvc () const |
| const MuonGM::MuonDetectorManager * | getDetMgr (const EventContext &ctx) const |
| template<class T> | |
| bool | addToTree (T &variable) |
| Connects the Memory buffer with the TTree. | |
| template<class Key> | |
| 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 | |
| unsigned int | dump (const EventContext &ctx, const Muon::STGC_RawData &rdo) |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| SG::ReadHandleKey< Muon::STGC_RawDataContainer > | m_key {} |
| ScalarBranch< unsigned int > & | m_NSWsTGC_nRDO {parent().newScalar<unsigned int>("N_RDO_sTGC")} |
| VectorBranch< double > & | m_NSWsTGC_rdo_time {parent().newVector<double>("RDO_sTGC_time")} |
| VectorBranch< uint16_t > & | m_NSWsTGC_rdo_charge {parent().newVector<uint16_t>("RDO_sTGC_charge")} |
| VectorBranch< uint16_t > & | m_NSWsTGC_rdo_tdo {parent().newVector<uint16_t>("RDO_sTGC_tdo")} |
| VectorBranch< uint16_t > & | m_NSWsTGC_rdo_bcTag {parent().newVector<uint16_t>("RDO_sTGC_bcTag")} |
| VectorBranch< bool > & | m_NSWsTGC_rdo_isDead {parent().newVector<bool>("RDO_sTGC_isDead")} |
| VectorBranch< double > & | m_NSWsTGC_rdo_localPosX {parent().newVector<double>("RDO_sTGC_localPosX")} |
| VectorBranch< double > & | m_NSWsTGC_rdo_localPosY {parent().newVector<double>("RDO_sTGC_localPosY")} |
| ThreeVectorBranch | m_NSWsTGC_rdo_globalPos {parent(), "RDO_sTGC_globalPos"} |
| sTgcIdentifierBranch | m_NSWsTGC_rdo_id {parent(), "RDO_sTGC"} |
| std::unordered_set< IdentifierHash > | m_filteredChamb {} |
| Set of chambers to be dumped. | |
| std::unordered_map< Identifier, unsigned int > | m_filteredRDOs {} |
| Set of particular chambers to be dumped. | |
| bool | m_applyFilter {false} |
| Apply a filter to dump the prds. | |
| bool | m_externalPush {false} |
| Flag telling whether an external prd has been pushed. | |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_detMgrKey {"MuonDetectorManager"} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()} |
| TTree * | m_tree {nullptr} |
| MuonTesterTree * | m_parent {nullptr} |
| std::string | m_name {} |
| bool | m_init {false} |
| 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 { 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 12 of file sTGCRDOVariables.h.
|
inherited |
Definition at line 39 of file IMuonTesterBranch.h.
| MuonPRDTest::sTGCRDOVariables::sTGCRDOVariables | ( | MuonTesterTree & | tree, |
| const std::string & | container_name, | ||
| MSG::Level | msglvl ) |
Definition at line 11 of file sTGCRDOVariables.cxx.
|
default |
|
protectedinherited |
Connects the Memory buffer with the TTree.
|
finaloverridevirtualinherited |
Returns the data dependencies needed by the MuonTesterBranch.
Implements MuonVal::IMuonTesterBranch.
Definition at line 61 of file MuonTesterBranch.cxx.
|
protectedinherited |
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
|
finaloverridevirtual |
Implements MuonPRDTest::PrdTesterModule.
Definition at line 13 of file sTGCRDOVariables.cxx.
|
private |
Definition at line 71 of file sTGCRDOVariables.cxx.
| void MuonPRDTest::sTGCRDOVariables::dumpAllHitsInChamber | ( | const MuonGM::sTgcReadoutElement & | detEle | ) |
Adds all hits in this particular chamber to the output n-tuple.
Definition at line 47 of file sTGCRDOVariables.cxx.
| void MuonPRDTest::sTGCRDOVariables::enableSeededDump | ( | ) |
Dumps only hits which are marked by the dumpAllHitsInChamber method.
Definition at line 45 of file sTGCRDOVariables.cxx.
|
staticinherited |
Definition at line 56 of file MuonTesterBranch.cxx.
|
finaloverridevirtual |
The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.
--> returns false if no update is called or the dummy value has not been defined
Implements MuonVal::IMuonTesterBranch.
Definition at line 15 of file sTGCRDOVariables.cxx.
|
protectedinherited |
Definition at line 16 of file PrdTesterModule.cxx.
|
protectedinherited |
Definition at line 15 of file PrdTesterModule.cxx.
|
finaloverridevirtualinherited |
The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.
Implements MuonVal::IMuonTesterBranch.
Definition at line 24 of file PrdTesterModule.cxx.
|
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 52 of file MuonTesterBranch.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.
|
finaloverridevirtualinherited |
Returns the name of the branch.
Implements MuonVal::IMuonTesterBranch.
Definition at line 51 of file MuonTesterBranch.cxx.
|
protectedinherited |
Returns the reference to the MuonTesterTree parent.
Definition at line 38 of file MuonTesterBranch.cxx.
| unsigned int MuonPRDTest::sTGCRDOVariables::push_back | ( | const EventContext & | ctx, |
| const Identifier & | id ) |
Definition at line 53 of file sTGCRDOVariables.cxx.
| unsigned int MuonPRDTest::sTGCRDOVariables::push_back | ( | const EventContext & | ctx, |
| const Muon::STGC_RawData & | rdo ) |
Adds a RDO to the output tree.
Returns the index in the vector where the PRD is saved for output. Internal checks ensure that the same Prd is nver pushed twice.
Definition at line 40 of file sTGCRDOVariables.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.
|
finaloverridevirtualinherited |
|
finaloverridevirtualinherited |
Returns the underlying TTree object.
Implements MuonVal::IMuonTesterBranch.
Definition at line 53 of file MuonTesterBranch.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
|
privateinherited |
Definition at line 62 of file MuonTesterBranch.h.
|
privateinherited |
Definition at line 29 of file PrdTesterModule.h.
|
private |
Flag telling whether an external prd has been pushed.
Definition at line 55 of file sTGCRDOVariables.h.
|
private |
|
private |
|
privateinherited |
Definition at line 30 of file PrdTesterModule.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 61 of file MuonTesterBranch.h.
|
private |
Definition at line 36 of file sTGCRDOVariables.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.
|
private |
Definition at line 37 of file sTGCRDOVariables.h.
|
private |
Definition at line 41 of file sTGCRDOVariables.h.
|
private |
Definition at line 39 of file sTGCRDOVariables.h.
|
private |
Definition at line 45 of file sTGCRDOVariables.h.
|
private |
Definition at line 46 of file sTGCRDOVariables.h.
|
private |
Definition at line 42 of file sTGCRDOVariables.h.
|
private |
Definition at line 43 of file sTGCRDOVariables.h.
|
private |
Definition at line 44 of file sTGCRDOVariables.h.
|
private |
Definition at line 40 of file sTGCRDOVariables.h.
|
private |
Definition at line 38 of file sTGCRDOVariables.h.
|
privateinherited |
Definition at line 59 of file MuonTesterBranch.h.
|
privateinherited |
Definition at line 58 of file MuonTesterBranch.h.