![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Interface for a class providing readout channel mapping to geometry. More...
#include "WireReadoutGeom.h"
Public Types | |
using | Segment = std::pair< Point_t, Point_t > |
Public Member Functions | |
WireReadoutGeom (GeometryCore const *geom, std::unique_ptr< WireReadoutGeometryBuilder > builder, std::unique_ptr< WireReadoutSorter > sorter) | |
virtual | ~WireReadoutGeom () |
unsigned int | MaxPlanes () const |
Returns the largest number of planes among all TPCs in this detector. More... | |
unsigned int | Nviews () const |
Returns the number of views (different wire orientations) More... | |
std::set< View_t > const & | Views () const |
Returns a list of possible views in the detector. More... | |
std::set< View_t > | Views (TPCID const &tpcid) const |
void | WireEndPoints (WireID const &wireid, double *xyzStart, double *xyzEnd) const |
Fills two arrays with the coordinates of the wire end points. More... | |
double | ThirdPlane_dTdW (PlaneID const &pid1, double slope1, PlaneID const &pid2, double slope2, PlaneID const &output_plane) const |
Returns dT/dW on the third plane, given it in the other two. More... | |
double | ThirdPlane_dTdW (PlaneID const &pid1, double slope1, PlaneID const &pid2, double slope2) const |
Returns dT/dW on the third plane, given it in the other two. More... | |
double | Plane0Pitch (TPCID const &tpcid, unsigned int p1) const |
double | PlanePitch (TPCID const &tpcid, unsigned int p1=0, unsigned int p2=1) const |
bool | HasPlane (PlaneID const &planeid) const |
Returns whether we have the specified plane. More... | |
bool | HasElement (PlaneID const &planeid) const |
Returns whether we have the specified plane. More... | |
unsigned int | Nplanes (TPCID const &tpcid=details::tpc_zero) const |
Returns the total number of planes in the specified TPC. More... | |
unsigned int | NElements (TPCID const &tpcid) const |
Returns the total number of planes in the specified TPC. More... | |
unsigned int | NSiblingElements (PlaneID const &planeid) const |
Returns the total number of planes in the specified TPC. More... | |
PlaneGeo const & | FirstPlane (TPCID const &tpcid) const |
Returns the first plane of the specified TPC. More... | |
PlaneGeo const & | Plane (TPCID const &tpcid, View_t view) const |
Returns the specified wire. More... | |
PlaneGeo const & | Plane (PlaneID const &planeid) const |
Returns the specified wire. More... | |
PlaneGeo const & | GetElement (PlaneID const &planeid) const |
Returns the specified wire. More... | |
PlaneGeo const * | PlanePtr (PlaneID const &planeid) const |
Returns the specified plane. More... | |
PlaneGeo const * | GetElementPtr (PlaneID const &planeid) const |
Returns the specified plane. More... | |
Wire details | |
unsigned int | MaxWires () const |
Returns the total number of wires in the specified plane. More... | |
unsigned int | Nwires (PlaneID const &planeid) const |
Returns the total number of wires in the specified plane. More... | |
unsigned int | NElements (PlaneID const &planeid) const |
Returns the total number of wires in the specified plane. More... | |
unsigned int | NSiblingElements (WireID const &wireid) const |
Returns the total number of wires in the specified plane. More... | |
bool | HasWire (WireID const &wireid) const |
Returns whether we have the specified wire. More... | |
bool | HasElement (WireID const &wireid) const |
Returns whether we have the specified wire. More... | |
WireGeo const * | WirePtr (WireID const &wireid) const |
Returns the specified wire. More... | |
WireGeo const * | GetElementPtr (WireID const &wireid) const |
Returns the specified wire. More... | |
WireGeo const & | Wire (WireID const &wireid) const |
Returns the specified wire. More... | |
WireGeo const & | GetElement (WireID const &wireid) const |
Returns the specified wire. More... | |
Segment | WireEndPoints (WireID const &wireid) const |
Returns a segment whose ends are the wire end points. More... | |
Wire access and information | |
double | WireAngleToVertical (View_t view, TPCID const &tpcid) const |
Returns the angle of the wires in the specified view from vertical. More... | |
bool | WireIDsIntersect (WireID const &wid1, WireID const &wid2, Point_t &intersection) const |
Computes the intersection between two wires. More... | |
std::optional< WireIDIntersection > | WireIDsIntersect (WireID const &wid1, WireID const &wid2) const |
Computes the intersection between two wires. More... | |
Wire geometry queries | |
Please note the differences between functions: ChannelsIntersect(), WireIDsIntersect() and IntersectionPoint() all calculate wires intersection using the same equation. ChannelsIntersect() and WireIdsIntersect() will return true if the two wires cross, return false if they don't. IntersectionPoint() does not check if the two wires cross. | |
PlaneID | ThirdPlane (PlaneID const &pid1, PlaneID const &pid2) const |
Returns the plane that is not in the specified arguments. More... | |
double | ThirdPlaneSlope (PlaneID const &pid1, double slope1, PlaneID const &pid2, double slope2, PlaneID const &output_plane) const |
Returns the slope on the third plane, given it in the other two. More... | |
double | ThirdPlaneSlope (PlaneID const &pid1, double slope1, PlaneID const &pid2, double slope2) const |
Returns the slope on the third plane, given it in the other two. More... | |
double | ThirdPlaneSlope (PlaneID::PlaneID_t plane1, double slope1, PlaneID::PlaneID_t plane2, double slope2, TPCID const &tpcid) const |
Returns the slope on the third plane, given it in the other two. More... | |
TPC channel mapping | |
virtual unsigned int | Nchannels () const =0 |
Returns the total number of channels present (not necessarily contiguous) More... | |
virtual unsigned int | Nchannels (readout::ROPID const &ropid) const =0 |
Returns the number of channels in the specified ROP. More... | |
std::vector< raw::ChannelID_t > | ChannelsInTPCs () const |
Returns an std::vector<ChannelID_t> in all TPCs in a TPCSet. More... | |
virtual bool | HasChannel (raw::ChannelID_t channel) const |
Returns whether the specified channel is valid This default implementation assumes all channels up to Nchannels() valid. More... | |
virtual std::vector< WireID > | ChannelToWire (raw::ChannelID_t channel) const =0 |
View_t | View (raw::ChannelID_t const channel) const |
Returns the view (wire orientation) on the specified TPC channel. More... | |
View_t | View (readout::ROPID const &ropid) const |
Returns the view of the channels in the specified readout plane. More... | |
SigType_t | SignalType (PlaneID const &pid) const |
Returns the type of signal on the channels of specified TPC plane. More... | |
SigType_t | SignalType (raw::ChannelID_t const channel) const |
Return the signal type of the specified channel. More... | |
SigType_t | SignalType (readout::ROPID const &ropid) const |
Return the signal type on the specified readout plane. More... | |
raw::ChannelID_t | NearestChannel (Point_t const &worldLoc, PlaneID const &planeid) const |
Returns the ID of the channel nearest to the specified position. More... | |
std::optional< WireIDIntersection > | ChannelsIntersect (raw::ChannelID_t c1, raw::ChannelID_t c2) const |
Returns an intersection point of two channels. More... | |
virtual std::set< PlaneID > const & | PlaneIDs () const =0 |
Returns a list of the plane IDs in the whole detector. More... | |
virtual raw::ChannelID_t | PlaneWireToChannel (WireID const &wireID) const =0 |
Returns the channel ID a wire is connected to. More... | |
Optical detector channel mapping | |
virtual unsigned int | NOpChannels (unsigned int NOpDets) const |
Returns the number of optical channels contained in some detectors. More... | |
unsigned int | NOpChannels () const |
Number of electronics channels for all the optical detectors. More... | |
unsigned int | MaxOpChannel () const |
Largest optical channel number. More... | |
bool | IsValidOpChannel (int opChannel) const |
Is this a valid OpChannel number? More... | |
virtual unsigned int | MaxOpChannel (unsigned int NOpDets) const |
Returns the number of optical channels contained in some detectors. More... | |
virtual unsigned int | NOpHardwareChannels (unsigned int opDet) const |
Returns the number of channels in the specified optical detectors. More... | |
virtual bool | IsValidOpChannel (unsigned int opChannel, unsigned int NOpDets) const |
Returns whether the ID identifies a valid optical detector channel. More... | |
virtual unsigned int | OpChannel (unsigned int detNum, unsigned int hwchannel=0) const |
Returns the channel ID of the specified hardware channel. More... | |
virtual unsigned int | OpDetFromOpChannel (unsigned int opChannel) const |
Returns the optical detector the specified optical channel belongs. More... | |
OpDetGeo const & | OpDetGeoFromOpChannel (unsigned int opChannel) const |
Returns the optical detector the specified optical channel belongs. More... | |
virtual unsigned int | HardwareChannelFromOpChannel (unsigned int opChannel) const |
Returns the hardware channel number of specified optical channel. More... | |
Mapping of position to wires | |
virtual double | WireCoordinate (double YPos, double ZPos, PlaneID const &planeID) const =0 |
Returns the index of the wire nearest to the specified position. More... | |
virtual WireID | NearestWireID (Point_t const &worldPos, PlaneID const &planeID) const =0 |
Returns the ID of the wire nearest to the specified position. More... | |
TPC set mapping | |
virtual unsigned int | NTPCsets (readout::CryostatID const &cryoid) const =0 |
Returns the total number of TPC sets in the specified cryostat. More... | |
virtual unsigned int | MaxTPCsets () const =0 |
Returns the largest number of TPC sets any cryostat in the detector has. More... | |
virtual bool | HasTPCset (readout::TPCsetID const &tpcsetid) const =0 |
readout::TPCsetID | FindTPCsetAtPosition (Point_t const &worldLoc) const |
Returns the total number of TPC sets in the specified cryostat. More... | |
virtual readout::TPCsetID | TPCtoTPCset (TPCID const &tpcid) const =0 |
Returns the ID of the TPC set tpcid belongs to. More... | |
virtual std::vector< TPCID > | TPCsetToTPCs (readout::TPCsetID const &tpcsetid) const =0 |
Returns a list of ID of TPCs belonging to the specified TPC set. More... | |
virtual TPCID | FirstTPCinTPCset (readout::TPCsetID const &tpcsetid) const =0 |
Returns the ID of the first TPC belonging to the specified TPC set. More... | |
Readout plane mapping | |
virtual unsigned int | NROPs (readout::TPCsetID const &tpcsetid) const =0 |
Returns the total number of ROP in the specified TPC set. More... | |
virtual unsigned int | MaxROPs () const =0 |
Returns the largest number of ROPs a TPC set in the detector has. More... | |
virtual bool | HasROP (readout::ROPID const &ropid) const =0 |
virtual readout::ROPID | WirePlaneToROP (PlaneID const &planeid) const =0 |
Returns the ID of the ROP planeid belongs to. More... | |
virtual std::vector< PlaneID > | ROPtoWirePlanes (readout::ROPID const &ropid) const =0 |
Returns a list of ID of planes belonging to the specified ROP. More... | |
virtual PlaneID | FirstWirePlaneInROP (readout::ROPID const &ropid) const =0 |
Returns the ID of the first plane belonging to the specified ROP. More... | |
virtual std::vector< TPCID > | ROPtoTPCs (readout::ROPID const &ropid) const =0 |
Returns a list of ID of TPCs the specified ROP spans. More... | |
virtual readout::ROPID | ChannelToROP (raw::ChannelID_t channel) const =0 |
Returns the ID of the ROP the channel belongs to. More... | |
virtual raw::ChannelID_t | FirstChannelInROP (readout::ROPID const &ropid) const =0 |
Returns the ID of the first channel in the specified readout plane. More... | |
Testing (not in the interface) | |
std::vector< std::vector< std::vector< raw::ChannelID_t > > > const & | FirstChannelInNextPlane () const |
Retrieve the private fFirstChannelInNextPlane vector for testing. More... | |
std::vector< std::vector< std::vector< raw::ChannelID_t > > > const & | FirstChannelInThisPlane () const |
Retrieve the private fFirstChannelInThisPlane vector for testing. More... | |
Static Public Member Functions | |
static auto const & | start (Segment const &s) |
static auto const & | finish (Segment const &s) |
static double | ComputeThirdPlaneSlope (double angle1, double slope1, double angle2, double slope2, double angle_target) |
Returns the slope on the third plane, given it in the other two. More... | |
static double | ComputeThirdPlane_dTdW (double angle1, double pitch1, double dTdW1, double angle2, double pitch2, double dTdW2, double angle_target, double pitch_target) |
Returns the slope on the third plane, given it in the other two. More... | |
Protected Types | |
template<typename T > | |
using | TPCInfoMap_t = std::vector< std::vector< T >> |
Data type for per-TPC information. More... | |
template<typename T > | |
using | PlaneInfoMap_t = TPCInfoMap_t< std::vector< T >> |
Data type for per-plane information. More... | |
Protected Member Functions | |
virtual SigType_t | SignalTypeForChannelImpl (raw::ChannelID_t const channel) const =0 |
Return the signal type of the specified channel. More... | |
virtual SigType_t | SignalTypeForROPIDImpl (readout::ROPID const &ropid) const |
Return the signal type on the specified readout plane. More... | |
template<typename T > | |
T const & | AccessElement (PlaneInfoMap_t< T > const &map, PlaneID const &id) const |
Returns the specified element of the plane map. More... | |
template<typename T > | |
size_t | AccessElementSize (PlaneInfoMap_t< T > const &map, TPCID const &id) const |
Returns the number of elements in the specified TPC of the plane map. More... | |
template<typename T > | |
T const * | GetElementPtr (PlaneInfoMap_t< T > const &map, PlaneID const &id) const |
Returns a pointer to the specified element, or nullptr if invalid. More... | |
Internal structure data access | |
These functions allow access to the XxxInfoMap_t types based on geometry element IDs. They are strictly internal. | |
template<typename T > | |
T const & | AccessElement (TPCInfoMap_t< T > const &map, TPCID const &id) const |
Returns the specified element of the TPC map. More... | |
template<typename T > | |
size_t | AccessElementSize (TPCInfoMap_t< T > const &map, CryostatID const &id) const |
Returns the number of elements in the specified cryostat of the TPC map. More... | |
template<typename T > | |
bool | isValidElement (TPCInfoMap_t< T > const &map, CryostatID const &id) const |
Returns whether the ID specifies a valid entry. More... | |
template<typename T > | |
bool | isValidElement (TPCInfoMap_t< T > const &map, TPCID const &id) const |
Returns the specified element of the TPC map. More... | |
template<typename T > | |
bool | isValidElement (PlaneInfoMap_t< T > const &map, CryostatID const &id) const |
Returns whether the ID specifies a valid entry. More... | |
template<typename T > | |
bool | isValidElement (PlaneInfoMap_t< T > const &map, TPCID const &id) const |
Returns whether the ID specifies a valid entry. More... | |
template<typename T > | |
bool | isValidElement (PlaneInfoMap_t< T > const &map, PlaneID const &id) const |
Returns whether the ID specifies a valid entry. More... | |
Protected Attributes | |
PlaneInfoMap_t< raw::ChannelID_t > | fFirstChannelInThisPlane |
PlaneInfoMap_t< raw::ChannelID_t > | fFirstChannelInNextPlane |
Private Types | |
using | Iteration = Iterable< details::ReadoutIterationPolicy, details::ToReadoutGeometryElement > |
using | range_type = details::RangeType< iterator_type< T >, id_sentinel_for< T >> |
Private Member Functions | |
bool | WireIDIntersectionCheck (WireID const &wid1, WireID const &wid2) const |
Wire ID check for WireIDsIntersect methods. More... | |
void | ResetDriftDirection (TPCID const &tpcid) |
Recomputes the drift direction; needs planes to have been initialised. More... | |
void | UpdateAfterSorting (TPCGeo const &tpc, std::vector< PlaneGeo > &planes) |
void | SortPlanes (TPCID const &tpcid, std::vector< PlaneGeo > &planes) const |
Sorts (in place) the specified PlaneGeo objects by drift distance. More... | |
void | SortSubVolumes (std::vector< PlaneGeo > &planes, Compare< WireGeo > compareWires) const |
iterator_type< T > | begin () const |
iterator_type< T > | begin (BaseID const &id) const |
id_sentinel_for< T > | end () const |
id_sentinel_for< T > | end (BaseID const &id) const |
range_type< T > | Iterate () const |
range_type< T > | Iterate (ID const &id) const |
Private Attributes | |
std::map< TPCID, std::vector< PlaneGeo > > | fPlanes |
std::map< TPCID, std::vector< double > > | fPlane0Pitch |
Pitch between planes. More... | |
std::set< View_t > | allViews |
All views in the detector. More... | |
GeometryCore const * | fGeom |
Interface for a class providing readout channel mapping to geometry.
isValid
flag unset, or, in case of channel IDs, an ID with value raw::InvalidChannelID
. An ID that does not present this feature is by definition "valid"; this does not imply that the represented entity (channel, geometry entity or readout group) actually exists. The behaviour of the methods to valid, non-existent IDs should be considered undefined, and it is recommended that the existence of the entity is checked beforehand. Unless the documentation explicitly defines a behaviour, an undefined behaviour should be assumed; nevertheless, the documentation of some of the methods still reminds of this. Definition at line 52 of file WireReadoutGeom.h.
|
private |
Definition at line 54 of file WireReadoutGeom.h.
|
protected |
Data type for per-plane information.
Definition at line 982 of file WireReadoutGeom.h.
|
inherited |
Definition at line 118 of file Iterable.h.
using geo::WireReadoutGeom::Segment = std::pair<Point_t, Point_t> |
Definition at line 62 of file WireReadoutGeom.h.
|
protected |
Data type for per-TPC information.
Definition at line 978 of file WireReadoutGeom.h.
|
explicit |
Definition at line 67 of file WireReadoutGeom.cxx.
References allViews, fGeom, fPlane0Pitch, fPlanes, geo::Iterable< IterationPolicy, Transform >::Iterate(), SortPlanes(), SortSubVolumes(), UpdateAfterSorting(), Views(), and ~WireReadoutGeom().
|
virtualdefault |
Referenced by WireReadoutGeom().
|
inlineprotected |
Returns the specified element of the TPC map.
Definition at line 994 of file WireReadoutGeom.h.
Referenced by geo::WireReadoutStandardGeom::FirstChannelInROP(), geo::WireReadoutStandardGeom::NROPs(), geo::WireReadoutStandardGeom::WireCoordinate(), and geo::WireReadoutStandardGeom::WireCount().
|
inlineprotected |
Returns the specified element of the plane map.
Definition at line 1022 of file WireReadoutGeom.h.
|
inlineprotected |
Returns the number of elements in the specified cryostat of the TPC map.
Definition at line 1001 of file WireReadoutGeom.h.
|
inlineprotected |
Returns the number of elements in the specified TPC of the plane map.
Definition at line 1029 of file WireReadoutGeom.h.
|
inlineinherited |
Definition at line 72 of file Iterable.h.
References geo::details::iterator_for().
Referenced by finish().
|
inlineinherited |
Definition at line 85 of file Iterable.h.
References geo::details::iterator_for().
std::optional< WireIDIntersection > geo::WireReadoutGeom::ChannelsIntersect | ( | raw::ChannelID_t | c1, |
raw::ChannelID_t | c2 | ||
) | const |
Returns an intersection point of two channels.
c1 | one channel ID |
c2 | the other channel ID |
what happens for channels from different TPCs?
what happens for channels with multiple intersection points?
Definition at line 543 of file WireReadoutGeom.cxx.
References ChannelToWire(), and WireIDsIntersect().
Referenced by util::GeometryUtilities::GetProjectedPoint(), util::GeometryUtilities::GetYZ(), and HasChannel().
std::vector< raw::ChannelID_t > geo::WireReadoutGeom::ChannelsInTPCs | ( | ) | const |
Returns an std::vector<ChannelID_t> in all TPCs in a TPCSet.
Definition at line 462 of file WireReadoutGeom.cxx.
References Nchannels(), PlaneWireToChannel(), and TPCsetToTPCs().
Referenced by ThirdPlaneSlope().
|
pure virtual |
Returns the ID of the ROP the channel belongs to.
The channel must exist, or be the invalid channel value. With a channel that is not present in the mapping and that is not the invalid channel (raw::InvalidChannelID
), the result is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by reco3d::TripletFinder::FillBadMap(), reco3d::TripletFinder::FillHitMap(), HasChannel(), and View().
|
pure virtual |
Returns a list of TPC wires connected to the specified readout channel ID
cet::exception | (category: "Geometry") if non-existent channel |
Implemented in geo::WireReadoutStandardGeom.
Referenced by apa::APAGeometryAlg::APAChannelsIntersect(), apa::APAGeometryAlg::APAGeometryAlg(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), lar_cluster3d::SnippetHit3DBuilder::BuildChannelStatusVec(), ChannelsIntersect(), apa::APAGeometryAlg::ChanSegsPerSide(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), lar_cluster3d::SnippetHit3DBuilder::CollectArtHits(), apa::DisambigAlg::CompareViews(), reco3d::TripletFinder::FillHitMap(), reco_tool::CandHitStandard::findHitCandidates(), reco_tool::CandHitDerivative::findHitCandidates(), reco_tool::CandHitMorphological::findHitCandidates(), corner::CornerFinderAlg::GrabWires(), HasChannel(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), hit::DisambigCheater::InitHitToWids(), reco3d::IntersectionCache::ISect(), apa::APAGeometryAlg::LineSegChanIntersect(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::MinSpanTreeAlg::MinSpanTreeAlg(), apa::APAGeometryAlg::NearestWireIDOnChan(), hit::RFFHitFinderAlg::Run(), hit::CCHitFinderAlg::RunCCHitFinder(), img::DataProviderAlg::setWireDriftData(), apa::APAGeometryAlg::ThreeChanPos(), and apa::DisambigAlg::TrivialDisambig().
|
static |
Returns the slope on the third plane, given it in the other two.
angle1 | angle or the wires on the first plane |
pitch1 | wire pitch on the first plane |
dTdW1 | slope in dt/dw units as observed on the first plane |
angle2 | angle or the wires on the second plane |
pitch2 | wire pitch on the second plane |
dTdW2 | slope in dt/dw units as observed on the second plane |
angle_target | angle or the wires on the target plane |
pitch_target | wire pitch on the target plane |
The input slope must be specified in dt/dw non-homogeneous coordinates.
This function will return a small slope if both input slopes are small.
Definition at line 730 of file WireReadoutGeom.cxx.
References ComputeThirdPlaneSlope().
Referenced by ThirdPlane_dTdW(), and ThirdPlaneSlope().
|
static |
Returns the slope on the third plane, given it in the other two.
angle1 | angle or the wires on the first plane |
slope1 | slope as observed on the first plane |
angle2 | angle or the wires on the second plane |
slope2 | slope as observed on the second plane |
angle_target | angle or the wires on the target plane |
This function will return a small slope if both input slopes are small.
Definition at line 702 of file WireReadoutGeom.cxx.
References util::abs().
Referenced by ComputeThirdPlane_dTdW(), and ThirdPlaneSlope().
|
inlineinherited |
Definition at line 99 of file Iterable.h.
Referenced by finish(), and WireEndPoints().
|
inlineinherited |
Definition at line 108 of file Iterable.h.
readout::TPCsetID geo::WireReadoutGeom::FindTPCsetAtPosition | ( | Point_t const & | worldLoc | ) | const |
Returns the total number of TPC sets in the specified cryostat.
cryoid | cryostat ID |
Definition at line 576 of file WireReadoutGeom.cxx.
References fGeom, geo::GeometryCore::FindTPCAtPosition(), and TPCtoTPCset().
Referenced by HasChannel().
|
inlinestatic |
Definition at line 64 of file WireReadoutGeom.h.
References geo::Iterable< details::ReadoutIterationPolicy, details::ToReadoutGeometryElement >::begin(), geo::Iterable< details::ReadoutIterationPolicy, details::ToReadoutGeometryElement >::end(), HasPlane(), and geo::Iterable< details::ReadoutIterationPolicy, details::ToReadoutGeometryElement >::Iterate().
Referenced by WireIDsIntersect().
|
inline |
Retrieve the private fFirstChannelInNextPlane vector for testing.
Definition at line 936 of file WireReadoutGeom.h.
References fFirstChannelInThisPlane.
|
pure virtual |
Returns the ID of the first channel in the specified readout plane.
ropid | ID of the readout plane |
Note that this check is performed on the validity of the readout plane ID, that does not necessarily imply that the readout plane specified by the ID actually exists. Check if the ROP exists with HasROP(). The behaviour for non-existing readout planes is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel(), and SignalTypeForROPIDImpl().
|
inline |
Retrieve the private fFirstChannelInThisPlane vector for testing.
Definition at line 942 of file WireReadoutGeom.h.
References fFirstChannelInNextPlane, SignalTypeForChannelImpl(), and SignalTypeForROPIDImpl().
Returns the first plane of the specified TPC.
tpc | ID of the TPC |
cet::exception | (WireReadoutGeom category) if plane not present |
Definition at line 202 of file WireReadoutGeom.cxx.
References PlanePtr().
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons(), trkf::TrackLineFitAlg::TrkLineFit(), DUNE::NeutrinoTrackingEff::truthLength(), and Views().
|
pure virtual |
Returns the ID of the first TPC belonging to the specified TPC set.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
|
pure virtual |
Returns the ID of the first plane belonging to the specified ROP.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel(), and View().
Returns the specified wire.
tpcid | ID of the TPC |
view | number of the requested view |
planeid | ID of the plane |
cet::exception | (GeometryCore category) if cryostat not present |
cet::exception | (TPCOutOfRange category) if no such TPC |
cet::exception | (PlaneOutOfRange category) if no such plane |
The GetElement() method is overloaded and its return depends on the type of ID.
Definition at line 152 of file WireReadoutGeom.h.
References Plane(), and PlanePtr().
Returns the specified wire.
wireid | ID of the wire |
cet::exception | if not found |
The GetElement() method is overloaded and its return depends on the type of ID.
Definition at line 226 of file WireReadoutGeom.h.
References Wire(), and WireEndPoints().
Returns the specified plane.
planeid | plane ID |
The GetElementPtr() method is overloaded and its return depends on the type of ID.
Definition at line 164 of file WireReadoutGeom.h.
References MaxWires(), NElements(), Nwires(), and PlanePtr().
Referenced by geo::WireReadoutStandardGeom::PlaneWireToChannel().
Returns the specified wire.
wireid | wire ID |
The GetElementPtr() method is overloaded and its return depends on the type of ID.
Definition at line 213 of file WireReadoutGeom.h.
References Wire(), and WirePtr().
|
inlineprotected |
Returns a pointer to the specified element, or nullptr if invalid.
Definition at line 1055 of file WireReadoutGeom.h.
|
virtual |
Returns the hardware channel number of specified optical channel.
opChannel | the optical detector channel being queried |
If the specified optical channel is invalid, behaviour is undefined.
Definition at line 426 of file WireReadoutGeom.cxx.
Referenced by HasChannel(), and IsValidOpChannel().
|
inlinevirtual |
Returns whether the specified channel is valid This default implementation assumes all channels up to Nchannels() valid.
Definition at line 567 of file WireReadoutGeom.h.
References c1, c2, ChannelsIntersect(), ChannelToROP(), ChannelToWire(), FindTPCsetAtPosition(), FirstChannelInROP(), FirstTPCinTPCset(), FirstWirePlaneInROP(), HardwareChannelFromOpChannel(), HasROP(), HasTPCset(), raw::isValidChannelID(), IsValidOpChannel(), MaxOpChannel(), MaxROPs(), MaxTPCsets(), Nchannels(), NearestChannel(), NearestWireID(), NOpChannels(), NOpHardwareChannels(), NROPs(), NTPCsets(), OpChannel(), OpDetFromOpChannel(), OpDetGeoFromOpChannel(), PlaneIDs(), PlaneWireToChannel(), ROPtoTPCs(), ROPtoWirePlanes(), SignalType(), TPCsetToTPCs(), TPCtoTPCset(), View(), WireCoordinate(), and WirePlaneToROP().
|
inline |
Returns whether we have the specified plane.
The HasElement() method is overloaded and its meaning depends on the type of ID.
Definition at line 79 of file WireReadoutGeom.h.
References HasPlane(), MaxPlanes(), Nplanes(), and geo::details::tpc_zero.
|
inline |
Returns whether we have the specified wire.
The HasElement() method is overloaded and its meaning depends on the type of ID.
Definition at line 201 of file WireReadoutGeom.h.
References HasWire(), and WirePtr().
bool geo::WireReadoutGeom::HasPlane | ( | PlaneID const & | planeid | ) | const |
Returns whether we have the specified plane.
The HasElement() method is overloaded and its meaning depends on the type of ID.
Definition at line 188 of file WireReadoutGeom.cxx.
References PlanePtr().
Referenced by pma::ProjectionMatchingAlg::buildShowerSeg(), finish(), pma::ProjectionMatchingAlg::guideEndpoints(), HasElement(), pma::PMAlgTracker::matchCluster(), pma::Node3D::Node3D(), trkf::PMAlgTrajFitter::produce(), and pma::ProjectionMatchingAlg::TestTrk_().
|
pure virtual |
Returns whether we have the specified ROP
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
|
pure virtual |
Returns whether we have the specified TPC set
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
bool geo::WireReadoutGeom::HasWire | ( | WireID const & | wireid | ) | const |
Returns whether we have the specified wire.
The HasElement() method is overloaded and its meaning depends on the type of ID.
Definition at line 256 of file WireReadoutGeom.cxx.
References geo::PlaneGeo::HasWire(), and PlanePtr().
Referenced by tca::FillmAllTraj(), HasElement(), NSiblingElements(), pma::ProjectionMatchingAlg::validate(), pma::ProjectionMatchingAlg::validate_on_adc(), pma::ProjectionMatchingAlg::validate_on_adc_test(), and WireIDIntersectionCheck().
|
inlineprotected |
Returns whether the ID specifies a valid entry.
Definition at line 1009 of file WireReadoutGeom.h.
Referenced by isValidElement().
|
inlineprotected |
Returns the specified element of the TPC map.
Definition at line 1014 of file WireReadoutGeom.h.
References isValidElement().
|
inlineprotected |
Returns whether the ID specifies a valid entry.
Definition at line 1037 of file WireReadoutGeom.h.
|
inlineprotected |
Returns whether the ID specifies a valid entry.
Definition at line 1042 of file WireReadoutGeom.h.
References isValidElement().
|
inlineprotected |
Returns whether the ID specifies a valid entry.
Definition at line 1047 of file WireReadoutGeom.h.
References isValidElement().
bool geo::WireReadoutGeom::IsValidOpChannel | ( | int | opChannel | ) | const |
Is this a valid OpChannel number?
Definition at line 493 of file WireReadoutGeom.cxx.
References fGeom, and geo::GeometryCore::NOpDets().
Referenced by cosmic::BeamFlashTrackMatchTaggerAlg::CheckCompatibility(), HasChannel(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintHypothesisFlashComparison(), and opdet::RunHitFinder().
|
virtual |
Returns whether the ID identifies a valid optical detector channel.
opChannel | channel number |
NOpDets | number of optical detectors in the detector |
The specification of the number of optical channels reflects the logic described in NOpChannel()
.
Definition at line 432 of file WireReadoutGeom.cxx.
References HardwareChannelFromOpChannel(), NOpChannels(), NOpHardwareChannels(), and OpDetFromOpChannel().
|
inlineinherited |
Definition at line 121 of file Iterable.h.
Referenced by finish().
|
inlineinherited |
Definition at line 127 of file Iterable.h.
unsigned int geo::WireReadoutGeom::MaxOpChannel | ( | ) | const |
Largest optical channel number.
Definition at line 487 of file WireReadoutGeom.cxx.
References fGeom, and geo::GeometryCore::NOpDets().
Referenced by cosmic::BeamFlashTrackMatchTaggerAlg::CheckCompatibility(), opdet::ConstructFlash(), HasChannel(), and cosmic::BeamFlashTrackMatchTaggerAlg::PrintHypothesisFlashComparison().
|
virtual |
Returns the number of optical channels contained in some detectors.
NOpDets | number of optical detectors |
This function returns the first optical channel ID larger than the last channel ID in a detector with NOpDets optical detectors (with the same logic as NOpChannels()
). For example, in a detector with 32 channels with contiguous IDs starting at 0, this function would return 32. If the channels started with ID 1, this function would instead return 33 and if there were a 16 channel gap, so that valid channels are from 0 to 15 and from 32 to 47, this function would return 48.
Definition at line 394 of file WireReadoutGeom.cxx.
References NOpChannels().
unsigned int geo::WireReadoutGeom::MaxPlanes | ( | ) | const |
Returns the largest number of planes among all TPCs in this detector.
Definition at line 166 of file WireReadoutGeom.cxx.
References fPlanes.
Referenced by pma::PMAlgTracker::build(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), shower::EMShowerAlg::CheckIsolatedHits_(), img::DataProviderAlg::DataProviderAlg(), trkf::TrackKalmanFitter::doFitWork(), geo::details::ReadoutIterationPolicy::EndPlaneID(), HasElement(), shower::EMShowerAlg::MakeShower(), shower::EMShowerAlg::MakeSpacePoints(), Nviews(), shower::EMShowerAlg::OrderShowerHits(), pma::PMAlgTracker::PMAlgTracker(), shower::EMShowerAlg::RelativeWireWidth_(), trkf::TrackKalmanFitter::sortOutput(), and shower::EMShowerAlg::WorstPlane_().
|
pure virtual |
Returns the largest number of ROPs a TPC set in the detector has.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
|
pure virtual |
Returns the largest number of TPC sets any cryostat in the detector has.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
unsigned int geo::WireReadoutGeom::MaxWires | ( | ) | const |
Returns the total number of wires in the specified plane.
planeid | plane ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 177 of file WireReadoutGeom.cxx.
Referenced by cluster::BlurredClusteringAlg::ConvertRecobHitsToVector(), geo::details::ReadoutIterationPolicy::EndWireID(), and GetElementPtr().
|
pure virtual |
Returns the total number of channels present (not necessarily contiguous)
Implemented in geo::WireReadoutStandardGeom.
Referenced by apa::APAGeometryAlg::APAGeometryAlg(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), lar_cluster3d::SnippetHit3DBuilder::BuildChannelStatusVec(), ChannelsInTPCs(), HasChannel(), and ThirdPlaneSlope().
|
pure virtual |
Returns the number of channels in the specified ROP.
Implemented in geo::WireReadoutStandardGeom.
raw::ChannelID_t geo::WireReadoutGeom::NearestChannel | ( | Point_t const & | worldLoc, |
PlaneID const & | planeid | ||
) | const |
Returns the ID of the channel nearest to the specified position.
worldLoc | 3D coordinates of the point (world reference frame) |
planeid | ID of the wire plane the channel must belong to |
raw::InvalidChannelID
if invalid wire geo::InvalidWireError
exception is thrownDefinition at line 524 of file WireReadoutGeom.cxx.
References raw::InvalidChannelID, geo::PlaneGeo::NearestWireID(), Plane(), and PlaneWireToChannel().
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons(), HasChannel(), and apa::DisambigAlg::TrivialDisambig().
|
pure virtual |
Returns the ID of the wire nearest to the specified position.
worldPos | position to be tested |
planeID | plane containing the wire |
InvalidWireIDError | the ID found is not present in the detector |
The plane is required to be valid and exist in the detector. Otherwise, the behaviour is undefined. An exception is thrown if the wire that would be the closest is actually not present; but no check is performed whether the specified position is outside the wire plane: wires are extrapolated to be infinitely long. In other words, the result can be trusted only as long as the position is within the specified wire plane.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
|
inline |
Returns the total number of planes in the specified TPC.
tpcid | TPC ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 103 of file WireReadoutGeom.h.
References Nplanes().
Referenced by GetElementPtr().
unsigned int geo::WireReadoutGeom::NElements | ( | PlaneID const & | planeid | ) | const |
Returns the total number of wires in the specified plane.
planeid | plane ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
|
virtual |
Returns the number of optical channels contained in some detectors.
NOpDets | number of optical detectors |
This function returns how many channels can be expected to be present in a detector with NOpDets optical detectors. This is an upper limit, as not all channels have necessarily to be present.
For example: if a detector has four channels per optical detector, the returned value will be four times the argument NOpDets. If there is a single channel on each optical detector, the return value will be the value NOpDets (this is in fact the fallback implementation). If each optical detector can have anywhere between 2 and 12 channels, the returned value is 12 times NOpDets, and it will be an overestimation of the number of channels.
Definition at line 387 of file WireReadoutGeom.cxx.
Referenced by opdet::OptDetDigitizer::produce().
unsigned int geo::WireReadoutGeom::NOpChannels | ( | ) | const |
Number of electronics channels for all the optical detectors.
Definition at line 481 of file WireReadoutGeom.cxx.
References fGeom, and geo::GeometryCore::NOpDets().
Referenced by HasChannel(), IsValidOpChannel(), and MaxOpChannel().
|
virtual |
Returns the number of channels in the specified optical detectors.
opDet | ID of the chosen optical detector |
This function returns how many channels are actually present in the optical detector with the specified ID.
For example: if a detector has four channels per optical detector, the returned value will be four, regardless opDet, and . If there is a single channel on each optical detector, the return value will be 1, again ignoring opDet (this is in fact the fallback implementation). If each optical detector can have anywhere between 2 and 12 channels, the returned value will be 2, 12, etc., that is the exact number of channels in opDet.
Although implementations are encouraged to return 0 on invalid optical detectors, the actual return value in that case is undefined.
Definition at line 401 of file WireReadoutGeom.cxx.
Referenced by HasChannel(), and IsValidOpChannel().
unsigned int geo::WireReadoutGeom::Nplanes | ( | TPCID const & | tpcid = details::tpc_zero | ) | const |
Returns the total number of planes in the specified TPC.
tpcid | TPC ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 194 of file WireReadoutGeom.cxx.
References fPlanes.
Referenced by tca::AnalyzeHits(), cluster::SmallClusterFinder::beginJob(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), lar_cluster3d::SnippetHit3DBuilder::BuildChannelStatusVec(), ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), ShowerRecoTools::ShowerLinearEnergy::CalculateElement(), ShowerRecoTools::ShowerNumElectronsEnergy::CalculateElement(), opdet::ConstructFlash(), tca::TrajClusterAlg::CreateSlice(), detinfo::DetectorPropertiesStandard::DataFor(), hit::DisambigCheater::DisambigCheater(), larg4::LArVoxelReadout::DriftIonizationElectrons(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), trkf::CCTrackMaker::FillEndMatch(), trkf::CCTrackMaker::FillWireHitRange(), tca::FillWireHitRange(), tca::FindShowers3D(), trkf::CCTrackMaker::FitVertices(), opdet::GetHitGeometryInfo(), corner::CornerFinderAlg::GrabWires(), HasElement(), corner::CornerFinderAlg::InitializeGeometry(), trkf::CCTrackMaker::MakeClusterChains(), trkf::CCTrackMaker::MakeFamily(), NElements(), NSiblingElements(), trkf::CCTrackMaker::PlnMatch(), trkf::CCTrackMaker::PrintClusters(), trk::TrackContainmentAlg::ProcessTracks(), trkf::CCTrackMaker::produce(), ShowerRecoTools::ShowerLinearEnergy::ShowerLinearEnergy(), cluster::SmallClusterFinderAlg::SmallClusterFinderAlg(), trkf::CCTrackMaker::SortMatches(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), trkf::CCTrackMaker::StoreTrack(), ThirdPlane(), trkf::VertexFitAlg::VertexFit(), trkf::CCTrackMaker::VtxMatch(), nnet::WaveformDenoiseTest::WaveformDenoiseTest(), and geo::WireReadoutStandardGeom::WireReadoutStandardGeom().
|
pure virtual |
Returns the total number of ROP in the specified TPC set.
tpcsetid | TPC set ID |
Note that this methods explicitly check the existence of the TPC set.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel(), and geo::details::ReadoutIterationPolicy::NSiblings().
|
inline |
Returns the total number of planes in the specified TPC.
tpcid | TPC ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 104 of file WireReadoutGeom.h.
References Nplanes(), and Nviews().
Referenced by geo::details::ReadoutIterationPolicy::NSiblings().
|
inline |
Returns the total number of wires in the specified plane.
planeid | plane ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 186 of file WireReadoutGeom.h.
References HasWire(), and Nwires().
|
pure virtual |
Returns the total number of TPC sets in the specified cryostat.
cryoid | cryostat ID |
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel(), and geo::details::ReadoutIterationPolicy::NSiblings().
unsigned int geo::WireReadoutGeom::Nviews | ( | ) | const |
Returns the number of views (different wire orientations)
Returns the number of different views, or wire orientations, in the detector.
The function assumes that all TPCs in all cryostats of a detector have the same number of planes, which should be a safe assumption.
Definition at line 160 of file WireReadoutGeom.cxx.
References MaxPlanes().
Referenced by NSiblingElements().
unsigned int geo::WireReadoutGeom::Nwires | ( | PlaneID const & | planeid | ) | const |
Returns the total number of wires in the specified plane.
planeid | plane ID |
The NElements() and NSiblingElements() methods are overloaded and their return depends on the type of ID.
Definition at line 249 of file WireReadoutGeom.cxx.
References geo::PlaneGeo::NElements(), and PlanePtr().
Referenced by lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), lar_cluster3d::SnippetHit3DBuilder::BuildChannelStatusVec(), trkf::CCTrackMaker::FillWireHitRange(), tca::FillWireHitRange(), GetElementPtr(), util::GeometryUtilities::GetYZ(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), corner::CornerFinderAlg::GrabWires(), corner::CornerFinderAlg::InitializeGeometry(), lar_cluster3d::StandardHit3DBuilder::NearestWireID(), lar_cluster3d::SnippetHit3DBuilder::NearestWireID(), NSiblingElements(), util::GeometryUtilities::SelectPolygonHitList(), img::DataProviderAlg::setWireDriftData(), and WireIDIntersectionCheck().
|
virtual |
Returns the channel ID of the specified hardware channel.
detNum | optical detector ID |
hwchannel | hardware channel within the specified optical detector |
If the input IDs identify a non-existing channel, the result is undefined.
Definition at line 408 of file WireReadoutGeom.cxx.
Referenced by HasChannel().
|
virtual |
Returns the optical detector the specified optical channel belongs.
opChannel | the optical detector channel being queried |
If the specified optical channel is invalid, behaviour is undefined.
Definition at line 414 of file WireReadoutGeom.cxx.
Referenced by cosmic::BeamFlashTrackMatchTaggerAlg::CheckCompatibility(), HasChannel(), IsValidOpChannel(), OpDetGeoFromOpChannel(), and cosmic::BeamFlashTrackMatchTaggerAlg::PrintHypothesisFlashComparison().
OpDetGeo const & geo::WireReadoutGeom::OpDetGeoFromOpChannel | ( | unsigned int | opChannel | ) | const |
Returns the optical detector the specified optical channel belongs.
opChannel | the optical detector channel being queried |
If the specified optical channel is invalid, behaviour is undefined.
Definition at line 420 of file WireReadoutGeom.cxx.
References fGeom, OpDetFromOpChannel(), and geo::GeometryCore::OpDetGeoFromOpDet().
Referenced by opdet::GetHitGeometryInfo(), and HasChannel().
Returns the specified wire.
tpcid | ID of the TPC |
view | number of the requested view |
planeid | ID of the plane |
cet::exception | (GeometryCore category) if cryostat not present |
cet::exception | (TPCOutOfRange category) if no such TPC |
cet::exception | (PlaneOutOfRange category) if no such plane |
The GetElement() method is overloaded and its return depends on the type of ID.
Definition at line 210 of file WireReadoutGeom.cxx.
References fPlanes, and geo::PlaneGeo::View().
Referenced by calo::TrackCalorimetryAlg::AnalyzeHit(), apa::APAGeometryAlg::APAGeometryAlg(), ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), util::GeometryUtilities::CalculatePitch(), util::GeometryUtilities::CalculatePitchPolar(), tca::ChgFracBetween(), tca::ChgFracNearEnd(), detinfo::DetectorPropertiesStandard::DataFor(), tca::dEdx(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), trkf::CCTrackMaker::FillEndMatch(), tca::FillWireHitRange(), tca::Find3DVertices(), apa::DisambigAlg::FindChanTimeEndPts(), lar_cluster3d::HoughSeedFinderAlg::findHoughClusters(), cluster::SmallClusterFinderAlg::FindSmallClusters(), tca::FitTP3Ds(), util::GeometryUtilities::GeometryUtilities(), util::GeometryUtilities::Get2DangleFrom3D(), util::GeometryUtilities::Get2DPointProjection(), util::GeometryUtilities::Get2DPointProjectionCM(), corner::CornerFinderAlg::get_feature_points(), corner::CornerFinderAlg::get_feature_points_fast(), corner::CornerFinderAlg::get_feature_points_LineIntegralScore(), pma::ProjectionMatchingAlg::GetCloseHits_(), GetElement(), opdet::GetHitGeometryInfo(), util::GeometryUtilities::GetProjectedPoint(), nnet::TrainingDataAlg::getProjection(), util::GeometryUtilities::GetTimeTicks(), util::GeometryUtilities::GetXYZ(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), shower::LArPandoraShowerAlg::HitCoordinates(), shower::EMShowerAlg::HitPosition_(), hit::DisambigCheater::InitHitToWids(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), apa::APAGeometryAlg::LineSegChanIntersect(), tca::MakeBareTP(), shower::EMShowerAlg::MakeShower(), tca::MakeTP3D(), NearestChannel(), lar_cluster3d::StandardHit3DBuilder::NearestWireID(), lar_cluster3d::SnippetHit3DBuilder::NearestWireID(), apa::APAGeometryAlg::NearestWireIDOnChan(), shower::LArPandoraShowerAlg::OrderShowerHits(), shower::EMShowerAlg::OrderShowerHits_(), util::GeometryUtilities::PitchInView(), trkf::CCTrackMaker::PlnMatch(), tca::PosInPlane(), trk::TrackContainmentAlg::ProcessTracks(), cluster::DBCluster3D::produce(), cluster::TrajCluster::produce(), trkf::CCTrackMaker::produce(), cluster::SmallClusterFinder::produce(), shower::EMShowerAlg::Project3DPointOntoPlane_(), phot::SemiAnalyticalModel::SemiAnalyticalModel(), tca::SetSection(), lar_cluster3d::SnippetHit3DBuilder::SnippetHit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::StandardHit3DBuilder(), lar_pandora::DUNEFarDetVDThreeView::TargetViewU(), lar_pandora::ProtoDUNEDualPhase::TargetViewU(), lar_pandora::ICARUS::TargetViewU(), lar_pandora::VintageLArTPCThreeView::TargetViewU(), lar_pandora::DUNEFarDetVDThreeView::TargetViewV(), lar_pandora::ICARUS::TargetViewV(), lar_pandora::ProtoDUNEDualPhase::TargetViewV(), lar_pandora::VintageLArTPCThreeView::TargetViewV(), lar_pandora::DUNEFarDetVDThreeView::TargetViewW(), lar_pandora::ICARUS::TargetViewW(), lar_pandora::VintageLArTPCThreeView::TargetViewW(), ThirdPlane_dTdW(), ThirdPlaneSlope(), trkf::TrackLineFitAlg::TrkLineFit(), pma::ProjectionMatchingAlg::validate(), pma::ProjectionMatchingAlg::validate_on_adc(), pma::ProjectionMatchingAlg::validate_on_adc_test(), trkf::VertexFitAlg::VertexFit(), View(), Views(), Wire(), lar_pandora::VintageLArTPCThreeView::WirePitchU(), lar_pandora::VintageLArTPCThreeView::WirePitchV(), and lar_pandora::VintageLArTPCThreeView::WirePitchW().
Returns the specified wire.
tpcid | ID of the TPC |
view | number of the requested view |
planeid | ID of the plane |
cet::exception | (GeometryCore category) if cryostat not present |
cet::exception | (TPCOutOfRange category) if no such TPC |
cet::exception | (PlaneOutOfRange category) if no such plane |
The GetElement() method is overloaded and its return depends on the type of ID.
Definition at line 224 of file WireReadoutGeom.cxx.
References PlanePtr().
double geo::WireReadoutGeom::Plane0Pitch | ( | TPCID const & | tpcid, |
unsigned int | p1 | ||
) | const |
Definition at line 124 of file WireReadoutGeom.cxx.
References fPlane0Pitch.
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons(), and ThirdPlaneSlope().
|
pure virtual |
Returns a list of the plane IDs in the whole detector.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
double geo::WireReadoutGeom::PlanePitch | ( | TPCID const & | tpcid, |
unsigned int | p1 = 0 , |
||
unsigned int | p2 = 1 |
||
) | const |
Definition at line 130 of file WireReadoutGeom.cxx.
References util::abs(), and fPlane0Pitch.
Referenced by detinfo::DetectorPropertiesStandard::DataFor(), larg4::LArVoxelReadout::DriftIonizationElectrons(), and ThirdPlaneSlope().
Returns the specified plane.
planeid | plane ID |
The GetElementPtr() method is overloaded and its return depends on the type of ID.
Definition at line 231 of file WireReadoutGeom.cxx.
References fPlanes, n, geo::PlaneID::parentID(), and geo::PlaneID::Plane.
Referenced by FirstPlane(), GetElement(), geo::details::getElementPtr(), GetElementPtr(), HasPlane(), HasWire(), Nwires(), Plane(), and WirePtr().
|
pure virtual |
Returns the channel ID a wire is connected to.
wireID | ID of the wire |
Behaviour on an invalid or not present wires is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by ChannelsInTPCs(), cluster::BlurredClusteringAlg::ConvertRecobHitsToVector(), tca::FillWireHitRange(), tca::GetOrigin(), util::GeometryUtilities::GetProjectedPoint(), util::GeometryUtilities::GetYZ(), HasChannel(), cluster::DBScan3DAlg::init(), apa::DisambigAlg::MakeCloseHits(), tca::NearbySrcHit(), NearestChannel(), pma::ProjectionMatchingAlg::validate(), pma::ProjectionMatchingAlg::validate_on_adc(), and pma::ProjectionMatchingAlg::validate_on_adc_test().
|
private |
Recomputes the drift direction; needs planes to have been initialised.
|
pure virtual |
Returns a list of ID of TPCs the specified ROP spans.
ropid | ID of the readout plane |
Note that this check is performed on the validity of the readout plane ID, that does not necessarily imply that the readout plane specified by the ID actually exists. Check if the ROP exists with HasROP(). The behaviour on non-existing readout planes is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by reco3d::TripletFinder::FillBadMap(), reco3d::TripletFinder::FillHitMap(), and HasChannel().
|
pure virtual |
Returns a list of ID of planes belonging to the specified ROP.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
Returns the type of signal on the channels of specified TPC plane.
plane | TPC plane ID |
Assumes that all the channels on the plane have the same signal type.
Definition at line 499 of file WireReadoutGeom.cxx.
References WirePlaneToROP().
Referenced by geo::WireReadoutDumper::dumpTPCplane(), reco3d::TripletFinder::FillHitMap(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), HasChannel(), shwf::ShowerReco::LongTransEnergy(), caldata::CalWire::produce(), hit::RFFHitFinderAlg::Run(), hit::CCHitFinderAlg::RunCCHitFinder(), and SignalTypeForROPIDImpl().
SigType_t geo::WireReadoutGeom::SignalType | ( | raw::ChannelID_t const | channel | ) | const |
Return the signal type of the specified channel.
channel | ID of the channel |
On any type of error (e.g., invalid or unknown channel ID), geo::kMysteryType is returned.
Definition at line 446 of file WireReadoutGeom.cxx.
References SignalTypeForChannelImpl().
SigType_t geo::WireReadoutGeom::SignalType | ( | readout::ROPID const & | ropid | ) | const |
Return the signal type on the specified readout plane.
ropid | ID of the readout plane |
If the readout plane ID is marked invalid, geo::kMysteryType is returned. If the readout plane is not marked invalid, but it does not match an existing readout plane, the result is undefined.
The default implementation uses readout plane to channel mapping. Other implementation may decide to do the opposite.
Definition at line 451 of file WireReadoutGeom.cxx.
References SignalTypeForROPIDImpl().
|
protectedpure virtual |
Return the signal type of the specified channel.
channel | ID of the channel |
On any type of error (e.g., invalid or unknown channel ID), geo::kMysteryType is returned.
Implemented in geo::WireReadoutStandardGeom.
Referenced by FirstChannelInThisPlane(), and SignalType().
|
protectedvirtual |
Return the signal type on the specified readout plane.
ropid | ID of the readout plane |
If the readout plane ID is marked invalid, geo::kMysteryType is returned. If the readout plane is not marked invalid, but it does not match an existing readout plane, the result is undefined.
The default implementation uses readout plane to channel mapping. Other implementation may decide to do the opposite.
Definition at line 456 of file WireReadoutGeom.cxx.
References FirstChannelInROP(), and SignalType().
Referenced by FirstChannelInThisPlane(), and SignalType().
|
private |
Sorts (in place) the specified PlaneGeo
objects by drift distance.
Definition at line 98 of file WireReadoutGeom.cxx.
References geo::vect::dot(), fGeom, geo::TPCGeo::GetCenter(), geo::vect::normalize(), and geo::GeometryCore::TPC().
Referenced by WireReadoutGeom().
|
private |
Definition at line 138 of file WireReadoutGeom.cxx.
Referenced by WireReadoutGeom().
|
inlinestatic |
Definition at line 63 of file WireReadoutGeom.h.
Referenced by WireEndPoints(), and WireIDsIntersect().
Returns the plane that is not in the specified arguments.
pid1 | a plane |
pid2 | another plane |
cet::exception | (category: "GeometryCore") if other than 3 planes |
cet::exception | (category: "GeometryCore") if pid1 and pid2 match |
This function requires a geometry with exactly three planes. If the two input planes are not on the same TPC, the result is undefined.
Definition at line 610 of file WireReadoutGeom.cxx.
References Nplanes(), and geo::PlaneID::Plane.
Referenced by ThirdPlane_dTdW(), ThirdPlaneSlope(), and WireEndPoints().
double geo::WireReadoutGeom::ThirdPlane_dTdW | ( | PlaneID const & | pid1, |
double | slope1, | ||
PlaneID const & | pid2, | ||
double | slope2, | ||
PlaneID const & | output_plane | ||
) | const |
Returns dT/dW on the third plane, given it in the other two.
pid1 | ID of the plane of the first dT/dW |
dTdW1 | dT/dW as seen on the first plane |
pid2 | ID of the plane of the second dT/dW |
dTdW2 | dT/dW as seen on the second plane |
output_plane | ID of the plane on which to calculate the slope |
cet::exception | (category: "GeometryCore") if different TPC |
cet::exception | (category: "GeometryCore") if same plane |
cet::exception | (category: "GeometryCore") if other than 3 planes |
Given a dT/dW as projected in two planes, returns the dT/dW as projected in the third plane. The dT/dW are defined in time ticks/wide number units.
Definition at line 663 of file WireReadoutGeom.cxx.
References ComputeThirdPlane_dTdW(), geo::PlaneGeo::PhiZ(), Plane(), and geo::PlaneGeo::WirePitch().
Referenced by ThirdPlane_dTdW(), and ThirdPlaneSlope().
double geo::WireReadoutGeom::ThirdPlane_dTdW | ( | PlaneID const & | pid1, |
double | slope1, | ||
PlaneID const & | pid2, | ||
double | slope2 | ||
) | const |
Returns dT/dW on the third plane, given it in the other two.
pid1 | ID of the plane of the first dT/dW |
dTdW1 | dT/dW as seen on the first plane |
pid2 | ID of the plane of the second dT/dW |
dTdW2 | dT/dW as seen on the second plane |
cet::exception | (category: "GeometryCore") if different TPC |
cet::exception | (category: "GeometryCore") if same plane |
cet::exception | (category: "GeometryCore") if other than 3 planes |
Given a dT/dW as projected in two planes, returns the dT/dW as projected in the third plane. This function is a shortcut assuming exactly three wire planes in the TPC, in which case the output plane is chosen as the one that is neither of the input planes.
Definition at line 687 of file WireReadoutGeom.cxx.
References ThirdPlane(), and ThirdPlane_dTdW().
double geo::WireReadoutGeom::ThirdPlaneSlope | ( | PlaneID const & | pid1, |
double | slope1, | ||
PlaneID const & | pid2, | ||
double | slope2, | ||
PlaneID const & | output_plane | ||
) | const |
Returns the slope on the third plane, given it in the other two.
pid1 | ID of the plane of the first slope |
slope1 | slope as seen on the first plane |
pid2 | ID of the plane of the second slope |
slope2 | slope as seen on the second plane |
output_plane | ID of the plane on which to calculate the slope |
cet::exception | (category: "GeometryCore") if different TPC |
cet::exception | (category: "GeometryCore") if input planes match |
Given a slope as projected in two planes, returns the slope as projected in the specified output plane. The slopes are defined in uniform units; they should be computed as distance ratios (or tangent of a geometrical angle; the formula is still valid using dt/dw directly in case of equal wire pitch in all planes and uniform drift velocity.
Definition at line 639 of file WireReadoutGeom.cxx.
References ComputeThirdPlaneSlope(), and Plane().
Referenced by trkf::CCTrackMaker::FillEndMatch(), trkf::CCTrackMaker::PlnMatch(), ThirdPlaneSlope(), and WireEndPoints().
double geo::WireReadoutGeom::ThirdPlaneSlope | ( | PlaneID const & | pid1, |
double | slope1, | ||
PlaneID const & | pid2, | ||
double | slope2 | ||
) | const |
Returns the slope on the third plane, given it in the other two.
pid1 | ID of the plane of the first slope |
slope1 | slope as seen on the first plane |
pid2 | ID of the plane of the second slope |
slope2 | slope as seen on the second plane |
cet::exception | (category: "GeometryCore") if different TPC |
cet::exception | (category: "GeometryCore") if same plane |
cet::exception | (category: "GeometryCore") if other than 3 planes |
Given a slope as projected in two planes, returns the slope as projected in the third plane. This function is a shortcut assuming exactly three wire planes in the TPC, in which case the output plane is chosen as the one that is neither of the input planes.
Definition at line 654 of file WireReadoutGeom.cxx.
References ThirdPlane(), and ThirdPlaneSlope().
|
inline |
Returns the slope on the third plane, given it in the other two.
plane1 | index of the plane of the first slope |
slope1 | slope as seen on the first plane |
plane2 | index of the plane of the second slope |
slope2 | slope as seen on the second plane |
tpcid | TPC where the two planes belong |
cet::exception | (category: "GeometryCore") if different TPC |
cet::exception | (category: "GeometryCore") if same plane |
cet::exception | (category: "GeometryCore") if other than 3 planes |
Given a slope as projected in two planes, returns the slope as projected in the third plane.
Definition at line 451 of file WireReadoutGeom.h.
References ChannelsInTPCs(), ComputeThirdPlane_dTdW(), ComputeThirdPlaneSlope(), Nchannels(), Plane0Pitch(), PlanePitch(), ThirdPlane_dTdW(), and ThirdPlaneSlope().
|
pure virtual |
Returns a list of ID of TPCs belonging to the specified TPC set.
tpcsetid | ID of the TPC set to convert into TPC IDs |
Note that the check is performed on the validity of the TPC set ID, that does not necessarily imply that the TPC set specified by the ID actually exists. Check the existence of the TPC set first (HasTPCset()). Behaviour on valid, non-existent TPC set IDs is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by ChannelsInTPCs(), and HasChannel().
|
pure virtual |
Returns the ID of the TPC set tpcid belongs to.
Implemented in geo::WireReadoutStandardGeom.
Referenced by FindTPCsetAtPosition(), and HasChannel().
|
private |
Definition at line 146 of file WireReadoutGeom.cxx.
References geo::TPCGeo::DriftDir(), e, geo::TPCGeo::ID(), and lar::util::makeVector3DComparison().
Referenced by WireReadoutGeom().
View_t geo::WireReadoutGeom::View | ( | raw::ChannelID_t const | channel | ) | const |
Returns the view (wire orientation) on the specified TPC channel.
channel | TPC channel ID |
The view of the readout plane channel
belongs to is returned, as in View(readout::ROPID const&) const
.
Definition at line 518 of file WireReadoutGeom.cxx.
References ChannelToROP(), raw::InvalidChannelID, and geo::kUnknown.
Referenced by nnet::WaveformDenoiseTest::analyze(), nnet::NoiseWaveformDump::analyze(), nnet::RawWaveformDump::analyze(), nnet::RawWaveformClnSigDump::analyze(), apa::APAGeometryAlg::APAChannelsIntersect(), apa::APAGeometryAlg::APAGeometryAlg(), apa::APAGeometryAlg::APAView(), tca::FillWireHitRange(), apa::APAGeometryAlg::FirstChannelInView(), quad::GetPts2D(), HasChannel(), apa::DisambigAlg::MakeCloseHits(), apa::APAGeometryAlg::NearestWireIDOnChan(), and cheat::BackTracker::TrackIdToSimIDEs_Ps().
View_t geo::WireReadoutGeom::View | ( | readout::ROPID const & | ropid | ) | const |
Returns the view of the channels in the specified readout plane.
ropid | readout plane ID |
Returns the view (wire orientation) on the channels of specified readout plane. If ropid is an invalid ID, geo::kUnknown is returned. If ropid is a valid ID (i.e. an ID whose isValid flag is set) that points to a non-existent readout plane, the result is undefined. Use HasROP() to check if the readout plane actually exists.
Definition at line 512 of file WireReadoutGeom.cxx.
References FirstWirePlaneInROP(), geo::kUnknown, Plane(), and geo::PlaneGeo::View().
|
inline |
Returns a list of possible views in the detector.
Definition at line 123 of file WireReadoutGeom.h.
References allViews, FirstPlane(), and Plane().
Referenced by pma::PMAlgTracker::PMAlgTracker(), and WireReadoutGeom().
Definition at line 241 of file WireReadoutGeom.cxx.
References fPlanes.
Returns the specified wire.
wireid | ID of the wire |
cet::exception | if not found |
The GetElement() method is overloaded and its return depends on the type of ID.
Definition at line 270 of file WireReadoutGeom.cxx.
References Plane(), and geo::PlaneGeo::Wire().
Referenced by lar_cluster3d::SnippetHit3DBuilder::DistanceFromPointToHitWire(), GetElement(), GetElementPtr(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_calc2DDocas(), trkf::TrackKalmanFitter::setupInputStates(), apa::APAGeometryAlg::ThreeChanPos(), WireEndPoints(), lar_cluster3d::SnippetHit3DBuilder::WireIDsIntersect(), and WireIDsIntersect().
Returns the angle of the wires in the specified view from vertical.
view | the view |
tpcid | ID of the TPC |
cet::exception | ("GeometryCore" category) if no such view |
The angle is defined as in WireGeo::ThetaZ().
This method assumes all wires in the view have the same angle (it queries for the first).
Definition at line 376 of file WireReadoutGeom.cxx.
References geo::PlaneGeo::ViewName().
Referenced by ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), util::GeometryUtilities::CalculatePitch(), util::GeometryUtilities::CalculatePitchPolar(), util::GeometryUtilities::Get2DangleFrom3D(), shower::EMShowerAlg::MakeShower(), util::GeometryUtilities::PitchInView(), lar_pandora::detector_functions::WireAngle(), and WireEndPoints().
|
pure virtual |
Returns the index of the wire nearest to the specified position.
YPos | y coordinate on the wire plane |
ZPos | z coordinate on the wire plane |
planeID | ID of the plane |
Respect to NearestWireID(), this method returns a real number, representing a continuous coordinate in the wire axis, with the round values corresponding to the actual wires.
The plane is required to be valid and exist in the detector. Otherwise, the behaviour is undefined.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel().
void geo::WireReadoutGeom::WireEndPoints | ( | WireID const & | wireid, |
double * | xyzStart, | ||
double * | xyzEnd | ||
) | const |
Fills two arrays with the coordinates of the wire end points.
wireid | ID of the wire |
xyzStart | (output) an array with the start coordinate |
xyzEnd | (output) an array with the end coordinate |
cet::exception | wire not present |
The starting point is the wire end with lower z coordinate.
Definition at line 276 of file WireReadoutGeom.cxx.
References util::abs(), geo::Iterable< details::ReadoutIterationPolicy, details::ToReadoutGeometryElement >::end(), and start().
Referenced by lar_cluster3d::StandardHit3DBuilder::DistanceFromPointToHitWire(), GetElement(), quad::GetPts2D(), apa::DisambigAlg::TrivialDisambig(), and WireIDsIntersect().
Returns a segment whose ends are the wire end points.
wireid | ID of the wire |
cet::exception | wire not present |
The start and end are assigned as returned from the geo::WireGeo object. The rules for this assignment are documented in that class.
Definition at line 260 of file WireReadoutGeom.h.
References geo::WireGeo::GetEnd(), geo::WireGeo::GetStart(), ThirdPlane(), ThirdPlaneSlope(), Wire(), WireAngleToVertical(), and WireIDsIntersect().
|
private |
Wire ID check for WireIDsIntersect methods.
Definition at line 582 of file WireReadoutGeom.cxx.
References geo::PlaneID::asTPCID(), HasWire(), Nwires(), geo::PlaneID::Plane, and geo::WireID::planeID().
Referenced by WireIDsIntersect().
bool geo::WireReadoutGeom::WireIDsIntersect | ( | WireID const & | wid1, |
WireID const & | wid2, | ||
Point_t & | intersection | ||
) | const |
Computes the intersection between two wires.
wid1 | ID of the first wire | |
wid2 | ID of the other wire | |
[out] | intersection | the intersection point (global coordinates) |
The wires identified by wid1
and wid2
are intersected, and the 3D intersection point is written into the intersection
parameter. The "intersection" point is actually the point belonging to the first wire (wid2
) which is the closest (in Euclidean 3D metric) to the second wire.
The intersection is computed only if the wires belong to different planes of the same TPC. If that is not the case (i.e. they belong to different TPC or cryostat, or if they belong to the same plane), false
is returned and intersection
is set with all components to infinity (std::numeric_limits<>::infinity()
).
When the intersection is computed, it is always stored in the intersection
output parameter. Return value is true
if this intersection lies within the physical boundaries first wire, while it is instead false
if it lies on the extrapolation of the wire direction, but not within the wire physical extension.
To test that the result is not infinity (nor NaN), use geo::vect::isfinite(intersection)
etc.
geo::WireGeo
objects are already available, using instead the free function geo::WiresIntersection()
or the method geo::WireGeo::IntersectionWith()
is faster (and recommended). For purely geometric intersection, geo::LineClosestPoint()
is also available. Definition at line 344 of file WireReadoutGeom.cxx.
References util::abs(), geo::WireGeo::HalfL(), geo::IntersectionPointAndOffsets< Point >::offset1, geo::IntersectionPointAndOffsets< Point >::offset2, geo::IntersectionPointAndOffsets< Point >::point, Wire(), WireIDIntersectionCheck(), and geo::WiresIntersectionAndOffsets().
Referenced by pma::ProjectionMatchingAlg::addEndpointRef_(), apa::APAGeometryAlg::APAChannelsIntersect(), ChannelsIntersect(), apa::DisambigAlg::CompareViews(), shower::EMShowerAlg::Construct3DPoint_(), trkf::CCTrackMaker::FillEndMatch(), tca::FillWireIntersections(), tca::Find3DVertices(), reco3d::IntersectionCache::ISect(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), tca::Match2Planes(), trkf::CCTrackMaker::PlnMatch(), trkf::TrackTrajectoryAlg::ShortTrackTrajectory(), apa::APAGeometryAlg::ThreeChanPos(), and WireEndPoints().
std::optional< WireIDIntersection > geo::WireReadoutGeom::WireIDsIntersect | ( | WireID const & | wid1, |
WireID const & | wid2 | ||
) | const |
Computes the intersection between two wires.
wid1 | ID of the first wire |
wid2 | ID of the other wire |
The "intersection" refers to the projection of the wires into the same plane. Wires are assumed to have at most one intersection. If wires are parallel,
widIntersect
will have the two components set to infinity (std::numeric_limits<>::infinity()
) and the TPC number set to invalid (geo::TPCID::InvalidID
). Also, false
is returned. If the intersection is outside the TPC, false
is also returned, but the widIntersect
will contain the coordinates of that intersection. The TPC number is still set to invalid, although the intersection might belong to a valid TPC somewhere else.
Definition at line 302 of file WireReadoutGeom.cxx.
References geo::vect::cross(), finish(), geo::IntersectLines(), lar::util::PointWithinSegments(), start(), geo::TPCID::TPC, geo::WireIDIntersection::TPC, WireEndPoints(), WireIDIntersectionCheck(), geo::Y, geo::WireIDIntersection::y, geo::Z, and geo::WireIDIntersection::z.
|
pure virtual |
Returns the ID of the ROP planeid belongs to.
Implemented in geo::WireReadoutStandardGeom.
Referenced by HasChannel(), and SignalType().
Returns the specified wire.
wireid | wire ID |
The GetElementPtr() method is overloaded and its return depends on the type of ID.
Definition at line 263 of file WireReadoutGeom.cxx.
References PlanePtr(), and geo::PlaneGeo::WirePtr().
Referenced by geo::details::getElementPtr(), GetElementPtr(), HasElement(), and lar_cluster3d::MinSpanTreeAlg::MinSpanTreeAlg().
|
private |
All views in the detector.
Definition at line 1090 of file WireReadoutGeom.h.
Referenced by Views(), and WireReadoutGeom().
|
protected |
Definition at line 1071 of file WireReadoutGeom.h.
Referenced by geo::WireReadoutStandardGeom::ChannelToWire(), FirstChannelInThisPlane(), geo::WireReadoutStandardGeom::SignalTypeForChannelImpl(), and geo::WireReadoutStandardGeom::WireReadoutStandardGeom().
|
protected |
Definition at line 1070 of file WireReadoutGeom.h.
Referenced by geo::WireReadoutStandardGeom::ChannelToWire(), FirstChannelInNextPlane(), geo::WireReadoutStandardGeom::SignalTypeForChannelImpl(), and geo::WireReadoutStandardGeom::WireReadoutStandardGeom().
|
private |
Definition at line 1092 of file WireReadoutGeom.h.
Referenced by FindTPCsetAtPosition(), IsValidOpChannel(), MaxOpChannel(), NOpChannels(), OpDetGeoFromOpChannel(), SortPlanes(), and WireReadoutGeom().
|
private |
Pitch between planes.
Definition at line 1087 of file WireReadoutGeom.h.
Referenced by Plane0Pitch(), PlanePitch(), and WireReadoutGeom().
Definition at line 1086 of file WireReadoutGeom.h.
Referenced by MaxPlanes(), Nplanes(), Plane(), PlanePtr(), Views(), and WireReadoutGeom().