![]() |
ATLAS Offline Software
|
abstract base class for hough transform with carthesian coordinates More...
#include <MuonHoughTransformer_xyz.h>
Public Member Functions | |
| virtual | ~MuonHoughTransformer_xyz ()=default |
| destructor | |
| void | fillHit (const std::shared_ptr< MuonHoughHit > &hit, double weight) override final |
| fill hit in histogram | |
| int | fillHisto (double r0, double phi, double weight, int sector) override final |
| fill transformed values in histogram | |
| int | sector (const std::shared_ptr< MuonHoughHit > &hit) const override final |
| returns the rz sector | |
| virtual std::unique_ptr< MuonHoughPattern > | initialiseHoughPattern () const =0 |
| build new houghpattern | |
| float | weightHoughTransform (double r0) const override final |
| put weight on houghtransform dependent on r0 | |
| virtual std::pair< double, double > | getHitPos (const MuonHoughHitContainer &event, int hitid) const =0 |
| returns the relevant 2d hit position | |
| virtual void | fill (const MuonHoughHitContainer &event, bool subtract=false) |
| fill histograms with hitcontainer | |
| std::unique_ptr< MuonHoughPattern > | associateHitsToMaximum (const MuonHoughHitContainer &event, double residu_mm, double residu_grad, int maximum_number) const |
| associate hits to certain maximum number of histograms | |
| std::unique_ptr< MuonHoughPattern > | associateHitsToCoords (const MuonHoughHitContainer &event, std::pair< double, double > coords, double residu_mm, double residu_angle, int sector=0) const |
| associate hits to certain coordinates and sector | |
| std::unique_ptr< MuonHoughPattern > | associateHitsToBinnumber (const MuonHoughHitContainer &event, int binnumber, double maximum_residu_mm, double maximum_residu_angle, int sector=0) const |
| associate hits to certain binnumber and sector | |
| void | resetHisto () |
| reset histograms | |
| void | useNegativeWeights (bool use_negative_weights) |
| use negative weights | |
| std::vector< std::pair< int, int > > | getMaxima (int max_patterns) const |
| return the first certain number of maxima of histograms | |
| void | setIP (bool ip_setting) |
| set m_ip_setting (e.g. | |
| const MuonHoughHisto2DContainer & | histos () const |
| access to histograms | |
| 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 double | calculateAngle (double hitx, double hity, double r0) |
| calcalates the phi angle for a given hit and r0 | |
Protected Member Functions | |
| MuonHoughTransformer_xyz (int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1) | |
| constructor | |
| std::unique_ptr< MuonHoughPattern > | hookAssociateHitsToMaximum (const MuonHoughHitContainer &event, std::pair< double, double > coordsmaximum, double residu_mm, double residu_grad, int sector) const override final |
| associate hits to maximum found | |
| std::pair< double, double > | getEndPointsFillLoop (double radius, double stepsize, int sector) const |
| returns begin and end value of the filling loop | |
Protected Attributes | |
| MuonHoughHisto2DContainer | m_histos |
| histogram container | |
| double | m_threshold_histo |
| threshold of histograms | |
| unsigned int | m_eventsize |
| size of event to be filled (can be used for weighting) | |
| double | m_eventsize_weightfactor |
| weightfactor based on eventsize (used in curved hough transform) | |
| bool | m_add_weight_angle |
| use weight of patterns in angle coordinate | |
| double | m_weight_constant_angle |
| weight constant of patterns in angle coordinate | |
| bool | m_add_weight_radius |
| use weight of patterns in radius coordinate | |
| double | m_weight_constant_radius |
| weight constant of patterns in radius coordinate | |
| bool | m_use_negative_weights |
| use of negative weights | |
| MuonHoughMathUtils | m_muonhoughmathutils |
| object for use of mathematical formulas for trackmodels | |
| const int | m_nbins |
| number of bins in histograms in radius coordinate | |
| const int | m_nbins_plus3 |
| number of bins in histograms in radius coordinate | |
| const int | m_nbins_angle |
| number of bins in histograms in angle coordinate | |
| const double | m_detectorsize |
| range of radius coordinate | |
| const double | m_detectorsize_angle |
| range of angle coordinate | |
| double | m_binwidthx |
| x-binwidth of histogram | |
| double | m_binwidthy |
| y-binwidth of histogram | |
| double | m_stepsize |
| stepsize of transform for radius coordinate | |
| double | m_stepsize_per_angle |
| stepsize of transform for angle coordinate | |
| bool | m_ip_setting |
| use settings for patterns originating from origin | |
| const int | m_number_of_sectors |
| number of histograms (1 for cosmics 16 for rz) | |
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) | |
abstract base class for hough transform with carthesian coordinates
Definition at line 11 of file MuonHoughTransformer_xyz.h.
|
protected |
constructor
Definition at line 8 of file MuonHoughTransformer_xyz.cxx.
|
virtualdefault |
destructor
|
inherited |
associate hits to certain binnumber and sector
Definition at line 96 of file MuonHoughTransformer.cxx.
|
inherited |
associate hits to certain coordinates and sector
Definition at line 91 of file MuonHoughTransformer.cxx.
|
inherited |
associate hits to certain maximum number of histograms
Definition at line 63 of file MuonHoughTransformer.cxx.
|
static |
calcalates the phi angle for a given hit and r0
Definition at line 103 of file MuonHoughTransformer_xyz.cxx.
|
virtualinherited |
fill histograms with hitcontainer
Definition at line 47 of file MuonHoughTransformer.cxx.
|
finaloverridevirtual |
fill transformed values in histogram
Implements MuonHoughTransformer.
Definition at line 46 of file MuonHoughTransformer_xyz.cxx.
|
finaloverridevirtual |
fill hit in histogram
Implements MuonHoughTransformer.
Definition at line 15 of file MuonHoughTransformer_xyz.cxx.
|
protectedinherited |
returns begin and end value of the filling loop
Definition at line 108 of file MuonHoughTransformer.cxx.
|
pure virtual |
returns the relevant 2d hit position
Implemented in MuonHoughTransformer_xy, and MuonHoughTransformer_yz.
|
inherited |
return the first certain number of maxima of histograms
Definition at line 122 of file MuonHoughTransformer.cxx.
|
inlineinherited |
|
finaloverrideprotectedvirtual |
associate hits to maximum found
Implements MuonHoughTransformer.
Definition at line 121 of file MuonHoughTransformer_xyz.cxx.
|
pure virtual |
build new houghpattern
Implemented in MuonHoughTransformer_xy, and MuonHoughTransformer_yz.
|
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.
|
inherited |
|
finaloverridevirtual |
returns the rz sector
Implements MuonHoughTransformer.
Definition at line 238 of file MuonHoughTransformer_xyz.cxx.
|
inlineinherited |
set m_ip_setting (e.g.
to not split patterns)
Definition at line 140 of file MuonHoughTransformer.h.
|
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.
|
inlineinherited |
use negative weights
Definition at line 141 of file MuonHoughTransformer.h.
|
finaloverridevirtual |
put weight on houghtransform dependent on r0
Implements MuonHoughTransformer.
Definition at line 230 of file MuonHoughTransformer_xyz.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
protectedinherited |
use weight of patterns in angle coordinate
Definition at line 90 of file MuonHoughTransformer.h.
|
protectedinherited |
use weight of patterns in radius coordinate
Definition at line 94 of file MuonHoughTransformer.h.
|
protectedinherited |
x-binwidth of histogram
Definition at line 115 of file MuonHoughTransformer.h.
|
protectedinherited |
y-binwidth of histogram
Definition at line 117 of file MuonHoughTransformer.h.
|
protectedinherited |
range of radius coordinate
Definition at line 111 of file MuonHoughTransformer.h.
|
protectedinherited |
range of angle coordinate
Definition at line 113 of file MuonHoughTransformer.h.
|
protectedinherited |
size of event to be filled (can be used for weighting)
Definition at line 85 of file MuonHoughTransformer.h.
|
protectedinherited |
weightfactor based on eventsize (used in curved hough transform)
Definition at line 87 of file MuonHoughTransformer.h.
|
protectedinherited |
histogram container
Definition at line 79 of file MuonHoughTransformer.h.
|
mutableprivateinherited |
|
protectedinherited |
use settings for patterns originating from origin
Definition at line 125 of file MuonHoughTransformer.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
protectedinherited |
object for use of mathematical formulas for trackmodels
Definition at line 102 of file MuonHoughTransformer.h.
|
protectedinherited |
number of bins in histograms in radius coordinate
Definition at line 105 of file MuonHoughTransformer.h.
|
protectedinherited |
number of bins in histograms in angle coordinate
Definition at line 109 of file MuonHoughTransformer.h.
|
protectedinherited |
number of bins in histograms in radius coordinate
Definition at line 107 of file MuonHoughTransformer.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protectedinherited |
number of histograms (1 for cosmics 16 for rz)
Definition at line 128 of file MuonHoughTransformer.h.
|
protectedinherited |
stepsize of transform for radius coordinate
Definition at line 120 of file MuonHoughTransformer.h.
|
protectedinherited |
stepsize of transform for angle coordinate
Definition at line 122 of file MuonHoughTransformer.h.
|
protectedinherited |
threshold of histograms
Definition at line 82 of file MuonHoughTransformer.h.
|
protectedinherited |
use of negative weights
Definition at line 99 of file MuonHoughTransformer.h.
|
protectedinherited |
weight constant of patterns in angle coordinate
Definition at line 92 of file MuonHoughTransformer.h.
|
protectedinherited |
weight constant of patterns in radius coordinate
Definition at line 96 of file MuonHoughTransformer.h.