ATLAS Offline Software
MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONHOUGH_HIT_H
6 #define MUONHOUGH_HIT_H
7 
8 #include <functional>
9 #include <map>
10 #include <memory>
11 
12 #include "CxxUtils/fpcompare.h"
14 
15 namespace Trk {
16  class PrepRawData;
17 }
18 namespace Muon {
19  class TgcClusterObj3D;
20 }
21 
22 namespace MuonHough {
23  static constexpr int UNINITIALIZED = -99999;
26  class HitDebugInfo {
27  public:
28  HitDebugInfo() = default;
29 
31  int sublayer_);
32 
33  int type{UNINITIALIZED};
34  int sector{UNINITIALIZED};
38  int sublayer{UNINITIALIZED};
39  int pdgId{UNINITIALIZED};
40  int barcode{UNINITIALIZED};
41  int muonIndex{UNINITIALIZED};
42  int clusterSize{UNINITIALIZED};
43  int clusterLayers{UNINITIALIZED};
44  bool isEtaPhi{false};
45  bool trigConfirm{false};
46  int binpos{UNINITIALIZED};
47  int bintheta{UNINITIALIZED};
48  float time{UNINITIALIZED};
49  float r{UNINITIALIZED};
50  float ph{UNINITIALIZED};
51  float phn{UNINITIALIZED};
52  float ph1{UNINITIALIZED};
53  float ph2{UNINITIALIZED};
54  float rot{UNINITIALIZED};
55  };
56 
58  class Hit {
59  public:
61  Hit(int layer_, float x_, float ymin_, float ymax_, float w_, HitDebugInfo* d_ = nullptr, const Trk::PrepRawData* prd_ = nullptr,
62  const Muon::TgcClusterObj3D* tgc_ = nullptr);
63 
65  ~Hit();
66 
68  Hit(const Hit& h_);
69  Hit(Hit&& h_) noexcept = default;
70 
72  Hit& operator=(const Hit& h_);
73 
74  int layer{UNINITIALIZED};
75  float x{UNINITIALIZED};
76  float ymin{UNINITIALIZED};
77  float ymax{UNINITIALIZED};
78  float w{UNINITIALIZED};
79 
81  const HitDebugInfo* debugInfo() const { return m_debug.get(); }
82  HitDebugInfo* debugInfo() { return m_debug.get(); }
83 
85  const Trk::PrepRawData* prd{nullptr};
86  const Muon::TgcClusterObj3D* tgc{nullptr};
87 
88  private:
89  std::unique_ptr<HitDebugInfo> m_debug{nullptr};
90 
92  void copy(const Hit& hit);
93  };
94 
96  struct PhiHit {
98  PhiHit(int layer_, float r_, float phimin_, float phimax_, float w_, HitDebugInfo* d_ = 0, const Trk::PrepRawData* prd_ = 0,
99  const Muon::TgcClusterObj3D* tgc_ = 0);
100 
103 
105  PhiHit(const PhiHit& h_);
106  PhiHit(PhiHit&& h_) noexcept = default;
107 
109  PhiHit& operator=(const PhiHit& h_);
110 
111  int layer{UNINITIALIZED};
112  float r{UNINITIALIZED};
113  float phimin{UNINITIALIZED};
114  float phimax{UNINITIALIZED};
115  float w{UNINITIALIZED};
116 
118  const HitDebugInfo* debugInfo() const { return m_debug.get(); }
119  HitDebugInfo* debugInfo() { return m_debug.get(); }
120 
122  const Trk::PrepRawData* prd{nullptr};
123  const Muon::TgcClusterObj3D* tgc{nullptr};
124 
125  private:
126  std::unique_ptr<HitDebugInfo> m_debug{nullptr};
127 
129  void copy(const PhiHit& hit);
130  };
131 
133  struct MuonDebugInfo {
134  int pdgId{UNINITIALIZED};
135  int barcode{UNINITIALIZED};
136  int muonIndex{UNINITIALIZED};
137  float pt{UNINITIALIZED};
138  float eta{UNINITIALIZED};
139  float phi{UNINITIALIZED};
140 
141  // number of reconstructed hits
142  int nmdts{0};
143  int nrpcs{0};
144  int ntgcs{0};
145  int ncscs{0};
146  int nmms{0};
147  int nstgcs{0};
148 
149  // number of true hits
150  int ntmdts{0};
151  int ntrpcs{0};
152  int nttgcs{0};
153  int ntcscs{0};
154  int ntmms{0};
155  int ntstgcs{0};
156  };
157 
159  struct SegDebugInfo {
160  float sposx{UNINITIALIZED};
161  float sposy{UNINITIALIZED};
162  float sposz{UNINITIALIZED};
163  float sdirx{UNINITIALIZED};
164  float sdiry{UNINITIALIZED};
165  float sdirz{UNINITIALIZED};
166  int snPrecHits{0};
167  int snTrigHits{0};
168  int sSector{0};
169  int sChIndex{0};
170  };
171 
174  bool operator()(const Hit& hit1, const Hit& hit2) const {
175  return compare(hit1.ymin, hit2.ymin, hit1.layer, hit2.layer, hit1.debugInfo(), hit2.debugInfo());
176  }
177 
178  bool operator()(const PhiHit& hit1, const PhiHit& hit2) const {
179  return compare(hit1.phimin, hit2.phimin, hit1.layer, hit2.layer, hit1.debugInfo(), hit2.debugInfo());
180  }
181 
182  bool compare(float val1, float val2, int lay1, int lay2, const HitDebugInfo* db1, const HitDebugInfo* db2) const {
183  if (db1 && db2) {
184  if (db1->sector != db2->sector) return db1->sector < db2->sector;
185  if (db1->region != db2->region) return db1->region < db2->region;
186  if (db1->type != db2->type) return db1->type < db2->type;
187  if (db1->layer != db2->layer) return db1->layer < db2->layer;
188  if (db1->sublayer != db2->sublayer) return db1->sublayer < db2->sublayer;
189  } else {
190  if (lay1 != lay2) return lay1 < lay2;
191  }
192  return CxxUtils::fpcompare::less(val1, val2);
193  }
194 
195  bool operator()(const Hit* hit1, const Hit* hit2) const { return operator()(*hit1, *hit2); }
196  bool operator()(const PhiHit* hit1, const PhiHit* hit2) const { return operator()(*hit1, *hit2); }
197 
198  bool operator()(const std::shared_ptr<Hit>& hit1, const std::shared_ptr<Hit>& hit2) const { return operator()(*hit1, *hit2); }
199  bool operator()(const std::shared_ptr<PhiHit>& hit1, const std::shared_ptr<PhiHit>& hit2) const { return operator()(*hit1, *hit2); }
200 
201  };
202 
203 } // namespace MuonHough
204 
205 #endif
MuonHough::MuonDebugInfo::muonIndex
int muonIndex
barcode of the true muon
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:136
MuonHough::HitDebugInfo::rot
float rot
maximum value of the hit projected into the second other layer in the hough space
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:54
MuonHough::MuonDebugInfo::ncscs
int ncscs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:145
MuonHough::SegDebugInfo::sposx
float sposx
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:160
MuonHough::MuonDebugInfo::nmms
int nmms
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:146
MuonHough::SegDebugInfo
struct containing truth or segment information
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:159
MuonHough::Hit::ymin
float ymin
global hit position (x=r in barrel, x=z in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:76
MuonHough::SortHitsPerLayer::operator()
bool operator()(const Hit &hit1, const Hit &hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:174
MuonHough::PhiHit::m_debug
std::unique_ptr< HitDebugInfo > m_debug
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:126
MuonHough::SortHitsPerLayer::operator()
bool operator()(const Hit *hit1, const Hit *hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:195
MuonHough::PhiHit::debugInfo
const HitDebugInfo * debugInfo() const
weight of the hit
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:118
MuonHough::MuonDebugInfo::nttgcs
int nttgcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:152
MuonHough::MuonDebugInfo::nstgcs
int nstgcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:147
MuonHough::Hit::w
float w
maximum value of the hit in the precision coordinate (y=z in barrel, y=r in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:78
MuonHough::Hit::operator=
Hit & operator=(const Hit &h_)
=operator
Definition: Hit.cxx:22
MuonHough::PhiHit::r
float r
layer identifier (packed word containing technology/sublayer)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:112
MuonHough::HitDebugInfo
struct containing additional debug information on the hits that is not needed for the actual alg but ...
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:26
Muon::MuonStationIndex::LayerIndex
LayerIndex
enum to classify the different layers in the muon spectrometer
Definition: MuonStationIndex.h:38
MuonHough::SegDebugInfo::snTrigHits
int snTrigHits
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:167
MuonHough::MuonDebugInfo::ntrpcs
int ntrpcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:151
MuonHough::HitDebugInfo::clusterLayers
int clusterLayers
cluster size
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:43
MuonHough::HitDebugInfo::muonIndex
int muonIndex
barcode of truth particle - FIXME barcode-based
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:41
MuonHough::SortHitsPerLayer::operator()
bool operator()(const std::shared_ptr< PhiHit > &hit1, const std::shared_ptr< PhiHit > &hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:199
MuonHough::HitDebugInfo::layer
Muon::MuonStationIndex::LayerIndex layer
detector region (endcapA/barrel/endcapC)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:37
MuonHough::MuonDebugInfo::nmdts
int nmdts
phi
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:142
MuonHough::HitDebugInfo::clusterSize
int clusterSize
index of reconstructed muon
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:42
MuonHough::Hit::layer
int layer
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:74
MuonHough::SortHitsPerLayer::operator()
bool operator()(const PhiHit *hit1, const PhiHit *hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:196
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
MuonHough::SegDebugInfo::sdirz
float sdirz
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:165
MuonHough::Hit
struct containing all hit information needed for the Hough transform
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:58
MuonHough::MuonDebugInfo::pdgId
int pdgId
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:134
MuonHough::PhiHit::PhiHit
PhiHit(PhiHit &&h_) noexcept=default
MuonHough::MuonDebugInfo::barcode
int barcode
pdgId of the true muon
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:135
MuonHough::HitDebugInfo::sector
int sector
technology type
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:34
MuonHough::SegDebugInfo::sSector
int sSector
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:168
MuonHough::HitDebugInfo::phn
float phn
maximum value in the hough space
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:51
MuonHough::MuonDebugInfo::ntmms
int ntmms
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:154
MuonHough::MuonDebugInfo::ntstgcs
int ntstgcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:155
bsCompare.db1
int db1
Definition: bsCompare.py:40
MuonHough::HitDebugInfo::binpos
int binpos
flag whether confirmed by a trigger hit
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:46
MuonHough::Hit::debugInfo
HitDebugInfo * debugInfo()
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:82
MuonHough::MuonDebugInfo::nrpcs
int nrpcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:143
MuonHough::SortHitsPerLayer::operator()
bool operator()(const std::shared_ptr< Hit > &hit1, const std::shared_ptr< Hit > &hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:198
MuonHough::PhiHit::w
float w
maximum value of the hit in the precision coordinate (y=z in barrel, y=r in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:115
MuonHough::HitDebugInfo::type
int type
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:33
MuonHough::Hit::Hit
Hit(Hit &&h_) noexcept=default
MuonHough::PhiHit::phimax
float phimax
minimum value of the hit in the precision coordinate (y=z in barrel, y=r in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:114
MuonHough::PhiHit::tgc
const Muon::TgcClusterObj3D * tgc
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:123
MuonHough::MuonDebugInfo::ntcscs
int ntcscs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:153
DeMoUpdate.db2
string db2
Definition: DeMoUpdate.py:1032
MuonHough::SegDebugInfo::snPrecHits
int snPrecHits
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:166
Muon::MuonStationIndex::LayerUnknown
@ LayerUnknown
Definition: MuonStationIndex.h:39
MuonHough::Hit::~Hit
~Hit()
destructor
MuonHough
Definition: MuonLayerHoughTool.h:42
MuonHough::Hit::x
float x
layer identifier (packed word containing technology/sublayer)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:75
fpcompare.h
Workaround x86 precision issues for FP inequality comparisons.
Muon::MuonStationIndex::DetectorRegionUnknown
@ DetectorRegionUnknown
Definition: MuonStationIndex.h:48
MuonHough::HitDebugInfo::ph2
float ph2
maximum value of the hit projected into the first other layer in the hough space
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:53
MuonHough::PhiHit::debugInfo
HitDebugInfo * debugInfo()
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:119
MuonHough::HitDebugInfo::isEtaPhi
bool isEtaPhi
number of layers in the cluster
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:44
MuonHough::HitDebugInfo::sublayer
int sublayer
layer (inner/middle/outer)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:38
MuonHough::Hit::m_debug
std::unique_ptr< HitDebugInfo > m_debug
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:89
Muon::MuonStationIndex::DetectorRegionIndex
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
Definition: MuonStationIndex.h:47
Trk::PrepRawData
Definition: PrepRawData.h:62
MuonHough::HitDebugInfo::pdgId
int pdgId
sublayer within layer
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:39
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
MuonHough::PhiHit::prd
const Trk::PrepRawData * prd
access to assiciated hit, either the prd or the tgc pointer is set in athena
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:122
MuonHough::MuonDebugInfo::pt
float pt
index of the associated track
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:137
MuonHough::PhiHit::PhiHit
PhiHit(int layer_, float r_, float phimin_, float phimax_, float w_, HitDebugInfo *d_=0, const Trk::PrepRawData *prd_=0, const Muon::TgcClusterObj3D *tgc_=0)
constructor, takes ownership of the HitDebugInfo pointer
Definition: Hit.cxx:43
MuonHough::SortHitsPerLayer::operator()
bool operator()(const PhiHit &hit1, const PhiHit &hit2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:178
MuonHough::PhiHit::operator=
PhiHit & operator=(const PhiHit &h_)
=operator
Definition: Hit.cxx:51
MuonHough::PhiHit::layer
int layer
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:111
MuonHough::SegDebugInfo::sposy
float sposy
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:161
MuonHough::SegDebugInfo::sposz
float sposz
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:162
CxxUtils::fpcompare::less
bool less(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Definition: fpcompare.h:166
MuonHough::PhiHit::~PhiHit
~PhiHit()
destructor
Muon::TgcClusterObj3D
Definition: TgcHitClustering.h:19
MuonHough::Hit::tgc
const Muon::TgcClusterObj3D * tgc
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:86
MuonHough::SegDebugInfo::sdiry
float sdiry
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:164
MuonHough::HitDebugInfo::r
float r
measured time
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:49
MuonHough::HitDebugInfo::time
float time
angular bin of the hit with the highest value in the hough space
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:48
MuonHough::Hit::Hit
Hit(int layer_, float x_, float ymin_, float ymax_, float w_, HitDebugInfo *d_=nullptr, const Trk::PrepRawData *prd_=nullptr, const Muon::TgcClusterObj3D *tgc_=nullptr)
constructor, takes ownership of the HitDebugInfo pointer
Definition: Hit.cxx:14
MuonHough::MuonDebugInfo::phi
float phi
eta
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:139
MuonHough::HitDebugInfo::HitDebugInfo
HitDebugInfo()=default
MuonHough::PhiHit::phimin
float phimin
global hit position (x=r in barrel, x=z in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:113
MuonHough::HitDebugInfo::bintheta
int bintheta
spacial bin of the hit with the highest value in the hough space
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:47
MuonHough::Hit::prd
const Trk::PrepRawData * prd
access to assiciated hit, either the prd or the tgc pointer is set in athena
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:85
MuonHough::SegDebugInfo::sChIndex
int sChIndex
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:169
MuonHough::Hit::ymax
float ymax
minimum value of the hit in the precision coordinate (y=z in barrel, y=r in endcap)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:77
MuonHough::HitDebugInfo::barcode
int barcode
pdgId of the associated truth particle (if any)
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:40
MuonStationIndex.h
MuonHough::PhiHit::copy
void copy(const PhiHit &hit)
pointer to debug information
Definition: Hit.cxx:58
MuonHough::Hit::debugInfo
const HitDebugInfo * debugInfo() const
weight of the hit
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:81
MuonHough::HitDebugInfo::region
Muon::MuonStationIndex::DetectorRegionIndex region
sector
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:35
MuonHough::SortHitsPerLayer
struct to sort the hits
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:173
MuonHough::HitDebugInfo::ph1
float ph1
maximum value in the hough space in neighbouring sector; dege
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:52
MuonHough::MuonDebugInfo::ntgcs
int ntgcs
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:144
MuonHough::PhiHit
struct containing all hit information needed for the Hough transform
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:96
MuonHough::HitDebugInfo::ph
float ph
drift radius for MDT, strip pitch for strips
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:50
MuonHough::MuonDebugInfo::ntmdts
int ntmdts
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:150
MuonHough::HitDebugInfo::trigConfirm
bool trigConfirm
flag whether confirmed in the other projection
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:45
MuonHough::SegDebugInfo::sdirx
float sdirx
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:163
MuonHough::SortHitsPerLayer::compare
bool compare(float val1, float val2, int lay1, int lay2, const HitDebugInfo *db1, const HitDebugInfo *db2) const
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:182
MuonHough::Hit::copy
void copy(const Hit &hit)
pointer to debug information
Definition: Hit.cxx:29
MuonHough::MuonDebugInfo
struct containing truth or track information
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:133
MuonHough::MuonDebugInfo::eta
float eta
pt
Definition: MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough/MuonLayerHough/Hit.h:138