![]() |
ATLAS Offline Software
|
#include <SpacePointTesterModule.h>
Public Types | |
| using | DataDependency = SG::VarHandleKey* |
Public Member Functions | |
| SpacePointTesterModule (MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="") | |
| bool | declare_keys () override final |
| 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. | |
| unsigned int | push_back (const MuonR4::SpacePointBucket &bucket) |
| unsigned int | push_back (const MuonR4::SpacePoint &spacePoint) |
| 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 MuonGMR4::MuonDetectorManager * | getDetMgr () const |
| const ActsTrk::GeometryContext & | getGeoCtx (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 | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_collName {} |
| SG::ReadHandleKey< MuonR4::SpacePointContainer > | m_key {} |
| VectorBranch< uint16_t > & | m_bucketNumber {parent().newVector<uint16_t>(m_collName+"bucket_index")} |
| Space point bucket information. | |
| MuonIdentifierBranch | m_bucketId {parent(), m_collName+"_bucket"} |
| stationIndex / stationEta / stationPhi of the bucket chamber | |
| VectorBranch< float > & | m_bucketMin {parent().newVector<float>(m_collName+"_bucketMinX")} |
| Range of the space point bucket. | |
| VectorBranch< float > & | m_bucketMax {parent().newVector<float>(m_collName+"_bucketMaxX")} |
| MatrixBranch< uint16_t > & | m_bucketPoints {parent().newMatrix<uint16_t>(m_collName+"_bucketSpacePoints")} |
| associated space points | |
| ThreeVectorBranch | m_spPos {parent(), m_collName+"spacePoint_Position"} |
| Space point position. | |
| VectorBranch< float > & | m_driftR {parent().newVector<float>(m_collName+"_spacePointDriftR")} |
| Space point drift radius. | |
| VectorBranch< float > & | m_covX {parent().newVector<float>(m_collName+"_spacePointCovX")} |
| Covariance of the space point. | |
| VectorBranch< float > & | m_covY {parent().newVector<float>(m_collName+"_spacePointCovY")} |
| VectorBranch< float > & | m_covT {parent().newVector<float>(m_collName+"_spacePointCovT")} |
| VectorBranch< bool > & | m_measEta {parent().newVector<bool>(m_collName+"_spacePointMeasEta")} |
| Does the space point measure phi or eta. | |
| VectorBranch< bool > & | m_measPhi {parent().newVector<bool>(m_collName+"_spacePointMeasPhi")} |
| VectorBranch< unsigned int > & | m_nEtaInstances {parent().newVector<unsigned int>(m_collName+"_spacePointNumEtaInUse")} |
| How many other spacepoints were built with the same eta /phi prd. | |
| VectorBranch< unsigned int > & | m_nPhiInstances {parent().newVector<unsigned int>(m_collName+"_spacePointNumPhiInUse")} |
| MuonIdentifierBranch | m_spacePointId {parent(), m_collName+"_spacePoint"} |
| Station Identifier. | |
| VectorBranch< unsigned char > & | m_techIdx {parent().newVector<unsigned char>(m_collName+"_spacePointTechnology")} |
| Technology index of the space point. | |
| VectorBranch< unsigned char > & | m_layer {parent().newVector<unsigned char>(m_collName+"_spacePointLayer")} |
| Measurement layer. | |
| VectorBranch< uint16_t > & | m_channel {parent().newVector<uint16_t>(m_collName+"_spacePoint1stChannel")} |
| Measurement channel. | |
| VectorBranch< int16_t > & | m_phiChannel {parent().newVector<int16_t>(m_collName+"_spacePoint2ndChannel")} |
| Channel of the secondary measurment. | |
| std::unordered_map< const MuonR4::SpacePoint *, unsigned int > | m_spacePointIdx {} |
| : Keep track when a spacepoint is filled into the tree | |
| std::unordered_map< const MuonR4::SpacePointBucket *, unsigned int > | m_bucketIdx {} |
| : Keep tarck when a space point bucket is filled into the tree | |
| bool | m_applyFilter {false} |
| : Flag whether the module is operated in filter mode | |
| bool | m_internalFill {false} |
| : Flag toggling whether the module is in internal filling mode | |
| const MuonGMR4::MuonDetectorManager * | m_detMgr {} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()} |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geoCtxKey {"ActsAlignment"} |
| 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 SpacePointTesterModule.h.
|
inherited |
Definition at line 39 of file IMuonTesterBranch.h.
| MuonValR4::SpacePointTesterModule::SpacePointTesterModule | ( | MuonTesterTree & | tree, |
| const std::string & | inContainer, | ||
| MSG::Level | msgLvl = MSG::Level::INFO, | ||
| const std::string & | collName = "" ) |
Definition at line 10 of file SpacePointTesterModule.cxx.
|
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 MuonValR4::TesterModuleBase.
Definition at line 124 of file SpacePointTesterModule.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 127 of file SpacePointTesterModule.cxx.
|
protectedinherited |
Definition at line 19 of file TesterModuleBase.cxx.
|
protectedinherited |
Definition at line 22 of file TesterModuleBase.cxx.
|
protectedinherited |
Definition at line 18 of file TesterModuleBase.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 30 of file TesterModuleBase.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 MuonValR4::SpacePointTesterModule::push_back | ( | const MuonR4::SpacePoint & | spacePoint | ) |
Definition at line 18 of file SpacePointTesterModule.cxx.
| unsigned int MuonValR4::SpacePointTesterModule::push_back | ( | const MuonR4::SpacePointBucket & | bucket | ) |
Definition at line 99 of file SpacePointTesterModule.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 |
: Flag whether the module is operated in filter mode
Definition at line 74 of file SpacePointTesterModule.h.
|
private |
stationIndex / stationEta / stationPhi of the bucket chamber
Definition at line 34 of file SpacePointTesterModule.h.
|
private |
: Keep tarck when a space point bucket is filled into the tree
Definition at line 72 of file SpacePointTesterModule.h.
|
private |
Definition at line 37 of file SpacePointTesterModule.h.
|
private |
|
private |
|
private |
associated space points
Definition at line 39 of file SpacePointTesterModule.h.
|
private |
|
private |
Definition at line 29 of file SpacePointTesterModule.h.
|
private |
Definition at line 49 of file SpacePointTesterModule.h.
|
private |
|
private |
Definition at line 48 of file SpacePointTesterModule.h.
|
privateinherited |
Definition at line 62 of file MuonTesterBranch.h.
|
privateinherited |
Definition at line 32 of file TesterModuleBase.h.
|
private |
|
privateinherited |
Definition at line 34 of file TesterModuleBase.h.
|
privateinherited |
Definition at line 33 of file TesterModuleBase.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 61 of file MuonTesterBranch.h.
|
private |
: Flag toggling whether the module is in internal filling mode
Definition at line 76 of file SpacePointTesterModule.h.
|
private |
Definition at line 30 of file SpacePointTesterModule.h.
|
private |
|
mutableprivateinherited |
|
private |
|
private |
Definition at line 52 of file SpacePointTesterModule.h.
|
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.
|
private |
How many other spacepoints were built with the same eta /phi prd.
Definition at line 54 of file SpacePointTesterModule.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 55 of file SpacePointTesterModule.h.
|
privateinherited |
Definition at line 59 of file MuonTesterBranch.h.
|
private |
|
private |
|
private |
: Keep track when a spacepoint is filled into the tree
Definition at line 70 of file SpacePointTesterModule.h.
|
private |
|
private |
|
privateinherited |
Definition at line 58 of file MuonTesterBranch.h.