ATLAS Offline Software
HoughSegmentSeed.h
Go to the documentation of this file.
1 
3 #ifndef MUONR4__HOUGHSEGMENTSEED__H
4 #define MUONR4__HOUGHSEGMENTSEED__H
5 
7 
8 namespace MuonR4 {
12 template <class HitType>
13 class HoughSegmentSeed_impl : public HoughMaximum_impl<HitType> {
14  public:
24  double interceptX, double counts,
25  std::vector<HitType>&& hits)
26  : HoughMaximum_impl<HitType>(tanTheta, interceptY, counts, std::move(hits)),
29  m_hasPhiExt = true;
30  }
31 
36  m_hasPhiExt = false;
37  }
38 
41  double tanPhi() const { return m_tanPhi; }
42 
45  double interceptX() const { return m_interceptX; }
46 
51  bool hasPhiExtension() const { return m_hasPhiExt; }
52 
53  private:
54  double m_tanPhi{0.}; // angle from phi extension
55  double m_interceptX{0.}; // intercept from phi extension
56  bool m_hasPhiExt{false}; // flag indicating presence of phi extension
57 };
58 
59 } // namespace MuonR4
60 
61 #endif
MuonR4::HoughSegmentSeed_impl::m_tanPhi
double m_tanPhi
Definition: HoughSegmentSeed.h:54
MuonR4::HoughSegmentSeed_impl::HoughSegmentSeed_impl
HoughSegmentSeed_impl(double tanTheta, double interceptY, double tanPhi, double interceptX, double counts, std::vector< HitType > &&hits)
Constructor to write a segment seed from an eta maximum and a valid phi extension.
Definition: HoughSegmentSeed.h:23
HoughMaximum.h
MuonR4::HoughSegmentSeed_impl::m_interceptX
double m_interceptX
Definition: HoughSegmentSeed.h:55
MuonR4::HoughMaximum_impl::tanTheta
double tanTheta() const
getter
Definition: HoughMaximum.h:31
MuonR4::HoughMaximum_impl::interceptY
double interceptY() const
getter
Definition: HoughMaximum.h:35
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
MuonR4::HoughSegmentSeed_impl::HoughSegmentSeed_impl
HoughSegmentSeed_impl(const HoughMaximum_impl< HitType > &toCopy)
Constructor to write a segment seed from an eta maximum without a valid phi extension.
Definition: HoughSegmentSeed.h:35
HitType
HitType
Definition: FPGATrackSimHit.h:35
MuonR4::HoughSegmentSeed_impl::hasPhiExtension
bool hasPhiExtension() const
check whether the segment seed includes a valid phi extension
Definition: HoughSegmentSeed.h:51
MuonR4::HoughSegmentSeed_impl::tanPhi
double tanPhi() const
getter
Definition: HoughSegmentSeed.h:41
MuonR4
The CsvMuonSimHitDumper reads a Simulation Hit container for muons and dumps information to csv files...
Definition: MuonSpacePoint.h:11
MuonR4::HoughMaximum_impl
Data class to represent an eta maximum in hough space.
Definition: HoughMaximum.h:16
MuonR4::HoughSegmentSeed_impl
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
Definition: HoughSegmentSeed.h:13
MuonR4::HoughSegmentSeed_impl::m_hasPhiExt
bool m_hasPhiExt
Definition: HoughSegmentSeed.h:56
MuonR4::HoughSegmentSeed_impl::interceptX
double interceptX() const
getter
Definition: HoughSegmentSeed.h:45