ATLAS Offline Software
|
#include <SegmentAmbiSolver.h>
Classes | |
struct | Config |
Public Types | |
enum | Resolution { Resolution::noOverlap, Resolution::superSet, Resolution::subSet } |
using | SegmentVec = std::vector< std::unique_ptr< Segment > > |
Public Member Functions | |
SegmentAmbiSolver (const std::string &name, Config &&config) | |
SegmentVec | resolveAmbiguity (const ActsGeometryContext &gctx, SegmentVec &&toResolve) const |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Private Types | |
using | MeasurementSet = std::unordered_set< const xAOD::UncalibratedMeasurement * > |
Private Member Functions | |
std::vector< int > | driftSigns (const ActsGeometryContext &gctx, const Segment &segment, const Segment::MeasVec &measurements) const |
MeasurementSet | extractPrds (const Segment &segment) const |
Extract the Uncalibrated measurements used to build the segment. More... | |
unsigned int | countShared (const MeasurementSet &measSet1, const MeasurementSet &measSet2) const |
counts the number of measurements that're in both sets More... | |
double | redChi2 (const Segment &segment) const |
Returns the reduced chi2 of the segment. More... | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
const Config | m_cfg {} |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
Definition at line 16 of file SegmentAmbiSolver.h.
|
private |
Definition at line 47 of file SegmentAmbiSolver.h.
using MuonR4::SegmentAmbiSolver::SegmentVec = std::vector<std::unique_ptr<Segment> > |
Definition at line 30 of file SegmentAmbiSolver.h.
|
strong |
Enumerator | |
---|---|
noOverlap | |
superSet | |
subSet |
Definition at line 35 of file SegmentAmbiSolver.h.
Definition at line 12 of file SegmentAmbiSolver.cxx.
|
private |
counts the number of measurements that're in both sets
Definition at line 122 of file SegmentAmbiSolver.cxx.
|
private |
Definition at line 91 of file SegmentAmbiSolver.cxx.
|
private |
Extract the Uncalibrated measurements used to build the segment.
Definition at line 108 of file SegmentAmbiSolver.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 164 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 179 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.
Returns the reduced chi2 of the segment.
Definition at line 16 of file SegmentAmbiSolver.cxx.
SegmentVec MuonR4::SegmentAmbiSolver::resolveAmbiguity | ( | const ActsGeometryContext & | gctx, |
SegmentVec && | toResolve | ||
) | const |
Mark the first object as resolved
Segments below that threshold are not considered for outlier removal Take the one which has more degrees of freedom
Definition at line 19 of file SegmentAmbiSolver.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.
Definition at line 41 of file SegmentAmbiSolver.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
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.