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.}
 
int refregion {0}
 
int refchIndex {0}
 
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 56 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 85 of file MuonLayerHough.h.

85  {
86  if (isEndcap()) { return pos; }
87  return refpos;
88  };

◆ getGlobalTheta()

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

Definition at line 93 of file MuonLayerHough.h.

93  {
94  if (isEndcap()) {
95  // return M_PI/2.0 - theta;
96  if (theta > 0) {
97  return M_PI / 2.0 - theta;
98  } else {
99  return -M_PI / 2.0 - theta;
100  }
101  }
102  return theta;
103  };

◆ getGlobalZ()

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

Definition at line 89 of file MuonLayerHough.h.

89  {
90  if (isEndcap()) { return refpos; }
91  return pos;
92  };

◆ isEndcap()

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

Definition at line 77 of file MuonLayerHough.h.

77  {
78  // refers to the chamber orientation!!!! so BEE is a barell in this def
81  // need to make sure BEE's reference plane is the same as barrel
82  if (region != Muon::MuonStationIndex::Barrel && chIndex != Muon::MuonStationIndex::BEE) { return true; }
83  return false;
84  };

Member Data Documentation

◆ binpos

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

Definition at line 67 of file MuonLayerHough.h.

◆ binposmax

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

Definition at line 69 of file MuonLayerHough.h.

◆ binposmin

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

Definition at line 68 of file MuonLayerHough.h.

◆ binsize

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

Definition at line 70 of file MuonLayerHough.h.

◆ bintheta

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

Definition at line 71 of file MuonLayerHough.h.

◆ hits

HitVec MuonHough::MuonLayerHough::Maximum::hits

Definition at line 73 of file MuonLayerHough.h.

◆ hough

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

Definition at line 75 of file MuonLayerHough.h.

◆ max

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

Definition at line 59 of file MuonLayerHough.h.

◆ pos

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

Definition at line 60 of file MuonLayerHough.h.

◆ refchIndex

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

Definition at line 65 of file MuonLayerHough.h.

◆ refpos

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

Definition at line 63 of file MuonLayerHough.h.

◆ refregion

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

Definition at line 64 of file MuonLayerHough.h.

◆ theta

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

Definition at line 61 of file MuonLayerHough.h.

◆ triggerConfirmed

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

Definition at line 72 of file MuonLayerHough.h.


The documentation for this struct was generated from the following file:
MuonHough::RegionDescriptor::region
Muon::MuonStationIndex::DetectorRegionIndex region
Definition: MuonLayerHough.h:41
MuonHough::MuonLayerHough::m_descriptor
RegionDescriptor m_descriptor
Definition: MuonLayerHough.h:179
MuonHough::MuonLayerHough::Maximum::refpos
float refpos
Definition: MuonLayerHough.h:63
M_PI
#define M_PI
Definition: ActiveFraction.h:11
MuonHough::MuonLayerHough::Maximum::theta
float theta
Definition: MuonLayerHough.h:61
Muon::MuonStationIndex::Barrel
@ Barrel
Definition: MuonStationIndex.h:49
MuonHough::RegionDescriptor::chIndex
Muon::MuonStationIndex::ChIndex chIndex
Definition: MuonLayerHough.h:42
MuonHough::MuonLayerHough::Maximum::hough
const MuonLayerHough * hough
Definition: MuonLayerHough.h:75
Muon::MuonStationIndex::DetectorRegionIndex
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
Definition: MuonStationIndex.h:47
MuonHough::MuonLayerHough::Maximum::pos
float pos
Definition: MuonLayerHough.h:60
Muon::MuonStationIndex::BEE
@ BEE
Definition: MuonStationIndex.h:17
Muon::MuonStationIndex::ChIndex
ChIndex
enum to classify the different chamber layers in the muon spectrometer
Definition: MuonStationIndex.h:15
MuonHough::MuonLayerHough::Maximum::isEndcap
bool isEndcap() const
Definition: MuonLayerHough.h:77