ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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.

93  {
94  if (isEndcap()) { return pos; }
95  return refpos;
96  };

◆ 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  };

◆ 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
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  };

Member Data Documentation

◆ binpos

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

Definition at line 75 of file MuonLayerHough.h.

◆ binposmax

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

Definition at line 77 of file MuonLayerHough.h.

◆ binposmin

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

Definition at line 76 of file MuonLayerHough.h.

◆ binsize

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

Definition at line 78 of file MuonLayerHough.h.

◆ bintheta

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

Definition at line 79 of file MuonLayerHough.h.

◆ 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.

◆ max

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

Definition at line 67 of file MuonLayerHough.h.

◆ pos

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

Definition at line 68 of file MuonLayerHough.h.

◆ refchIndex

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

Definition at line 73 of file MuonLayerHough.h.

◆ refpos

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

Definition at line 71 of file MuonLayerHough.h.

◆ refregion

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

Definition at line 72 of file MuonLayerHough.h.

◆ theta

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

Definition at line 69 of file MuonLayerHough.h.

◆ triggerConfirmed

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

Definition at line 80 of file MuonLayerHough.h.


The documentation for this struct was generated from the following file:
MuonHough::MuonLayerHough::ChIdx
Muon::MuonStationIndex::ChIndex ChIdx
Definition: MuonLayerHough.h:62
MuonHough::MuonLayerHough::m_descriptor
RegionDescriptor m_descriptor
Definition: MuonLayerHough.h:187
xAOD::L2MuonParameters::BEE
@ BEE
BEE measurement point.
Definition: TrigMuonDefs.h:24
MuonHough::MuonLayerHough::Maximum::refpos
float refpos
Definition: MuonLayerHough.h:71
M_PI
#define M_PI
Definition: ActiveFraction.h:11
MuonHough::MuonLayerHough::DetRegIdx
Muon::MuonStationIndex::DetectorRegionIndex DetRegIdx
Definition: MuonLayerHough.h:61
DetType::Barrel
@ Barrel
Definition: DetType.h:14
MuonHough::RegionDescriptor::region
DetRegIdx region
Definition: MuonLayerHough.h:46
MuonHough::MuonLayerHough::Maximum::theta
float theta
Definition: MuonLayerHough.h:69
MuonHough::MuonLayerHough::Maximum::hough
const MuonLayerHough * hough
Definition: MuonLayerHough.h:83
MuonHough::MuonLayerHough::Maximum::pos
float pos
Definition: MuonLayerHough.h:68
MuonHough::RegionDescriptor::chIndex
ChIdx chIndex
Definition: MuonLayerHough.h:47
MuonHough::MuonLayerHough::Maximum::isEndcap
bool isEndcap() const
Definition: MuonLayerHough.h:85