DataFormats
TrackingRecHit
interface
RecSegment.h
Go to the documentation of this file.
1
#ifndef TrackingRecHit_RecSegment_h
2
#define TrackingRecHit_RecSegment_h
3
14
/* Base Class Headers */
15
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
16
17
/* Collaborating Class Declarations */
18
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
19
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
20
21
/* C++ Headers */
22
23
/* ====================================================================== */
24
25
/* Class RecSegment Interface */
26
27
class
RecSegment
:
public
TrackingRecHit
{
28
public
:
29
RecSegment
(
DetId
id
) :
TrackingRecHit
(
id
) {}
30
RecSegment
(
TrackingRecHit::id_type
id
= 0) :
TrackingRecHit
(
id
) {}
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
Vector3DBase< float, LocalTag >
RecSegment::chi2
virtual double chi2() const =0
Chi2 of the segment fit.
RecSegment::RecSegment
RecSegment(DetId id)
Definition:
RecSegment.h:29
RecSegment
Definition:
RecSegment.h:27
RecSegment::degreesOfFreedom
virtual int degreesOfFreedom() const =0
Degrees of freedom of the segment fit.
RecSegment::dimension
int dimension() const override=0
Dimension (in parameter space)
DetId
Definition:
DetId.h:17
TrackingRecHit.h
LocalError.h
RecSegment::localDirection
virtual LocalVector localDirection() const =0
Local direction.
LocalError
Definition:
LocalError.h:12
TrackingRecHit::id_type
unsigned int id_type
Definition:
TrackingRecHit.h:36
RecSegment::~RecSegment
~RecSegment() override
Destructor.
Definition:
RecSegment.h:33
TrackingRecHit
Definition:
TrackingRecHit.h:21
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
RecSegment::RecSegment
RecSegment(TrackingRecHit::id_type id=0)
Definition:
RecSegment.h:30
LocalVector.h
RecSegment::localDirectionError
virtual LocalError localDirectionError() const =0
Error on the local direction.
Generated for CMSSW Reference Manual by
1.8.16