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:
23 
25  const TrackerTopology * tTopo,
26  const TrackerGeometry * tracker,
27  const Propagator& propagator,
28  const unsigned int mono = 0);
29 
30  double localX() const;
31  double localY() const;
32  double localErrorX() const;
33  double localErrorY() const;
34 
35  double localDxDz() const;
36  double localDyDz() const;
37 
38  double localZ() const;
39 
40  double globalX() const;
41  double globalY() const;
42  double globalZ() const;
43 
44  unsigned int monodet_id() const;
45  bool withinAcceptance() const;
46  bool validHit() const;
47 
48  bool isDoubleSided(unsigned int iidd, const TrackerTopology* tTopo) const;
50 
51 private:
52 
54  float locX,locY, locZ;
56  float locDxDz, locDyDz;
57  float globX, globY, globZ;
58  unsigned int iidd;
59  bool acceptance;
61 
63 };
64 
65 #endif
unsigned int monodet_id() const
TrajectoryStateOnSurface theCombinedPredictedState
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
TrajectoryStateOnSurface tsos() const