Main Page
Namespaces
Classes
Package Documentation
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
}
11
GluedGeomDet::monoDet
const GeomDetUnit * monoDet() const
Definition:
GluedGeomDet.h:20
ProjectedSiStripRecHit2D.h
trackerHitRTTI::isProjMono
bool isProjMono(TrackingRecHit const &hit)
Definition:
trackerHitRTTI.h:15
GeomDet
Definition:
GeomDet.h:29
GluedGeomDet.h
TrackingRecHit::setDet
virtual void setDet(const GeomDet &idet)
Definition:
TrackingRecHit.h:84
ProjectedSiStripRecHit2D::setDet
void setDet(const GeomDet &idet) override
Definition:
ProjectedSiStripRecHit2D.cc:6
ProjectedSiStripRecHit2D::theOriginalDet
const GeomDet * theOriginalDet
Definition:
ProjectedSiStripRecHit2D.h:86
GluedGeomDet
Definition:
GluedGeomDet.h:7
GluedGeomDet::stereoDet
const GeomDetUnit * stereoDet() const
Definition:
GluedGeomDet.h:21
Generated for CMSSW Reference Manual by
1.8.11