CMS 3D CMS Logo

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

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 18 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) const
inline

Definition at line 25 of file FFTJetDict.h.

References end, edm::hlt::Exception, and spr::find().

26 {
28  this->find(key);
30  throw cms::Exception("KeyNotFound")
31  << "FFTJetDict: key \"" << key << "\" not found\n";
32  return const_cast<T&>(it->second);
33 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
#define end
Definition: vmac.h:38
list key
Definition: combine.py:13
long double T