1459
geo::WirePtr WirePtr(unsigned int iwire) const
Returns the wire number iwire from this plane.
unsigned int NElements() const
Number of wires in this plane.
WireGeo const & Wire(WireID const &wireid) const
Returns the wire in wireid from this plane.
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
geo::Vector_t toWorldCoords(LocalVector_t const &local) const
Transform direction vector from local to world.
void SetView(geo::View_t view)
Set the signal view (for TPCGeo).
ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double >, WidthDepthReferenceTag > WidthDepthDisplacement_t
Type for vector projections in the plane frame base representation.
WidthDepthProjection_t DeltaFromPlane(WidthDepthProjection_t const &proj, double margin=0.0) const
Returns a projection vector that, added to the argument, gives a projection inside (or at the border ...
Point_t const & GetCenter() const
Returns the world coordinate of the center of the wire [cm].
Point_t ComposePoint(WireDecomposedVector_t const &decomp) const
Returns the 3D point from composition of projection and distance.
WireCollection_t const & ElementIteratorBox
Type returned by IterateElements().
WidthDepthProjection_t VectorWidthDepthProjection(geo::Vector_t const &v) const
Returns the projection of the specified vector on the plane.
geo::Point_t fCenter
Center of the plane, lying on the wire plane.
double fWirePitch
Pitch of wires in this plane.
std::vector< geo::WireGeo > WireCollection_t
Vector_t const & DepthDir() const
Return the direction of plane depth.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space.
Point_t const & GetCenter() const
Returns the centre of the wire plane in world coordinates [cm].
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
enum geo::_plane_orient Orient_t
Enumerate the possible plane projections.
geo::PlaneID fID
ID of this plane.
The data type to uniquely identify a Plane.
WidthDepthProjection_t PointWidthDepthProjection(geo::Point_t const &point) const
Returns the projection of the specified point on the plane.
ElementIteratorBox IterateWires() const
Allows range-for iteration on all wires in this plane.
WireID_t Wire
Index of the wire within its plane.
double WireCoordinate(geo::Point_t const &point) const
Returns the coordinate of the point on the plane, in wire units.
Rect const & ActiveArea() const
Returns an area covered by the wires in the plane.
bool HasElement(geo::WireID const &wireid) const
Returns whether the wire in wireid is present in this plane.
Vector_t ComposeVector(WireDecomposedVector_t const &decomp) const
Returns the 3D vector from composition of projection and distance.
WireCoordProjection_t Projection(geo::Point_t const &point) const
Returns the projection of the specified point on the plane.
LocalPoint_t toLocalCoords(geo::Point_t const &world) const
Transform point from world frame to local plane frame.
View_t fView
Does this plane measure U, V, or W?
void DriftPoint(geo::Point_t &position, double distance) const
Shifts the position of an electron drifted by a distance.
IDparameter< geo::PlaneID > PlaneID
Member type of validated geo::PlaneID parameter.
double PlaneCoordinateFrom(geo::Point_t const &point, geo::WireGeo const &refWire) const
Returns the coordinate of point on the plane respect to a wire.
ElementIteratorBox IterateElements() const
Allows range-for iteration on all wires in this plane.
Interface to algorithm class for sorting geo::XXXGeo objects.
TGeoVolume const * fVolume
Plane volume description.
View_t View() const
Which coordinate does this plane measure.
Point_t GetBoxCenter() const
Returns the centre of the box representing the plane.
WireDecomposedVector_t DecomposePoint(geo::Point_t const &point) const
Decomposes a 3D point in two components.
Classes to project and compose a vector on a plane.
WidthDepthDecomposer_t::DecomposedVector_t WDDecomposedVector_t
WidthDepthDecomposer_t fDecompFrame
geo::WirePtr GetElementPtr(WireID const &wireid) const
Returns the wire in wireid from this plane.
double PhiZ() const
Angle from positive z axis of the wire coordinate axis, in radians.
const WireGeo & MiddleWire() const
Return the middle wire in the plane.
RTree::BoundingBox BoundingBox
Tag for vectors in the "local" GDML coordinate frame of the plane.
Vector_t const & GetWireDirection() const
Returns the direction of the wires.
WireCollection_t fWire
List of wires in this plane.
WireGeo const & GetElement(WireID const &wireid) const
Returns the wire in wireid from this plane.
WireCoordProjection_t Projection(geo::Vector_t const &v) const
Returns the projection of the specified vector on the plane.
double Depth() const
Return the depth of the plane.
std::string indent(std::size_t const i)
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
double Width() const
Return the width of the plane.
Utilities to extend the interface of geometry vectors.
void DriftPoint(geo::Point_t &position) const
Shifts the position along drift direction to fall on the plane.
WireCoordProjection_t PointProjection(geo::Point_t const &point) const
Returns the projection of the specified point on the plane.
ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double >, WireCoordinateReferenceTag > WireCoordProjection_t
Type for projections in the wire base representation.
geo::WirePtr WirePtr(WireID const &wireid) const
Returns the wire in wireid from this plane.
Vector_t ComposeVector(double distance, WireCoordProjection_t const &proj) const
Returns the 3D vector from composition of projection and distance.
constexpr PlaneID const & asPlaneID() const
Conversion to PlaneID (for convenience of notation).
double CosPhiZ() const
Cosine of PhiZ()
const WireGeo & FirstWire() const
Return the first wire in the plane.
bool HasElement(unsigned int iwire) const
Returns whether a wire with index iwire is present in this plane.
double SinPhiZ() const
Sine of PhiZ()
std::vector< TGeoNode const * > GeoNodePath_t
void markInvalid()
Sets the ID as invalid.
LocalTransformation_t fTrans
Plane to world transform.
Definition of data types for geometry description.
Provides a base class aware of world box coordinates.
typename PlaneDecomposer_t::DecomposedVector_t DecomposedVector_t
Type representing a decomposition on the plane.
Orient_t Orientation() const
What is the orientation of the plane.
Encapsulate the geometry of a wire.
ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double >, WidthDepthReferenceTag > WidthDepthProjection_t
Point_t ComposePoint(double distance, WireCoordProjection_t const &proj) const
Returns the 3D point from composition of projection and distance.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
Tag for plane frame base vectors.
A base class aware of world box coordinatesAn object describing a simple shape can inherit from this ...
double InterWireProjectedDistance(Vector_t const &dir) const
Returns the distance between wires along the specified direction.
bool HasWire(unsigned int iwire) const
Returns whether a wire with index iwire is present in this plane.
void PrintPlaneInfo(Stream &&out, std::string indent="", unsigned int verbosity=1) const
Returns a volume including all the wires in the plane.
double DistanceFromPlane(geo::Point_t const &point) const
Returns the distance of the specified point from the wire plane.
geo::PlaneID const & ID() const
Returns the identifier of this plane.
Point_t ComposePoint(WDDecomposedVector_t const &decomp) const
Returns the 3D vector from composition of projection and distance.
Vector_t const & WidthDir() const
Return the direction of plane width.
geo::WireID ClosestWireID(geo::WireID::WireID_t wireNo) const
Returns the closest valid wire ID to the specified wire.
Some simple functions to represent geometry entities.
WireDecomposer_t::DecomposedVector_t WireDecomposedVector_t
Type describing a 3D point or vector decomposed on a plane on wire base.
double fCosPhiZ
Cosine of .
Vector_t const & GetIncreasingWireDirection() const
Returns the direction of increasing wires.
Vector_t const & GetNormalDirection() const
Returns the direction normal to the plane.
WDDecomposedVector_t DecomposePointWidthDepth(geo::Point_t const &point) const
Decomposes a 3D point in two components.
GenPoint3DBase_t< double, C > Point3DBase_t
Type of 3D point with representation in double precision.
unsigned int WireID_t
Type for the ID number.
GenVector3DBase_t< double, C > Vector3DBase_t
Class computing the active area of the plane.
Point_t ProjectionReferencePoint() const
Returns the reference point used by PointProjection().
bool HasWire(geo::WireID const &wireid) const
Returns whether the wire in wireid is present in this plane.
geo::Vector3DBase_t< PlaneGeoCoordinatesTag > LocalVector_t
Type of displacement vectors in the local GDML wire plane frame.
const WireGeo & LastWire() const
Return the last wire in the plane.
Namespace collecting geometry-related classes utilities.
Orient_t fOrientation
Is the plane vertical or horizontal?
double PlaneCoordinate(geo::Point_t const &point) const
Returns the coordinate of the point on the plane.
Point_t ComposePoint(double distance, WidthDepthProjection_t const &proj) const
Returns the 3D point from composition of projection and distance.
geo::Point3DBase_t< PlaneGeoCoordinatesTag > LocalPoint_t
Type of points in the local GDML wire plane frame.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
LocalVector_t toLocalCoords(geo::Vector_t const &world) const
Transform direction vector from world to local.
double WirePitch() const
Return the wire pitch (in centimeters). It is assumed constant.
WidthDepthProjection_t DeltaFromActivePlane(WidthDepthProjection_t const &proj, double margin=0.0) const
Returns a projection vector that, added to the argument, gives a projection inside (or at the border ...
Tag for wire base vectors.