5#ifndef MUONREGIONHOUGH_H
6#define MUONREGIONHOUGH_H
77 return m_sectors.at(sector - 1)->hough(region, layer);
95 std::vector<std::unique_ptr<MuonSectorHough>>
m_sectors;
class managing geometry of the Hough spaces
RegionDescriptor getDescriptor(int sector, DetRegIdx region, LayIdx layer) const
MuonDetectorDescription()
constructor
RegionDescriptionVec m_regionDescriptions
cached geometry
Muon::MuonStationIndex::LayerIndex LayIdx
Muon::MuonStationIndex::DetectorRegionIndex DetRegIdx
void initDefaultRegions()
initialize default geometry
Muon::MuonStationIndex::DetectorRegionIndex DetRegIdx
Muon::MuonStationIndex::LayerIndex LayIdx
std::vector< std::unique_ptr< MuonPhiLayerHough > > m_phiTransforms
sector transforms
std::vector< std::unique_ptr< MuonSectorHough > > m_sectors
MuonPhiLayerHough & phiHough(DetRegIdx region)
access phi transform
MuonDetectorHough(const RegionDescriptionVec ®ionDescriptors)
constructor using custom region definitions
void reset()
reset histograms
~MuonDetectorHough()
destructor
MuonDetectorHough()
constructor using default region definitions
MuonLayerHough & hough(int sector, DetRegIdx region, LayIdx layer)
access precision transform
void reset()
reset histograms
Muon::MuonStationIndex::DetectorRegionIndex DetRegIdx
std::vector< std::unique_ptr< MuonLayerHough > > m_transforms
~MuonSectorHough()
destructor
MuonLayerHough & hough(DetRegIdx region, LayIdx layer)
access the Hough transform for a given region
MuonSectorHough(int sector, const MuonDetectorDescription ®ionDescriptions)
constructor for a given sector using the default geometry
Muon::MuonStationIndex::LayerIndex LayIdx
std::vector< RegionDescriptor > RegionDescriptionVec
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
unsigned int sectorLayerHash(DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex)
create a hash out of region and layer
LayerIndex
enum to classify the different layers in the muon spectrometer
struct containing all information to build a Hough transform for a given chamber index