Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:50

0001 #include "DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h"
0002 #include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
0003 
0004 // #include<iostream>
0005 
0006 void ProjectedSiStripRecHit2D::setDet(const GeomDet& idet) {
0007   TrackingRecHit::setDet(idet);
0008   const GluedGeomDet& gdet = static_cast<const GluedGeomDet&>(idet);
0009   theOriginalDet = trackerHitRTTI::isProjMono(*this) ? gdet.monoDet() : gdet.stereoDet();
0010 }