CMS 3D CMS Logo

RecSegment.h
Go to the documentation of this file.
1 #ifndef TrackingRecHit_RecSegment_h
2 #define TrackingRecHit_RecSegment_h
3 
14 /* Base Class Headers */
16 
17 /* Collaborating Class Declarations */
20 
21 /* C++ Headers */
22 
23 /* ====================================================================== */
24 
25 /* Class RecSegment Interface */
26 
27 class RecSegment : public TrackingRecHit {
28 public:
31 
33  ~RecSegment() override {}
34 
36  virtual LocalVector localDirection() const = 0;
37 
39  virtual LocalError localDirectionError() const = 0;
40 
42  virtual double chi2() const = 0;
43 
45  virtual int degreesOfFreedom() const = 0;
46 
48  int dimension() const override = 0;
49 };
50 #endif // TrackingRecHit_RecSegment_h
virtual int degreesOfFreedom() const =0
Degrees of freedom of the segment fit.
unsigned int id_type
virtual LocalError localDirectionError() const =0
Error on the local direction.
virtual LocalVector localDirection() const =0
Local direction.
virtual double chi2() const =0
Chi2 of the segment fit.
int dimension() const override=0
Dimension (in parameter space)
Definition: DetId.h:17
~RecSegment() override
Destructor.
Definition: RecSegment.h:33
RecSegment(DetId id)
Definition: RecSegment.h:29
RecSegment(TrackingRecHit::id_type id=0)
Definition: RecSegment.h:30