CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
17 class StripTopology;
18 class PixelTopology;
20 public:
21 
23  const TrackerGeometry * tracker,
24  const Propagator& propagator,
25  const unsigned int mono = 0);
26 
27  double localX() const;
28  double localY() const;
29  double localErrorX() const;
30  double localErrorY() const;
31 
32  double localDxDz() const;
33  double localDyDz() const;
34 
35  double localZ() const;
36 
37  double globalX() const;
38  double globalY() const;
39  double globalZ() const;
40 
41  unsigned int monodet_id() const;
42  bool withinAcceptance() const;
43  bool validHit() const;
44 
45  bool isDoubleSided(unsigned int iidd) const;
47 
48 private:
49 
51  float locX,locY, locZ;
53  float locDxDz, locDyDz;
54  float globX, globY, globZ;
55  unsigned int iidd;
56  bool acceptance;
58 
60 };
61 
62 #endif
unsigned int monodet_id() const
TrajectoryStateOnSurface theCombinedPredictedState
TrajectoryAtInvalidHit(const TrajectoryMeasurement &, const TrackerGeometry *tracker, const Propagator &propagator, const unsigned int mono=0)
bool isDoubleSided(unsigned int iidd) const
TrajectoryStateOnSurface tsos() const
ConstReferenceCountingPointer< TransientTrackingRecHit > theHit