CMS 3D CMS Logo

TrajectoryAtInvalidHit.h
Go to the documentation of this file.
1 #ifndef TrajectoryAtInvalidHit_H
2 #define TrajectoryAtInvalidHit_H
3 
4 // Class to hold the trajectory information at a possibly invalid hit
5 // For matched layers, the invalid hit on the trajectory is located
6 // on the matched surface. To compare with rechits propagate the
7 // information to the actual sensor surface for rphi or stereo
8 
14 
15 class Topology;
16 class TrackingRecHit;
17 class StripTopology;
18 class PixelTopology;
19 class TrackerTopology;
20 
22 public:
24  const TrackerTopology* tTopo,
25  const TrackerGeometry* tracker,
26  const Propagator& propagator,
27  const unsigned int mono = 0);
28 
29  double localX() const;
30  double localY() const;
31  double localErrorX() const;
32  double localErrorY() const;
33 
34  double localDxDz() const;
35  double localDyDz() const;
36 
37  double localZ() const;
38 
39  double globalX() const;
40  double globalY() const;
41  double globalZ() const;
42 
43  unsigned int monodet_id() const;
44  bool withinAcceptance() const;
45  bool validHit() const;
46 
47  bool isDoubleSided(unsigned int iidd, const TrackerTopology* tTopo) const;
49 
50 private:
52  float locX, locY, locZ;
54  float locDxDz, locDyDz;
55  float globX, globY, globZ;
56  unsigned int iidd;
57  bool acceptance;
59 
61 };
62 
63 #endif
TrajectoryStateOnSurface tsos() const
TrajectoryStateOnSurface theCombinedPredictedState
unsigned int monodet_id() const
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
TrajectoryAtInvalidHit(const TrajectoryMeasurement &, const TrackerTopology *tTopo, const TrackerGeometry *tracker, const Propagator &propagator, const unsigned int mono=0)
bool isDoubleSided(unsigned int iidd, const TrackerTopology *tTopo) const
TrackingRecHit::ConstRecHitPointer theHit