LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
OneTo01Data.h File Reference

Auxiliary data from one-to-(zero-or-one) sequential association. More...

#include "lardata/RecoBaseProxy/ProxyBase/AssnsTraits.h"
#include "lardata/Utilities/TupleLookupByTag.h"
#include "canvas/Persistency/Common/Assns.h"
#include "canvas/Persistency/Common/Ptr.h"
#include <cstdlib>
#include <iterator>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  proxy::details::OneTo01Data< Main, Aux, Metadata, Tag >
 Object for one-to-zero/or/one associated data interface. More...
 

Namespaces

 proxy
 Encloses LArSoft data product proxy objects and utilities.See this doxygen module for an introduction to data proxies in LArSoft.
 
 proxy::details
 

Functions

template<typename T >
void proxy::details::extendAndAssign (std::vector< T > &v, typename std::vector< T >::size_type index, typename std::vector< T >::value_type const &value)
 
template<typename T >
void proxy::details::extendAndAssign (std::vector< T > &v, typename std::vector< T >::size_type index, typename std::vector< T >::value_type &&value)
 
template<std::size_t Key, std::size_t Data, typename Iter >
auto proxy::details::associationOneToOneFullSequence (Iter begin, Iter end, std::size_t n)
 
template<typename Tag , typename Assns >
auto proxy::makeOneTo01data (Assns const &assns, std::size_t minSize=0)
 Processes and returns an one-to-(zero/one) associated data object. More...
 
template<typename Assns >
auto proxy::makeOneTo01data (Assns const &assns, std::size_t minSize=0)
 Processes and returns an one-to-(zero/one) associated data object. More...
 
template<typename Tag , typename MainColl , typename Assns >
auto proxy::makeOneTo01data (MainColl const &mainColl, Assns const &assns)
 Creates and returns an one-to-(zero/one) associated data object. More...
 
template<typename MainColl , typename Assns >
auto proxy::makeOneTo01data (MainColl const &mainColl, Assns const &assns)
 Creates and returns an one-to-(zero/one) associated data object. More...
 

Detailed Description

Auxiliary data from one-to-(zero-or-one) sequential association.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
July 27, 2017
See also
lardata/RecoBaseProxy/ProxyBase.h

This library is header-only.

Definition in file OneTo01Data.h.