CMS 3D CMS Logo

MTDTransientTrackingRecHit.cc
Go to the documentation of this file.
1 
7 
12 
14 
15 #include <map>
16 
19 
21  : GenericTransientTrackingRecHit(*geom, *rh) {}
22 
24  : GenericTransientTrackingRecHit(*other.det(), *(other.hit())) {}
25 
28  return (temp.mtdSubDetector() == MTDDetId::BTL);
29 }
30 
33  return (temp.mtdSubDetector() == MTDDetId::ETL);
34 }
35 
37  setType(bad); //trackingRecHit_->setType(bad); // maybe add in later
38 }
bool isETL() const
if this rec hit is a ETL rec hit
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
std::vector< ConstRecHitPointer > RecHitContainer
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
MTDTransientTrackingRecHit::MTDRecHitPointer MTDRecHitPointer
const GeomDet * det() const
MTDTransientTrackingRecHit::RecHitContainer MTDRecHitContainer
void setType(Type ttype)
bool isBTL() const
if this rec hit is a BTL rec hit
int mtdSubDetector() const
Definition: MTDDetId.h:56
DetId geographicalId() const
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.