ATLAS Offline Software
MuonHoughTransformSteering.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONHOUGHPATTERNEVENT_MUONHOUGHTRANSFORMSTEERING_H
6 #define MUONHOUGHPATTERNEVENT_MUONHOUGHTRANSFORMSTEERING_H
7 
12 
13 class MuonHoughPattern;
14 
18 public:
20  MuonHoughTransformSteering(std::unique_ptr<MuonHoughTransformer>);
23 
32  MuonHoughPatternCollection constructHoughPatterns(const MuonHoughHitContainer& event, double residu_mm, double residu_grad,
33  int max_patterns) const;
35  std::unique_ptr<MuonHoughPattern> constructHoughPattern(const MuonHoughHitContainer& event, double residu_mm, double residu_grad,
36  int maximum_number) const;
38  std::unique_ptr<MuonHoughPattern> constructHoughPattern(const MuonHoughHitContainer& event, std::pair<double, double> coordsmaximum, double residu_mm,
39  double residu_grad, int sector) const;
41  std::unique_ptr<MuonHoughPattern> constructHoughPattern(const MuonHoughHitContainer& event, int binnumber, double residu_mm, double residu_grad,
42  int sector) const;
43 
45  void fill(const MuonHoughHitContainer& event);
46 
48  void resetHisto();
49 
51  const MuonHoughHisto2DContainer& histos() const { return m_houghtransformer->histos(); }
52 
54 
55 private:
57  std::unique_ptr<MuonHoughTransformer> m_houghtransformer{};
58 
59 };
60 
61 #endif // MUONHOUGHPATTERNEVENT_MUONHOUGHTRANSFORMSTEERING_H
MuonHoughTransformSteering::histos
const MuonHoughHisto2DContainer & histos() const
access to histograms
Definition: MuonHoughTransformSteering.h:51
MuonHoughHisto2DContainer
Definition: MuonHoughHisto2DContainer.h:10
MuonHoughTransformer.h
MuonHoughTransformSteering::resetHisto
void resetHisto()
reset histograms
Definition: MuonHoughTransformSteering.cxx:64
MuonHoughTransformSteering::fill
void fill(const MuonHoughHitContainer &event)
fill histograms
Definition: MuonHoughTransformSteering.cxx:62
MuonHoughTransformSteering
Definition: MuonHoughTransformSteering.h:15
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
MuonHoughTransformSteering::~MuonHoughTransformSteering
~MuonHoughTransformSteering()
destructor
MuonHoughHisto2DContainer.h
MuonHoughHitContainer
Definition: MuonHoughHitContainer.h:15
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
MuonHoughTransformSteering::m_houghtransformer
std::unique_ptr< MuonHoughTransformer > m_houghtransformer
the actual houghtransform
Definition: MuonHoughTransformSteering.h:57
MuonHoughTransformSteering::constructHoughPattern
std::unique_ptr< MuonHoughPattern > constructHoughPattern(const MuonHoughHitContainer &event, double residu_mm, double residu_grad, int maximum_number) const
construct hough pattern on a certain maxima number of histogram
Definition: MuonHoughTransformSteering.cxx:40
MuonHoughPatternCollection.h
MuonHoughTransformSteering::MuonHoughTransformSteering
MuonHoughTransformSteering(std::unique_ptr< MuonHoughTransformer >)
Class is build as Strategy, Context pattern.
Definition: MuonHoughTransformSteering.cxx:12
AthMessaging.h
MuonHoughPattern
Definition: MuonHoughPattern.h:17
MuonHoughTransformSteering::transformer
const MuonHoughTransformer & transformer() const
Definition: MuonHoughTransformSteering.h:53
MuonHoughTransformSteering::constructHoughPatterns
MuonHoughPatternCollection constructHoughPatterns(const MuonHoughHitContainer &event, double residu_mm, double residu_grad, int max_patterns) const
construct hough patterns
Definition: MuonHoughTransformSteering.cxx:18
MuonHoughPatternCollection
std::vector< std::unique_ptr< MuonHoughPattern > > MuonHoughPatternCollection
This typedef represents a collection and container of MuonHoughPattern objects.
Definition: MuonHoughPatternCollection.h:13
MuonHoughTransformer
Abstract base class, Strategy pattern.
Definition: MuonHoughTransformer.h:21