LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "fwd.h"
Public Types | |
typedef std::size_t | key_type |
typedef T | value_type |
typedef T const * | const_pointer |
typedef T const & | const_reference |
Public Member Functions | |
Ptr ()=default | |
template<typename H > | |
Ptr (H const &handle, key_type idx) | |
Ptr (ProductID const id) | |
Ptr (ProductID const productID, key_type itemKey, EDProductGetter const *prodGetter) | |
template<typename U > | |
Ptr (Ptr< U > const &iOther, std::enable_if_t< std::is_base_of< T, U >::value > *dummy=nullptr) | |
template<typename U > | |
Ptr (Ptr< U > const &iOther, std::enable_if_t< std::is_base_of< U, T >::value > *dummy=nullptr) | |
Ptr (ProductID const productID, T const *item, key_type itemKey) | |
T const & | operator* () const |
T const * | operator-> () const |
T const * | get () const |
bool | isNull () const |
bool | isNonnull () const |
bool | isAvailable () const |
ProductID | id () const |
key_type | key () const |
bool | hasCache () const |
RefCore const & | refCore () const |
operator bool () const | |
EDProductGetter const * | productGetter () const |
template<typename H > | |
Ptr (H const &handle, typename Ptr< T >::key_type const idx) | |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
template<typename C > | |
T const * | getItem_ (C const *product, key_type iKey) |
void | getData_ () const |
Private Attributes | |
RefCore | core_ {} |
key_type | key_ {key_traits<key_type>::value} |
typedef T const* art::Ptr< T >::const_pointer |
typedef T const& art::Ptr< T >::const_reference |
typedef T art::Ptr< T >::value_type |
|
inline |
|
inline |
|
inline |
Definition at line 293 of file Ptr.h.
References art::Ptr< T >::get(), art::Ptr< T >::id(), and art::Ptr< T >::key_.
|
inline |
|
inline |
Definition at line 258 of file Ptr.h.
References art::Ptr< T >::core_, art::Ptr< T >::getItem_(), art::errors::InvalidReference, art::RefCore::isNull(), and art::Ptr< T >::key_.
|
inlinestatic |
|
inline |
Definition at line 321 of file Ptr.h.
References art::Ptr< T >::isNull(), and art::Ptr< T >::operator->().
Referenced by g4b::ConvertMCTruthToG4::Append(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), CRHitRemoval::collectPFParticleHits(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), art::detail::BcollHelper< ProdB >::fill(), util::FindUNotAssociatedToT(), evgb::util::FindUNotAssociatedToT(), g4b::G4Helper::G4Run(), lar_pandora::PFParticleValidation::GetMCPrimaryMatchingMap(), lar_pandora::PFParticleValidation::GetSimpleMCPrimaryList(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), evgb::MCTruthAndFriendsItr::Next(), CRHitRemovalByPCA::produce(), larg4::LArG4::produce(), art::Ptr< T >::Ptr(), and CRHitRemovalByPCA::removeTaggedHits().
|
private |
Definition at line 398 of file Ptr.h.
References art::Ptr< T >::core_, e, art::EDProductGetter::getIt(), art::Ptr< T >::hasCache(), art::RefCore::id(), art::Ptr< T >::key(), art::Ptr< T >::key_, art::operator!=(), art::operator==(), art::Ptr< T >::productGetter(), art::errors::ProductNotFound, art::Ptr< T >::refCore(), art::RefCore::setProductPtr(), art::EDProduct::setPtr(), and fhicl::detail::atom::value().
Referenced by art::Ptr< T >::operator->().
|
inlineprivate |
Definition at line 391 of file Ptr.h.
Referenced by art::Ptr< T >::Ptr().
|
inline |
Definition at line 363 of file Ptr.h.
References art::Ptr< T >::core_, and art::RefCore::productPtr().
Referenced by art::Ptr< T >::getData_().
|
inline |
Definition at line 349 of file Ptr.h.
References art::Ptr< T >::core_, and art::RefCore::id().
Referenced by art::Assns< L, R, void >::fill_transients(), lar::util::details::FindAllP< Source, Dest >::hasProduct(), lar::util::details::FindAllP< Source, Dest >::Merge(), art::PtrRemapper::operator()(), std::hash< art::Ptr< T > >::operator()(), lar::util::details::UniqueAssociationCache< Source_t, Dest_t >::operator[](), and art::Ptr< T >::Ptr().
|
inline |
Definition at line 342 of file Ptr.h.
References art::Ptr< T >::core_, and art::RefCore::isAvailable().
Referenced by art::Ptr< T >::operator bool().
|
inline |
Definition at line 335 of file Ptr.h.
References art::Ptr< T >::key_.
Referenced by recob::HitCollectionCreator::CreateAssociationsToLastHit(), art::Ptr< T >::isNull(), lar::util::details::FindAllP< Source, Dest >::Merge(), art::Ptr< T >::operator bool(), art::PtrRemapper::operator()(), and hit::HitCheater::produce().
|
inline |
Definition at line 328 of file Ptr.h.
References art::Ptr< T >::isNonnull().
Referenced by cluster::BlurredClusteringAlg::ConvertBinsToRecobHits(), trkf::KGTrack::fillHits(), art::Ptr< T >::get(), cluster::BlurredClusteringAlg::GetTimeOfBin(), lar::util::details::FindAllP< Source, Dest >::Merge(), shower::EMShowerAlg::OrderShowerHits(), recob::HitCollectionAssociator::prepare_associations(), recob::HitRefinerAssociator::prepare_associations(), trkf::PMAlgTrajFitter::produce(), and trkf::PMAlgTrackMaker::produce().
|
inline |
Definition at line 356 of file Ptr.h.
References art::Ptr< T >::key_.
Referenced by RecoProxyUsageExample::analyze(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), shower::EMShowerAlg::CheckShowerPlanes(), t0::IndirectHitParticleAssns::CreateHitParticleAssociations(), evd::RecoBaseDrawer::DrawPFParticle3D(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), ems::EndPoint::FillBins(), lar_pandora::LArPandoraHelper::GetAssociatedHits(), lar_pandora::LArPandoraEvent::GetAssociationMap(), art::Ptr< T >::getData_(), anab::MVAReader< T, N >::getOutput(), anab::FVectorReader< T, N >::getVector(), anab::FVectorWriter< 4 >::getVector(), art::PtrVectorBase::key(), trkmkr::TrackMaker::makeTrack(), lar::util::details::FindAllP< Source, Dest >::Merge(), art::PtrRemapper::operator()(), std::hash< art::Ptr< T > >::operator()(), lar::util::details::UniqueAssociationCache< Source_t, Dest_t >::operator[](), lar_pandora::LArPandoraEventDump::PrintParticle(), apa::APAHitFinder::produce(), hit::HitCheater::produce(), caldata::CalWire::produce(), CRHitRemoval::produce(), caldata::CalWireT962::produce(), cosmic::TrackPFParticleMatch::produce(), TrackProducerFromPFParticle::produce(), cosmic::CosmicPFParticleTagger::produce(), shower::EMShower::produce(), cosmic::CosmicTrackTagger::produce(), cosmic::CosmicPCAxisTagger::produce(), vertex::PrimaryVertexFinder::produce(), shwf::ShowerReco::produce(), trkf::PMAlgTrajFitter::produce(), art::Ptr< T >::Ptr(), and trkf::KalmanFilterFinalTrackFitter::setMomValue().
|
inlineexplicit |
Definition at line 376 of file Ptr.h.
References art::Ptr< T >::isAvailable(), and art::Ptr< T >::isNonnull().
|
inline |
|
inline |
Definition at line 313 of file Ptr.h.
References art::Ptr< T >::core_, art::Ptr< T >::getData_(), and art::RefCore::productPtr().
Referenced by art::Ptr< T >::get().
|
inline |
Definition at line 383 of file Ptr.h.
References art::Ptr< T >::core_, and art::RefCore::productGetter().
Referenced by art::Ptr< T >::getData_().
|
inline |
Definition at line 370 of file Ptr.h.
References art::Ptr< T >::core_.
Referenced by art::PtrVector< T >::assign(), art::Ptr< T >::getData_(), art::PtrVector< T >::insert(), and art::PtrVector< T >::push_back().
Definition at line 165 of file Ptr.h.
Referenced by art::Ptr< T >::getData_(), art::Ptr< T >::hasCache(), art::Ptr< T >::id(), art::Ptr< T >::isAvailable(), art::Ptr< T >::operator->(), art::Ptr< T >::productGetter(), art::Ptr< T >::Ptr(), and art::Ptr< T >::refCore().
|
private |
Definition at line 166 of file Ptr.h.
Referenced by art::Ptr< T >::getData_(), art::Ptr< T >::isNonnull(), art::Ptr< T >::key(), and art::Ptr< T >::Ptr().