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
MessageLogger.h
MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.
Definition: MTDTransientTrackingRecHit.cc:20
GeomDet
Definition: GeomDet.h:27
MTDTransientTrackingRecHit::invalidateHit
void invalidateHit()
Definition: MTDTransientTrackingRecHit.cc:36
MTDTransientTrackingRecHit::isBTL
bool isBTL() const
if this rec hit is a BTL rec hit
Definition: MTDTransientTrackingRecHit.cc:26
MTDTransientTrackingRecHit::ConstMTDRecHitPointer
std::shared_ptr< MTDTransientTrackingRecHit const > ConstMTDRecHitPointer
Definition: MTDTransientTrackingRecHit.h:21
GenericTransientTrackingRecHit
Definition: GenericTransientTrackingRecHit.h:7
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
MTDTransientTrackingRecHit::specificBuild
static MTDRecHitPointer specificBuild(const GeomDet *geom, const TrackingRecHit *rh)
Definition: MTDTransientTrackingRecHit.h:38
MTDTransientTrackingRecHit::clone
MTDTransientTrackingRecHit * clone() const override
Definition: MTDTransientTrackingRecHit.h:52
MTDTransientTrackingRecHit::MTDRecHitContainer
std::vector< MTDRecHitPointer > MTDRecHitContainer
Definition: MTDTransientTrackingRecHit.h:23
MTDTransientTrackingRecHit::isETL
bool isETL() const
if this rec hit is a ETL rec hit
Definition: MTDTransientTrackingRecHit.cc:31
MTDTransientTrackingRecHit::MTDRecHitPointer
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
Definition: MTDTransientTrackingRecHit.h:20
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
trackingPlots.other
other
Definition: trackingPlots.py:1465
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
MTDTransientTrackingRecHit::ConstMTDRecHitContainer
std::vector< ConstMTDRecHitPointer > ConstMTDRecHitContainer
Definition: MTDTransientTrackingRecHit.h:24
MTDTransientTrackingRecHit::build
static RecHitPointer build(const GeomDet *geom, const TrackingRecHit *rh)
Definition: MTDTransientTrackingRecHit.h:34
GenericTransientTrackingRecHit.h
MTDTransientTrackingRecHit
Definition: MTDTransientTrackingRecHit.h:18
TrackingRecHit
Definition: TrackingRecHit.h:21
MTDTransientTrackingRecHit::~MTDTransientTrackingRecHit
~MTDTransientTrackingRecHit() override
Definition: MTDTransientTrackingRecHit.h:26
RecSegment.h