LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Namespace collecting geometry-related classes utilities. More...
Namespaces | |
details | |
iterators | |
part | |
Partition-related utilities. | |
vect | |
Utilities to manipulate geometry vectors.The utilities include generic vector interface facilities allowing to use different vector types via templates. | |
Classes | |
class | AffinePlaneBase |
class | AuxDetChannelMapAlg |
class | AuxDetExptGeoHelperInterface |
Interface to a service with detector-specific geometry knowledge. More... | |
class | AuxDetGeo |
class | AuxDetGeometry |
The geometry of one entire detector, as served by art. More... | |
class | AuxDetGeometryCore |
Description of geometry of one set of auxiliary detectors. More... | |
struct | AuxDetGeometryData_t |
class | AuxDetGeoObjectSorter |
class | AuxDetSensitiveGeo |
class | BoxBoundedGeo |
A base class aware of world box coordinatesAn object describing a simple shape can inherit from this one to gain access to a common boundary checking interface. More... | |
class | ChannelMapAlg |
Interface for a class providing readout channel mapping to geometry. More... | |
class | ChannelMapStandardAlg |
struct | CollectNodesByName |
struct | CollectPathsByName |
class | CryostatGeo |
Geometry information for a single cryostat. More... | |
struct | CryostatID |
The data type to uniquely identify a cryostat. More... | |
struct | DecomposedVector |
class | Decomposer |
Class with methods to decompose and compose back vectors. More... | |
class | DriftPartitions |
Set of drift volumes. More... | |
class | DumpChannelMap |
Prints on screen the current channel-wire map. More... | |
class | DumpGeometry |
Describes on screen the current geometry. More... | |
class | ExptGeoHelperInterface |
Interface to a service with detector-specific geometry knowledge. More... | |
class | Geometry |
The geometry of one entire detector, as served by art. More... | |
class | GeometryCore |
Description of geometry of one entire detector. More... | |
struct | GeometryData_t |
Data in the geometry description. More... | |
class | GeoObjectSorter |
class | GeoObjectSorterStandard |
class | InvalidWireError |
Exception thrown on invalid wire number. More... | |
class | InvalidWireIDError |
Exception thrown on invalid wire number (e.g. NearestWireID()) More... | |
class | IteratorBox |
class | IteratorBoxBase |
class | LocalIteratorBox |
class | LocalTransformation |
Class to transform between world and local coordinates. More... | |
class | LocalTransformationGeo |
Class to transform between world and local coordinates. More... | |
struct | NodeNameMatcherClass |
class | OpDetGeo |
class | PlaneBase |
A base for a plane in space. More... | |
class | PlaneDataContainer |
Container with one element per geometry wire plane. More... | |
class | PlaneDecomposer |
Class with methods for projection of vectors on a plane. More... | |
class | PlaneGeo |
Geometry information for a single wire plane.The plane is represented in the geometry by a solid which contains wires. Currently, only box solids are well supported. The box which is representation of the plane has some thickness, and it should not be assumed that the wires are in the median section of it, that is, the center of the box may not lie on the plane defined by the wires. More... | |
struct | PlaneID |
The data type to uniquely identify a Plane. More... | |
class | ROOTGeoNodeForwardIterator |
Iterator to navigate through all the nodes. More... | |
class | StandardGeometryHelper |
Simple implementation of channel mapping. More... | |
class | TPCDataContainer |
Container with one element per geometry TPC. More... | |
class | TPCGeo |
Geometry information for a single TPC. More... | |
struct | TPCID |
The data type to uniquely identify a TPC. More... | |
class | WireGeo |
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane. Different wires may be connected to the same readout channel. That is of no relevance for the geometry description. More... | |
struct | WireID |
struct | WireIDIntersection |
Typedefs | |
using | cryostat_id_iterator = details::cryostat_id_iterator_base< geo::CryostatID > |
Forward iterator browsing all cryostats in the detector. More... | |
using | cryostat_iterator = details::geometry_element_iterator< cryostat_id_iterator > |
Forward iterator browsing all cryostats in the detector. More... | |
using | TPC_id_iterator = details::TPC_id_iterator_base< geo::TPCID > |
Forward iterator browsing all TPCs in the detector. More... | |
using | TPC_iterator = details::geometry_element_iterator< TPC_id_iterator > |
Forward iterator browsing all TPCs in the detector. More... | |
using | plane_id_iterator = details::plane_id_iterator_base< geo::PlaneID > |
Forward iterator browsing all planes in the detector. More... | |
using | plane_iterator = details::geometry_element_iterator< plane_id_iterator > |
Forward iterator browsing all planes in the detector. More... | |
using | wire_id_iterator = details::wire_id_iterator_base< geo::WireID > |
Forward iterator browsing all wires in the detector. More... | |
using | wire_iterator = details::geometry_element_iterator< wire_id_iterator > |
Forward iterator browsing all wires in the detector. More... | |
using | TPCset_id_iterator = details::TPCset_id_iterator_base< readout::TPCsetID > |
Forward iterator browsing all TPC sets in the detector. More... | |
using | ROP_id_iterator = details::ROP_id_iterator_base< readout::ROPID > |
Forward iterator browsing all readout planes in the detector. More... | |
Generic vector types. | |
template<typename T , typename C = ROOT::Math::GlobalCoordinateSystemTag> | |
using | GenVector3DBase_t = ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< T >, C > |
template<typename T , typename C = ROOT::Math::GlobalCoordinateSystemTag> | |
using | GenPoint3DBase_t = ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< T >, C > |
template<typename C > | |
using | Vector3DBase_t = GenVector3DBase_t< double, C > |
template<typename C > | |
using | Point3DBase_t = GenPoint3DBase_t< double, C > |
Type of 3D point with representation in double precision. More... | |
Functions | |
static bool | opdet_sort (const OpDetGeo *t1, const OpDetGeo *t2) |
static bool | DUNE_opdet_sort (const OpDetGeo *t1, const OpDetGeo *t2) |
void | ProjectToBoxEdge (const double xyz[], const double dxyz[], double xlo, double xhi, double ylo, double yhi, double zlo, double zhi, double xyzout[]) |
double | ClosestApproach (const double point[], const double intercept[], const double slopes[], double closest[]) |
bool | CrossesBoundary (double x0[], double gradient[], double x_lo, double x_hi, double y_lo, double y_hi, double z_lo, double z_hi, double point[]) |
template<typename T > | |
T | sqr (T v) |
template<> | |
geo::TPCID | GeometryCore::GetBeginID< geo::TPCID, geo::CryostatID > (geo::CryostatID const &id) const |
template<> | |
geo::TPCID | GeometryCore::GetEndID< geo::TPCID, geo::CryostatID > (geo::CryostatID const &id) const |
template<> | |
geo::PlaneID | GeometryCore::GetBeginID< geo::PlaneID, geo::CryostatID > (geo::CryostatID const &id) const |
template<> | |
geo::PlaneID | GeometryCore::GetEndID< geo::PlaneID, geo::CryostatID > (geo::CryostatID const &id) const |
static bool | sortAuxDetStandard (const AuxDetGeo *ad1, const AuxDetGeo *ad2) |
static bool | sortAuxDetSensitiveStandard (const AuxDetSensitiveGeo *ad1, const AuxDetSensitiveGeo *ad2) |
static bool | sortCryoStandard (const CryostatGeo *c1, const CryostatGeo *c2) |
static bool | sortTPCStandard (const TPCGeo *t1, const TPCGeo *t2) |
static bool | sortPlaneStandard (const PlaneGeo *p1, const PlaneGeo *p2) |
bool | sortWireStandard (WireGeo *w1, WireGeo *w2) |
DriftPartitions | buildDriftVolumes (geo::CryostatGeo const &cryo) |
Creates a DriftPartitions object from the TPCs in a cryostat. More... | |
Geometry element IDs | |
std::ostream & | operator<< (std::ostream &out, CryostatID const &cid) |
Generic output of CryostatID to stream. More... | |
std::ostream & | operator<< (std::ostream &out, TPCID const &tid) |
Generic output of TPCID to stream. More... | |
std::ostream & | operator<< (std::ostream &out, PlaneID const &pid) |
Generic output of PlaneID to stream. More... | |
std::ostream & | operator<< (std::ostream &out, WireID const &wid) |
Generic output of WireID to stream. More... | |
ID comparison operators | |
The result of comparison with invalid IDs is undefined. | |
bool | operator== (CryostatID const &a, CryostatID const &b) |
Comparison: the IDs point to the same cryostat (validity is ignored) More... | |
bool | operator!= (CryostatID const &a, CryostatID const &b) |
Comparison: the IDs point to different cryostats (validity is ignored) More... | |
bool | operator< (CryostatID const &a, CryostatID const &b) |
Order cryostats with increasing ID. More... | |
bool | operator== (TPCID const &a, TPCID const &b) |
Comparison: the IDs point to the same TPC (validity is ignored) More... | |
bool | operator!= (TPCID const &a, TPCID const &b) |
Comparison: the IDs point to different TPCs (validity is ignored) More... | |
bool | operator< (TPCID const &a, TPCID const &b) |
Order TPCID in increasing Cryo, then TPC. More... | |
bool | operator== (PlaneID const &a, PlaneID const &b) |
Comparison: the IDs point to the same plane (validity is ignored) More... | |
bool | operator!= (PlaneID const &a, PlaneID const &b) |
Comparison: the IDs point to different planes (validity is ignored) More... | |
bool | operator< (PlaneID const &a, PlaneID const &b) |
Order PlaneID in increasing TPC, then plane. More... | |
bool | operator== (WireID const &a, WireID const &b) |
Comparison: the IDs point to the same wire (validity is ignored) More... | |
bool | operator!= (WireID const &a, WireID const &b) |
Comparison: the IDs point to different wires (validity is ignored) More... | |
bool | operator< (WireID const &a, WireID const &b) |
Comparison: the IDs point to the same cryostat (validity is ignored) More... | |
Geometry enumerators | |
enum | coordinates { kXCoord, kYCoord, kZCoord } |
Enumerate the possible plane projections. More... | |
enum | _plane_proj { kU, kV, kW, kZ =kW, kY, kX, k3D, kUnknown } |
Enumerate the possible plane projections. More... | |
enum | _plane_orient { kHorizontal, kVertical } |
Enumerate the possible plane projections. More... | |
enum | _plane_sigtype { kInduction, kCollection, kMysteryType } |
Enumerate the possible plane projections. More... | |
enum | driftdir { kUnknownDrift, kPos, kNeg, kPosX = kPos, kNegX = kNeg } |
Drift direction: positive or negative. More... | |
typedef enum geo::coordinates | Coord_t |
Enumerate the possible plane projections. More... | |
typedef enum geo::_plane_proj | View_t |
Enumerate the possible plane projections. More... | |
typedef enum geo::_plane_orient | Orient_t |
Enumerate the possible plane projections. More... | |
typedef enum geo::_plane_sigtype | SigType_t |
Enumerate the possible plane projections. More... | |
typedef enum geo::driftdir | DriftDirection_t |
Drift direction: positive or negative. More... | |
Vector types for the standard LArSoft geometry. | |
LArSoft geometry provides two main types of vectors in 3D space:
Both vectors are supposed to represent:
These types constitute the basic objects the geometry works with. All interfaces should support them.
The same type of vectors, but in a different coordinate system representation, can be obtained by using using LocalPoint_t = geo::Point3DBase_t<LocalCoordinateTag>; ( using PointF_t = geo::GenPoint3DBase_t<float>; using VectorF_t = geo::GenVector3DBase_t<float>; | |
using | Length_t = double |
Type used for coordinates and distances. They are measured in centimeters. More... | |
using | GlobalCoords = ROOT::Math::GlobalCoordinateSystemTag |
Tag for vectors in the global coordinate system. More... | |
using | Vector_t = ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > |
Type for representation of momenta in 3D space. More... | |
using | Point_t = ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > |
Type for representation of position in physical 3D space. More... | |
template<typename CoordSystemTag > | |
using | VectorIn_t = Vector3DBase_t< CoordSystemTag > |
Type for representation of momenta in 3D space. More... | |
template<typename CoordSystemTag > | |
using | PointIn_t = Point3DBase_t< CoordSystemTag > |
Type for representation of positions in 3D space. More... | |
using | Rotation_t = ROOT::Math::Rotation3D |
Type for representation of space rotations. More... | |
template<typename Vector = Vector_t> | |
constexpr Vector | Xaxis () |
Returns a x axis vector of the specified type. More... | |
template<typename Vector = Vector_t> | |
constexpr Vector | Yaxis () |
Returns a y axis vector of the specified type. More... | |
template<typename Vector = Vector_t> | |
constexpr Vector | Zaxis () |
Returns a z axis vector of the specified type. More... | |
template<typename Point = Point_t> | |
constexpr Point | origin () |
Returns a origin position with a point of the specified type. More... | |
Namespace collecting geometry-related classes utilities.
LArSoft geometry interface.
Detector geometry definition and interface.
ROOT libraries.
geo::GeometryCore
The geo
namespace includes all LArSoft data types, classes and functions related to detector geometry.
For more guidance, dee the LArSoft geometry module.
typedef enum geo::coordinates geo::Coord_t |
Enumerate the possible plane projections.
typedef enum geo::driftdir geo::DriftDirection_t |
Drift direction: positive or negative.
Do not use this type to distinguish different drift axes: e.g., negative x drift and negative z drift are both by kNeg
.
using geo::GenPoint3DBase_t = typedef ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<T>, C> |
Type of 3D point.
T | data type for coordinate representation |
C | coordinate system tag (default: global coordinates) |
Definition at line 85 of file geo_vectors.h.
using geo::GenVector3DBase_t = typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<T>, C> |
Type of 3D displacement vector.
T | data type for coordinate representation |
C | coordinate system tag (default: global coordinates) |
Definition at line 78 of file geo_vectors.h.
using geo::GlobalCoords = typedef ROOT::Math::GlobalCoordinateSystemTag |
Tag for vectors in the global coordinate system.
A vector tagged as "global" is expected to be represented in the global (or "world") coordinate system.
That system is the one the detector geometry is described in, and it is defined by the GDML detector description. The linear coordinates are described in centimeters.
Definition at line 153 of file geo_vectors.h.
using geo::Length_t = typedef double |
Type used for coordinates and distances. They are measured in centimeters.
Definition at line 140 of file geo_vectors.h.
typedef enum geo::_plane_orient geo::Orient_t |
Enumerate the possible plane projections.
using geo::Point3DBase_t = typedef GenPoint3DBase_t<double, C> |
Type of 3D point with representation in double precision.
C | coordinate system tag |
Definition at line 95 of file geo_vectors.h.
using geo::Point_t = typedef ROOT::Math::PositionVector3D <ROOT::Math::Cartesian3D<double>, ROOT::Math::GlobalCoordinateSystemTag> |
Type for representation of position in physical 3D space.
A point represents a position in 3D space. As such, it makes no sense to add points, and the difference between two points is not a point any more (it is, in fact, a geo::Vector_t
). Scaling and norm of a point also have no meaning.
A vector can be added to a point, resulting in another point.
Note that middlePoint()
function and MiddlePointAccumulator
class are provided to facilitate the computation of a middle point using any type of vector and in particular geo::Point_t
.
Definition at line 187 of file geo_vectors.h.
using geo::PointIn_t = typedef Point3DBase_t<CoordSystemTag> |
Type for representation of positions in 3D space.
CoordSystemTag | the coordinate system tag for this point |
This point type is equivalent to geo::Point_t
but it's tagged as from a different coordinate system.
Definition at line 208 of file geo_vectors.h.
using geo::Rotation_t = typedef ROOT::Math::Rotation3D |
Type for representation of space rotations.
Definition at line 212 of file geo_vectors.h.
typedef enum geo::_plane_sigtype geo::SigType_t |
Enumerate the possible plane projections.
using geo::Vector3DBase_t = typedef GenVector3DBase_t<double, C> |
Type of 3D displacement vector with representation in double precision.
C | coordinate system tag |
Definition at line 90 of file geo_vectors.h.
using geo::Vector_t = typedef ROOT::Math::DisplacementVector3D <ROOT::Math::Cartesian3D<double>, ROOT::Math::GlobalCoordinateSystemTag> |
Type for representation of momenta in 3D space.
A vector represents a direction and intensity, or a displacement respect to an unspecified starting point. Vectors can be added or subtracted, resulting in still a vector. Their modulus can also be scaled.
Definition at line 167 of file geo_vectors.h.
using geo::VectorIn_t = typedef Vector3DBase_t<CoordSystemTag> |
Type for representation of momenta in 3D space.
CoordSystemTag | the coordinate system tag for this vector |
This vector type is equivalent to geo::Vector_t
but it's tagged as from a different coordinate system.
Definition at line 198 of file geo_vectors.h.
typedef enum geo::_plane_proj geo::View_t |
Enumerate the possible plane projections.
enum geo::_plane_orient |
Enumerate the possible plane projections.
Enumerator | |
---|---|
kHorizontal |
Planes that are in the horizontal plane. |
kVertical |
Planes that are in the vertical plane (e.g. ArgoNeuT). |
Definition at line 86 of file geo_types.h.
enum geo::_plane_proj |
Enumerate the possible plane projections.
Definition at line 75 of file geo_types.h.
enum geo::_plane_sigtype |
Enumerate the possible plane projections.
Enumerator | |
---|---|
kInduction |
Signal from induction planes. |
kCollection |
Signal from collection planes. |
kMysteryType |
Who knows? |
Definition at line 91 of file geo_types.h.
enum geo::coordinates |
Enumerate the possible plane projections.
Enumerator | |
---|---|
kXCoord |
X coordinate. |
kYCoord |
Y coordinate. |
kZCoord |
Z coordinate. |
Definition at line 68 of file geo_types.h.
enum geo::driftdir |
Drift direction: positive or negative.
Do not use this type to distinguish different drift axes: e.g., negative x drift and negative z drift are both by kNeg
.
Definition at line 104 of file geo_types.h.
geo::DriftPartitions geo::buildDriftVolumes | ( | geo::CryostatGeo const & | cryo | ) |
Creates a DriftPartitions
object from the TPCs in a cryostat.
cryo | the cryostat with the TPCs to be partitioned. |
The algorithm groups all TPCs with the same drift direction and readout planes with similar drift coordinates. A "global drift direction" is chosen. The drift directions of all TPCs in the cryostat are required to be parallel (at most with different verse). Projections of the TPC wire planes on this direction determine TPC grouping. TPCs with planes within a small range (typically, 10 plane pitches) of this projected coordinate are grouped together. TPCs with opposite drift directions are still kept in different groups.
The information of each drift volume is kept in a DriftVolume_t
class which contains a hierarchical structure of type geo::part::Partition
(with data geo::TPCGeo const
coming directly from the geometry). This structure describes the topology of the TPCs within the drift volume.
Definition at line 1102 of file DriftPartitions.cxx.
References addAreaToTPCs(), geo::DriftPartitions::addPartition(), geo::BoxBoundedGeo::Center(), checkTPCcoords(), geo::DriftPartitions::decomposer, detectGlobalDriftDir(), e, groupByDriftCoordinate(), groupTPCsByDriftDir(), makePartition(), part, geo::TPCGeo::RefDepthDir(), geo::TPCGeo::RefWidthDir(), sortTPCsByDriftCoord(), and geo::CryostatGeo::TPC().
Referenced by geo::DriftPartitions::driftVolumeAt().
|
inline |
Find the distance of closest approach between point and line
point | - xyz coordinates of point |
intercept | - xyz coodinates of point on line |
slopes | - unit vector direction (need not be normalized) |
closest | - on output, point on line that is closest |
Definition at line 96 of file geo.h.
References s.
|
inline |
Determine whether or not track intersects box of volume: ( x_hi - x_lo ) x ( y_hi - y_lo ) x ( z_hi - z_lo )
x_hi | - x box coordinates in space w.r.t. the origin |
x_lo | - x box coordinates in space w.r.t. the origin |
y_hi | - y box coordinates in space w.r.t. the origin |
y_lo | - y box coordinates in space w.r.t. the origin |
z_hi | - z box coordinates in space w.r.t. the origin |
z_lo | - z box coordinates in space w.r.t. the origin |
x0[] | - initial position of the particle |
gradient[] | - initial gradient of particle position |
point[] | (output) - position of the particle at intersection |
geo::BoxBoundedGeo::GetIntersection()
*** assumes particle's track is linear
Definition at line 148 of file geo.h.
References n.
Definition at line 50 of file CryostatGeo.cxx.
References geo::OpDetGeo::LocalToWorld().
Referenced by geo::CryostatGeo::CryostatGeo().
|
inline |
Definition at line 5628 of file GeometryCore.h.
|
inline |
Definition at line 5618 of file GeometryCore.h.
|
inline |
Definition at line 5633 of file GeometryCore.h.
|
inline |
Definition at line 5623 of file GeometryCore.h.
Definition at line 32 of file CryostatGeo.cxx.
References geo::OpDetGeo::LocalToWorld().
Referenced by geo::CryostatGeo::CryostatGeo().
|
inline |
Comparison: the IDs point to different cryostats (validity is ignored)
Definition at line 409 of file geo_types.h.
References geo::CryostatID::Cryostat.
Comparison: the IDs point to different TPCs (validity is ignored)
Definition at line 425 of file geo_types.h.
References geo::TPCID::TPC.
Comparison: the IDs point to different planes (validity is ignored)
Definition at line 449 of file geo_types.h.
References geo::PlaneID::Plane.
Comparison: the IDs point to different wires (validity is ignored)
Definition at line 473 of file geo_types.h.
References geo::WireID::Wire.
|
inline |
Order cryostats with increasing ID.
Definition at line 413 of file geo_types.h.
References geo::CryostatID::Cryostat.
Referenced by lar::range_t< size_type >::borders(), and larg4::LArVoxelReadoutGeometry::Construct().
Order TPCID in increasing Cryo, then TPC.
Definition at line 432 of file geo_types.h.
References geo::TPCID::TPC.
Order PlaneID in increasing TPC, then plane.
Definition at line 456 of file geo_types.h.
References geo::PlaneID::Plane.
Comparison: the IDs point to the same cryostat (validity is ignored)
Definition at line 480 of file geo_types.h.
References geo::WireID::Wire.
|
inline |
Generic output of CryostatID to stream.
Definition at line 367 of file geo_types.h.
References geo::CryostatID::Cryostat.
|
inline |
Generic output of TPCID to stream.
Definition at line 374 of file geo_types.h.
References geo::TPCID::TPC.
|
inline |
Generic output of PlaneID to stream.
Definition at line 381 of file geo_types.h.
References geo::PlaneID::Plane.
|
inline |
Generic output of WireID to stream.
Definition at line 388 of file geo_types.h.
References geo::WireID::Wire.
|
inline |
Comparison: the IDs point to the same cryostat (validity is ignored)
Definition at line 405 of file geo_types.h.
References geo::CryostatID::Cryostat.
Comparison: the IDs point to the same TPC (validity is ignored)
Definition at line 418 of file geo_types.h.
References geo::TPCID::TPC.
Comparison: the IDs point to the same plane (validity is ignored)
Definition at line 442 of file geo_types.h.
References geo::PlaneID::Plane.
Comparison: the IDs point to the same wire (validity is ignored)
Definition at line 466 of file geo_types.h.
References geo::WireID::Wire.
constexpr Point geo::origin | ( | ) |
Returns a origin position with a point of the specified type.
Definition at line 230 of file geo_vectors.h.
Referenced by geoalgo::GeoAlgo::_ClosestPt_(), geoalgo::GeoAlgo::_commonOrigin_(), microboone::CosmicRemovalAna::analyze(), hit::GausHitFinderAna::analyze(), geoalgo::GeoAlgo::commonOrigin(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), geo::PlaneGeo::DetectGeometryDirections(), microboone::CosmicRemovalAna::FillMCInfo(), evd::TWQMultiTPCProjectionView::FindEndPoint(), evd::TWQProjectionView::FindEndPoint(), evd::TWQMultiTPCProjectionView::FindLineLength(), evd::TWQProjectionView::FindLineLength(), tca::FitTraj(), util::GeometryUtilities::Get2DPointProjection(), pma::PMAlgCosmicTagger::GetDimensions(), tca::TrajClusterAlg::GetHitCollection(), tca::GetOrigin(), util::GeometryUtilities::GetProjectedPoint(), util::GeometryUtilities::GetTimeTicks(), pma::PMAlgStitching::GetTPCXOffsets(), util::GeometryUtilities::GetXYZ(), evd::SimulationDrawer::MCTruthShortText(), shwf::ShowerReco::produce(), shower::TrackShowerSeparationAlg::ProjPoint(), trkf::TrackStatePropagator::propagateToPlane(), trkf::TrackStatePropagator::rotateToPlane(), simb::MCTruth::SetOrigin(), Polygon2D::Size(), geo::TPCGeo::SortSubVolumes(), tca::TjDirFOM(), and trkf::TrackStatePropagator::TrackStatePropagator().
|
inline |
Project along a direction from a particular starting point to the edge of a box
xyz | - The starting x,y,z location. Must be inside box. |
dxyz | - Direction vector |
xlo | - Low edge of box in x |
xhi | - Low edge of box in x |
ylo | - Low edge of box in y |
yhi | - Low edge of box in y |
zlo | - Low edge of box in z |
zhi | - Low edge of box in z |
xyzout | - On output, the position at the box edge |
Note: It should be safe to use the same array for input and output.
Definition at line 49 of file geo.h.
References d.
|
static |
Definition at line 44 of file GeoObjectSorterStandard.cxx.
References geo::AuxDetSensitiveGeo::TotalVolume().
Referenced by geo::GeoObjectSorterStandard::SortAuxDetSensitive().
Definition at line 27 of file GeoObjectSorterStandard.cxx.
References geo::AuxDetGeo::TotalVolume().
Referenced by geo::GeoObjectSorterStandard::SortAuxDets().
|
static |
Definition at line 61 of file GeoObjectSorterStandard.cxx.
References geo::CryostatGeo::LocalToWorld().
Referenced by geo::GeoObjectSorterStandard::SortCryostats().
Definition at line 91 of file GeoObjectSorterStandard.cxx.
References geo::PlaneGeo::LocalToWorld().
Referenced by geo::GeoObjectSorterStandard::SortPlanes().
Definition at line 74 of file GeoObjectSorterStandard.cxx.
References geo::TPCGeo::LocalToWorld().
Referenced by geo::GeoObjectSorterStandard::SortTPCs().
Definition at line 113 of file GeoObjectSorterStandard.cxx.
References geo::WireGeo::GetCenter().
Referenced by geo::GeoObjectSorterStandard::SortWires().
|
inline |
Definition at line 51 of file GeometryCore.cxx.
References geo::GeometryCore::coordIs, and e.
Referenced by recob::Cluster::Cluster(), detinfo::DetectorPropertiesStandard::Eloss(), hit::details::CompiledGausFitCacheBaseStruct::gaus(), MedicalBeam::GenerateBeamDirection(), MedicalBeam::GeneratePrimaries(), geo::GeometryCore::IntersectSegments(), cluster::ClusterParamsAlg::LinearIntegral(), cluster::fuzzyClusterAlg::mergeTrackClusters(), cluster::fuzzyClusterAlg::run_fuzzy_cluster(), lar::util::details::SimplePolyFitterDataBase< T, D >::sqr(), trkf::CosmicTrackerAlg::Track3D(), lar::util::StatCollector< T, W >::Variance(), lar::util::StatCollector2D< T, W >::VarianceX(), and lar::util::StatCollector2D< T, W >::VarianceY().
constexpr Vector geo::Xaxis | ( | ) |
Returns a x axis vector of the specified type.
Definition at line 218 of file geo_vectors.h.
Referenced by geo::TPCGeo::ResetDriftDirection(), geo::TPCGeo::TPCGeo(), and geo::PlaneGeo::UpdateView().
constexpr Vector geo::Yaxis | ( | ) |
Returns a y axis vector of the specified type.
Definition at line 222 of file geo_vectors.h.
Referenced by geo::TPCGeo::ResetDriftDirection(), geo::TPCGeo::TPCGeo(), and geo::PlaneGeo::UpdateView().
constexpr Vector geo::Zaxis | ( | ) |
Returns a z axis vector of the specified type.
Definition at line 226 of file geo_vectors.h.
Referenced by geo::TPCGeo::ResetDriftDirection(), geo::TPCGeo::TPCGeo(), and geo::PlaneGeo::UpdateView().