DataFormats
TrackerRecHit2D
src
ProjectedSiStripRecHit2D.cc
Go to the documentation of this file.
1
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
2
#include "
Geometry/CommonDetUnit/interface/GluedGeomDet.h
"
3
4
// #include<iostream>
5
6
void
ProjectedSiStripRecHit2D::setDet
(
const
GeomDet
& idet) {
7
TrackingRecHit::setDet
(idet);
8
const
GluedGeomDet
& gdet =
static_cast<
const
GluedGeomDet
&
>
(idet);
9
theOriginalDet
=
trackerHitRTTI::isProjMono
(*
this
) ? gdet.
monoDet
() : gdet.
stereoDet
();
10
}
ProjectedSiStripRecHit2D.h
trackerHitRTTI::isProjMono
bool isProjMono(TrackingRecHit const &hit)
Definition:
trackerHitRTTI.h:27
GeomDet
Definition:
GeomDet.h:27
TrackingRecHit::setDet
virtual void setDet(const GeomDet &idet)
Definition:
TrackingRecHit.h:88
ProjectedSiStripRecHit2D::setDet
void setDet(const GeomDet &idet) override
Definition:
ProjectedSiStripRecHit2D.cc:6
GluedGeomDet::monoDet
const GeomDetUnit * monoDet() const
Definition:
GluedGeomDet.h:19
GluedGeomDet.h
GluedGeomDet::stereoDet
const GeomDetUnit * stereoDet() const
Definition:
GluedGeomDet.h:20
ProjectedSiStripRecHit2D::theOriginalDet
const GeomDet * theOriginalDet
Definition:
ProjectedSiStripRecHit2D.h:79
GluedGeomDet
Definition:
GluedGeomDet.h:7
Generated for CMSSW Reference Manual by
1.8.14