CMS 3D CMS Logo

InvalidTransientRecHit Class Reference

#include <TrackingTools/TransientTrackingRecHit/interface/InvalidTransientRecHit.h>

Inheritance diagram for InvalidTransientRecHit:

TransientTrackingRecHitByValue< InvalidTrackingRecHit > TransientTrackingRecHit TrackingRecHit ReferenceCounted

List of all members.

Public Types

typedef
TransientTrackingRecHitByValue
< InvalidTrackingRecHit
Base
typedef TrackingRecHit::Type Type
 Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse.

Public Member Functions

const Surfacesurface () const

Static Public Member Functions

static RecHitPointer build (const GeomDet *geom, Type type=TrackingRecHit::missing, const DetLayer *layer=0)

Private Member Functions

virtual InvalidTransientRecHitclone () const
 InvalidTransientRecHit (const GeomDet *geom, const DetLayer *layer, Type type)
 invalid RecHit - has only GeomDet and Type

Private Attributes

const DetLayerlayer_


Detailed Description

Definition at line 9 of file InvalidTransientRecHit.h.


Member Typedef Documentation

typedef TransientTrackingRecHitByValue<InvalidTrackingRecHit> InvalidTransientRecHit::Base

Definition at line 11 of file InvalidTransientRecHit.h.

typedef TrackingRecHit::Type InvalidTransientRecHit::Type

Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse.

Reimplemented from TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Definition at line 12 of file InvalidTransientRecHit.h.


Constructor & Destructor Documentation

InvalidTransientRecHit::InvalidTransientRecHit ( const GeomDet geom,
const DetLayer layer,
Type  type 
) [explicit, private]

invalid RecHit - has only GeomDet and Type

Definition at line 5 of file InvalidTransientRecHit.cc.

Referenced by build(), and clone().

00005                                                                                                        :
00006   Base( geom, InvalidTrackingRecHit( geom == 0 ? DetId(0) : geom->geographicalId(), type)), 
00007   layer_(layer)
00008 {
00009 }


Member Function Documentation

static RecHitPointer InvalidTransientRecHit::build ( const GeomDet geom,
Type  type = TrackingRecHit::missing,
const DetLayer layer = 0 
) [inline, static]

Definition at line 14 of file InvalidTransientRecHit.h.

References InvalidTransientRecHit().

Referenced by GeometricSearchDetMeasurements::addInvalidMeas(), TkTransientTrackingRecHitBuilder::build(), TkPixelMeasurementDet::fastMeasurements(), TkStripMeasurementDet::fastMeasurements(), TkGluedMeasurementDet::fastMeasurements(), DAFTrackProducerAlgorithm::filter(), KFFittingSmoother::fit(), NonPropagatingDetMeasurements::get(), LayerMeasurements::groupedMeasurements(), LayerMeasurements::measurements(), and SiTrackerMultiRecHitUpdator::update().

00014                                                                                                                {
00015     return RecHitPointer( new InvalidTransientRecHit( geom, layer, type ));
00016   }

virtual InvalidTransientRecHit* InvalidTransientRecHit::clone ( void   )  const [inline, private, virtual]

Reimplemented from TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Definition at line 27 of file InvalidTransientRecHit.h.

References InvalidTransientRecHit().

00027 {return new InvalidTransientRecHit(*this);}

const Surface * InvalidTransientRecHit::surface (  )  const [virtual]

Reimplemented from TransientTrackingRecHit.

Definition at line 11 of file InvalidTransientRecHit.cc.

References TransientTrackingRecHit::det(), layer_, GeometricSearchDet::surface(), and GeomDet::surface().

00011                                                      {
00012   if (det() != 0 )  return &(det()->surface()); 
00013   else if (layer_ != 0)  return &(layer_->surface()); 
00014   else return 0;
00015 }


Member Data Documentation

const DetLayer* InvalidTransientRecHit::layer_ [private]

Definition at line 21 of file InvalidTransientRecHit.h.

Referenced by surface().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:53 2009 for CMSSW by  doxygen 1.5.4