ATLAS Offline Software
Loading...
Searching...
No Matches
MuonHough::MuonLayerHough::Maximum Struct Reference

struct representing the maximum in the hough space More...

#include <MuonLayerHough.h>

Collaboration diagram for MuonHough::MuonLayerHough::Maximum:

Public Member Functions

 Maximum ()=default
bool isEndcap () const
float getGlobalR () const
float getGlobalZ () const
float getGlobalTheta () const

Public Attributes

float max {0.}
float pos {0.}
float theta {0.}
float refpos {0.}
DetRegIdx refregion {DetRegIdx::DetectorRegionUnknown}
ChIdx refchIndex {ChIdx::ChUnknown}
int binpos {-1}
int binposmin {-1}
int binposmax {-1}
float binsize {0.}
int bintheta {-1}
int triggerConfirmed {0}
HitVec hits
const MuonLayerHoughhough {nullptr}

Detailed Description

struct representing the maximum in the hough space

Definition at line 64 of file MuonLayerHough.h.

Constructor & Destructor Documentation

◆ Maximum()

MuonHough::MuonLayerHough::Maximum::Maximum ( )
default

Member Function Documentation

◆ getGlobalR()

float MuonHough::MuonLayerHough::Maximum::getGlobalR ( ) const
inline

Definition at line 93 of file MuonLayerHough.h.

◆ getGlobalTheta()

float MuonHough::MuonLayerHough::Maximum::getGlobalTheta ( ) const
inline

Definition at line 101 of file MuonLayerHough.h.

101 {
102 if (isEndcap()) {
103 // return M_PI/2.0 - theta;
104 if (theta > 0) {
105 return M_PI / 2.0 - theta;
106 } else {
107 return -M_PI / 2.0 - theta;
108 }
109 }
110 return theta;
111 };
#define M_PI

◆ getGlobalZ()

float MuonHough::MuonLayerHough::Maximum::getGlobalZ ( ) const
inline

Definition at line 97 of file MuonLayerHough.h.

97 {
98 if (isEndcap()) { return refpos; }
99 return pos;
100 };

◆ isEndcap()

bool MuonHough::MuonLayerHough::Maximum::isEndcap ( ) const
inline

Definition at line 85 of file MuonLayerHough.h.

85 {
86 // refers to the chamber orientation!!!! so BEE is a barell in this def
87 DetRegIdx region = hough->m_descriptor.region;
88 ChIdx chIndex = hough->m_descriptor.chIndex;
89 // need to make sure BEE's reference plane is the same as barrel
90 if (region != DetRegIdx::Barrel && chIndex != ChIdx::BEE) { return true; }
91 return false;
92 };
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
Muon::MuonStationIndex::DetectorRegionIndex DetRegIdx
Muon::MuonStationIndex::ChIndex ChIdx

Member Data Documentation

◆ binpos

int MuonHough::MuonLayerHough::Maximum::binpos {-1}

Definition at line 75 of file MuonLayerHough.h.

75{-1}; // position bin

◆ binposmax

int MuonHough::MuonLayerHough::Maximum::binposmax {-1}

Definition at line 77 of file MuonLayerHough.h.

77{-1}; // upper edge of the maximu

◆ binposmin

int MuonHough::MuonLayerHough::Maximum::binposmin {-1}

Definition at line 76 of file MuonLayerHough.h.

76{-1}; // lower edge of the maximum

◆ binsize

float MuonHough::MuonLayerHough::Maximum::binsize {0.}

Definition at line 78 of file MuonLayerHough.h.

78{0.}; // size of bin

◆ bintheta

int MuonHough::MuonLayerHough::Maximum::bintheta {-1}

Definition at line 79 of file MuonLayerHough.h.

79{-1}; // theta bin

◆ hits

HitVec MuonHough::MuonLayerHough::Maximum::hits

Definition at line 81 of file MuonLayerHough.h.

◆ hough

const MuonLayerHough* MuonHough::MuonLayerHough::Maximum::hough {nullptr}

Definition at line 83 of file MuonLayerHough.h.

83{nullptr}; // pointer to the corresponding hough

◆ max

float MuonHough::MuonLayerHough::Maximum::max {0.}

Definition at line 67 of file MuonLayerHough.h.

67{0.}; // value of the maximum

◆ pos

float MuonHough::MuonLayerHough::Maximum::pos {0.}

Definition at line 68 of file MuonLayerHough.h.

68{0.}; // spacial position

◆ refchIndex

ChIdx MuonHough::MuonLayerHough::Maximum::refchIndex {ChIdx::ChUnknown}

Definition at line 73 of file MuonLayerHough.h.

73{ChIdx::ChUnknown}; // reference chamber index

◆ refpos

float MuonHough::MuonLayerHough::Maximum::refpos {0.}

Definition at line 71 of file MuonLayerHough.h.

71{0.}; // reference position

◆ refregion

DetRegIdx MuonHough::MuonLayerHough::Maximum::refregion {DetRegIdx::DetectorRegionUnknown}

Definition at line 72 of file MuonLayerHough.h.

72{DetRegIdx::DetectorRegionUnknown}; // reference region

◆ theta

float MuonHough::MuonLayerHough::Maximum::theta {0.}

Definition at line 69 of file MuonLayerHough.h.

69{0.}; // angle

◆ triggerConfirmed

int MuonHough::MuonLayerHough::Maximum::triggerConfirmed {0}

Definition at line 80 of file MuonLayerHough.h.

80{0}; // number of in time trigger hits associated with the maximum

The documentation for this struct was generated from the following file: