LArSoft  v09_07_00
Liquid Argon Software toolkit - http://larsoft.org/
geo::WireID Struct Reference

#include "geo_types.h"

Inheritance diagram for geo::WireID:
geo::PlaneID geo::TPCID geo::CryostatID

Public Types

using WireID_t = unsigned int
 Type for the ID number. More...
 
using ThisID_t = WireID
 Type of this ID. More...
 
using ParentID_t = PlaneID
 Type of the parent ID. More...
 
template<std::size_t L>
using ID_t = details::AbsIDtype< L, ThisID_t >
 Type of the ID with the specified level L. More...
 
template<std::size_t A>
using UpperID_t = details::RelIDtype< A, ThisID_t >
 Type of the ID A levels above this one. More...
 
using PlaneID_t = unsigned int
 Type for the ID number. More...
 
using TPCID_t = unsigned int
 Type for the ID number. More...
 
using CryostatID_t = unsigned int
 Type for the ID number. More...
 

Public Member Functions

constexpr WireID ()=default
 Default constructor: an invalid TPC ID. More...
 
constexpr WireID (PlaneID const &planeid, WireID_t w)
 Constructor: wire with index w in the plane identified by planeid. More...
 
constexpr WireID (CryostatID_t c, TPCID_t t, PlaneID_t p, WireID_t w)
 
constexpr auto const & deepestIndex () const
 Returns the value of the deepest ID available (wire's). More...
 
auto & deepestIndex ()
 Returns the deepest ID available (wire's). More...
 
constexpr ParentID_t const & parentID () const
 Return the parent ID of this one (a plane ID). More...
 
ParentID_tparentID ()
 Return the parent ID of this one (a plane ID). More...
 
template<std::size_t Index = 0U>
constexpr auto getIndex () const
 Returns the index level Index of this type. More...
 
template<std::size_t Index = 0U>
auto & writeIndex ()
 Returns the index level Index of this type. More...
 
template<std::size_t Above>
constexpr auto getRelIndex () const
 Returns the index Above levels higher than Level. More...
 
constexpr WireID const & asWireID () const
 Conversion to WireID (for convenience of notation). More...
 
WireIDasWireID ()
 Conversion to WireID (for convenience of notation). More...
 
constexpr WireID const & asConstWireID ()
 Conversion to WireID (for convenience of notation). More...
 
constexpr int cmp (WireID const &other) const
 Returns < 0 if this is smaller than tpcid, 0 if equal, > 0 if larger. More...
 
constexpr PlaneID const & planeID () const
 
constexpr PlaneID const & asPlaneID () const
 Conversion to PlaneID (for convenience of notation). More...
 
PlaneIDasPlaneID ()
 Conversion to PlaneID (for convenience of notation). More...
 
constexpr PlaneID const & asConstPlaneID ()
 Conversion to PlaneID (for convenience of notation). More...
 
constexpr int cmp (PlaneID const &other) const
 Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger. More...
 
constexpr int cmp (TPCID const &other) const
 Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger. More...
 
constexpr int cmp (CryostatID const &other) const
 Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger. More...
 
constexpr TPCID const & asTPCID () const
 Conversion to TPCID (for convenience of notation). More...
 
TPCIDasTPCID ()
 Conversion to TPCID (for convenience of notation). More...
 
constexpr TPCID const & asConstTPCID ()
 Conversion to TPCID (for convenience of notation). More...
 
constexpr CryostatID const & asCryostatID () const
 Conversion to CryostatID (for convenience of notation). More...
 
CryostatIDasCryostatID ()
 Conversion to CryostatID (for convenience of notation). More...
 
constexpr CryostatID const & asConstCryostatID ()
 Conversion to CryostatID (for convenience of notation). More...
 
std::string toString () const
 Human-readable representation of the wire ID. More...
 
 operator std::string () const
 Human-readable representation of the wire ID. More...
 
ID validity
constexpr operator bool () const
 Returns true if the ID is valid. More...
 
constexpr bool operator! () const
 Returns true if the ID is not valid. More...
 
void setValidity (bool valid)
 Sets the validity of the ID. More...
 
void markValid ()
 Sets the ID as valid. More...
 
void markInvalid ()
 Sets the ID as invalid. More...
 

Static Public Member Functions

static constexpr WireID_t getInvalidID ()
 Return the value of the invalid wire ID as a r-value. More...
 
template<typename T >
static constexpr int ThreeWayComparison (T a, T b)
 Returns < 0 if a < b, 0 if a == b, > 0 if a > b. More...
 

Public Attributes

WireID_t Wire = InvalidID
 Index of the wire within its plane. More...
 
PlaneID_t Plane = InvalidID
 Index of the plane within its TPC. More...
 
TPCID_t TPC = InvalidID
 Index of the TPC within its cryostat. More...
 
bool isValid = false
 Whether this ID points to a valid element. More...
 
CryostatID_t Cryostat = InvalidID
 Index of cryostat. More...
 

Static Public Attributes

static constexpr WireID_t InvalidID = std::numeric_limits<WireID_t>::max()
 Special code for an invalid ID. More...
 
static constexpr auto Level = geo::ElementLevel::Wire
 Level of this element. More...
 

Detailed Description

Definition at line 560 of file geo_types.h.

Member Typedef Documentation

using geo::CryostatID::CryostatID_t = unsigned int
inherited

Type for the ID number.

Definition at line 191 of file geo_types.h.

template<std::size_t L>
using geo::WireID::ID_t = details::AbsIDtype<L, ThisID_t>

Type of the ID with the specified level L.

Definition at line 568 of file geo_types.h.

Type of the parent ID.

Definition at line 564 of file geo_types.h.

using geo::PlaneID::PlaneID_t = unsigned int
inherited

Type for the ID number.

Definition at line 473 of file geo_types.h.

Type of this ID.

Definition at line 563 of file geo_types.h.

using geo::TPCID::TPCID_t = unsigned int
inherited

Type for the ID number.

Definition at line 387 of file geo_types.h.

template<std::size_t A>
using geo::WireID::UpperID_t = details::RelIDtype<A, ThisID_t>

Type of the ID A levels above this one.

Definition at line 572 of file geo_types.h.

using geo::WireID::WireID_t = unsigned int

Type for the ID number.

Definition at line 561 of file geo_types.h.

Constructor & Destructor Documentation

constexpr geo::WireID::WireID ( PlaneID const &  planeid,
WireID_t  w 
)
inline

Constructor: wire with index w in the plane identified by planeid.

Definition at line 586 of file geo_types.h.

587  : PlaneID(planeid), Wire(w) {}
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
constexpr PlaneID()=default
Default constructor: an invalid plane ID.
Float_t w
Definition: plot.C:20
constexpr geo::WireID::WireID ( CryostatID_t  c,
TPCID_t  t,
PlaneID_t  p,
WireID_t  w 
)
inline

Constructor: wire with index w in cryostat index c, TPC index t, plane index p

Definition at line 591 of file geo_types.h.

References geo::details::writeToString().

591  :
592  PlaneID(c, t, p), Wire(w) {}
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
constexpr PlaneID()=default
Default constructor: an invalid plane ID.
Float_t w
Definition: plot.C:20

Member Function Documentation

constexpr CryostatID const& geo::CryostatID::asConstCryostatID ( )
inlineinherited

Conversion to CryostatID (for convenience of notation).

Definition at line 279 of file geo_types.h.

279 { return *this; }
constexpr PlaneID const& geo::PlaneID::asConstPlaneID ( )
inlineinherited

Conversion to PlaneID (for convenience of notation).

Definition at line 538 of file geo_types.h.

538 { return *this; }
constexpr TPCID const& geo::TPCID::asConstTPCID ( )
inlineinherited

Conversion to TPCID (for convenience of notation).

Definition at line 450 of file geo_types.h.

450 { return *this; }
constexpr WireID const& geo::WireID::asConstWireID ( )
inline

Conversion to WireID (for convenience of notation).

Definition at line 624 of file geo_types.h.

624 { return *this; }
constexpr CryostatID const& geo::CryostatID::asCryostatID ( ) const
inlineinherited

Conversion to CryostatID (for convenience of notation).

Definition at line 275 of file geo_types.h.

Referenced by readout::operator!=(), geo::operator!=(), readout::operator<(), geo::operator<(), readout::operator<<(), geo::operator<<(), readout::operator==(), and geo::operator==().

275 { return *this; }
CryostatID& geo::CryostatID::asCryostatID ( )
inlineinherited

Conversion to CryostatID (for convenience of notation).

Definition at line 277 of file geo_types.h.

277 { return *this; }
constexpr PlaneID const& geo::PlaneID::asPlaneID ( ) const
inlineinherited
PlaneID& geo::PlaneID::asPlaneID ( )
inlineinherited

Conversion to PlaneID (for convenience of notation).

Definition at line 536 of file geo_types.h.

536 { return *this; }
TPCID& geo::TPCID::asTPCID ( )
inlineinherited

Conversion to TPCID (for convenience of notation).

Definition at line 448 of file geo_types.h.

448 { return *this; }
constexpr WireID const& geo::WireID::asWireID ( ) const
inline

Conversion to WireID (for convenience of notation).

Definition at line 620 of file geo_types.h.

620 { return *this; }
WireID& geo::WireID::asWireID ( )
inline

Conversion to WireID (for convenience of notation).

Definition at line 622 of file geo_types.h.

622 { return *this; }
constexpr int geo::CryostatID::cmp ( CryostatID const &  other) const
inlineinherited

Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.

Definition at line 271 of file geo_types.h.

References geo::CryostatID::deepestIndex().

Referenced by readout::TPCsetID::cmp(), geo::OpDetID::cmp(), geo::TPCID::cmp(), readout::operator<(), and geo::operator<().

272  { return ThreeWayComparison(deepestIndex(), other.deepestIndex()); }
static constexpr int ThreeWayComparison(T a, T b)
Returns < 0 if a < b, 0 if a == b, > 0 if a > b.
Definition: geo_types.h:290
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (cryostat&#39;s).
Definition: geo_types.h:253
constexpr int geo::TPCID::cmp ( TPCID const &  other) const
inlineinherited

Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.

Definition at line 453 of file geo_types.h.

References geo::CryostatID::cmp(), and geo::TPCID::deepestIndex().

Referenced by geo::PlaneID::cmp().

454  {
455  int cmp_res = CryostatID::cmp(other);
456  if (cmp_res == 0) // same cryostat: compare TPC
457  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
458  else // return the order of cryostats
459  return cmp_res;
460  } // cmp()
static constexpr int ThreeWayComparison(T a, T b)
Returns < 0 if a < b, 0 if a == b, > 0 if a > b.
Definition: geo_types.h:290
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (TPC&#39;s).
Definition: geo_types.h:428
constexpr int cmp(CryostatID const &other) const
Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.
Definition: geo_types.h:271
constexpr int geo::PlaneID::cmp ( PlaneID const &  other) const
inlineinherited

Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.

Definition at line 541 of file geo_types.h.

References geo::TPCID::cmp(), and geo::PlaneID::deepestIndex().

Referenced by cmp().

542  {
543  int cmp_res = TPCID::cmp(other);
544  if (cmp_res == 0) // same TPC: compare plane
545  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
546  else // return the order of planes
547  return cmp_res;
548  } // cmp()
constexpr int cmp(TPCID const &other) const
Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.
Definition: geo_types.h:453
static constexpr int ThreeWayComparison(T a, T b)
Returns < 0 if a < b, 0 if a == b, > 0 if a > b.
Definition: geo_types.h:290
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (plane&#39;s).
Definition: geo_types.h:516
constexpr int geo::WireID::cmp ( WireID const &  other) const
inline

Returns < 0 if this is smaller than tpcid, 0 if equal, > 0 if larger.

Definition at line 627 of file geo_types.h.

References geo::PlaneID::cmp(), and deepestIndex().

Referenced by cluster::ClusterCrawlerAlg::SortByMultiplet().

628  {
629  int cmp_res = PlaneID::cmp(other);
630  if (cmp_res == 0) // same plane: compare wires
631  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
632  else // return the order of wire
633  return cmp_res;
634  } // cmp()
static constexpr int ThreeWayComparison(T a, T b)
Returns < 0 if a < b, 0 if a == b, > 0 if a > b.
Definition: geo_types.h:290
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (wire&#39;s).
Definition: geo_types.h:602
constexpr int cmp(PlaneID const &other) const
Returns < 0 if this is smaller than other, 0 if equal, > 0 if larger.
Definition: geo_types.h:541
constexpr auto const& geo::WireID::deepestIndex ( ) const
inline

Returns the value of the deepest ID available (wire's).

Definition at line 602 of file geo_types.h.

Referenced by cmp().

602 { return Wire; }
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
auto& geo::WireID::deepestIndex ( )
inline

Returns the deepest ID available (wire's).

Definition at line 604 of file geo_types.h.

604 { return Wire; }
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
template<std::size_t Index>
constexpr auto geo::WireID::getIndex ( ) const

Returns the index level Index of this type.

Definition at line 973 of file geo_types.h.

973  {
974  static_assert
975  (Index <= Level, "This ID type does not have the requested Index level.");
976  return details::getAbsIDindex<Index>(*this);
977 } // geo::WireID::getIndex() const
static constexpr auto Level
Level of this element.
Definition: geo_types.h:641
static constexpr WireID_t geo::WireID::getInvalidID ( )
inlinestatic

Return the value of the invalid wire ID as a r-value.

Definition at line 644 of file geo_types.h.

References InvalidID.

644 { return WireID::InvalidID; }
static constexpr WireID_t InvalidID
Special code for an invalid ID.
Definition: geo_types.h:577
template<std::size_t Above>
constexpr auto geo::WireID::getRelIndex ( ) const

Returns the index Above levels higher than Level.

Definition at line 987 of file geo_types.h.

987  {
988  static_assert
989  (Above <= Level, "This ID type does not have the requested Index level.");
990  return getIndex<Level - Above>();
991 } // geo::WireID::getRelIndex()
constexpr auto getIndex() const
Returns the index level Index of this type.
Definition: geo_types.h:973
static constexpr auto Level
Level of this element.
Definition: geo_types.h:641
void geo::CryostatID::markInvalid ( )
inlineinherited

Sets the ID as invalid.

Definition at line 240 of file geo_types.h.

References geo::details::writeToString().

Referenced by geo::PlaneGeo::ClosestWireID(), and geo::GeometryCore::FindTPCAtPosition().

240 { setValidity(false); }
void setValidity(bool valid)
Sets the validity of the ID.
Definition: geo_types.h:234
void geo::CryostatID::markValid ( )
inlineinherited

Sets the ID as valid.

Definition at line 237 of file geo_types.h.

237 { setValidity(true); }
void setValidity(bool valid)
Sets the validity of the ID.
Definition: geo_types.h:234
constexpr geo::CryostatID::operator bool ( ) const
inlineexplicitinherited

Returns true if the ID is valid.

Definition at line 228 of file geo_types.h.

228 { return isValid; }
bool isValid
Whether this ID points to a valid element.
Definition: geo_types.h:211
geo::WireID::operator std::string ( ) const
inlineexplicit

Human-readable representation of the wire ID.

Definition at line 597 of file geo_types.h.

597 { return toString(); }
std::string toString() const
Human-readable representation of the wire ID.
Definition: geo_types.h:596
constexpr bool geo::CryostatID::operator! ( ) const
inlineinherited

Returns true if the ID is not valid.

Definition at line 231 of file geo_types.h.

231 { return !isValid; }
bool isValid
Whether this ID points to a valid element.
Definition: geo_types.h:211
constexpr ParentID_t const& geo::WireID::parentID ( ) const
inline

Return the parent ID of this one (a plane ID).

Definition at line 606 of file geo_types.h.

606 { return *this; }
ParentID_t& geo::WireID::parentID ( )
inline

Return the parent ID of this one (a plane ID).

Definition at line 608 of file geo_types.h.

608 { return *this; }
constexpr PlaneID const& geo::WireID::planeID ( ) const
inline
void geo::CryostatID::setValidity ( bool  valid)
inlineinherited

Sets the validity of the ID.

Definition at line 234 of file geo_types.h.

234 { isValid = valid; }
bool isValid
Whether this ID points to a valid element.
Definition: geo_types.h:211
template<typename T >
static constexpr int geo::CryostatID::ThreeWayComparison ( a,
b 
)
inlinestaticinherited

Returns < 0 if a < b, 0 if a == b, > 0 if a > b.

Definition at line 290 of file geo_types.h.

291  { return (a == b)? 0: ((a < b)? -1: +1); }
std::string geo::WireID::toString ( ) const
inline

Human-readable representation of the wire ID.

Definition at line 596 of file geo_types.h.

596 { return details::writeToString(*this); }
std::string writeToString(T const &value)
Write the argument into a string.
Definition: geo_types.h:864
template<std::size_t Index>
auto & geo::WireID::writeIndex ( )

Returns the index level Index of this type.

Definition at line 980 of file geo_types.h.

980  {
981  static_assert
982  (Index <= Level, "This ID type does not have the requested Index level.");
983  return details::getAbsIDindex<Index>(*this);
984 } // geo::WireID::writeIndex()
static constexpr auto Level
Level of this element.
Definition: geo_types.h:641

Member Data Documentation

CryostatID_t geo::CryostatID::Cryostat = InvalidID
inherited

Index of cryostat.

Definition at line 212 of file geo_types.h.

Referenced by detsim::WienerFilterAna::analyze(), hit::GausHitFinderAna::analyze(), trkf::SpacePointAna::analyze(), mvapid::MVAAlg::CalcSegmentdEdxDist(), tca::ChgFracBetween(), tca::ChgFracNearEnd(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncomplete3DVerticesInGaps(), geo::ChannelMapStandardAlg::ConvertROPtoWirePlane(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertTPCsetToTPC(), geo::ChannelMapStandardAlg::ConvertTPCtoTPCset(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), trkf::SpacePointAlg::correctedTime(), geo::GeometryCore::Cryostat(), geo::GeometryCore::CryostatPtr(), cluster::ClusterCrawlerAlg::EncodeCTP(), tca::EncodeCTP(), cluster::EndPointAlg::EndPoint(), ems::EndPoint::EndPoint(), trkf::SpacePointAlg::fillComplexSpacePoint(), tca::FillmAllTraj(), lar_pandora::PFParticleHitDumper::FillRecoWires(), trkf::SpacePointAlg::fillSpacePoint(), tca::FillWireHitRange(), tca::FillWireIntersections(), tca::Find3DVertices(), apa::DisambigAlg::FindChanTimeEndPts(), geo::GeometryCore::FindCryostatAtPosition(), hit::HitCheater::FindHitsOnChannel(), tca::FindParent(), tca::FindShowers3D(), geo::GeometryCore::FindTPCAtPosition(), tca::FitTP3Ds(), cluster::ClusterCrawlerAlg::FitVtx(), ems::EMShower3D::GetCloseHits(), geo::GeometryCore::GetClosestOpDet(), geo::GeometryCore::GetEndTPCID(), geo::GeometryCore::GetEndTPCsetID(), cluster::ClusterCrawlerAlg::GetHitRange(), calo::Calorimetry::GetPitch(), calo::GnocchiCalorimetry::GetPitch(), nnet::TrainingDataAlg::getProjection(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), pma::Track3D::GetUnconstrainedProj3D(), lar_pandora::PFParticleHitDumper::GetUVW(), detinfo::DetectorPropertiesData::GetXTicksOffset(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), geo::GeometryCore::HasCryostat(), tss::Hit2D::Hit2D(), ems::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), hit::DisambigCheater::InitHitToWids(), trkf::KHitWireLine::KHitWireLine(), trkf::KHitWireX::KHitWireX(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), geo::details::cryostat_id_iterator_base< GEOID >::localID(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::Match2Planes(), tca::NearbySrcHit(), geo::ChannelMapAlg::NearestWireID(), geo::ChannelMapStandardAlg::NTPCsets(), geo::operator!=(), geo::operator<(), anab::operator<<(), recob::operator<<(), geo::operator<<(), geo::operator==(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), geo::ChannelMapAlg::PlaneWireToChannel(), tca::PosInPlane(), geo::GeometryCore::PositionToCryostat(), geo::GeometryCore::PositionToTPC(), tca::Print3S(), tca::Print3V(), tca::PrintAllTraj(), tca::PrintTP3Ds(), cluster::LineCluster::produce(), cluster::ClusterCheater::produce(), cluster::TrajCluster::produce(), cluster::SmallClusterFinder::produce(), hit::DPRawHitFinder::produce(), evd::GraphCluster::produce(), calo::Calorimetry::produce(), calo::GnocchiCalorimetry::produce(), ICARUS::CTreeGeometry::saveChannelWireMap(), trkf::SpacePointAlg::separation(), tca::SignalAtTp(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), apa::DisambigAlg::TrivialDisambig(), tca::ValidTwoPlaneMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterSplit(), cluster::ClusterCrawlerAlg::VtxMatch(), geo::ChannelMapAlg::WireCoordinate(), and tca::WireHitRangeOK().

constexpr WireID_t geo::WireID::InvalidID = std::numeric_limits<WireID_t>::max()
static

Special code for an invalid ID.

Definition at line 577 of file geo_types.h.

Referenced by getInvalidID().

constexpr auto geo::WireID::Level = geo::ElementLevel::Wire
static

Level of this element.

Definition at line 641 of file geo_types.h.

PlaneID_t geo::PlaneID::Plane = InvalidID
inherited

Index of the plane within its TPC.

Definition at line 493 of file geo_types.h.

Referenced by tca::AddHits(), tca::AddLAHits(), tca::AddLooseHits(), tca::AddPointsInRange(), ClusteringValidation::ClusterAnalyser::Analyse(), detsim::WienerFilterAna::analyze(), hit::MagDriftAna::analyze(), hit::GausHitFinderAna::analyze(), hit::HitFinderAna::analyze(), trkf::SpacePointAna::analyze(), calo::TrackCalorimetryAlg::AnalyzeHit(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), mvapid::MVAAlg::CalcSegmentdEdxDist(), ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), evd::HitSelector::ChangeHit(), shower::EMShowerAlg::CheckShowerPlanes(), tca::ChgFracNearPos(), tca::ChkBegin(), tca::ChkStopEndPts(), tca::ChkVtxAssociations(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncompleteShower(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), trkf::SpacePointAlg::correctedTime(), tca::DeadWireCount(), tca::dEdx(), calo::CalorimetryAlg::dEdx_AMP(), calo::CalorimetryAlg::dEdx_AREA(), trkf::Track3DKalmanSPS::dQdxCalc(), trkf::HitState::dump(), cluster::ClusterCrawlerAlg::EncodeCTP(), tca::EncodeCTP(), cluster::EndPointAlg::EndPoint(), ems::EndPoint::EndPoint(), tca::ExpectedHitsRMS(), trkf::KHitContainerWireLine::fill(), trkf::KHitContainerWireX::fill(), trkf::SpacePointAlg::fillComplexSpacePoint(), tca::FilldEdx(), tca::FillmAllTraj(), pid::PIDAAlg::FillPIDAProperties(), lar_pandora::PFParticleHitDumper::FillRecoWires(), trkf::SpacePointAlg::fillSpacePoint(), tca::Find2DVertices(), tca::Find3DRecoRange(), tca::Find3DVertices(), tca::FindCloseHits(), tca::FindCloseTjs(), shower::EMShowerAlg::FinddEdx_(), tca::TrajClusterAlg::FindJunkTraj(), tca::Finish3DShowers(), tca::FitTP3Ds(), cluster::ClusterCrawlerAlg::FitVtx(), tca::Forecast(), ems::EMShower3D::GetCloseHits(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), cluster::ClusterCrawlerAlg::GetHitRange(), calo::Calorimetry::GetPitch(), pma::Track3D::GetUnconstrainedProj3D(), lar_pandora::PFParticleHitDumper::GetUVW(), detinfo::DetectorPropertiesData::GetXTicksOffset(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), corner::CornerFinderAlg::GrabWires(), geo::TPCGeo::HasPlane(), tss::Hit2D::Hit2D(), ems::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), util::PxHitConverter::HitToPxHit(), hit::HitFilterAlg::IsGoodHit(), trkf::KHitWireLine::KHitWireLine(), trkf::KHitWireX::KHitWireX(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), tca::MakeJunkVertices(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::MakeVertexObsolete(), tca::MaxChargeAsymmetry(), cluster::ClusterCrawlerAlg::MergeHits(), tca::NearbySrcHit(), lar_cluster3d::StandardHit3DBuilder::NearestWireID(), geo::ChannelMapAlg::NearestWireID(), geo::operator!=(), geo::operator<(), anab::operator<<(), recob::operator<<(), geo::operator<<(), geo::operator==(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), geo::TPCGeo::Plane(), geo::GeometryCore::PlanePitch(), geo::TPCGeo::PlanePtr(), geo::ChannelMapAlg::PlaneWireToChannel(), tca::PrintAllTraj(), tca::PrintPos(), hit::TTHitFinder::produce(), cluster::LineCluster::produce(), cluster::ClusterCrawler::produce(), cluster::ClusterCheater::produce(), cluster::TrajCluster::produce(), hit::GausHitFinder::produce(), trkf::TrackKalmanCheater::produce(), hit::DPRawHitFinder::produce(), calo::Calorimetry::produce(), calo::GnocchiCalorimetry::produce(), tca::Reconcile2Vs(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::ReversePropagate(), evd::RawDrawingOptions::RoIthreshold(), ICARUS::CTreeGeometry::saveChannelWireMap(), evd::HitSelector::SaveHits(), tca::SaveTjInfo(), tca::SaveTjInfoStuff(), trkf::SpacePointAlg::separation(), evd::RawDataDrawer::SetDrawingLimitsFromRoI(), tca::SetTPEnvironment(), reco::ClusterHit3D::setWireID(), tca::SignalAtTp(), tca::SignalAtTpInSlc(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), tca::SplitTrajCrossingVertices(), tca::StepAway(), geo::GeometryCore::ThirdPlane(), trkf::CosmicTrackerAlg::Track3D(), tca::TrimEndPts(), apa::DisambigAlg::TrivialDisambig(), shower::LArPandoraShowerCheatingAlg::TrueParticleIDFromTrueChain(), reco::ClusterParameters::UpdateParameters(), tca::UpdateShower(), pma::ProjectionMatchingAlg::validate_on_adc(), tca::ValidTwoPlaneMatch(), cluster::ClusterCrawlerAlg::VtxMatch(), geo::ChannelMapAlg::WireCoordinate(), and geo::GeometryCore::WireIDIntersectionCheck().

TPCID_t geo::TPCID::TPC = InvalidID
inherited

Index of the TPC within its cryostat.

Definition at line 406 of file geo_types.h.

Referenced by ClusteringValidation::ClusterAnalyser::Analyse(), detsim::WienerFilterAna::analyze(), hit::MagDriftAna::analyze(), hit::GausHitFinderAna::analyze(), trkf::SpacePointAna::analyze(), pma::ProjectionMatchingAlg::buildShowerSeg(), mvapid::MVAAlg::CalcSegmentdEdxDist(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), tca::ChgFracBetween(), tca::ChgFracNearEnd(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncomplete3DVerticesInGaps(), ems::MultiEMShowers::convCluster(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertTPCtoTPCset(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), trkf::SpacePointAlg::correctedTime(), evd::RecoBaseDrawer::DrawTrack2D(), cluster::ClusterCrawlerAlg::EncodeCTP(), tca::EncodeCTP(), cluster::EndPointAlg::EndPoint(), ems::EndPoint::EndPoint(), trkf::SpacePointAlg::fillComplexSpacePoint(), tca::FillmAllTraj(), lar_pandora::PFParticleHitDumper::FillRecoWires(), trkf::SpacePointAlg::fillSpacePoint(), tca::FillWireHitRange(), tca::FillWireIntersections(), tca::Find3DVertices(), apa::DisambigAlg::FindChanTimeEndPts(), hit::HitCheater::FindHitsOnChannel(), shower::EMShowerAlg::FindInitialTrackHits(), tca::FindParent(), tca::FindShowers3D(), geo::CryostatGeo::FindTPCAtPosition(), tca::FitTP3Ds(), cluster::ClusterCrawlerAlg::FitVtx(), ems::EMShower3D::GetCloseHits(), cluster::ClusterCrawlerAlg::GetHitRange(), cluster::TrajCluster::GetHits(), calo::GnocchiCalorimetry::GetLocation(), calo::Calorimetry::GetPitch(), calo::GnocchiCalorimetry::GetPitch(), nnet::TrainingDataAlg::getProjection(), lar_pandora::LArPandoraInput::GetTrueStartAndEndPoints(), pma::Track3D::GetUnconstrainedProj3D(), lar_pandora::PFParticleHitDumper::GetUVW(), detinfo::DetectorPropertiesData::GetXTicksOffset(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), geo::CryostatGeo::HasTPC(), tss::Hit2D::Hit2D(), ems::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), apa::APAGeometryAlg::Init(), hit::DisambigCheater::InitHitToWids(), geo::GeometryCore::IntersectSegments(), trkf::KHitWireLine::KHitWireLine(), trkf::KHitWireX::KHitWireX(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::Match2Planes(), tca::Match3PlanesSpt(), evd::SimulationDrawer::MCTruthOrtho(), tca::NearbySrcHit(), geo::ChannelMapAlg::NearestWireID(), geo::operator!=(), geo::operator<(), anab::operator<<(), recob::operator<<(), geo::operator<<(), geo::operator==(), shower::EMShowerAlg::OrderShowerHits_(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), geo::ChannelMapAlg::PlaneWireToChannel(), tca::PosInPlane(), geo::GeometryCore::PositionToTPC(), tca::Print3S(), tca::Print3V(), tca::PrintAllTraj(), tca::PrintTP3Ds(), cluster::LineCluster::produce(), cluster::ClusterCheater::produce(), sce::SCECorrection::produce(), cluster::TrajCluster::produce(), cluster::SmallClusterFinder::produce(), hit::DPRawHitFinder::produce(), evd::GraphCluster::produce(), calo::Calorimetry::produce(), calo::GnocchiCalorimetry::produce(), shower::EMShowerAlg::Project3DPointOntoPlane_(), ICARUS::CTreeGeometry::saveChannelWireMap(), trkf::SpacePointAlg::separation(), tca::SignalAtTp(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), geo::CryostatGeo::TPC(), geo::CryostatGeo::TPCPtr(), apa::DisambigAlg::TrivialDisambig(), tca::ValidTwoPlaneMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterSplit(), cluster::ClusterCrawlerAlg::VtxMatch(), geo::ChannelMapAlg::WireCoordinate(), and tca::WireHitRangeOK().

WireID_t geo::WireID::Wire = InvalidID

Index of the wire within its plane.

Definition at line 580 of file geo_types.h.

Referenced by detsim::WienerFilterAna::analyze(), hit::MagDriftAna::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), hit::GausHitFinderAna::analyze(), trkf::SpacePointAna::analyze(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), geo::PlaneGeo::ClosestWireID(), trkf::HitState::dump(), cluster::HoughBaseAlg::FastTransform(), lar_pandora::PFParticleHitDumper::FillRecoWires(), cluster::ClusterCrawlerAlg::FindHammerClusters(), evd::TWQProjectionView::FindLineLength(), ems::EMShower3D::GetCloseHits(), pma::ProjectionMatchingAlg::GetCloseHits_(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), calo::Calorimetry::GetPitch(), pma::Track3D::GetUnconstrainedProj3D(), lar_pandora::PFParticleHitDumper::GetUVW(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), shower::TCShowerAlg::goodHit(), corner::CornerFinderAlg::GrabWires(), geo::PlaneGeo::HasWire(), tss::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), shower::LArPandoraShowerAlg::HitCoordinates(), util::PxHitConverter::HitToPxHit(), hit::DisambigCheater::InitHitToWids(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), cluster::ClusterCrawlerAlg::MergeHits(), geo::ChannelMapAlg::NearestWire(), geo::PlaneGeo::NearestWire(), geo::GeometryCore::NearestWire(), lar_cluster3d::StandardHit3DBuilder::NearestWireID(), apa::APAGeometryAlg::NearestWireIDOnChan(), evd::RawDataDrawer::BoxDrawer::Operate(), evd::RawDataDrawer::RoIextractorClass::Operate(), geo::operator!=(), geo::operator<(), recob::operator<<(), geo::operator<<(), geo::operator==(), evd::RecoBaseDrawer::OpFlash2D(), shower::EMShowerAlg::OrderShowerHits_(), calo::GnocchiCalorimetry::OrganizeHitsSnippets(), geo::ChannelMapStandardAlg::PlaneWireToChannel(), geo::ChannelMapAlg::PlaneWireToChannel(), evd::RawDataDrawer::BoxDrawer::ProcessWire(), hit::TTHitFinder::produce(), cluster::DBcluster::produce(), trkf::SpacePts::produce(), hit::DPRawHitFinder::produce(), ICARUS::CTreeGeometry::saveChannelWireMap(), evd::HitSelector::SaveHits(), SortByWire(), cluster::sortHitsByWire(), trkf::CosmicTrackerAlg::Track3D(), apa::DisambigAlg::TrivialDisambig(), reco::RecobClusterParameters::UpdateParameters(), cluster::ClusterCrawlerAlg::VtxConstraint(), cluster::ClusterCrawlerAlg::VtxMatch(), geo::PlaneGeo::Wire(), and geo::PlaneGeo::WirePtr().


The documentation for this struct was generated from the following file: