CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
edm::AssociationMap< Tag > Class Template Reference

#include <AssociationMap.h>

Classes

struct  const_iterator
 const iterator More...
 
struct  Find
 find helper More...
 

Public Types

typedef Tag::data_type data_type
 insert data type More...
 
typedef Tag::index_type index_type
 index type More...
 
typedef tbb::concurrent_unordered_map< index_type, value_typeinternal_transient_map_type
 transient map type More...
 
typedef Tag::key_type key_type
 insert key type More...
 
typedef Tag::map_type map_type
 map type More...
 
typedef Tag::ref_type ref_type
 Holds the RefProd or RefToBaseProd of 1 or 2 collections. More...
 
typedef value_type::value_type result_type
 type return by operator[] More...
 
typedef AssociationMap< Tag > self
 self type More...
 
typedef map_type::size_type size_type
 size type More...
 
typedef helpers::KeyVal< key_type, internal_val_typevalue_type
 type returned by dereferenced iterator, also can be inserted More...
 

Public Member Functions

 AssociationMap ()
 default constructor More...
 
template<typename... Args>
 AssociationMap (Args... args)
 
 AssociationMap (const ref_type &ref)
 
 AssociationMap (EDProductGetter const *getter)
 
const_iterator begin () const
 first iterator over the map (read only) More...
 
void clear ()
 clear map More...
 
bool empty () const
 return true if empty More...
 
const_iterator end () const
 last iterator over the map (read only) More...
 
size_type erase (const key_type &k)
 erase the element whose key is k More...
 
const_iterator find (const key_type &k) const
 find element with specified reference key More...
 
void insert (const key_type &k, const data_type &v)
 insert an association More...
 
void insert (const value_type &kv)
 
Tag::transient_key_vector keys ()
 
Tag::transient_map_type map ()
 
template<typename K >
size_type numberOfAssociations (const K &k) const
 
size_type numberOfAssociations (const key_type &k) const
 number of associations to a key More...
 
template<typename K >
const result_typeoperator[] (const K &k) const
 
const result_typeoperator[] (const key_type &k) const
 find element with specified reference key More...
 
void post_insert ()
 post insert action More...
 
const ref_typerefProd () const
 return ref-prod structure More...
 
size_type size () const
 map size More...
 
Tag::transient_val_vector values ()
 

Static Public Member Functions

static short Class_Version ()
 

Private Types

typedef Tag::val_type internal_val_type
 

Private Member Functions

const_iterator find (size_type i) const
 find element with index i More...
 
const value_typeget (size_type i) const
 return value_typeelement with key i More...
 

Private Attributes

map_type map_
 index map More...
 
ref_type ref_
 reference set More...
 
internal_transient_map_type transientMap_
 transient reference map More...
 

Friends

struct const_iterator
 
struct Find
 
template<typename , typename , typename >
class OneToMany
 
template<typename , typename , typename , typename >
class OneToManyWithQuality
 
template<typename , typename , typename >
class OneToOne
 
template<typename , typename , typename >
class OneToValue
 
struct refhelper::FindTrait< self, value_type >
 

Detailed Description

template<typename Tag>
class edm::AssociationMap< Tag >

one-to-many or one-to-one associative map using EDM references

Author
Luca Lista, INFN

In general, this class is intuitive, but two special cases deserves some extra discussion. These are somewhat unusual corner cases, but sometimes actually have arisen.

First, one can initialize the AssociationMap by passing in a Handle to a collection as an argument to the constructor. Usually it is a good way to initialize it. But this will fail in the case where a collection template parameter to Tag (either CKey or CVal) is a View and the underlying collection read into the View is a RefVector, PtrVector, or vector(Ptr). AssociationMap will behave improperly if the constructor is passed a Handle<View<C> >. In this case, one should initialize with a EDProductGetter const* or construct a RefToBaseProd whose ProductID is associated with the underlying container, not the RefVector, PtrVector, or vector<Ptr>.

AssociationMap is designed to support cases where all the Key Ref's point into one container and all the Val Ref's point into one other container. For example, if one read a vector<Ptr> into a View and the Ptr's pointed into different containers and you tried to use these as elements of CVal, then AssociationMap will not work.

Definition at line 48 of file AssociationMap.h.

Member Typedef Documentation

◆ data_type

template<typename Tag>
typedef Tag::data_type edm::AssociationMap< Tag >::data_type

insert data type

Definition at line 61 of file AssociationMap.h.

◆ index_type

template<typename Tag>
typedef Tag::index_type edm::AssociationMap< Tag >::index_type

index type

Definition at line 57 of file AssociationMap.h.

◆ internal_transient_map_type

template<typename Tag>
typedef tbb::concurrent_unordered_map<index_type, value_type> edm::AssociationMap< Tag >::internal_transient_map_type

transient map type

Definition at line 73 of file AssociationMap.h.

◆ internal_val_type

template<typename Tag>
typedef Tag::val_type edm::AssociationMap< Tag >::internal_val_type
private

This is the second part of the value part of the items stored in the transient map

Definition at line 51 of file AssociationMap.h.

◆ key_type

template<typename Tag>
typedef Tag::key_type edm::AssociationMap< Tag >::key_type

insert key type

Definition at line 59 of file AssociationMap.h.

◆ map_type

template<typename Tag>
typedef Tag::map_type edm::AssociationMap< Tag >::map_type

map type

Definition at line 65 of file AssociationMap.h.

◆ ref_type

template<typename Tag>
typedef Tag::ref_type edm::AssociationMap< Tag >::ref_type

Holds the RefProd or RefToBaseProd of 1 or 2 collections.

Definition at line 63 of file AssociationMap.h.

◆ result_type

template<typename Tag>
typedef value_type::value_type edm::AssociationMap< Tag >::result_type

type return by operator[]

Definition at line 71 of file AssociationMap.h.

◆ self

template<typename Tag>
typedef AssociationMap<Tag> edm::AssociationMap< Tag >::self

self type

Definition at line 55 of file AssociationMap.h.

◆ size_type

template<typename Tag>
typedef map_type::size_type edm::AssociationMap< Tag >::size_type

size type

Definition at line 67 of file AssociationMap.h.

◆ value_type

template<typename Tag>
typedef helpers::KeyVal<key_type, internal_val_type> edm::AssociationMap< Tag >::value_type

type returned by dereferenced iterator, also can be inserted

Definition at line 69 of file AssociationMap.h.

Constructor & Destructor Documentation

◆ AssociationMap() [1/4]

template<typename Tag>
edm::AssociationMap< Tag >::AssociationMap ( )
inline

default constructor

Definition at line 113 of file AssociationMap.h.

113 {}

◆ AssociationMap() [2/4]

template<typename Tag>
edm::AssociationMap< Tag >::AssociationMap ( EDProductGetter const *  getter)
inlineexplicit

Definition at line 118 of file AssociationMap.h.

118 : ref_(getter) {}

◆ AssociationMap() [3/4]

template<typename Tag>
edm::AssociationMap< Tag >::AssociationMap ( const ref_type ref)
inlineexplicit

Definition at line 121 of file AssociationMap.h.

121 : ref_(ref) {}

◆ AssociationMap() [4/4]

template<typename Tag>
template<typename... Args>
edm::AssociationMap< Tag >::AssociationMap ( Args...  args)
inline

Definition at line 154 of file AssociationMap.h.

154 : ref_(std::forward<Args>(args)...) {}

Member Function Documentation

◆ begin()

template<typename Tag>
const_iterator edm::AssociationMap< Tag >::begin ( void  ) const
inline

◆ Class_Version()

template<typename Tag>
static short edm::AssociationMap< Tag >::Class_Version ( )
inlinestatic

Definition at line 243 of file AssociationMap.h.

245 :

◆ clear()

template<typename Tag>
void edm::AssociationMap< Tag >::clear ( void  )
inline

clear map

Definition at line 157 of file AssociationMap.h.

157  {
158  map_.clear();
159  transientMap_.clear();
160  }

Referenced by BeautifulSoup.Tag::setString().

◆ empty()

template<typename Tag>
bool edm::AssociationMap< Tag >::empty ( ) const
inline

return true if empty

Definition at line 164 of file AssociationMap.h.

164 { return map_.empty(); }

Referenced by TkConvValidator::analyze(), analyzer::SiPixelLorentzAngle::analyze(), and V0Validator::doEfficiencies().

◆ end()

template<typename Tag>
const_iterator edm::AssociationMap< Tag >::end ( void  ) const
inline

last iterator over the map (read only)

Definition at line 171 of file AssociationMap.h.

171 { return const_iterator(this, map_.end()); }

Referenced by DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), reco::JetTrackMatch< JetC >::allJets(), ValidationMisalignedTracker::analyze(), SiStripLAProfileBooker::analyze(), GlobalMuonMatchAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), TestOutliers::analyze(), TestTrackHits::analyze(), HitEff::analyze(), OverlapProblemTPAnalyzer::analyze(), OverlapProblemTSOSAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), MuonTrackValidator::analyze(), ApeEstimator::analyze(), FWTrackProxyBuilderFullFramework::build(), calculateVertexSharedTracks(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), V0Validator::doEfficiencies(), V0Validator::doFakeRates(), MultiTrackValidatorGenPs::dqmAnalyze(), MultiTrackValidator::dqmAnalyze(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTrackingParticles(), TrackingNtuple::fillTracks(), OverlapProblemTSOSPositionFilter::filter(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::find(), PrimaryVertexAnalyzer4PUSlimmed::getRecoPVs(), PrimaryVertexAnalyzer4PUSlimmed::getSimPVs(), noPuUtils::isVertexAssociated(), noPuUtils::isVertexAssociated_fast(), HGVHistoProducerAlgo::layerClusters_to_CaloParticles(), HGVHistoProducerAlgo::layerClusters_to_SimClusters(), PrimaryVertexAnalyzer4PUSlimmed::matchReco2SimVertices(), PrimaryVertexAnalyzer4PUSlimmed::matchRecoTrack2SimSignal(), PrimaryVertexAnalyzer4PUSlimmed::matchSim2RecoVertices(), HLTEgammaCaloIsolFilterPairs::PassCaloIsolation(), AlignmentProducerBase::processEvent(), QualityFilter::produce(), TrackListCombiner::produce(), TrackInfoProducer::produce(), TkAlCaOverlapTagger::produce(), Type0PFMETcorrInputProducer::produce(), TrackListMerger::produce(), MatchedProbeMaker< T >::produce(), CosmicTrackSelector::produce(), GlobalMuonProducer::produce(), L3MuonProducer::produce(), ConversionSeedFilter::produce(), TrackMCQuality::produce(), TrackAlgoCompareUtil::produce(), PF_PU_FirstVertexTracks::produce(), AlignmentMuonHIPTrajectorySelector::produce(), PFCand_NoPU_WithAM::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), noPuUtils::reversePFCandToVertexAssociation(), AnalyticalTrackSelector::run(), PF_PU_AssoMapAlgos::SortAssociationMap(), PFCand_AssoMapAlgos::SortPFCandAssociationMap(), and tevOptimizedTMR().

◆ erase()

template<typename Tag>
size_type edm::AssociationMap< Tag >::erase ( const key_type k)
inline

erase the element whose key is k

Definition at line 179 of file AssociationMap.h.

179  {
180  index_type i = k.key();
181  transientMap_.unsafe_erase(i);
182  return map_.erase(i);
183  }

◆ find() [1/2]

template<typename Tag>
const_iterator edm::AssociationMap< Tag >::find ( const key_type k) const
inline

find element with specified reference key

Definition at line 173 of file AssociationMap.h.

173  {
174  if (ref_.key.id() != k.id())
175  return end();
176  return find(k.key());
177  }

Referenced by BeautifulSoup.Tag::__getattr__(), ValidationMisalignedTracker::analyze(), GlobalMuonMatchAnalyzer::analyze(), TestTrackHits::analyze(), TestOutliers::analyze(), OverlapProblemTPAnalyzer::analyze(), MuonTrackValidator::analyze(), calculateVertexSharedTracks(), V0Validator::doEfficiencies(), V0Validator::doFakeRates(), MultiTrackValidatorGenPs::dqmAnalyze(), MultiTrackValidator::dqmAnalyze(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTrackingParticles(), TrackingNtuple::fillTracks(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::find(), BeautifulSoup.Tag::firstText(), PrimaryVertexAnalyzer4PUSlimmed::getRecoPVs(), PrimaryVertexAnalyzer4PUSlimmed::getSimPVs(), noPuUtils::isVertexAssociated_fast(), HGVHistoProducerAlgo::layerClusters_to_CaloParticles(), HGVHistoProducerAlgo::layerClusters_to_SimClusters(), PrimaryVertexAnalyzer4PUSlimmed::matchReco2SimVertices(), PrimaryVertexAnalyzer4PUSlimmed::matchRecoTrack2SimSignal(), PrimaryVertexAnalyzer4PUSlimmed::matchSim2RecoVertices(), HLTEgammaCaloIsolFilterPairs::PassCaloIsolation(), HFRecoEcalCandidateAlgo::produce(), TrackListMerger::produce(), MatchedProbeMaker< T >::produce(), CosmicTrackSelector::produce(), L3MuonProducer::produce(), GlobalMuonProducer::produce(), TrackMCQuality::produce(), TrackAlgoCompareUtil::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), AnalyticalTrackSelector::run(), and tevOptimizedTMR().

◆ find() [2/2]

template<typename Tag>
const_iterator edm::AssociationMap< Tag >::find ( size_type  i) const
inlineprivate

find element with index i

Definition at line 253 of file AssociationMap.h.

253  {
254  typename map_type::const_iterator f = map_.find(i);
255  if (f == map_.end())
256  return end();
257  return const_iterator(this, f);
258  }

Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.Tag::firstText().

◆ get()

template<typename Tag>
const value_type& edm::AssociationMap< Tag >::get ( size_type  i) const
inlineprivate

return value_typeelement with key i

Definition at line 260 of file AssociationMap.h.

260  {
261  typename internal_transient_map_type::const_iterator tf = transientMap_.find(i);
262  if (tf == transientMap_.end()) {
263  typename map_type::const_iterator f = map_.find(i);
264  if (f == map_.end())
265  Exception::throwThis(edm::errors::InvalidReference, "can't find reference in AssociationMap at position ", i);
266  value_type v(key_type(ref_.key, i), Tag::val(ref_, f->second));
267  std::pair<typename internal_transient_map_type::const_iterator, bool> ins =
268  transientMap_.insert(std::make_pair(i, v));
269  return ins.first->second;
270  } else {
271  return tf->second;
272  }
273  }

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), edm::AssociationMap< Tag >::const_iterator::operator*(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::operator[](), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().

◆ insert() [1/2]

template<typename Tag>
void edm::AssociationMap< Tag >::insert ( const key_type k,
const data_type v 
)
inline

insert an association

Definition at line 166 of file AssociationMap.h.

166 { Tag::insert(ref_, map_, k, v); }

Referenced by BeautifulSoup.PageElement::append(), TrackGenAssociatorByChi2Impl::associateGenToReco(), TrackGenAssociatorByChi2Impl::associateRecoToGen(), VertexAssociatorByTracks::associateRecoToSim(), TracksterAssociatorByEnergyScoreImpl::associateRecoToSim(), TrackAssociatorByHitsImpl::associateRecoToSim(), SimClusterAssociatorByEnergyScoreImpl::associateRecoToSim(), LayerClusterAssociatorByEnergyScoreImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByChi2Impl::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateRecoToSimImplementation(), VertexAssociatorByTracks::associateSimToReco(), TracksterAssociatorByEnergyScoreImpl::associateSimToReco(), TrackAssociatorByHitsImpl::associateSimToReco(), LayerClusterAssociatorByEnergyScoreImpl::associateSimToReco(), SimClusterAssociatorByEnergyScoreImpl::associateSimToReco(), TrackAssociatorByPositionImpl::associateSimToReco(), TrackAssociatorByChi2Impl::associateSimToReco(), QuickTrackAssociatorByHitsImpl::associateSimToReco(), QuickTrackAssociatorByHitsImpl::associateSimToRecoImplementation(), reco::JetTrackMatch< JetC >::insert(), EgammaHLTBcHcalIsolationProducersRegional::produce(), EgammaHLTClusterShapeProducer::produce(), EgammaHLTR9IDProducer::produce(), EgammaHLTGsfTrackVarProducer::produce(), HLTHcalPFClusterIsolationProducer< T1 >::produce(), EgammaHLTElectronTrackIsolationProducers::produce(), EgammaHLTPhotonTrackIsolationProducersRegional::produce(), HLTHGCalLayerClusterIsolationProducer< T1 >::produce(), HLTEcalPFClusterIsolationProducer< T1 >::produce(), NuclearTrackCorrector::produce(), and noPuUtils::reversePFCandToVertexAssociation().

◆ insert() [2/2]

template<typename Tag>
void edm::AssociationMap< Tag >::insert ( const value_type kv)
inline

Definition at line 167 of file AssociationMap.h.

167 { Tag::insert(ref_, map_, kv.key, kv.val); }

Referenced by BeautifulSoup.PageElement::append().

◆ keys()

template<typename Tag>
Tag::transient_key_vector edm::AssociationMap< Tag >::keys ( )
inline

fill and return a transient key vector required for ROOT interactive usage

Definition at line 224 of file AssociationMap.h.

224 { return Tag::transientKeyVector(ref_, map_); }

Referenced by psClasses.queueList::__init__(), psClasses.queueList::smallestQueue(), and psClasses.queueList::thinerQueue().

◆ map()

template<typename Tag>
Tag::transient_map_type edm::AssociationMap< Tag >::map ( )
inline

fill and return a transient map required for ROOT interactive usage

Definition at line 221 of file AssociationMap.h.

221 { return Tag::transientMap(ref_, map_); }

◆ numberOfAssociations() [1/2]

template<typename Tag>
template<typename K >
size_type edm::AssociationMap< Tag >::numberOfAssociations ( const K &  k) const
inline

Definition at line 207 of file AssociationMap.h.

207  {
208  if (ref_.key.id() != k.id())
209  return 0;
210  typename map_type::const_iterator f = map_.find(k.key());
211  if (f == map_.end())
212  return 0;
213  return Tag::size(f->second);
214  }

◆ numberOfAssociations() [2/2]

template<typename Tag>
size_type edm::AssociationMap< Tag >::numberOfAssociations ( const key_type k) const
inline

number of associations to a key

Definition at line 197 of file AssociationMap.h.

197  {
198  if (ref_.key.id() != k.id())
199  return 0;
200  typename map_type::const_iterator f = map_.find(k.key());
201  if (f == map_.end())
202  return 0;
203  return Tag::size(f->second);
204  }

Referenced by VertexAssociatorByTracks::associateRecoToSim(), and VertexAssociatorByTracks::associateSimToReco().

◆ operator[]() [1/2]

template<typename Tag>
template<typename K >
const result_type& edm::AssociationMap< Tag >::operator[] ( const K &  k) const
inline

Definition at line 191 of file AssociationMap.h.

191  {
192  helpers::checkRef(ref_.key, k);
193  return get(k.key()).val;
194  }

◆ operator[]() [2/2]

template<typename Tag>
const result_type& edm::AssociationMap< Tag >::operator[] ( const key_type k) const
inline

find element with specified reference key

Definition at line 185 of file AssociationMap.h.

185  {
186  helpers::checkRef(ref_.key, k);
187  return get(k.key()).val;
188  }

◆ post_insert()

template<typename Tag>
void edm::AssociationMap< Tag >::post_insert ( )
inline

◆ refProd()

template<typename Tag>
const ref_type& edm::AssociationMap< Tag >::refProd ( ) const
inline

return ref-prod structure

Definition at line 217 of file AssociationMap.h.

217 { return ref_; }

Referenced by TrackInfoProducer::produce(), and NuclearTrackCorrector::produce().

◆ size()

template<typename Tag>
size_type edm::AssociationMap< Tag >::size ( void  ) const
inline

◆ values()

template<typename Tag>
Tag::transient_val_vector edm::AssociationMap< Tag >::values ( )
inline

fill and return a transient key vector required for ROOT interactive usage

Definition at line 227 of file AssociationMap.h.

227 { return Tag::transientValVector(ref_, map_); }

Friends And Related Function Documentation

◆ const_iterator

template<typename Tag>
friend struct const_iterator
friend

◆ Find

template<typename Tag>
friend struct Find
friend

Definition at line 275 of file AssociationMap.h.

◆ OneToMany

template<typename Tag>
template<typename , typename , typename >
friend class OneToMany
friend

Definition at line 282 of file AssociationMap.h.

◆ OneToManyWithQuality

template<typename Tag>
template<typename , typename , typename , typename >
friend class OneToManyWithQuality
friend

Definition at line 284 of file AssociationMap.h.

◆ OneToOne

template<typename Tag>
template<typename , typename , typename >
friend class OneToOne
friend

Definition at line 280 of file AssociationMap.h.

◆ OneToValue

template<typename Tag>
template<typename , typename , typename >
friend class OneToValue
friend

Definition at line 278 of file AssociationMap.h.

◆ refhelper::FindTrait< self, value_type >

template<typename Tag>
friend struct refhelper::FindTrait< self, value_type >
friend

Definition at line 276 of file AssociationMap.h.

Member Data Documentation

◆ map_

template<typename Tag>
map_type edm::AssociationMap< Tag >::map_
private

index map

Definition at line 249 of file AssociationMap.h.

Referenced by edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::begin(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::clear(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::empty(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::end(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::erase(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::find(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::get(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::insert(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::map(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::numberOfAssociations(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::post_insert(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::size(), and edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >::values().

◆ ref_

template<typename Tag>
ref_type edm::AssociationMap< Tag >::ref_
private

◆ transientMap_

template<typename Tag>
internal_transient_map_type edm::AssociationMap< Tag >::transientMap_
mutableprivate
writedatasetfile.args
args
Definition: writedatasetfile.py:18
edm::AssociationMap::find
const_iterator find(const key_type &k) const
find element with specified reference key
Definition: AssociationMap.h:173
mps_fire.i
i
Definition: mps_fire.py:428
edm::errors::InvalidReference
Definition: EDMException.h:39
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
edm::AssociationMap::map_
map_type map_
index map
Definition: AssociationMap.h:249
edm::AssociationMap::ref_
ref_type ref_
reference set
Definition: AssociationMap.h:247
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::AssociationMap::end
const_iterator end() const
last iterator over the map (read only)
Definition: AssociationMap.h:171
edm::AssociationMap::index_type
Tag::index_type index_type
index type
Definition: AssociationMap.h:57
edm::helpers::checkRef
void checkRef(const RP &rp, const R &r)
throw if r hasn't the same id as rp
Definition: AssociationMapHelpers.h:51
edm::AssociationMap::get
const value_type & get(size_type i) const
return value_typeelement with key i
Definition: AssociationMap.h:260
dqmdumpme.k
k
Definition: dqmdumpme.py:60
edm::AssociationMap::const_iterator
friend struct const_iterator
Definition: AssociationMap.h:274
cuy.ins
ins
Definition: cuy.py:314
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
edm::AssociationMap::transientMap_
internal_transient_map_type transientMap_
transient reference map
Definition: AssociationMap.h:251
heppy_batch.val
val
Definition: heppy_batch.py:351
edm::Exception::throwThis
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
Definition: EDMException.cc:83
edm::eventsetup::heterocontainer::insert
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
Definition: HCMethods.h:50
edm::AssociationMap::key_type
Tag::key_type key_type
insert key type
Definition: AssociationMap.h:59
edm::AssociationMap::value_type
helpers::KeyVal< key_type, internal_val_type > value_type
type returned by dereferenced iterator, also can be inserted
Definition: AssociationMap.h:69
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443