ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::HoughDataPerSec Struct Reference

#include <HoughDataPerSec.h>

Collaboration diagram for Muon::HoughDataPerSec:

Public Types

using HitVec = MuonHough::HitVec
using PhiHitVec = MuonHough::PhiHitVec
using MaximumVec = std::vector<std::shared_ptr<MuonHough::MuonLayerHough::Maximum>>
using PhiMaximumVec = std::vector<std::shared_ptr<MuonHough::MuonPhiLayerHough::Maximum>>
using RegionHitVec = std::vector<HitVec>
using RegionMaximumVec = std::vector<MaximumVec>
using RegionPhiHitVec = std::vector<PhiHitVec>
using MaximumAssociationMap = std::map<MuonHough::MuonLayerHough::Maximum*, MaximumVec>
using RegionPhiMaximumVec = std::vector<PhiMaximumVec>

Public Member Functions

 HoughDataPerSec ()
 Default constructor.
 HoughDataPerSec (HoughDataPerSec &&other)=default
HoughDataPerSecoperator= (HoughDataPerSec &&other)=default
 ~HoughDataPerSec ()=default
int maxEtaHits () const

Public Attributes

int sector {-1}
RegionHitVec hitVec {}
RegionPhiHitVec phiHitVec {}
RegionMaximumVec maxVec {}
RegionPhiMaximumVec phiMaxVec {}
std::array< int, detRegMaxnlayersWithMaxima {}
std::array< int, detRegMaxnphilayersWithMaxima {}
std::array< int, detRegMaxnmaxHitsInRegion {}
std::array< int, detRegMaxnphimaxHitsInRegion {}
MaximumAssociationMap maxAssociationMap {}
std::set< MuonHough::MuonLayerHough::Maximum * > associatedToOtherSector {}

Static Public Attributes

static constexpr int detRegMax = MuonStationIndex::toInt(MuonStationIndex::DetectorRegionIndex::DetectorRegionIndexMax)

Detailed Description

Definition at line 20 of file HoughDataPerSec.h.

Member Typedef Documentation

◆ HitVec

◆ MaximumAssociationMap

◆ MaximumVec

Definition at line 24 of file HoughDataPerSec.h.

◆ PhiHitVec

◆ PhiMaximumVec

Definition at line 25 of file HoughDataPerSec.h.

◆ RegionHitVec

Definition at line 27 of file HoughDataPerSec.h.

◆ RegionMaximumVec

Definition at line 28 of file HoughDataPerSec.h.

◆ RegionPhiHitVec

Definition at line 32 of file HoughDataPerSec.h.

◆ RegionPhiMaximumVec

Definition at line 34 of file HoughDataPerSec.h.

Constructor & Destructor Documentation

◆ HoughDataPerSec() [1/2]

Muon::HoughDataPerSec::HoughDataPerSec ( )
inline

Default constructor.

Definition at line 37 of file HoughDataPerSec.h.

37 {
40 phiHitVec.resize(detRegMax);
41 phiMaxVec.resize(detRegMax);
42 }
constexpr unsigned int sectorLayerHashMax()
maximum create a hash out of region and layer
RegionPhiMaximumVec phiMaxVec
RegionPhiHitVec phiHitVec
static constexpr int detRegMax
RegionMaximumVec maxVec

◆ HoughDataPerSec() [2/2]

Muon::HoughDataPerSec::HoughDataPerSec ( HoughDataPerSec && other)
default

◆ ~HoughDataPerSec()

Muon::HoughDataPerSec::~HoughDataPerSec ( )
default

Member Function Documentation

◆ maxEtaHits()

int Muon::HoughDataPerSec::maxEtaHits ( ) const
inline

Definition at line 65 of file HoughDataPerSec.h.

65{ return std::max(nmaxHitsInRegion[0], std::max(nmaxHitsInRegion[1], nmaxHitsInRegion[2])); }
std::array< int, detRegMax > nmaxHitsInRegion

◆ operator=()

HoughDataPerSec & Muon::HoughDataPerSec::operator= ( HoughDataPerSec && other)
default

Member Data Documentation

◆ associatedToOtherSector

std::set<MuonHough::MuonLayerHough::Maximum*> Muon::HoughDataPerSec::associatedToOtherSector {}

Definition at line 62 of file HoughDataPerSec.h.

62{}; // used to flagged maxima that were already associated to another sector

◆ detRegMax

int Muon::HoughDataPerSec::detRegMax = MuonStationIndex::toInt(MuonStationIndex::DetectorRegionIndex::DetectorRegionIndexMax)
staticconstexpr

Definition at line 30 of file HoughDataPerSec.h.

◆ hitVec

RegionHitVec Muon::HoughDataPerSec::hitVec {}

Definition at line 52 of file HoughDataPerSec.h.

52{}; // Owns the contained objects

◆ maxAssociationMap

MaximumAssociationMap Muon::HoughDataPerSec::maxAssociationMap {}

Definition at line 60 of file HoughDataPerSec.h.

60{}; // stores association of a given maximium with other maxima in neighbouring sectors

◆ maxVec

RegionMaximumVec Muon::HoughDataPerSec::maxVec {}

Definition at line 54 of file HoughDataPerSec.h.

54{}; // Owns the contained objects

◆ nlayersWithMaxima

std::array<int, detRegMax> Muon::HoughDataPerSec::nlayersWithMaxima {}

Definition at line 56 of file HoughDataPerSec.h.

56{};

◆ nmaxHitsInRegion

std::array<int, detRegMax> Muon::HoughDataPerSec::nmaxHitsInRegion {}

Definition at line 58 of file HoughDataPerSec.h.

58{};

◆ nphilayersWithMaxima

std::array<int, detRegMax> Muon::HoughDataPerSec::nphilayersWithMaxima {}

Definition at line 57 of file HoughDataPerSec.h.

57{};

◆ nphimaxHitsInRegion

std::array<int, detRegMax> Muon::HoughDataPerSec::nphimaxHitsInRegion {}

Definition at line 59 of file HoughDataPerSec.h.

59{};

◆ phiHitVec

RegionPhiHitVec Muon::HoughDataPerSec::phiHitVec {}

Definition at line 53 of file HoughDataPerSec.h.

53{}; // Owns the contained objects

◆ phiMaxVec

RegionPhiMaximumVec Muon::HoughDataPerSec::phiMaxVec {}

Definition at line 55 of file HoughDataPerSec.h.

55{}; // Owns the contained objects

◆ sector

int Muon::HoughDataPerSec::sector {-1}

Definition at line 51 of file HoughDataPerSec.h.

51{-1};

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