test
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 EmulatedME0Segment GEMCSCSegment ME0Segment 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 bool canImproveWithTrack () const
 
virtual TrackingRecHitclone () const =0
 
RecHitPointer cloneForFit (const GeomDet &idet) const
 
virtual TrackingRecHitcloneHit () const
 
virtual RecHitPointer cloneSH () const
 
const GeomDetdet () const
 
virtual const GeomDetUnitdetUnit () const
 
virtual float errorGlobalR () const
 
virtual float errorGlobalRPhi () const
 
virtual float errorGlobalZ () const
 
DetId geographicalId () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual GlobalPoint globalPosition () const
 
virtual GlobalError globalPositionError () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
virtual TrackingRecHit const * hit () const
 
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 void setDet (const GeomDet &idet)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
virtual const Surfacesurface () const
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
 TrackingRecHit (const GeomDet &idet, Type type=valid)
 
 TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid)
 
 TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh)
 
virtual ConstRecHitContainer transientHits () const
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Additional Inherited Members

- Public Types inherited from TrackingRecHit
typedef std::vector
< ConstRecHitPointer
ConstRecHitContainer
 
using ConstRecHitPointer = std::shared_ptr< TrackingRecHit const >
 
typedef unsigned int id_type
 
typedef std::vector
< ConstRecHitPointer
RecHitContainer
 
using RecHitPointer = std::shared_ptr< TrackingRecHit const >
 
enum  SharedInputType { all, some }
 definition of equality via shared input More...
 
enum  Type {
  valid = 0, missing = 1, inactive = 2, bad = 3,
  missing_inner = 4, missing_outer = 5
}
 
- 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

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 27 of file RecSegment.h.

Constructor & Destructor Documentation

RecSegment::RecSegment ( DetId  id)
inline

Definition at line 30 of file RecSegment.h.

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

Definition at line 31 of file RecSegment.h.

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

Destructor.

Definition at line 34 of file RecSegment.h.

34 {};

Member Function Documentation

virtual double RecSegment::chi2 ( ) const
pure virtual
virtual int RecSegment::degreesOfFreedom ( ) const
pure virtual

Degrees of freedom of the segment fit.

Implemented in DTRecSegment2D, DTRecSegment4D, ME0Segment, CSCSegment, GEMCSCSegment, and EmulatedME0Segment.

virtual int RecSegment::dimension ( ) const
pure virtual

Dimension (in parameter space)

Implements TrackingRecHit.

Implemented in DTRecSegment2D, DTRecSegment4D, ME0Segment, CSCSegment, GEMCSCSegment, and EmulatedME0Segment.

virtual LocalVector RecSegment::localDirection ( ) const
pure virtual
virtual LocalError RecSegment::localDirectionError ( ) const
pure virtual