File indexing completed on 2024-04-06 12:04:14
0001 #ifndef Geom_PlaneBuilder_H
0002 #define Geom_PlaneBuilder_H
0003
0004 #include "DataFormats/GeometrySurface/interface/Plane.h"
0005
0006 class Bounds;
0007
0008
0009
0010
0011
0012
0013 class PlaneBuilder {
0014 public:
0015 typedef Surface::PositionType PositionType;
0016 typedef Surface::RotationType RotationType;
0017 typedef ReferenceCountingPointer<Plane> ReturnType;
0018
0019
0020
0021 ReturnType plane(const PositionType& pos, const RotationType& rot) const { return ReturnType(new Plane(pos, rot)); }
0022
0023
0024
0025
0026
0027 ReturnType plane(const PositionType& pos, const RotationType& rot, Bounds* bounds) const {
0028 return ReturnType(new Plane(pos, rot, bounds));
0029 }
0030 };
0031
0032 #endif