ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonHoughPatternEvent
MuonHoughPatternEvent
MuonHoughTransformer_CurvedAtACylinder.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_MUONHOUGHTRANSFORMER_CURVEDATACYLINDER_H
6
#define MUONHOUGHPATTERNEVENT_MUONHOUGHTRANSFORMER_CURVEDATACYLINDER_H
7
8
#include "
MuonHoughPatternEvent/MuonHoughTransformer.h
"
9
10
class
MuonHoughTransformer_CurvedAtACylinder
:
public
MuonHoughTransformer
{
11
public
:
13
MuonHoughTransformer_CurvedAtACylinder
(
int
nbins,
int
nbins_angle,
double
detectorsize,
double
detectorsize_angle,
14
double
threshold_histo,
int
number_of_sectors = 1);
16
~MuonHoughTransformer_CurvedAtACylinder
() =
default
;
17
19
void
fillHit
(
const
std::shared_ptr<MuonHoughHit>&
hit
,
double
weight)
override
final
;
21
int
fillHisto
(
double
xbin,
double
theta
,
double
weight,
int
sector
)
override
final
;
22
24
std::unique_ptr<MuonHoughPattern>
hookAssociateHitsToMaximum
(
const
MuonHoughHitContainer
& event, std::pair<double, double> coordsmaximum,
25
double
residu_mm,
double
residu_grad,
int
sector
)
const
override
final
;
26
28
int
sector
(
const
std::shared_ptr<MuonHoughHit>&
hit
)
const
override
final
;
30
float
weightHoughTransform
(
double
r0)
const
override
final
;
31
32
private
:
34
std::unique_ptr<double[]>
m_invcurvature
;
35
std::unique_ptr<double[]>
m_weightcurvature
;
36
37
};
38
39
inline
int
MuonHoughTransformer_CurvedAtACylinder::sector
(
const
std::shared_ptr<MuonHoughHit>&
hit
)
const
{
return
hit
->phiSector(); }
40
41
#endif
// MUONHOUGHPATTERNEVENT_MUONHOUGHTRANSFORMER_CURVEDATACYLINDER_H
theta
Scalar theta() const
theta method
Definition
AmgMatrixBasePlugin.h:75
hit
bool hit(const Container &ids, int pdgId)
Definition
JetIRCSafeLabelTool.cxx:64
MuonHoughTransformer.h
MuonHoughHitContainer
Definition
MuonHoughHitContainer.h:15
MuonHoughTransformer_CurvedAtACylinder::hookAssociateHitsToMaximum
std::unique_ptr< MuonHoughPattern > hookAssociateHitsToMaximum(const MuonHoughHitContainer &event, std::pair< double, double > coordsmaximum, double residu_mm, double residu_grad, int sector) const override final
associate hits to maximum found
Definition
MuonHoughTransformer_CurvedAtACylinder.cxx:133
MuonHoughTransformer_CurvedAtACylinder::m_invcurvature
std::unique_ptr< double[]> m_invcurvature
array that stores the inverse curvatures that are scanned
Definition
MuonHoughTransformer_CurvedAtACylinder.h:34
MuonHoughTransformer_CurvedAtACylinder::~MuonHoughTransformer_CurvedAtACylinder
~MuonHoughTransformer_CurvedAtACylinder()=default
destructor
MuonHoughTransformer_CurvedAtACylinder::MuonHoughTransformer_CurvedAtACylinder
MuonHoughTransformer_CurvedAtACylinder(int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor
Definition
MuonHoughTransformer_CurvedAtACylinder.cxx:11
MuonHoughTransformer_CurvedAtACylinder::weightHoughTransform
float weightHoughTransform(double r0) const override final
not implemented for this transform
Definition
MuonHoughTransformer_CurvedAtACylinder.cxx:223
MuonHoughTransformer_CurvedAtACylinder::m_weightcurvature
std::unique_ptr< double[]> m_weightcurvature
Definition
MuonHoughTransformer_CurvedAtACylinder.h:35
MuonHoughTransformer_CurvedAtACylinder::sector
int sector(const std::shared_ptr< MuonHoughHit > &hit) const override final
returns the phi sector
Definition
MuonHoughTransformer_CurvedAtACylinder.h:39
MuonHoughTransformer_CurvedAtACylinder::fillHisto
int fillHisto(double xbin, double theta, double weight, int sector) override final
fill transformed values in histogram
Definition
MuonHoughTransformer_CurvedAtACylinder.cxx:87
MuonHoughTransformer_CurvedAtACylinder::fillHit
void fillHit(const std::shared_ptr< MuonHoughHit > &hit, double weight) override final
fill hit in histogram
Definition
MuonHoughTransformer_CurvedAtACylinder.cxx:41
MuonHoughTransformer::MuonHoughTransformer
MuonHoughTransformer(const std::string &tr_name, int nbins, int nbins_angle, double detectorsize, double detectorsize_angle, double threshold_histo, int number_of_sectors=1)
constructor, input values are those of histograms
Definition
MuonHoughTransformer.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0