CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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.

References dataset::end, Exception, and spr::find().

22  {
25  throw cms::Exception("KeyNotFound") << "FFTJetDict: key \"" << key << "\" not found\n";
26  return const_cast<T&>(it->second);
27 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
string end
Definition: dataset.py:937
long double T
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.

References dataset::end, Exception, and spr::find().

30  {
33  throw cms::Exception("KeyNotFound") << "FFTJetDict: key \"" << key << "\" not found\n";
34  return it->second;
35 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
string end
Definition: dataset.py:937