ATLAS Offline Software
Loading...
Searching...
No Matches
MuonHoughTransformer_yz.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_yz::MuonHoughTransformer_yz(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_yz::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 std::pair<double, double> hitpos;
15 hitpos.first = event.getHity(hitid);
16 hitpos.second = event.getHitz(hitid);
17 return hitpos;
18}
19
20std::unique_ptr<MuonHoughPattern> MuonHoughTransformer_yz::initialiseHoughPattern() const {
21 return std::make_unique<MuonHoughPattern>(MuonHough::hough_yz);
22}
MuonHoughTransformer_xyz(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor
MuonHoughTransformer_yz(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor
std::pair< double, double > getHitPos(const MuonHoughHitContainer &event, int hitid) const override final
returns the hit position in yz frame
std::unique_ptr< MuonHoughPattern > initialiseHoughPattern() const override final
build new houghpattern