ATLAS Offline Software
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t > Struct Template Reference

Templated event data class for the phase-2 muon hough transform. More...

#include <HoughEventData.h>

Collaboration diagram for MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >:

Classes

struct  HoughSetupForBucket
 Hough transform configuration for one bucket of the search space. More...
 

Public Member Functions

 HoughEventData_impl ()=default
 

Static Public Member Functions

static void updateSearchWindow (std::pair< double, double > &searchWindow, double value)
 Updates a search space window to account for a value. More...
 

Public Attributes

std::unique_ptr< HoughPlanehoughPlane {nullptr}
 
std::unique_ptr< peakFinder_t > peakFinder {nullptr}
 
std::vector< HoughMaximummaxima {}
 
std::unordered_map< const MuonGMR4::MuonChamber *, std::vector< HoughSetupForBucket > > houghSetups {}
 
Acts::HoughTransformUtils::HoughAxisRanges currAxisRanges
 
std::pair< double, double > searchSpaceIntercept {10000000,-100000000.}
 
std::pair< double, double > searchSpaceTanAngle {100000000.,-100000.}
 
size_t phiHitsOnMax {0}
 

Detailed Description

template<typename peakFinder_t, typename peakFinderConfig_t>
struct MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >

Templated event data class for the phase-2 muon hough transform.

Template Parameters
peakFinder_tPeak finder class to use
peakFinderConfig_tConfiguration object type for the peak finder

Definition at line 22 of file HoughEventData.h.

Constructor & Destructor Documentation

◆ HoughEventData_impl()

template<typename peakFinder_t , typename peakFinderConfig_t >
MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::HoughEventData_impl ( )
default

Member Function Documentation

◆ updateSearchWindow()

template<typename peakFinder_t , typename peakFinderConfig_t >
static void MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::updateSearchWindow ( std::pair< double, double > &  searchWindow,
double  value 
)
inlinestatic

Updates a search space window to account for a value.

The window will adaptively grow so that it includes all of the user-supplied values

Parameters
searchWindowThe window to update
valueThe value to account for

Definition at line 29 of file HoughEventData.h.

29  {
30  searchWindow.first = std::min(searchWindow.first, value);
31  searchWindow.second = std::max(searchWindow.second, value);
32  }

Member Data Documentation

◆ currAxisRanges

template<typename peakFinder_t , typename peakFinderConfig_t >
Acts::HoughTransformUtils::HoughAxisRanges MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::currAxisRanges

Definition at line 61 of file HoughEventData.h.

◆ houghPlane

template<typename peakFinder_t , typename peakFinderConfig_t >
std::unique_ptr<HoughPlane> MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::houghPlane {nullptr}

Definition at line 35 of file HoughEventData.h.

◆ houghSetups

template<typename peakFinder_t , typename peakFinderConfig_t >
std::unordered_map<const MuonGMR4::MuonChamber*, std::vector<HoughSetupForBucket> > MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::houghSetups {}

Definition at line 59 of file HoughEventData.h.

◆ maxima

template<typename peakFinder_t , typename peakFinderConfig_t >
std::vector<HoughMaximum> MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::maxima {}

Definition at line 57 of file HoughEventData.h.

◆ peakFinder

template<typename peakFinder_t , typename peakFinderConfig_t >
std::unique_ptr<peakFinder_t> MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::peakFinder {nullptr}

Definition at line 37 of file HoughEventData.h.

◆ phiHitsOnMax

template<typename peakFinder_t , typename peakFinderConfig_t >
size_t MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::phiHitsOnMax {0}

Definition at line 67 of file HoughEventData.h.

◆ searchSpaceIntercept

template<typename peakFinder_t , typename peakFinderConfig_t >
std::pair<double,double> MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::searchSpaceIntercept {10000000,-100000000.}

Definition at line 63 of file HoughEventData.h.

◆ searchSpaceTanAngle

template<typename peakFinder_t , typename peakFinderConfig_t >
std::pair<double,double> MuonR4::HoughEventData_impl< peakFinder_t, peakFinderConfig_t >::searchSpaceTanAngle {100000000.,-100000.}

Definition at line 65 of file HoughEventData.h.


The documentation for this struct was generated from the following file:
max
#define max(a, b)
Definition: cfImp.cxx:41
athena.value
value
Definition: athena.py:124
min
#define min(a, b)
Definition: cfImp.cxx:40