12 theSectorGrid(sectorGrid)
28 double c =
cos(phiRot);
29 double s =
sin(phiRot);
30 double xrot = p.x() * c + p.y() *
s;
31 double yrot = -p.x() * s + p.y() *
c;
42 std::cout <<
"Throwing exception " << message << std::endl;
~CylinderFromSectorMFGrid() override
const edm::EventSetup & c
Sin< T >::type sin(const T &t)
LocalPoint nodePosition(int i, int j, int k) const override
Position of node in local frame.
GloballyPositioned< float >::LocalPoint LocalPoint
void throwUp(const char *message) const
LocalPoint fromGridFrame(double a, double b, double c) const override
find grid coordinates for point. For debugging and validation only.
LocalVector valueInTesla(const LocalPoint &p) const override
Interpolated field value at given point.
CylinderFromSectorMFGrid(const GloballyPositioned< float > &vol, double phiMin, double phiMax, MFGrid *sectorGrid)
void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const override
find grid coordinates for point. For debugging and validation only.
Cos< T >::type cos(const T &t)
virtual Dimensions dimensions() const =0
LocalVector nodeValue(int i, int j, int k) const override
Field value at node.
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
Dimensions dimensions() const override
GloballyPositioned< float >::LocalVector LocalVector