CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InvalidTransientRecHit.h
Go to the documentation of this file.
1 #ifndef InvalidTransientRecHit_H
2 #define InvalidTransientRecHit_H
3 
8 
9 class InvalidTransientRecHit : public TransientTrackingRecHitByValue<InvalidTrackingRecHit> {
10 public:
13 
15  return RecHitPointer( new InvalidTransientRecHit( geom, layer, type ));
16  }
17 
18  const Surface* surface() const ;
19 
20 private:
21  const DetLayer * layer_;
23  explicit InvalidTransientRecHit( const GeomDet* geom, const DetLayer * layer, Type type);
24 
25  // hide the clone method for ReferenceCounted. Warning: this method is still
26  // accessible via the bas class TrackingRecHit interface!
27  virtual InvalidTransientRecHit* clone() const {return new InvalidTransientRecHit(*this);}
28 
29 };
30 
31 #endif
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
type
Definition: HCALResponse.h:22
static RecHitPointer build(const GeomDet *geom, Type type=TrackingRecHit::missing, const DetLayer *layer=0)
TransientTrackingRecHitByValue< InvalidTrackingRecHit > Base
virtual InvalidTransientRecHit * clone() const
const Surface * surface() const
TrackingRecHit::Type Type
InvalidTransientRecHit(const GeomDet *geom, const DetLayer *layer, Type type)
invalid RecHit - has only GeomDet and Type