CMS 3D CMS Logo

List of all members | Public Member Functions
FFTJetDict< Key, T, Compare, Allocator > Struct Template Reference

#include <FFTJetDict.h>

Inheritance diagram for FFTJetDict< Key, T, Compare, Allocator >:

Public Member Functions

Toperator[] (const Key &)
 
const Toperator[] (const Key &) const
 

Detailed Description

template<class Key, class T, class Compare = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T> >>
struct FFTJetDict< Key, T, Compare, Allocator >

Definition at line 16 of file FFTJetDict.h.

Member Function Documentation

◆ operator[]() [1/2]

template<class Key , class T , class Compare , class Allocator >
T & FFTJetDict< Key, T, Compare, Allocator >::operator[] ( const Key key)
inline

Definition at line 22 of file FFTJetDict.h.

22  {
25  throw cms::Exception("KeyNotFound") << "FFTJetDict: key \"" << key << "\" not found\n";
26  return const_cast<T&>(it->second);
27 }

References mps_fire::end, Exception, spr::find(), and crabWrapper::key.

◆ operator[]() [2/2]

template<class Key , class T , class Compare , class Allocator >
const T & FFTJetDict< Key, T, Compare, Allocator >::operator[] ( const Key key) const
inline

Definition at line 30 of file FFTJetDict.h.

30  {
33  throw cms::Exception("KeyNotFound") << "FFTJetDict: key \"" << key << "\" not found\n";
34  return it->second;
35 }

References mps_fire::end, Exception, spr::find(), and crabWrapper::key.

spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
FFTJetDict
Definition: FFTJetDict.h:16
mps_fire.end
end
Definition: mps_fire.py:242
Exception
Definition: hltDiff.cc:246
crabWrapper.key
key
Definition: crabWrapper.py:19