#include <TrackingTools/TransientTrackingRecHit/interface/InvalidTransientRecHit.h>
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 Surface * | surface () const |
Static Public Member Functions | |
static RecHitPointer | build (const GeomDet *geom, Type type=TrackingRecHit::missing, const DetLayer *layer=0) |
Private Member Functions | |
virtual InvalidTransientRecHit * | clone () const |
InvalidTransientRecHit (const GeomDet *geom, const DetLayer *layer, Type type) | |
invalid RecHit - has only GeomDet and Type | |
Private Attributes | |
const DetLayer * | layer_ |
Definition at line 9 of file InvalidTransientRecHit.h.
Definition at line 11 of file InvalidTransientRecHit.h.
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.
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 }
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 }
const DetLayer* InvalidTransientRecHit::layer_ [private] |