CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InvalidTransientRecHit.cc
Go to the documentation of this file.
3 
4 
6  Base( geom, InvalidTrackingRecHit( geom == 0 ? DetId(0) : geom->geographicalId(), type)),
7  layer_(layer)
8 {
9 }
10 
12  if (det() != 0 ) return &(det()->surface());
13  else if (layer_ != 0) return &(layer_->surface());
14  else return 0;
15 }
16 
type
Definition: HCALResponse.h:22
virtual const BoundSurface & surface() const =0
The surface of the GeometricSearchDet.
static const char layer_[]
const Surface * surface() const
Definition: DetId.h:20
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
InvalidTransientRecHit(const GeomDet *geom, const DetLayer *layer, Type type)
invalid RecHit - has only GeomDet and Type
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37