11 #include "art/Framework/Services/Registry/ServiceHandle.h"
29 art::ServiceHandle<geo::Geometry const> geom;
33 geo::WireGeo const& wgeom = geom->WireIDToWireGeo(wireid);
40 double phi = TMath::PiOver2() - wgeom.
ThetaZ();
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
virtual ~SurfWireX()
Destructor.
double ThetaZ() const
Returns angle of wire with respect to z axis in the Y-Z plane in radians.
Encapsulate the geometry of a wire.
SurfYZPlane()
Default constructor.
double phi() const
Rotation angle about x-axis.
SurfWireX(const geo::WireID &wireid)
Constructor.
void GetCenter(double *xyz, double localz=0.0) const
Fills the world coordinate of a point on the wire.
Planar surface defined by wire id and x-axis.
art framework interface to geometry description