CMS 3D CMS Logo

MTDTransientTrackingRecHit.h
Go to the documentation of this file.
1 #ifndef RecoMTD_TransientTrackingRecHit_MTDTransientTrackingRecHit_h
2 #define RecoMTD_TransientTrackingRecHit_MTDTransientTrackingRecHit_h
3 
15 
17 
19 public:
20  using MTDRecHitPointer = std::shared_ptr<MTDTransientTrackingRecHit>;
21  using ConstMTDRecHitPointer = std::shared_ptr<MTDTransientTrackingRecHit const>;
22 
23  typedef std::vector<MTDRecHitPointer> MTDRecHitContainer;
24  typedef std::vector<ConstMTDRecHitPointer> ConstMTDRecHitContainer;
25 
27 
29  bool isBTL() const;
30 
32  bool isETL() const;
33 
34  static RecHitPointer build(const GeomDet* geom, const TrackingRecHit* rh) {
36  }
37 
39  LogDebug("MTDTransientTrackingRecHit") << "Getting specificBuild" << std::endl;
41  }
42 
43  void invalidateHit();
44 
45 private:
48 
51 
52  MTDTransientTrackingRecHit* clone() const override { return new MTDTransientTrackingRecHit(*this); }
53 };
54 #endif
static RecHitPointer build(const GeomDet *geom, const TrackingRecHit *rh)
std::vector< ConstMTDRecHitPointer > ConstMTDRecHitContainer
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
MTDTransientTrackingRecHit * clone() const override
std::shared_ptr< MTDTransientTrackingRecHit const > ConstMTDRecHitPointer
bool isETL() const
if this rec hit is a ETL rec hit
bool isBTL() const
if this rec hit is a BTL rec hit
std::vector< MTDRecHitPointer > MTDRecHitContainer
std::shared_ptr< TrackingRecHit const > RecHitPointer
static MTDRecHitPointer specificBuild(const GeomDet *geom, const TrackingRecHit *rh)
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.
#define LogDebug(id)