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