test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
TrackerRecHit2D
src
ProjectedSiStripRecHit2D.cc
Go to the documentation of this file.
1
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
2
#include "
Geometry/TrackerGeometryBuilder/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:
BaseTrackerRecHit.h:23
GeomDet
Definition:
GeomDet.h:29
GluedGeomDet.h
TrackingRecHit::setDet
virtual void setDet(const GeomDet &idet)
Definition:
TrackingRecHit.h:84
ProjectedSiStripRecHit2D::theOriginalDet
const GeomDet * theOriginalDet
Definition:
ProjectedSiStripRecHit2D.h:86
ProjectedSiStripRecHit2D::setDet
virtual void setDet(const GeomDet &idet)
Definition:
ProjectedSiStripRecHit2D.cc:6
GluedGeomDet
Definition:
GluedGeomDet.h:7
GluedGeomDet::stereoDet
const GeomDetUnit * stereoDet() const
Definition:
GluedGeomDet.h:21
Generated for CMSSW Reference Manual by
1.8.5