1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "Geometry/CommonTopologies/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelGeomDetType.h"
#include "Geometry/CommonTopologies/interface/SurfaceDeformation.h"
PixelGeomDetUnit::PixelGeomDetUnit(BoundPlane* sp, PixelGeomDetType const* type, DetId id)
: TrackerGeomDet(sp), theTopology(new ProxyPixelTopology(type, sp)) {
setDetId(id);
}
const GeomDetType& PixelGeomDetUnit::type() const { return theTopology->type(); }
const PixelGeomDetType& PixelGeomDetUnit::specificType() const { return theTopology->specificType(); }
const Topology& PixelGeomDetUnit::topology() const { return *theTopology; }
const PixelTopology& PixelGeomDetUnit::specificTopology() const { return *theTopology; }
void PixelGeomDetUnit::setSurfaceDeformation(const SurfaceDeformation* deformation) {
theTopology->setSurfaceDeformation(deformation);
}
|