ATLAS Offline Software
|
#include <MuonHoughTransformer_xy.h>
Public Member Functions | |
MuonHoughTransformer_xy (int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1) | |
constructor More... | |
virtual | ~MuonHoughTransformer_xy ()=default |
destructor More... | |
std::pair< double, double > | getHitPos (const MuonHoughHitContainer &event, int hitid) const override |
returns the hit position in xy frame More... | |
std::unique_ptr< MuonHoughPattern > | initialiseHoughPattern () const override final |
build new houghpattern More... | |
void | fillHit (const std::shared_ptr< MuonHoughHit > &hit, double weight) override final |
fill hit in histogram More... | |
int | fillHisto (double r0, double phi, double weight, int sector) override final |
fill transformed values in histogram More... | |
int | sector (const std::shared_ptr< MuonHoughHit > &hit) const override final |
returns the rz sector More... | |
float | weightHoughTransform (double r0) const override final |
put weight on houghtransform dependent on r0 More... | |
virtual void | fill (const MuonHoughHitContainer &event, bool subtract=false) |
fill histograms with hitcontainer More... | |
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 More... | |
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 More... | |
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 More... | |
void | resetHisto () |
reset histograms More... | |
void | useNegativeWeights (bool use_negative_weights) |
use negative weights More... | |
std::vector< std::pair< int, int > > | getMaxima (int max_patterns) const |
return the first certain number of maxima of histograms More... | |
void | setIP (bool ip_setting) |
set m_ip_setting (e.g. More... | |
const MuonHoughHisto2DContainer & | histos () const |
access to histograms More... | |
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... | |
Static Public Member Functions | |
static double | calculateAngle (double hitx, double hity, double r0) |
calcalates the phi angle for a given hit and r0 More... | |
Protected Member Functions | |
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 More... | |
std::pair< double, double > | getEndPointsFillLoop (double radius, double stepsize, int sector) const |
returns begin and end value of the filling loop More... | |
Protected Attributes | |
MuonHoughHisto2DContainer | m_histos |
histogram container More... | |
double | m_threshold_histo |
threshold of histograms More... | |
unsigned int | m_eventsize |
size of event to be filled (can be used for weighting) More... | |
double | m_eventsize_weightfactor |
weightfactor based on eventsize (used in curved hough transform) More... | |
bool | m_add_weight_angle |
use weight of patterns in angle coordinate More... | |
double | m_weight_constant_angle |
weight constant of patterns in angle coordinate More... | |
bool | m_add_weight_radius |
use weight of patterns in radius coordinate More... | |
double | m_weight_constant_radius |
weight constant of patterns in radius coordinate More... | |
bool | m_use_negative_weights |
use of negative weights More... | |
MuonHoughMathUtils | m_muonhoughmathutils |
object for use of mathematical formulas for trackmodels More... | |
const int | m_nbins |
number of bins in histograms in radius coordinate More... | |
const int | m_nbins_plus3 |
number of bins in histograms in radius coordinate More... | |
const int | m_nbins_angle |
number of bins in histograms in angle coordinate More... | |
const double | m_detectorsize |
range of radius coordinate More... | |
const double | m_detectorsize_angle |
range of angle coordinate More... | |
double | m_binwidthx |
x-binwidth of histogram More... | |
double | m_binwidthy |
y-binwidth of histogram More... | |
double | m_stepsize |
stepsize of transform for radius coordinate More... | |
double | m_stepsize_per_angle |
stepsize of transform for angle coordinate More... | |
bool | m_ip_setting |
use settings for patterns originating from origin More... | |
const int | m_number_of_sectors |
number of histograms (1 for cosmics 16 for rz) More... | |
Private Member Functions | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
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 10 of file MuonHoughTransformer_xy.h.
MuonHoughTransformer_xy::MuonHoughTransformer_xy | ( | int | nbins, |
int | nbins_angle, | ||
double | detectorsize, | ||
double | detectorsize_angle, | ||
double | threshold_histo, | ||
int | number_of_sectors = 1 |
||
) |
constructor
Definition at line 7 of file MuonHoughTransformer_xy.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.
|
staticinherited |
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.
|
finaloverridevirtualinherited |
fill transformed values in histogram
Implements MuonHoughTransformer.
Definition at line 46 of file MuonHoughTransformer_xyz.cxx.
|
finaloverridevirtualinherited |
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.
|
overridevirtual |
returns the hit position in xy frame
Implements MuonHoughTransformer_xyz.
Definition at line 11 of file MuonHoughTransformer_xy.cxx.
|
inherited |
return the first certain number of maxima of histograms
Definition at line 122 of file MuonHoughTransformer.cxx.
|
inlineinherited |
|
finaloverrideprotectedvirtualinherited |
associate hits to maximum found
Implements MuonHoughTransformer.
Definition at line 121 of file MuonHoughTransformer_xyz.cxx.
|
finaloverridevirtual |
build new houghpattern
Implements MuonHoughTransformer_xyz.
Definition at line 17 of file MuonHoughTransformer_xy.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.
|
inherited |
|
finaloverridevirtualinherited |
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 |
|
finaloverridevirtualinherited |
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 |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
protectedinherited |
use settings for patterns originating from origin
Definition at line 125 of file MuonHoughTransformer.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.
|
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.