ATLAS Offline Software
Loading...
Searching...
No Matches
MuonHoughTransformer_xy.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7MuonHoughTransformer_xy::MuonHoughTransformer_xy(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle,
8 double threshold_histo, int number_of_sectors) :
9 MuonHoughTransformer_xyz(nbins, nbins_angle, detectorsize, detectorsize_angle, threshold_histo, number_of_sectors) {}
10
11std::pair<double, double> MuonHoughTransformer_xy::getHitPos(const MuonHoughHitContainer& event, int hitid)
12 const // returns the relevant position of the hit (xy-RPC in case of id_number==id_xy_rpc etc.)
13{
14 return {event.getHitx(hitid),event.getHity(hitid)};
15}
16
17std::unique_ptr<MuonHoughPattern> MuonHoughTransformer_xy::initialiseHoughPattern() const {
18 return std::make_unique<MuonHoughPattern>(MuonHough::hough_xy);
19}
MuonHoughTransformer_xy(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor
std::unique_ptr< MuonHoughPattern > initialiseHoughPattern() const override final
build new houghpattern
std::pair< double, double > getHitPos(const MuonHoughHitContainer &event, int hitid) const override
returns the hit position in xy frame
MuonHoughTransformer_xyz(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor