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 
5 InvalidTransientRecHit::InvalidTransientRecHit( const GeomDet* geom, const DetLayer * layer, Type type ) :
6  Base( geom, InvalidTrackingRecHit( geom == 0 ? DetId(0) : geom->geographicalId(), type)),
7  layer_(layer)
8 {
9 }
10 
11 const Surface* InvalidTransientRecHit::surface() const {
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
static const char layer_[]
Definition: DetId.h:20