LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "FindManyP.h"
Public Types | |
using | dataColl_t = std::vector< std::vector< Data const * >> |
using | value_type = typename base::value_type |
using | size_type = typename base::size_type |
using | difference_type = typename base::difference_type |
using | const_reference = typename base::const_reference |
using | reference = typename base::reference |
using | assoc_t = typename base::assoc_t |
using | data_const_pointer = typename dataColl_t::const_pointer |
using | data_const_reference = typename dataColl_t::const_reference |
using | data_reference = typename dataColl_t::reference |
using | data_t = Data |
Public Member Functions | |
template<typename Handle , typename DataContainer , typename Tag > | |
FindManyP (Handle const &aCollection, DataContainer const &dc, Tag const &tag, std::enable_if_t< detail::is_handle_v< Handle >> *=nullptr) | |
template<typename ProdAColl , typename DataContainer , typename Tag > | |
FindManyP (ProdAColl const &view, DataContainer const &dc, Tag const &tag, std::enable_if_t< std::is_pointer_v< typename ProdAColl::value_type >> *=nullptr) | |
template<typename PtrProdAColl , typename DataContainer , typename Tag > | |
FindManyP (PtrProdAColl const &aPtrColl, DataContainer const &dc, Tag const &tag, std::enable_if_t< std::is_same_v< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type >>> *=nullptr) | |
template<typename ProdA , typename DataContainer , typename Tag > | |
FindManyP (std::initializer_list< Ptr< ProdA >> const &ptrs, DataContainer const &dc, Tag const &tag) | |
data_const_reference | data (size_type i) const |
size_type | get (size_type i, reference item, data_reference data) const |
bool | operator== (FindManyP< ProdB, Data > const &other) const |
Private Types | |
using | base = FindManyP< ProdB, void > |
Private Attributes | |
dataColl_t | dataCollection_ {} |
Definition at line 138 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::assoc_t = typename base::assoc_t |
Definition at line 227 of file FindManyP.h.
|
private |
Definition at line 218 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::const_reference = typename base::const_reference |
Definition at line 225 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::data_const_pointer = typename dataColl_t::const_pointer |
Definition at line 229 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::data_const_reference = typename dataColl_t::const_reference |
Definition at line 230 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::data_reference = typename dataColl_t::reference |
Definition at line 231 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::data_t = Data |
Definition at line 233 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::dataColl_t = std::vector<std::vector<Data const*>> |
Definition at line 221 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::difference_type = typename base::difference_type |
Definition at line 224 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::reference = typename base::reference |
Definition at line 226 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::size_type = typename base::size_type |
Definition at line 223 of file FindManyP.h.
using art::FindManyP< ProdB, Data >::value_type = typename base::value_type |
Definition at line 222 of file FindManyP.h.
art::FindManyP< ProdB, Data >::FindManyP | ( | Handle const & | aCollection, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< detail::is_handle_v< Handle >> * | = nullptr |
||
) |
Definition at line 391 of file FindManyP.h.
References art::FindManyP< ProdB, void >::bCollection(), art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::setStoredException().
art::FindManyP< ProdB, Data >::FindManyP | ( | ProdAColl const & | view, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_pointer_v< typename ProdAColl::value_type >> * | = nullptr |
||
) |
Definition at line 405 of file FindManyP.h.
References art::FindManyP< ProdB, void >::bCollection(), art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::setStoredException().
art::FindManyP< ProdB, Data >::FindManyP | ( | PtrProdAColl const & | aPtrColl, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_same_v< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type >>> * | = nullptr |
||
) |
Definition at line 419 of file FindManyP.h.
References art::FindManyP< ProdB, void >::bCollection(), art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::setStoredException().
art::FindManyP< ProdB, Data >::FindManyP | ( | std::initializer_list< Ptr< ProdA >> const & | ptrs, |
DataContainer const & | dc, | ||
Tag const & | tag | ||
) |
Definition at line 435 of file FindManyP.h.
References art::FindManyP< ProdB, void >::bCollection(), art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::setStoredException().
|
inline |
Definition at line 446 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::throwIfInvalid().
Referenced by RecoProxyUsageExample::analyze(), NuShowerEff::analyze(), art::FindManyP< ProdB, Data >::get(), trkf::CCTrackMaker::produce(), calo::Calorimetry::produce(), and calo::GnocchiCalorimetry::produce().
|
inline |
Definition at line 453 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::data(), art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::get().
Referenced by trkf::TrackAna::analyze(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), trkf::TCTrack::produce(), t0::MCParticleShowerMatching::produce(), and t0::MCParticleTrackMatching::produce().
|
inline |
Definition at line 465 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::dataCollection_, and art::FindManyP< ProdB, void >::operator==().
|
private |
Definition at line 275 of file FindManyP.h.
Referenced by art::FindManyP< ProdB, Data >::data(), art::FindManyP< ProdB, Data >::FindManyP(), art::FindManyP< ProdB, Data >::get(), and art::FindManyP< ProdB, Data >::operator==().