Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
TransientTrackingRecHit
src
InvalidTransientRecHit.cc
Go to the documentation of this file.
1
#include "
TrackingTools/TransientTrackingRecHit/interface/InvalidTransientRecHit.h
"
2
#include "
DataFormats/GeometrySurface/interface/Surface.h
"
3
4
5
InvalidTransientRecHit::InvalidTransientRecHit(
const
GeomDet
*
geom
,
const
DetLayer
* layer,
Type
type
) :
6
Base
( geom, InvalidTrackingRecHit( geom == 0 ?
DetId
(0) : geom->geographicalId(), type)),
7
layer_
(layer)
8
{
9
}
10
11
const
Surface
* InvalidTransientRecHit::surface()
const
{
12
if
(det() != 0 )
return
&(det()->surface());
13
else
if
(
layer_
!= 0)
return
&(
layer_
->surface());
14
else
return
0;
15
}
16
type
type
Definition:
HCALResponse.h:22
sistrip::layer_
static const char layer_[]
Definition:
ConstantsForGranularity.h:31
Surface
Definition:
Surface.h:32
GeomDet
Definition:
GeomDet.h:24
susybsm::HSCParticleType::Type
Type
Definition:
HSCParticle.h:20
relativeConstraints.geom
list geom
Definition:
relativeConstraints.py:71
Surface.h
InvalidTransientRecHit.h
DetLayer
Definition:
DetLayer.h:26
DetId
Definition:
DetId.h:20
CustomConfigs.Base
def Base
Definition:
CustomConfigs.py:18
Generated for CMSSW Reference Manual by
1.8.5