CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< GenericTransientTrackingRecHit::RecHitPointer > MTDRecHitContainer
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
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
std::shared_ptr< GenericTransientTrackingRecHit > MTDRecHitPointer
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.