LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "fwd.h"
Classes | |
class | HandleTag |
Public Types | |
using | element_type = T |
Public Member Functions | |
~Handle ()=default | |
constexpr | Handle ()=default |
Handle (GroupQueryResult const &) | |
Handle (Handle const &)=default | |
Handle (Handle &&)=default | |
Handle & | operator= (Handle const &)=default |
Handle & | operator= (Handle &&)=default |
T const & | operator* () const |
T const * | operator-> () const |
T const * | product () const |
operator bool () const noexcept | |
bool | isValid () const noexcept |
bool | failedToGet () const |
Provenance const * | provenance () const |
ProductID | id () const |
std::shared_ptr< art::Exception const > | whyFailed () const |
EDProductGetter const * | productGetter () const noexcept |
void | swap (Handle< T > &other) |
void | clear () |
bool | removeProduct () |
Private Attributes | |
T const * | prod_ {nullptr} |
cet::exempt_ptr< Group > | group_ {nullptr} |
Provenance | prov_ {} |
std::shared_ptr< art::Exception const > | whyFailed_ {nullptr} |
using art::Handle< T >::element_type = T |
|
default |
|
explicitdefault |
|
explicit |
Definition at line 143 of file Handle.h.
References e, art::Handle< T >::group_, art::errors::LogicError, art::Handle< T >::prod_, art::Provenance::productDescription(), art::Handle< T >::prov_, art::GroupQueryResult::result(), and art::Handle< T >::whyFailed_.
|
default |
|
default |
void art::Handle< T >::clear | ( | ) |
Definition at line 255 of file Handle.h.
References art::Handle< T >::swap(), and tmp.
Referenced by art::Handle< T >::removeProduct(), and trkf::StitchAlg::StitchAlg().
bool art::Handle< T >::failedToGet | ( | ) | const |
Definition at line 210 of file Handle.h.
References art::Handle< T >::whyFailed_.
Referenced by cheat::RecoCheckAna::analyze(), art::Handle< T >::product(), evd::InfoTransfer::Rebuild(), and cheat::PhotonBackTracker::Rebuild().
|
inline |
Definition at line 224 of file Handle.h.
References art::Provenance::isValid(), art::Provenance::productID(), and art::Handle< T >::prov_.
Referenced by cluster::ClusterTrackAna::analyze().
|
noexcept |
Definition at line 203 of file Handle.h.
References art::Provenance::isValid(), art::Handle< T >::prod_, and art::Handle< T >::prov_.
Referenced by shower::TCShowerAnalysis::analyze(), MCBTDemo::analyze(), cluster::ClusterAna::analyze(), lar_pandora::ConsolidatedPFParticleAnalysisTemplate::analyze(), cluster::ClusterTrackAna::analyze(), trkf::SpacePointAna::analyze(), trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), trkf::TrackAna::anaStitch(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), lar_cluster3d::SnippetHit3DBuilder::CollectArtHits(), lar_pandora::LArPandoraHelper::CollectClusters(), lar_pandora::LArPandoraHelper::CollectCosmicTags(), lar_pandora::LArPandoraHelper::CollectGeneratorMCParticles(), lar_pandora::LArPandoraHelper::CollectHits(), lar_pandora::LArPandoraHelper::CollectMCParticles(), lar_pandora::LArPandoraSliceIdHelper::CollectNeutrinoMCParticles(), lar_pandora::LArPandoraHelper::CollectPFParticleMetadata(), lar_pandora::LArPandoraHelper::CollectPFParticles(), lar_pandora::LArPandoraHelper::CollectSeeds(), lar_pandora::LArPandoraHelper::CollectShowers(), lar_pandora::LArPandoraHelper::CollectSimChannels(), lar_pandora::LArPandoraHelper::CollectSpacePoints(), lar_pandora::LArPandoraHelper::CollectT0s(), lar_pandora::LArPandoraHelper::CollectTracks(), lar_pandora::LArPandoraHelper::CollectVertices(), lar_pandora::LArPandoraHelper::CollectWires(), t0::IndirectHitParticleAssns::CreateHitParticleAssociations(), t0::DirectHitParticleAssns::CreateHitParticleAssociations(), evdb_tool::OpHit3DDrawer::Draw(), evdb_tool::DrawSimPhoton3D::Draw(), evdb_tool::OpFlash3DDrawer::Draw(), evdb_tool::DrawLArVoxel3D::Draw(), evdb_tool::DrawSimEnergyDeposit3D::drawAll(), evdb_tool::DrawSimEnergyDeposit3D::drawMCPartAssociated(), evd::RecoBaseDrawer::DrawShower3D(), evd::RecoBaseDrawer::DrawShowerOrtho(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), evdb_tool::DrawRawHist::Fill(), trkf::Track3DKalmanHit::getAllHits(), lar_pandora::LArPandoraSliceIdHelper::GetBeamNeutrinoMCTruth(), trkf::Track3DKalmanHit::getClusteredHits(), lar_pandora::LArPandoraSliceIdHelper::GetHitOrigins(), trkf::Track3DKalmanHit::getPFParticleStuff(), lar_pandora::LArPandoraSliceIdHelper::GetPFParticleToHitsMap(), trkf::SeedFinderModule::GetSortedHitsFromClusters(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), evgb::MCTruthAndFriendsItr::MCTruthAndFriendsItr(), art::Handle< T >::operator bool(), MCReco::produce(), cosmic::TrackPFParticleMatch::produce(), hit::MCHitFinder::produce(), trkf::SpacePointFinder::produce(), trkf::SpacePointCheater::produce(), cosmic::CosmicPFParticleTagger::produce(), noisefilteralg::WireCellNoiseFilter::produce(), CRHitRemoval::produce(), cosmic::CosmicPCAxisTagger::produce(), t0::MCParticleShowerMatching::produce(), t0::MCParticleTrackMatching::produce(), ShowerReco3D::produce(), cluster::BlurredClustering::produce(), trkf::TrackKalmanCheater::produce(), CRHitRemovalByPCA::produce(), lbne::PhotonCounterT0Matching::produce(), shower::EMShower::produce(), t0::MCTruthT0Matching::produce(), opdet::OpHitFinder::produce(), art::Handle< T >::removeProduct(), and cluster::ClusterMergeHelper::SetClusters().
|
inlineexplicitnoexcept |
|
inline |
|
inline |
|
default |
|
default |
T const * art::Handle< T >::product | ( | ) | const |
Definition at line 174 of file Handle.h.
References art::Handle< T >::failedToGet(), art::errors::NullPointerError, art::Handle< T >::prod_, and art::Handle< T >::whyFailed_.
Referenced by sim::DumpMCTruth::analyze(), sim::DumpGTruth::analyze(), art::Handle< T >::operator*(), art::Handle< T >::operator->(), art::operator<<(), and trkf::KalmanFilterTrajectoryFitter::produce().
|
inlinenoexcept |
|
inline |
Definition at line 217 of file Handle.h.
References art::Handle< T >::prov_.
Referenced by ShowerQuality::analyze(), artg4tk::CheckDRCalorimeterHits::analyze(), sim::DumpMCTruth::analyze(), sim::DumpGTruth::analyze(), evd::RecoBaseDrawer::DrawShower3D(), evd::RecoBaseDrawer::DrawShowerOrtho(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), evgb::MCTruthAndFriendsItr::MCTruthAndFriendsItr(), lar::util::details::FindAllP< Source, Dest >::Merge(), NuGraphInference::produce(), and larg4::LArG4::produce().
|
inline |
Definition at line 263 of file Handle.h.
References art::Handle< T >::clear(), art::Handle< T >::group_, art::Handle< T >::isValid(), art::Provenance::produced(), and art::Handle< T >::prov_.
Referenced by hit::MCHitFinder::produce().
void art::Handle< T >::swap | ( | Handle< T > & | other | ) |
Definition at line 248 of file Handle.h.
References art::swap().
Referenced by art::Handle< T >::clear(), and art::convert_handle().
|
inline |
Definition at line 231 of file Handle.h.
References art::Handle< T >::whyFailed_.
Referenced by anab::FVectorReader< T, N >::FVectorReader(), and cheat::PhotonBackTracker::Rebuild().
|
private |
Definition at line 134 of file Handle.h.
Referenced by art::Handle< T >::Handle(), art::Handle< T >::productGetter(), and art::Handle< T >::removeProduct().
|
private |
Definition at line 133 of file Handle.h.
Referenced by art::Handle< T >::Handle(), art::Handle< T >::isValid(), and art::Handle< T >::product().
|
private |
Definition at line 135 of file Handle.h.
Referenced by art::Handle< T >::Handle(), art::Handle< T >::id(), art::Handle< T >::isValid(), art::Handle< T >::provenance(), and art::Handle< T >::removeProduct().
|
private |
Definition at line 136 of file Handle.h.
Referenced by art::Handle< T >::failedToGet(), art::Handle< T >::Handle(), art::Handle< T >::product(), and art::Handle< T >::whyFailed().