![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Geometry information for a single TPC. More...
#include "TPCGeo.h"
Classes | |
struct | TPCGeoCoordinatesTag |
Tag for vectors in the "local" GDML coordinate frame of the TPC. More... | |
Public Types | |
using | ID_t = TPCID |
using | Coords_t = Point_t |
Type of the coordinate triplet. More... | |
using | Coord_t = Coords_t::Scalar |
Type of the coordinate. More... | |
Types for geometry-local reference vectors. | |
These types represents points and displacement vectors in the reference frame defined in the TPC geometry box from the GDML geometry description. No alias is explicitly defined for the LArSoft global vector types, Remember the | |
using | LocalPoint_t = Point3DBase_t< TPCGeoCoordinatesTag > |
Type of points in the local GDML TPC frame. More... | |
using | LocalVector_t = Vector3DBase_t< TPCGeoCoordinatesTag > |
Type of displacement vectors in the local GDML TPC frame. More... | |
Public Member Functions | |
TPCGeo (TGeoNode const *tpc_node, std::size_t hash_value, TransformationMatrix &&trans, DriftAxis driftAxis, double driftDistance) | |
void | UpdateAfterSorting (TPCID tpcid) |
Performs all updates after cryostat has sorted TPCs. More... | |
template<typename Stream > | |
void | PrintTPCInfo (Stream &&out, std::string indent="", unsigned int verbosity=1) const |
Prints information about this TPC. More... | |
std::string | TPCInfo (std::string indent="", unsigned int verbosity=1) const |
Returns a string with information about this TPC. More... | |
std::size_t | Hash () const |
TPC properties | |
DriftAxis | DriftAxisWithSign () const |
Returns the expected drift direction based on geometry. More... | |
geo::DriftSign | DriftSign () const |
Returns the expected drift direction based on geometry. More... | |
Point_t | GetCathodeCenter () const |
Returns the expected drift direction based on geometry. More... | |
Vector_t | DriftDir () const |
Returns the direction of the drift (vector pointing toward the planes). More... | |
double | DriftDistance () const |
Drift distance is defined as the distance between the anode and the cathode, in centimeters. More... | |
double | ActiveHalfWidth () const |
Half width (associated with x coordinate) of active TPC volume [cm]. More... | |
double | ActiveWidth () const |
Width (associated with x coordinate) of active TPC volume [cm]. More... | |
double | ActiveHalfHeight () const |
Half height (associated with y coordinate) of active TPC volume [cm]. More... | |
double | ActiveHeight () const |
Height (associated with y coordinate) of active TPC volume [cm]. More... | |
double | ActiveLength () const |
Length (associated with z coordinate) of active TPC volume [cm]. More... | |
double | ActiveHalfLength () const |
Length (associated with z coordinate) of active TPC volume [cm]. More... | |
double | HalfWidth () const |
Width is associated with x coordinate [cm]. More... | |
double | Width () const |
Width is associated with x coordinate [cm]. More... | |
double | HalfHeight () const |
Height is associated with y coordinate [cm]. More... | |
double | Height () const |
Height is associated with y coordinate [cm]. More... | |
double | Length () const |
Length is associated with z coordinate [cm]. More... | |
double | HalfLength () const |
Length is associated with z coordinate [cm]. More... | |
double | ActiveMass () const |
Returns the expected drift direction based on geometry. More... | |
const TGeoVolume * | ActiveVolume () const |
Returns the expected drift direction based on geometry. More... | |
const TGeoVolume * | TotalVolume () const |
Returns the expected drift direction based on geometry. More... | |
decltype(auto) | WidthDir () const |
Returns the direction Width() is measured on. More... | |
decltype(auto) | HeightDir () const |
Returns the direction Height() is measured on. More... | |
decltype(auto) | LengthDir () const |
Returns the direction Length() is measured on. More... | |
TPC geometry properties | |
Point_t | GetCenter () const |
Returns the center of the TPC volume in world coordinates [cm]. More... | |
Point_t | GetActiveVolumeCenter () const |
Returns the center of the TPC active volume in world coordinates [cm]. More... | |
Point_t | GetFrontFaceCenter () const |
Returns the center of the active TPC volume side facing negative z. More... | |
BoxBoundedGeo const & | BoundingBox () const |
Returns the bounding box of this TPC. More... | |
BoxBoundedGeo const & | ActiveBoundingBox () const |
Returns the box of the active volume of this TPC. More... | |
TPCID const & | ID () const |
Returns the identifier of this TPC. More... | |
Coordinate transformation | |
Point_t | toWorldCoords (LocalPoint_t const &local) const |
Transform point from local TPC frame to world frame. More... | |
Vector_t | toWorldCoords (LocalVector_t const &local) const |
Transform direction vector from local to world. More... | |
LocalPoint_t | toLocalCoords (Point_t const &world) const |
Transform point from world frame to local TPC frame. More... | |
LocalVector_t | toLocalCoords (Vector_t const &world) const |
Transform direction vector from world to local. More... | |
Dimension queries | |
double | MinX () const |
Returns the world x coordinate of the start of the box. More... | |
double | MaxX () const |
Returns the world x coordinate of the end of the box. More... | |
double | CenterX () const |
Returns the world x coordinate of the center of the box. More... | |
double | SizeX () const |
Returns the full size in the X dimension. More... | |
double | HalfSizeX () const |
Returns the size from the center to the border on X dimension. More... | |
double | MinY () const |
Returns the world y coordinate of the start of the box. More... | |
double | MaxY () const |
Returns the world y coordinate of the end of the box. More... | |
double | CenterY () const |
Returns the world y coordinate of the center of the box. More... | |
double | SizeY () const |
Returns the full size in the Y dimension. More... | |
double | HalfSizeY () const |
Returns the size from the center to the border on Y dimension. More... | |
double | MinZ () const |
Returns the world z coordinate of the start of the box. More... | |
double | MaxZ () const |
Returns the world z coordinate of the end of the box. More... | |
double | CenterZ () const |
Returns the world z coordinate of the center of the box. More... | |
double | SizeZ () const |
Returns the full size in the Z dimension. More... | |
double | HalfSizeZ () const |
Returns the size from the center to the border on Z dimension. More... | |
Point_t | Min () const |
Returns the corner point with the smallest coordinates. More... | |
Point_t | Max () const |
Returns the corner point with the largest coordinates. More... | |
Point_t | Center () const |
Returns the center point of the box. More... | |
Containment in the full volume | |
bool | ContainsX (double x, double const wiggle=1) const |
Returns whether this TPC contains the specified world x coordinate. More... | |
bool | ContainsY (double y, double const wiggle=1) const |
Returns whether this TPC contains the specified world y coordinate. More... | |
bool | ContainsZ (double z, double const wiggle=1) const |
Returns whether this TPC contains the specified world z coordinate. More... | |
bool | ContainsYZ (double y, double z, double const wiggle=1) const |
Returns if TPC contains the specified world y and z coordinates. More... | |
bool | ContainsPosition (Point_t const &point, double wiggle=1.0) const |
Returns whether this volume contains the specified point. More... | |
bool | ContainsPosition (TVector3 const &point, double wiggle=1.0) const |
bool | ContainsPosition (double const *point, double wiggle=1.0) const |
Containment in a fiducial volume | |
bool | InFiducialX (double x, double neg_margin, double pos_margin) const |
Returns whether TPC fiducial volume contains world x coordinate. More... | |
bool | InFiducialX (double x, double margin) const |
Returns whether TPC fiducial volume contains world x coordinate. More... | |
bool | InFiducialY (double y, double neg_margin, double pos_margin) const |
Returns whether TPC fiducial volume contains world y coordinate. More... | |
bool | InFiducialY (double y, double margin) const |
Returns whether TPC fiducial volume contains world y coordinate. More... | |
bool | InFiducialZ (double z, double neg_margin, double pos_margin) const |
Returns whether TPC fiducial volume contains world z coordinate. More... | |
bool | InFiducialZ (double z, double margin) const |
Returns whether TPC fiducial volume contains world z coordinate. More... | |
Overlaps | |
bool | OverlapsX (BoxBoundedGeo const &other) const |
Returns if the x coordinates covered by this and other box overlap. More... | |
bool | OverlapsY (BoxBoundedGeo const &other) const |
Returns if the y coordinates covered by this and other box overlap. More... | |
bool | OverlapsZ (BoxBoundedGeo const &other) const |
Returns if the z coordinates covered by this and other box overlap. More... | |
bool | Overlaps (BoxBoundedGeo const &other) const |
Returns if this and other box overlap. More... | |
Setting dimensions | |
void | SetBoundaries (Coord_t x_min, Coord_t x_max, Coord_t y_min, Coord_t y_max, Coord_t z_min, Coord_t z_max) |
Sets the boundaries in world coordinates as specified. More... | |
void | SetBoundaries (Coords_t lower, Coords_t upper) |
Sets the boundaries in world coordinates as specified. More... | |
void | ExtendToInclude (Coord_t x, Coord_t y, Coord_t z) |
Extends the current box to also include the specified point. More... | |
void | ExtendToInclude (Point_t const &point) |
Extends the current box to also include the specified point. More... | |
void | ExtendToInclude (BoxBoundedGeo const &box) |
Extends the current box to also include the specified one. More... | |
std::vector< TVector3 > | GetIntersections (TVector3 const &TrajectoryStart, TVector3 const &TrajectoryDirect) const |
Calculates the entry and exit points of a trajectory on the box surface. More... | |
std::vector< Point_t > | GetIntersections (Point_t const &TrajectoryStart, Vector_t const &TrajectoryDirect) const |
Calculates the entry and exit points of a trajectory on the box surface. More... | |
Static Public Member Functions | |
static bool | CoordinateContained (double c, double min, double max, double wiggle=1.) |
Returns whether the specified coordinate is in a range. More... | |
static bool | CoordinateContained (double c, double const *range, double wiggle=1.) |
static TGeoNode const * | NodeForActiveVolume (TGeoNode const *tpc) |
static void | set_min (Coord_t &var, Coord_t value) |
Sets var to value if value is smaller than the current var value. More... | |
static void | set_min (Coords_t &var, Point_t const &value) |
Sets each coordinate of var to the one in value if the latter is smaller. More... | |
static void | set_max (Coord_t &var, Coord_t value) |
Sets var to value if value is larger than the current var value. More... | |
static void | set_max (Coords_t &var, Point_t const &value) |
Sets each coordinate of var to the one in value if the latter is larger. More... | |
Static Public Attributes | |
static constexpr unsigned int | MaxVerbosity = 6 |
Maximum verbosity supported by PrintTPCInfo() . More... | |
Private Types | |
using | LocalTransformation_t = LocalTransformationGeo< ROOT::Math::Transform3D, LocalPoint_t, LocalVector_t > |
Private Member Functions | |
void | InitTPCBoundaries () |
Recomputes the TPC boundary. More... | |
Private Attributes | |
std::size_t | fHash |
Uniquely identifies TPC before sorting has been performed. More... | |
LocalTransformation_t | fTrans |
TPC-to-world transformation. More... | |
DriftAxis | fDriftAxis |
Vector_t | fDriftDir |
double | fDriftDistance |
TGeoVolume * | fActiveVolume {nullptr} |
Active volume of LAr, called volTPCActive in GDML file. More... | |
TGeoVolume * | fTotalVolume {nullptr} |
Total volume of TPC, called volTPC in GDML file. More... | |
Point_t | fActiveCenter |
Center of the active volume, in world coordinates [cm]. More... | |
double | fActiveHalfWidth |
Half width of active volume. More... | |
double | fActiveHalfHeight |
Half height of active volume. More... | |
double | fActiveLength |
Length of active volume. More... | |
double | fHalfWidth |
Half width of total volume. More... | |
double | fHalfHeight |
Half height of total volume. More... | |
double | fLength |
Length of total volume. More... | |
Vector_t | fWidthDir {Xaxis()} |
Direction width refers to. More... | |
Vector_t | fHeightDir {Yaxis()} |
Direction height refers to. More... | |
Vector_t | fLengthDir {Zaxis()} |
Direction length refers to. More... | |
BoxBoundedGeo | fActiveBox |
Box of the active volume. More... | |
TPCID | fID |
ID of this TPC. More... | |
|
inherited |
Type of the coordinate.
Definition at line 34 of file BoxBoundedGeo.h.
|
inherited |
Type of the coordinate triplet.
Definition at line 33 of file BoxBoundedGeo.h.
using geo::TPCGeo::ID_t = TPCID |
|
private |
geo::TPCGeo::TPCGeo | ( | TGeoNode const * | tpc_node, |
std::size_t | hash_value, | ||
TransformationMatrix && | trans, | ||
DriftAxis | driftAxis, | ||
double | driftDistance | ||
) |
Definition at line 47 of file TPCGeo.cxx.
References util::abs(), fActiveCenter, fActiveHalfHeight, fActiveHalfWidth, fActiveLength, fActiveVolume, fDriftAxis, fDriftDir, fDriftDistance, fHalfHeight, fHalfWidth, fHeightDir, fLength, fLengthDir, fTotalVolume, fTrans, fWidthDir, InitTPCBoundaries(), geo::makeTransformationMatrix(), geo::LocalTransformation< StoredMatrix >::Matrix(), MF_LOG_DEBUG, NodeForActiveVolume(), geo::vect::toPoint(), geo::Xaxis(), geo::Yaxis(), and geo::Zaxis().
|
inline |
Returns the box of the active volume of this TPC.
Definition at line 144 of file TPCGeo.h.
References fActiveBox.
Referenced by GetFrontFaceCenter(), PrintTPCInfo(), and phot::PhotonVisibilityService::reconfigure().
|
inline |
Half height (associated with y coordinate) of active TPC volume [cm].
Definition at line 94 of file TPCGeo.h.
References fActiveHalfHeight.
Referenced by ActiveHeight(), evd_tool::StandardDrawer::DrawActiveTPCoutline(), evd_tool::ProtoDUNEDrawer::DrawActiveTPCoutline(), GetCathodeCenter(), and InitTPCBoundaries().
|
inline |
Length (associated with z coordinate) of active TPC volume [cm].
Definition at line 100 of file TPCGeo.h.
References fActiveLength.
Referenced by evd_tool::ProtoDUNEDrawer::DrawActiveTPCoutline(), evd_tool::StandardDrawer::DrawActiveTPCoutline(), and InitTPCBoundaries().
|
inline |
Half width (associated with x coordinate) of active TPC volume [cm].
Definition at line 90 of file TPCGeo.h.
References fActiveHalfWidth.
Referenced by ActiveWidth(), evd_tool::StandardDrawer::DrawActiveTPCoutline(), evd_tool::ProtoDUNEDrawer::DrawActiveTPCoutline(), GetCathodeCenter(), and InitTPCBoundaries().
|
inline |
Height (associated with y coordinate) of active TPC volume [cm].
Definition at line 96 of file TPCGeo.h.
References ActiveHalfHeight().
Referenced by PrintTPCInfo().
|
inline |
Length (associated with z coordinate) of active TPC volume [cm].
Definition at line 98 of file TPCGeo.h.
References fActiveLength.
Referenced by GetCathodeCenter(), and PrintTPCInfo().
|
inline |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 113 of file TPCGeo.h.
References fActiveVolume.
|
inline |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 114 of file TPCGeo.h.
References fActiveVolume.
Referenced by trkf::SpacePts::produce().
|
inline |
Width (associated with x coordinate) of active TPC volume [cm].
Definition at line 92 of file TPCGeo.h.
References ActiveHalfWidth().
Referenced by PrintTPCInfo().
|
inline |
Returns the bounding box of this TPC.
Definition at line 141 of file TPCGeo.h.
Referenced by PrintTPCInfo().
|
inlineinherited |
Returns the center point of the box.
Definition at line 139 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CenterX(), geo::BoxBoundedGeo::CenterY(), and geo::BoxBoundedGeo::CenterZ().
Referenced by geo::CryostatGeo::GetCenter(), and geo::PlaneGeo::UpdatePlaneNormal().
|
inlineinherited |
Returns the world x coordinate of the center of the box.
Definition at line 94 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxX(), and geo::BoxBoundedGeo::MinX().
Referenced by geo::BoxBoundedGeo::Center().
|
inlineinherited |
Returns the world y coordinate of the center of the box.
Definition at line 109 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxY(), and geo::BoxBoundedGeo::MinY().
Referenced by geo::BoxBoundedGeo::Center().
|
inlineinherited |
Returns the world z coordinate of the center of the box.
Definition at line 124 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxZ(), and geo::BoxBoundedGeo::MinZ().
Referenced by geo::BoxBoundedGeo::Center().
|
inlineinherited |
Returns whether this volume contains the specified point.
point | the point [cm] |
wiggle | expansion factor for the range |
If the wiggle is larger than 1, each size of the volume is expanded by the wiggle factor. If the wiggle is less than 1, each size is shrinked.
Definition at line 208 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::ContainsX(), and geo::BoxBoundedGeo::ContainsYZ().
Referenced by geo::BoxBoundedGeo::ContainsPosition(), and geo::GeometryCore::MaterialName().
|
inherited |
Definition at line 22 of file BoxBoundedGeo.cxx.
References geo::BoxBoundedGeo::ContainsPosition(), and geo::vect::toPoint().
|
inherited |
Definition at line 28 of file BoxBoundedGeo.cxx.
References geo::BoxBoundedGeo::ContainsPosition(), and geo::vect::makePointFromCoords().
|
inlineinherited |
Returns whether this TPC contains the specified world x coordinate.
x | the absolute ("world") coordinate x |
wiggle | expansion factor for the range (see ContainsPosition()) |
Note that x is by definition the drift direction, and a reconstructed x typically depends on an assumption respect to the event time.
Definition at line 156 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxX(), and geo::BoxBoundedGeo::MinX().
Referenced by geo::BoxBoundedGeo::ContainsPosition().
|
inlineinherited |
Returns whether this TPC contains the specified world y coordinate.
y | the absolute ("world") coordinate y |
wiggle | expansion factor for the range (see ContainsPosition()) |
Definition at line 168 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxY(), and geo::BoxBoundedGeo::MinY().
Referenced by geo::BoxBoundedGeo::ContainsYZ().
|
inlineinherited |
Returns if TPC contains the specified world y and z coordinates.
y | the absolute ("world") coordinate y |
z | the absolute ("world") coordinate z |
wiggle | expansion factor for the range (see ContainsPosition()) |
Definition at line 193 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::ContainsY(), and geo::BoxBoundedGeo::ContainsZ().
Referenced by geo::BoxBoundedGeo::ContainsPosition().
|
inlineinherited |
Returns whether this TPC contains the specified world z coordinate.
z | the absolute ("world") coordinate z |
wiggle | expansion factor for the range (see ContainsPosition()) |
Definition at line 180 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxZ(), and geo::BoxBoundedGeo::MinZ().
Referenced by geo::BoxBoundedGeo::ContainsYZ().
|
inlinestatic |
Returns whether the specified coordinate is in a range.
c | the coordinate |
min | lower boundary of the range |
max | upper boundary of the range |
wiggle | expansion factor for the range |
If the wiggle is larger than 1, the range is expanded by the wiggle factor. If the wiggle is less than 1, the range is shrinked.
Definition at line 217 of file TPCGeo.h.
Referenced by CoordinateContained().
|
inlinestatic |
Definition at line 223 of file TPCGeo.h.
References CoordinateContained().
|
inline |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 78 of file TPCGeo.h.
References fDriftAxis.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), sce::SCECorrection::applyT0Shift(), larg4::LArVoxelReadout::DriftIonizationElectrons(), DriftSign(), larg4::ISCalcCorrelated::EFieldAtStep(), GetCathodeCenter(), nnet::TrainingDataAlg::getProjection(), lar_pandora::LArPandoraInput::GetTrueX0(), pma::PMAlgTracker::mergeCoLinear(), detsim::SimDriftElectrons::produce(), detsim::DriftElectronstoPlane::produce(), trkf::PMAlgTrackMaker::produce(), pma::Track3D::SetT0FromDx(), lar_pandora::VintageLArTPCThreeView::TargetViewU(), and lar_pandora::VintageLArTPCThreeView::TargetViewV().
|
inline |
Returns the direction of the drift (vector pointing toward the planes).
Definition at line 84 of file TPCGeo.h.
References DriftDistance(), and fDriftDir.
Referenced by PrintTPCInfo(), calo::GnocchiCalorimetry::TrajectoryToWirePosition(), and geo::WireReadoutGeom::UpdateAfterSorting().
double geo::TPCGeo::DriftDistance | ( | ) | const |
Drift distance is defined as the distance between the anode and the cathode, in centimeters.
Definition at line 165 of file TPCGeo.cxx.
References fDriftDistance.
Referenced by DriftDir(), phot::PDFastSimPAR::PDFastSimPAR(), PrintTPCInfo(), and phot::SemiAnalyticalModel::SemiAnalyticalModel().
|
inline |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 79 of file TPCGeo.h.
References DriftAxisWithSign(), GetCathodeCenter(), and geo::DriftAxis::sign.
Referenced by detinfo::DetectorPropertiesStandard::DataFor(), lar_pandora::LArPandoraGeometry::ShouldSwitchUV(), lar_pandora::ICARUS::TargetViewU(), and lar_pandora::ICARUS::TargetViewV().
Extends the current box to also include the specified point.
x | x coordinate of the point to include |
y | y coordinate of the point to include |
z | z coordinate of the point to include |
Definition at line 421 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::ExtendToInclude().
Referenced by geo::PlaneGeo::BoundingBox(), evd_tool::StandardDrawer::DetOutline3D(), evd_tool::ProtoDUNEDrawer::DetOutline3D(), geo::BoxBoundedGeo::ExtendToInclude(), larg4::ISTPC::extractActiveLArVolume(), larg4::OpFastScintillation::extractActiveVolumes(), and phot::PhotonVisibilityService::reconfigure().
|
inlineinherited |
Extends the current box to also include the specified point.
point | coordinates of the point to include |
Definition at line 427 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max, geo::BoxBoundedGeo::c_min, geo::BoxBoundedGeo::set_max(), and geo::BoxBoundedGeo::set_min().
|
inlineinherited |
Extends the current box to also include the specified one.
box | the box to include |
It is assumed that the box has its boundaries properly sorted.
Definition at line 439 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max, geo::BoxBoundedGeo::c_min, geo::BoxBoundedGeo::GetIntersections(), geo::BoxBoundedGeo::Max(), geo::BoxBoundedGeo::Min(), geo::BoxBoundedGeo::set_max(), and geo::BoxBoundedGeo::set_min().
|
inline |
Returns the center of the TPC active volume in world coordinates [cm].
Definition at line 135 of file TPCGeo.h.
References fActiveCenter, and GetFrontFaceCenter().
Referenced by evd_tool::ProtoDUNEDrawer::DrawActiveTPCoutline(), evd_tool::StandardDrawer::DrawActiveTPCoutline(), GetCathodeCenter(), and InitTPCBoundaries().
Point_t geo::TPCGeo::GetCathodeCenter | ( | ) | const |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 139 of file TPCGeo.cxx.
References ActiveHalfHeight(), ActiveHalfWidth(), ActiveLength(), DriftAxisWithSign(), GetActiveVolumeCenter(), pmtana::sign(), geo::to_int(), geo::X, geo::Y, and geo::Z.
Referenced by phot::PropagationTimeModel::cathodeCentre(), DriftSign(), larg4::OpFastScintillation::OpFastScintillation(), PrintTPCInfo(), and phot::SemiAnalyticalModel::SemiAnalyticalModel().
|
inline |
Returns the center of the TPC volume in world coordinates [cm].
Definition at line 132 of file TPCGeo.h.
References toWorldCoords().
Referenced by geo::GeoObjectSorterStandard::compareTPCs(), evd_tool::ICARUSDrawer::DetOutline3D(), cluster::ClusterCrawlerAlg::FindHammerClusters(), PrintTPCInfo(), geo::WireReadoutGeom::SortPlanes(), trkf::CCTrackMaker::TagCosmics(), apa::DisambigAlg::TrivialDisambig(), apa::DisambigAlg::UseEndPts(), evd::RecoBaseDrawer::Vertex2D(), and cluster::ClusterCrawlerAlg::VtxMatch().
geo::Point_t geo::TPCGeo::GetFrontFaceCenter | ( | ) | const |
Returns the center of the active TPC volume side facing negative z.
Definition at line 200 of file TPCGeo.cxx.
References ActiveBoundingBox().
Referenced by GetActiveVolumeCenter(), and PrintTPCInfo().
|
inherited |
Calculates the entry and exit points of a trajectory on the box surface.
TrajectoryStart | position of the trajectory source |
TrajectoryDirect | direction vector of the trajectory |
This member is public since it just gives an output and does not change any member. The algorithm works only for a box shaped active volume with facing walls parallel to axis. If the return std::vector is empty the trajectory does not intersect with the box. Normally the return value should have one (if the trajectory originates in the box) or two (else) entries. If the return value has two entries the first represents the entry point and the second the exit point
Definition at line 123 of file BoxBoundedGeo.cxx.
Referenced by geo::BoxBoundedGeo::ExtendToInclude().
|
inherited |
Calculates the entry and exit points of a trajectory on the box surface.
TrajectoryStart | position of the trajectory source |
TrajectoryDirect | direction vector of the trajectory |
This member is public since it just gives an output and does not change any member. The algorithm works only for a box shaped active volume with facing walls parallel to axis. If the return std::vector is empty the trajectory does not intersect with the box. Normally the return value should have one (if the trajectory originates in the box) or two (else) entries. If the return value has two entries the first represents the entry point and the second the exit point
Definition at line 34 of file BoxBoundedGeo.cxx.
References geo::vect::bindCoord(), geo::BoxBoundedGeo::c_max, geo::BoxBoundedGeo::c_min, geo::vect::coord(), geo::BoxBoundedGeo::Max(), and geo::BoxBoundedGeo::Min().
|
inline |
Height is associated with y coordinate [cm].
Definition at line 106 of file TPCGeo.h.
References fHalfHeight.
Referenced by evd_tool::ICARUSDrawer::DetOutline3D(), cluster::ClusterCrawlerAlg::FindHammerClusters(), Height(), InitTPCBoundaries(), vertex::VertexFinder2D::produce(), trkf::CCTrackMaker::TagCosmics(), and cluster::ClusterCrawlerAlg::VtxMatch().
|
inline |
Length is associated with z coordinate [cm].
Definition at line 112 of file TPCGeo.h.
References fLength.
Referenced by InitTPCBoundaries().
|
inlineinherited |
Returns the size from the center to the border on X dimension.
Definition at line 100 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::SizeX().
|
inlineinherited |
Returns the size from the center to the border on Y dimension.
Definition at line 115 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::SizeY().
|
inlineinherited |
Returns the size from the center to the border on Z dimension.
Definition at line 130 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::SizeZ().
|
inline |
Width is associated with x coordinate [cm].
Definition at line 102 of file TPCGeo.h.
References fHalfWidth.
Referenced by evd_tool::ICARUSDrawer::DetOutline3D(), evd::Display3DPad::Draw(), larg::LArSimChannelAna::ensureHists(), hit::MagDriftAna::ensureHists(), InitTPCBoundaries(), trkf::CCTrackMaker::PlnMatch(), trk::TrackContainmentAlg::ProcessTracks(), trkf::CCTrackMaker::TagCosmics(), evd::RecoBaseDrawer::Vertex2D(), and Width().
|
inline |
Definition at line 228 of file TPCGeo.h.
References fHash, and NodeForActiveVolume().
|
inline |
Height is associated with y coordinate [cm].
Definition at line 108 of file TPCGeo.h.
References HalfHeight().
Referenced by PrintTPCInfo().
|
inline |
Returns the direction Height()
is measured on.
Definition at line 121 of file TPCGeo.h.
References fHeightDir.
Referenced by PrintTPCInfo().
|
inline |
Returns the identifier of this TPC.
Definition at line 147 of file TPCGeo.h.
References fID.
Referenced by pma::ProjectionMatchingAlg::buildShowerSeg(), detinfo::DetectorPropertiesStandard::DataFor(), evd_tool::ICARUSDrawer::DetOutline3D(), geo::CryostatGeo::PositionToTPCID(), geo::GeometryCore::PositionToTPCID(), PrintTPCInfo(), detsim::DriftElectronstoPlane::produce(), trkf::PMAlgTrackMaker::produce(), pma::ProjectionMatchingAlg::TestTrk_(), trkf::CosmicTrackerAlg::TrackTrajectory(), geo::WireReadoutGeom::UpdateAfterSorting(), and pma::Node3D::UpdateProj2D().
|
inlineinherited |
Returns whether TPC fiducial volume contains world x coordinate.
x | the absolute ("world") coordinate x |
neg_margin | how far within the TPC the fiducial region starts |
pos_margin | how far before the TPC the fiducial region ends |
The fiducial volume is defined by the specified margins, that denote how much of the coordinate is not fiducial. For example,
bool bWithin = tpc->InFiducialX(x, 5., 8.);
on a TPC with x from 0 to 100 (cm, presumably) will return true for all x
between 5 and 92. If positive margin is not specified, it's assumed to be the same as the negative one. Specifying a negative mergin effectively extends the TPC volume. Note that x is by definition the drift direction, and a reconstructed x typically depends on an assumption respect to the event time.
Definition at line 241 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxX(), and geo::BoxBoundedGeo::MinX().
|
inlineinherited |
Returns whether TPC fiducial volume contains world x coordinate.
Margins are symmetric.
Definition at line 251 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::InFiducialX().
Referenced by geo::BoxBoundedGeo::InFiducialX().
|
inlineinherited |
Returns whether TPC fiducial volume contains world y coordinate.
y | the absolute ("world") coordinate y |
neg_margin | how far within the TPC the fiducial region starts |
pos_margin | how far before the TPC the fiducial region ends |
The fiducial volume is defined by the specified margins, that denote how much of the coordinate is not fiducial. For example,
bool bWithin = tpc->InFiducialY(y, 5., 8.);
on a TPC with y from 0 to 100 (cm, presumably) will return true for all y
between 5 and 92. If positive margin is not specified, it's assumed to be the same as the negative one. Specifying a negative mergin effectively extends the TPC volume.
Definition at line 271 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxY(), and geo::BoxBoundedGeo::MinY().
|
inlineinherited |
Returns whether TPC fiducial volume contains world y coordinate.
Margins are symmetric.
Definition at line 281 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::InFiducialY().
Referenced by geo::BoxBoundedGeo::InFiducialY().
|
inlineinherited |
Returns whether TPC fiducial volume contains world z coordinate.
z | the absolute ("world") coordinate y |
neg_margin | how far within the TPC the fiducial region starts |
pos_margin | how far before the TPC the fiducial region ends |
The fiducial volume is defined by the specified margins, that denote how much of the coordinate is not fiducial. For example,
bool bWithin = tpc->InFiducialZ(z, 5., 8.);
on a TPC with z from 0 to 100 (cm, presumably) will return true for all z
between 5 and 92. If positive margin is not specified, it's assumed to be the same as the negative one. Specifying a negative mergin effectively extends the TPC volume.
Definition at line 301 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::CoordinateContained(), geo::BoxBoundedGeo::MaxZ(), and geo::BoxBoundedGeo::MinZ().
|
inlineinherited |
Returns whether TPC fiducial volume contains world z coordinate.
Margins are symmetric.
Definition at line 311 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::InFiducialZ().
Referenced by geo::BoxBoundedGeo::InFiducialZ().
|
private |
Recomputes the TPC boundary.
Definition at line 179 of file TPCGeo.cxx.
References ActiveHalfHeight(), ActiveHalfLength(), ActiveHalfWidth(), fActiveBox, GetActiveVolumeCenter(), HalfHeight(), HalfLength(), HalfWidth(), geo::BoxBoundedGeo::SetBoundaries(), and toWorldCoords().
Referenced by TPCGeo().
|
inline |
Length is associated with z coordinate [cm].
Definition at line 110 of file TPCGeo.h.
References fLength.
Referenced by lar::example::AnalysisExample::analyze(), evd_tool::ICARUSDrawer::DetOutline3D(), cluster::ClusterCrawlerAlg::FindHammerClusters(), lar_cluster3d::StandardHit3DBuilder::NearestWireID(), lar_cluster3d::SnippetHit3DBuilder::NearestWireID(), PrintTPCInfo(), evgen::CosmicsGen::produce(), trkf::CCTrackMaker::TagCosmics(), apa::APAGeometryAlg::ThreeChanPos(), evd::RecoBaseDrawer::Vertex2D(), and cluster::ClusterCrawlerAlg::VtxMatch().
|
inline |
Returns the direction Length()
is measured on.
Definition at line 124 of file TPCGeo.h.
References fLengthDir.
Referenced by PrintTPCInfo().
|
inlineinherited |
Returns the corner point with the largest coordinates.
Definition at line 136 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max.
Referenced by geo::WireReadoutDumper::dumpDetectorInfo(), geo::BoxBoundedGeo::ExtendToInclude(), geo::BoxBoundedGeo::GetIntersections(), geo::GeometryCore::MaterialName(), geo::CryostatGeo::PrintCryostatInfo(), and PrintTPCInfo().
|
inlineinherited |
Returns the world x coordinate of the end of the box.
Definition at line 91 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max.
Referenced by geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterX(), geo::BoxBoundedGeo::ContainsX(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialX(), evd::SimulationDrawer::MCTruthOrtho(), geo::BoxBoundedGeo::OverlapsX(), geo::BoxBoundedGeo::SizeX(), and geo::GeometryCore::WorldBox().
|
inlineinherited |
Returns the world y coordinate of the end of the box.
Definition at line 106 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max.
Referenced by geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterY(), geo::BoxBoundedGeo::ContainsY(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialY(), pma::Node3D::Node3D(), geo::BoxBoundedGeo::OverlapsY(), tca::SaveCRInfo(), geo::BoxBoundedGeo::SizeY(), and geo::GeometryCore::WorldBox().
|
inlineinherited |
Returns the world z coordinate of the end of the box.
Definition at line 121 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max.
Referenced by geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterZ(), geo::BoxBoundedGeo::ContainsZ(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialZ(), pma::Node3D::Node3D(), geo::BoxBoundedGeo::OverlapsZ(), tca::SaveCRInfo(), geo::BoxBoundedGeo::SizeZ(), and geo::GeometryCore::WorldBox().
|
inlineinherited |
Returns the corner point with the smallest coordinates.
Definition at line 133 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_min.
Referenced by geo::WireReadoutDumper::dumpDetectorInfo(), geo::BoxBoundedGeo::ExtendToInclude(), geo::BoxBoundedGeo::GetIntersections(), geo::GeometryCore::MaterialName(), geo::CryostatGeo::PrintCryostatInfo(), and PrintTPCInfo().
|
inlineinherited |
Returns the world x coordinate of the start of the box.
Definition at line 88 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_min.
Referenced by opdet::SimPhotonCounter::beginJob(), geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterX(), geo::BoxBoundedGeo::ContainsX(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialX(), pma::Track3D::InitFromMiddle(), evd::SimulationDrawer::MCTruthOrtho(), geo::BoxBoundedGeo::OverlapsX(), evgen::ActiveVolumeVertexSampler::sample_vertex_pos(), geo::BoxBoundedGeo::SizeX(), and geo::GeometryCore::WorldBox().
|
inlineinherited |
Returns the world y coordinate of the start of the box.
Definition at line 103 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_min.
Referenced by geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterY(), geo::BoxBoundedGeo::ContainsY(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialY(), pma::Node3D::Node3D(), geo::BoxBoundedGeo::OverlapsY(), tca::SaveCRInfo(), geo::BoxBoundedGeo::SizeY(), and geo::GeometryCore::WorldBox().
|
inlineinherited |
Returns the world z coordinate of the start of the box.
Definition at line 118 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_min.
Referenced by geo::CryostatGeo::Boundaries(), geo::BoxBoundedGeo::CenterZ(), geo::BoxBoundedGeo::ContainsZ(), evd_tool::ProtoDUNEDrawer::DrawBoxBoundedGeoOutline(), evd_tool::StandardDrawer::DrawBoxBoundedGeoOutline(), geo::BoxBoundedGeo::InFiducialZ(), pma::Node3D::Node3D(), geo::BoxBoundedGeo::OverlapsZ(), tca::SaveCRInfo(), geo::BoxBoundedGeo::SizeZ(), and geo::GeometryCore::WorldBox().
|
static |
Definition at line 213 of file TPCGeo.cxx.
Referenced by Hash(), geo::GeometryBuilderStandard::makeTPC(), and TPCGeo().
|
inlineinherited |
Returns if this and other
box overlap.
Definition at line 338 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::OverlapsX(), geo::BoxBoundedGeo::OverlapsY(), and geo::BoxBoundedGeo::OverlapsZ().
|
inlineinherited |
Returns if the x coordinates covered by this and other
box overlap.
Definition at line 320 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxX(), and geo::BoxBoundedGeo::MinX().
Referenced by geo::BoxBoundedGeo::Overlaps().
|
inlineinherited |
Returns if the y coordinates covered by this and other
box overlap.
Definition at line 326 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxY(), and geo::BoxBoundedGeo::MinY().
Referenced by geo::BoxBoundedGeo::Overlaps().
|
inlineinherited |
Returns if the z coordinates covered by this and other
box overlap.
Definition at line 332 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxZ(), and geo::BoxBoundedGeo::MinZ().
Referenced by geo::BoxBoundedGeo::Overlaps().
void geo::TPCGeo::PrintTPCInfo | ( | Stream && | out, |
std::string | indent = "" , |
||
unsigned int | verbosity = 1 |
||
) | const |
Prints information about this TPC.
Stream | type of output stream to use |
out | stream to send the information to |
indent | prepend each line with this string |
verbosity | amount of information printed |
Note that the first line out the output is not indented.
The constant MaxVerbosity
is set to the highest supported verbosity level.
Definition at line 271 of file TPCGeo.h.
References ActiveBoundingBox(), ActiveHeight(), ActiveLength(), ActiveWidth(), BoundingBox(), DriftDir(), DriftDistance(), GetCathodeCenter(), GetCenter(), GetFrontFaceCenter(), Height(), HeightDir(), ID(), Length(), LengthDir(), geo::BoxBoundedGeo::Max(), geo::BoxBoundedGeo::Min(), Width(), and WidthDir().
Referenced by geo::GeometryCore::Print(), toLocalCoords(), and TPCInfo().
Sets var to value if value is larger than the current var value.
Definition at line 472 of file BoxBoundedGeo.h.
References value.
Referenced by geo::BoxBoundedGeo::ExtendToInclude().
|
inlinestaticinherited |
Sets each coordinate of var to the one in value if the latter is larger.
Definition at line 486 of file BoxBoundedGeo.h.
Sets var to value if value is smaller than the current var value.
Definition at line 466 of file BoxBoundedGeo.h.
References value.
Referenced by geo::BoxBoundedGeo::ExtendToInclude().
|
inlinestaticinherited |
Sets each coordinate of var to the one in value if the latter is smaller.
Definition at line 478 of file BoxBoundedGeo.h.
|
inlineinherited |
Sets the boundaries in world coordinates as specified.
x_min | lower x coordinate |
x_max | upper x coordinate |
y_min | lower y coordinate |
y_max | upper y coordinate |
z_min | lower z coordinate |
z_max | upper z coordinate |
Definition at line 391 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max, geo::BoxBoundedGeo::c_min, and geo::BoxBoundedGeo::SortCoordinates().
Referenced by geo::PlaneGeo::BoundingBox(), geo::CryostatGeo::InitCryoBoundaries(), and InitTPCBoundaries().
Sets the boundaries in world coordinates as specified.
lower | lower coordinates (x, y, z) |
upper | upper coordinates (x, y, z) |
Definition at line 408 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::c_max, geo::BoxBoundedGeo::c_min, and geo::BoxBoundedGeo::SortCoordinates().
|
inlineinherited |
Returns the full size in the X dimension.
Definition at line 97 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxX(), and geo::BoxBoundedGeo::MinX().
Referenced by geo::WireReadoutDumper::dumpDetectorInfo(), and geo::BoxBoundedGeo::HalfSizeX().
|
inlineinherited |
Returns the full size in the Y dimension.
Definition at line 112 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxY(), and geo::BoxBoundedGeo::MinY().
Referenced by geo::WireReadoutDumper::dumpDetectorInfo(), and geo::BoxBoundedGeo::HalfSizeY().
|
inlineinherited |
Returns the full size in the Z dimension.
Definition at line 127 of file BoxBoundedGeo.h.
References geo::BoxBoundedGeo::MaxZ(), and geo::BoxBoundedGeo::MinZ().
Referenced by geo::WireReadoutDumper::dumpDetectorInfo(), and geo::BoxBoundedGeo::HalfSizeZ().
|
inline |
Transform point from world frame to local TPC frame.
Definition at line 161 of file TPCGeo.h.
References fTrans, and geo::LocalTransformationGeo< StoredMatrix, LocalPoint, LocalVector >::toLocalCoords().
|
inline |
Transform direction vector from world to local.
Definition at line 164 of file TPCGeo.h.
References fTrans, art::detail::indent(), PrintTPCInfo(), geo::LocalTransformationGeo< StoredMatrix, LocalPoint, LocalVector >::toLocalCoords(), TPCInfo(), and UpdateAfterSorting().
|
inline |
Returns the expected drift direction based on geometry.
The current implementation is based on the assumption that electrons in the middle of TPC will drift toward the wire planes, and it "never fails".
Definition at line 115 of file TPCGeo.h.
References fTotalVolume.
|
inline |
Transform point from local TPC frame to world frame.
Definition at line 155 of file TPCGeo.h.
References fTrans, and geo::LocalTransformationGeo< StoredMatrix, LocalPoint, LocalVector >::toWorldCoords().
Referenced by GetCenter(), and InitTPCBoundaries().
|
inline |
Transform direction vector from local to world.
Definition at line 158 of file TPCGeo.h.
References fTrans, and geo::LocalTransformationGeo< StoredMatrix, LocalPoint, LocalVector >::toWorldCoords().
std::string geo::TPCGeo::TPCInfo | ( | std::string | indent = "" , |
unsigned int | verbosity = 1 |
||
) | const |
Returns a string with information about this TPC.
PrintTPCInfo()
Arguments and provided information are the same as in PrintTPCInfo()
.
Definition at line 171 of file TPCGeo.cxx.
References PrintTPCInfo().
Referenced by toLocalCoords().
void geo::TPCGeo::UpdateAfterSorting | ( | TPCID | tpcid | ) |
Performs all updates after cryostat has sorted TPCs.
Definition at line 207 of file TPCGeo.cxx.
References fID.
Referenced by toLocalCoords().
|
inline |
Width is associated with x coordinate [cm].
Definition at line 104 of file TPCGeo.h.
References HalfWidth().
Referenced by PrintTPCInfo().
|
inline |
Returns the direction Width()
is measured on.
Definition at line 118 of file TPCGeo.h.
References fWidthDir.
Referenced by PrintTPCInfo().
|
private |
Box of the active volume.
Definition at line 257 of file TPCGeo.h.
Referenced by ActiveBoundingBox(), and InitTPCBoundaries().
|
private |
Center of the active volume, in world coordinates [cm].
Definition at line 244 of file TPCGeo.h.
Referenced by GetActiveVolumeCenter(), and TPCGeo().
|
private |
Half height of active volume.
Definition at line 247 of file TPCGeo.h.
Referenced by ActiveHalfHeight(), and TPCGeo().
|
private |
Half width of active volume.
Definition at line 246 of file TPCGeo.h.
Referenced by ActiveHalfWidth(), and TPCGeo().
|
private |
Length of active volume.
Definition at line 248 of file TPCGeo.h.
Referenced by ActiveHalfLength(), ActiveLength(), and TPCGeo().
|
private |
Active volume of LAr, called volTPCActive in GDML file.
Definition at line 242 of file TPCGeo.h.
Referenced by ActiveMass(), ActiveVolume(), and TPCGeo().
|
private |
Definition at line 238 of file TPCGeo.h.
Referenced by DriftAxisWithSign(), and TPCGeo().
|
private |
Definition at line 239 of file TPCGeo.h.
Referenced by DriftDir(), and TPCGeo().
|
private |
Definition at line 240 of file TPCGeo.h.
Referenced by DriftDistance(), and TPCGeo().
|
private |
Half height of total volume.
Definition at line 250 of file TPCGeo.h.
Referenced by HalfHeight(), and TPCGeo().
|
private |
Half width of total volume.
Definition at line 249 of file TPCGeo.h.
Referenced by HalfWidth(), and TPCGeo().
|
private |
Direction height refers to.
Definition at line 254 of file TPCGeo.h.
Referenced by HeightDir(), and TPCGeo().
|
private |
ID of this TPC.
Definition at line 259 of file TPCGeo.h.
Referenced by ID(), and UpdateAfterSorting().
|
private |
Length of total volume.
Definition at line 251 of file TPCGeo.h.
Referenced by HalfLength(), Length(), and TPCGeo().
Direction length refers to.
Definition at line 255 of file TPCGeo.h.
Referenced by LengthDir(), and TPCGeo().
|
private |
Total volume of TPC, called volTPC in GDML file.
Definition at line 243 of file TPCGeo.h.
Referenced by TotalVolume(), and TPCGeo().
|
private |
TPC-to-world transformation.
Definition at line 236 of file TPCGeo.h.
Referenced by toLocalCoords(), toWorldCoords(), and TPCGeo().
Direction width refers to.
Definition at line 253 of file TPCGeo.h.
Referenced by TPCGeo(), and WidthDir().
|
static |
Maximum verbosity supported by PrintTPCInfo()
.
Definition at line 204 of file TPCGeo.h.
Referenced by geo::GeometryCore::Print().