CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
RecSegment Class Referenceabstract

#include <RecSegment.h>

Inheritance diagram for RecSegment:
TrackingRecHit CSCSegment DTRecSegment2D DTRecSegment4D DTChamberRecSegment2D DTSLRecSegment2D

Public Member Functions

virtual double chi2 () const =0
 Chi2 of the segment fit. More...
 
virtual int degreesOfFreedom () const =0
 Degrees of freedom of the segment fit. More...
 
virtual int dimension () const =0
 Dimension (in parameter space) More...
 
virtual LocalVector localDirection () const =0
 Local direction. More...
 
virtual LocalError localDirectionError () const =0
 Error on the local direction. More...
 
 RecSegment (DetId id)
 
 RecSegment (TrackingRecHit::id_type id=0)
 
virtual ~RecSegment ()
 Destructor. More...
 
- Public Member Functions inherited from TrackingRecHit
virtual TrackingRecHitclone () const =0
 
DetId geographicalId () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
bool isValid () const
 
virtual LocalPoint localPosition () const =0
 
virtual LocalError localPositionError () const =0
 
virtual AlgebraicVector parameters () const =0
 
virtual AlgebraicSymMatrix parametersError () const =0
 
virtual AlgebraicMatrix projectionMatrix () const =0
 
id_type rawId () const
 
virtual std::vector< const
TrackingRecHit * > 
recHits () const =0
 Access to component RecHits (if any) More...
 
virtual std::vector
< TrackingRecHit * > 
recHits ()=0
 Non-const access to component RecHits (if any) More...
 
virtual void recHitsV (std::vector< const TrackingRecHit * > &) const
 
virtual void recHitsV (std::vector< TrackingRecHit * > &)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Additional Inherited Members

- Public Types inherited from TrackingRecHit
typedef unsigned int id_type
 
enum  SharedInputType { all, some }
 definition of equality via shared input More...
 
enum  Type { valid = 0, missing = 1, inactive = 2, bad = 3 }
 
- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 

Detailed Description

Base class for reconstructed segments.

In addition to RecHit, it has direction, chi2 and other stuff

Date:
2007/07/25 10:35:48
Revision:
1.6
Author
Stefano Lacaprara - INFN Legnaro stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t

Definition at line 29 of file RecSegment.h.

Constructor & Destructor Documentation

RecSegment::RecSegment ( DetId  id)
inline

Definition at line 32 of file RecSegment.h.

32 : TrackingRecHit(id) {}
TrackingRecHit(DetId id, Type type=valid)
RecSegment::RecSegment ( TrackingRecHit::id_type  id = 0)
inline

Definition at line 33 of file RecSegment.h.

33 : TrackingRecHit(id) {}
TrackingRecHit(DetId id, Type type=valid)
virtual RecSegment::~RecSegment ( )
inlinevirtual

Destructor.

Definition at line 36 of file RecSegment.h.

36 {};

Member Function Documentation

virtual double RecSegment::chi2 ( ) const
pure virtual

Chi2 of the segment fit.

Implemented in DTRecSegment2D, DTRecSegment4D, and CSCSegment.

virtual int RecSegment::degreesOfFreedom ( ) const
pure virtual

Degrees of freedom of the segment fit.

Implemented in DTRecSegment2D, DTRecSegment4D, and CSCSegment.

virtual int RecSegment::dimension ( ) const
pure virtual

Dimension (in parameter space)

Implements TrackingRecHit.

Implemented in DTRecSegment2D, DTRecSegment4D, and CSCSegment.

virtual LocalVector RecSegment::localDirection ( ) const
pure virtual

Local direction.

Implemented in DTRecSegment2D, DTRecSegment4D, and CSCSegment.

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch().

virtual LocalError RecSegment::localDirectionError ( ) const
pure virtual

Error on the local direction.

Implemented in DTRecSegment2D, DTRecSegment4D, and CSCSegment.

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch().