LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
geo::PlaneID Struct Reference

The data type to uniquely identify a Plane. More...

#include "geo_types.h"

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

Public Types

using PlaneID_t = unsigned int
 Type for the ID number. More...
 
using ThisID_t = PlaneID
 Type of this ID. More...
 
using ParentID_t = TPCID
 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 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 PlaneID ()=default
 Default constructor: an invalid plane ID. More...
 
constexpr PlaneID (TPCID const &tpcid, PlaneID_t p)
 Constructor: plane with index p in the TPC identified by tpcid. More...
 
constexpr PlaneID (CryostatID_t c, TPCID_t t, PlaneID_t p)
 Constructor: plane with index p in the cryostat index c, TPC index t. More...
 
constexpr auto const & deepestIndex () const
 Returns the value of the deepest ID available (plane's). More...
 
auto & deepestIndex ()
 Returns the deepest ID available (plane's). More...
 
constexpr ParentID_t const & parentID () const
 Return the parent ID of this one (a TPC ID). More...
 
ParentID_tparentID ()
 Return the parent ID of this one (a TPC 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 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 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 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 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 plane ID. More...
 
 operator std::string () const
 Human-readable representation of the plane 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 PlaneID_t getInvalidID ()
 Return the value of the invalid plane 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

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 PlaneID_t InvalidID = std::numeric_limits<PlaneID_t>::max()
 Special code for an invalid ID. More...
 
static constexpr auto Level = geo::ElementLevel::Plane
 Level of this element. More...
 

Detailed Description

The data type to uniquely identify a Plane.

Definition at line 463 of file geo_types.h.

Member Typedef Documentation

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

Type for the ID number.

Definition at line 193 of file geo_types.h.

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

Type of the ID with the specified level L.

Definition at line 471 of file geo_types.h.

Type of the parent ID.

Definition at line 467 of file geo_types.h.

using geo::PlaneID::PlaneID_t = unsigned int

Type for the ID number.

Definition at line 464 of file geo_types.h.

Type of this ID.

Definition at line 466 of file geo_types.h.

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

Type for the ID number.

Definition at line 382 of file geo_types.h.

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

Type of the ID A levels above this one.

Definition at line 475 of file geo_types.h.

Constructor & Destructor Documentation

constexpr geo::PlaneID::PlaneID ( )
default

Default constructor: an invalid plane ID.

constexpr geo::PlaneID::PlaneID ( TPCID const &  tpcid,
PlaneID_t  p 
)
inline

Constructor: plane with index p in the TPC identified by tpcid.

Definition at line 487 of file geo_types.h.

487 : TPCID(tpcid), Plane(p) {}
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:481
constexpr TPCID()=default
Default constructor: an invalid TPC ID.
constexpr geo::PlaneID::PlaneID ( CryostatID_t  c,
TPCID_t  t,
PlaneID_t  p 
)
inline

Constructor: plane with index p in the cryostat index c, TPC index t.

Definition at line 490 of file geo_types.h.

References geo::details::writeToString().

490 : TPCID(c, t), Plane(p) {}
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:481
constexpr TPCID()=default
Default constructor: an invalid TPC ID.

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 ( )
inline

Conversion to PlaneID (for convenience of notation).

Definition at line 524 of file geo_types.h.

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

Conversion to TPCID (for convenience of notation).

Definition at line 442 of file geo_types.h.

442 { 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; }
PlaneID& geo::PlaneID::asPlaneID ( )
inline

Conversion to PlaneID (for convenience of notation).

Definition at line 522 of file geo_types.h.

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

Conversion to TPCID (for convenience of notation).

Definition at line 440 of file geo_types.h.

440 { 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 269 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<().

270  {
271  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
272  }
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:289
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (cryostat&#39;s).
Definition: geo_types.h:251
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 445 of file geo_types.h.

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

Referenced by cmp().

446  {
447  int cmp_res = CryostatID::cmp(other);
448  if (cmp_res == 0) // same cryostat: compare TPC
449  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
450  else // return the order of cryostats
451  return cmp_res;
452  } // 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:289
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (TPC&#39;s).
Definition: geo_types.h:420
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:269
constexpr int geo::PlaneID::cmp ( PlaneID const &  other) const
inline

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

Definition at line 527 of file geo_types.h.

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

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

528  {
529  int cmp_res = TPCID::cmp(other);
530  if (cmp_res == 0) // same TPC: compare plane
531  return ThreeWayComparison(deepestIndex(), other.deepestIndex());
532  else // return the order of planes
533  return cmp_res;
534  } // 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:445
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:289
constexpr auto const & deepestIndex() const
Returns the value of the deepest ID available (plane&#39;s).
Definition: geo_types.h:502
constexpr auto const& geo::PlaneID::deepestIndex ( ) const
inline

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

Definition at line 502 of file geo_types.h.

Referenced by cmp().

502 { return Plane; }
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:481
auto& geo::PlaneID::deepestIndex ( )
inline

Returns the deepest ID available (plane's).

Definition at line 504 of file geo_types.h.

504 { return Plane; }
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:481
template<std::size_t Index>
constexpr auto geo::PlaneID::getIndex ( ) const

Returns the index level Index of this type.

Definition at line 925 of file geo_types.h.

926 {
927  static_assert(Index <= Level, "This ID type does not have the requested Index level.");
928  return details::getAbsIDindex<Index>(*this);
929 } // geo::PlaneID::getIndex() const
static constexpr auto Level
Level of this element.
Definition: geo_types.h:537
static constexpr PlaneID_t geo::PlaneID::getInvalidID ( )
inlinestatic

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

Definition at line 540 of file geo_types.h.

References InvalidID.

540 { return PlaneID::InvalidID; }
static constexpr PlaneID_t InvalidID
Special code for an invalid ID.
Definition: geo_types.h:479
template<std::size_t Above>
constexpr auto geo::PlaneID::getRelIndex ( ) const

Returns the index Above levels higher than Level.

Definition at line 939 of file geo_types.h.

940 {
941  static_assert(Above <= Level, "This ID type does not have the requested Index level.");
942  return getIndex<Level - Above>();
943 } // geo::PlaneID::getRelIndex()
constexpr auto getIndex() const
Returns the index level Index of this type.
Definition: geo_types.h:925
static constexpr auto Level
Level of this element.
Definition: geo_types.h:537
void geo::CryostatID::markInvalid ( )
inlineinherited

Sets the ID as invalid.

Definition at line 238 of file geo_types.h.

References geo::details::writeToString().

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

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

Sets the ID as valid.

Definition at line 235 of file geo_types.h.

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

Returns true if the ID is valid.

Definition at line 226 of file geo_types.h.

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

Human-readable representation of the plane ID.

Definition at line 497 of file geo_types.h.

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

Returns true if the ID is not valid.

Definition at line 229 of file geo_types.h.

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

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

Definition at line 506 of file geo_types.h.

506 { return *this; }
ParentID_t& geo::PlaneID::parentID ( )
inline

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

Definition at line 508 of file geo_types.h.

508 { return *this; }
void geo::CryostatID::setValidity ( bool  valid)
inlineinherited

Sets the validity of the ID.

Definition at line 232 of file geo_types.h.

232 { isValid = valid; }
bool isValid
Whether this ID points to a valid element.
Definition: geo_types.h:210
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 289 of file geo_types.h.

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

Human-readable representation of the plane ID.

Definition at line 496 of file geo_types.h.

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

Returns the index level Index of this type.

Definition at line 932 of file geo_types.h.

933 {
934  static_assert(Index <= Level, "This ID type does not have the requested Index level.");
935  return details::getAbsIDindex<Index>(*this);
936 } // geo::PlaneID::writeIndex()
static constexpr auto Level
Level of this element.
Definition: geo_types.h:537

Member Data Documentation

CryostatID_t geo::CryostatID::Cryostat = InvalidID
inherited

Index of cryostat.

Definition at line 211 of file geo_types.h.

Referenced by detsim::WienerFilterAna::analyze(), trkf::SpacePointAna::analyze(), pma::ProjectionMatchingAlg::buildShowerSeg(), mvapid::MVAAlg::CalcSegmentdEdxDist(), tca::ChgFracBetween(), tca::ChgFracNearEnd(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), lar_cluster3d::SnippetHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncomplete3DVerticesInGaps(), ems::MultiEMShowers::convCluster(), geo::ChannelMapStandardAlg::ConvertROPtoWirePlane(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertTPCsetToTPC(), geo::ChannelMapStandardAlg::ConvertTPCtoTPCset(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), geo::GeometryCore::Cryostat(), geo::GeometryCore::CryostatPtr(), cluster::ClusterCrawlerAlg::EncodeCTP(), tca::EncodeCTP(), 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(), larg4::LArVoxelReadoutGeometry::FindNestedVolume(), tca::FindParent(), tca::FindShowers3D(), geo::GeometryCore::FindTPCAtPosition(), tca::FitTP3Ds(), ems::EMShower3D::GetCloseHits(), geo::GeometryCore::GetClosestOpDet(), geo::GeometryCore::GetEndTPCID(), geo::GeometryCore::GetEndTPCsetID(), nnet::TrainingDataAlg::getProjection(), pma::Track3D::GetUnconstrainedProj3D(), 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::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::Match2Planes(), evd::SimulationDrawer::MCTruthOrtho(), geo::ChannelMapStandardAlg::NTPCsets(), geo::operator!=(), geo::operator<(), anab::operator<<(), recob::operator<<(), geo::operator<<(), geo::operator==(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), tca::Print3S(), tca::Print3V(), tca::PrintAllTraj(), tca::PrintTP3Ds(), cluster::LineCluster::produce(), cluster::TrajCluster::produce(), hit::DPRawHitFinder::produce(), calo::Calorimetry::produce(), detsim::SimDriftElectrons::produce(), calo::GnocchiCalorimetry::produce(), trkf::SpacePointAlg::separation(), tca::SignalAtTp(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), apa::DisambigAlg::TrivialDisambig(), tca::ValidTwoPlaneMatch(), trkf::VertexFitAlg::VertexFit(), cluster::ClusterCrawlerAlg::Vtx3ClusterMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterSplit(), cluster::ClusterCrawlerAlg::VtxMatch(), tca::WireHitRangeOK(), and lar_cluster3d::SnippetHit3DBuilder::WireIDsIntersect().

constexpr PlaneID_t geo::PlaneID::InvalidID = std::numeric_limits<PlaneID_t>::max()
static

Special code for an invalid ID.

Definition at line 479 of file geo_types.h.

Referenced by getInvalidID(), geo::TPCGeo::Plane(), geo::TPCGeo::SortSubVolumes(), and geo::TPCGeo::UpdatePlaneViewCache().

constexpr auto geo::PlaneID::Level = geo::ElementLevel::Plane
static

Level of this element.

Definition at line 537 of file geo_types.h.

PlaneID_t geo::PlaneID::Plane = InvalidID

Index of the plane within its TPC.

Definition at line 481 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::HitFinderAna::analyze(), trkf::SpacePointAna::analyze(), nnet::PointIdEffTest::analyze(), calo::TrackCalorimetryAlg::AnalyzeHit(), lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec(), lar_cluster3d::SnippetHit3DBuilder::BuildChannelStatusVec(), mvapid::MVAAlg::CalcSegmentdEdxDist(), ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), evd::HitSelector::ChangeHit(), trkf::CCTrackMaker::ChargeNear(), shower::EMShowerAlg::CheckShowerPlanes(), tca::ChgFracNearPos(), tca::ChkBegin(), tca::ChkStopEndPts(), tca::ChkVtxAssociations(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), lar_cluster3d::SnippetHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncompleteShower(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobal(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobalTDC(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), tca::DeadWireCount(), tca::dEdx(), calo::CalorimetryAlg::dEdx_AMP(), calo::CalorimetryAlg::dEdx_AREA(), lcvn::PixelMapProducer< T, U >::DefineBoundary(), 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(), tca::Forecast(), vertex::FeatureVertexFinder::Get3dVertexCandidates(), pid::Chi2PIDAlg::GetBitset(), ems::EMShower3D::GetCloseHits(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), pma::Track3D::GetUnconstrainedProj3D(), detinfo::DetectorPropertiesData::GetXTicksOffset(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), corner::CornerFinderAlg::GrabWires(), geo::TPCGeo::HasPlane(), tss::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(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), tca::MakeJunkVertices(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::MakeVertexObsolete(), tca::MaxChargeAsymmetry(), cluster::ClusterCrawlerAlg::MergeHits(), tca::NearbySrcHit(), 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(), tca::PrintAllTraj(), tca::PrintPos(), hit::TTHitFinder::produce(), cluster::LineCluster::produce(), cluster::ClusterCrawler::produce(), cluster::TrajCluster::produce(), shwf::ShowerReco::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(), 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(), shower::LArPandoraShowerCheatingAlg::TrueParticleIDFromTrueChain(), reco::ClusterParameters::UpdateParameters(), tca::UpdateShower(), pma::ProjectionMatchingAlg::validate_on_adc(), tca::ValidTwoPlaneMatch(), cluster::ClusterCrawlerAlg::VtxMatch(), geo::GeometryCore::WireIDIntersectionCheck(), and lar_cluster3d::SnippetHit3DBuilder::WireIDsIntersect().

TPCID_t geo::TPCID::TPC = InvalidID
inherited

Index of the TPC within its cryostat.

Definition at line 399 of file geo_types.h.

Referenced by ClusteringValidation::ClusterAnalyser::Analyse(), detsim::WienerFilterAna::analyze(), trkf::SpacePointAna::analyze(), trkf::TrajectoryMCSFitter::breakTrajInSegments(), pma::ProjectionMatchingAlg::buildShowerSeg(), mvapid::MVAAlg::CalcSegmentdEdxDist(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), geo::GeometryCore::ChannelsIntersect(), tca::ChgFracBetween(), tca::ChgFracNearEnd(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), lar_cluster3d::SnippetHit3DBuilder::CollectArtHits(), trkf::SpacePointAlg::compatible(), tca::CompleteIncomplete3DVerticesInGaps(), ems::MultiEMShowers::convCluster(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::ChannelMapStandardAlg::ConvertTPCtoTPCset(), geo::ChannelMapStandardAlg::ConvertWirePlaneToROP(), detinfo::DetectorPropertiesData::ConvertXToTicks(), cluster::ClusterCrawlerAlg::EncodeCTP(), tca::EncodeCTP(), 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(), larg4::LArVoxelReadoutGeometry::FindNestedVolume(), tca::FindParent(), tca::FindShowers3D(), tca::FitTP3Ds(), ems::EMShower3D::GetCloseHits(), cluster::TrajCluster::GetHits(), calo::Calorimetry::GetPitch(), nnet::TrainingDataAlg::getProjection(), pma::Track3D::GetUnconstrainedProj3D(), detinfo::DetectorPropertiesData::GetXTicksOffset(), cluster::MergeClusterAlg::GlobalWire(), cluster::BlurredClusteringAlg::GlobalWire(), shower::EMShowerAlg::GlobalWire_(), geo::CryostatGeo::HasTPC(), tss::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), apa::APAGeometryAlg::Init(), hit::DisambigCheater::InitHitToWids(), trkf::KHitWireLine::KHitWireLine(), trkf::KHitWireX::KHitWireX(), trkf::TrajectoryMCSFitter::linearRegression(), apa::DisambigAlg::MakeCloseHits(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), tca::MakePFPTjs(), trkf::SpacePointAlg::makeSpacePoints(), trkf::CosmicTrackerAlg::MakeSPT(), tca::Match2Planes(), tca::Match3PlanesSpt(), evd::SimulationDrawer::MCTruthOrtho(), tca::NearbySrcHit(), geo::operator!=(), geo::operator<(), anab::operator<<(), recob::operator<<(), geo::operator<<(), geo::operator==(), shower::EMShowerAlg::OrderShowerHits_(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), tca::Print3S(), tca::Print3V(), tca::PrintAllTraj(), tca::PrintTP3Ds(), cluster::LineCluster::produce(), sce::SCECorrection::produce(), cluster::TrajCluster::produce(), hit::DPRawHitFinder::produce(), calo::Calorimetry::produce(), detsim::SimDriftElectrons::produce(), calo::GnocchiCalorimetry::produce(), shower::EMShowerAlg::Project3DPointOntoPlane_(), trkf::SpacePointAlg::separation(), tca::SignalAtTp(), cheat::BackTracker::SpacePointHitsToWeightedXYZ(), geo::CryostatGeo::TPC(), geo::CryostatGeo::TPCPtr(), apa::DisambigAlg::TrivialDisambig(), tca::ValidTwoPlaneMatch(), trkf::VertexFitAlg::VertexFit(), cluster::ClusterCrawlerAlg::Vtx3ClusterMatch(), cluster::ClusterCrawlerAlg::Vtx3ClusterSplit(), cluster::ClusterCrawlerAlg::VtxMatch(), tca::WireHitRangeOK(), lar_cluster3d::SnippetHit3DBuilder::WireIDsIntersect(), and calo::GnocchiCalorimetry::WireToTrajectoryPosition().


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