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

Definition at line 26 of file FFTJetDict.h.

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

27 {
29  this->find(key);
31  throw cms::Exception("KeyNotFound")
32  << "FFTJetDict: key \"" << key << "\" not found\n";
33  return const_cast<T&>(it->second);
34 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:37
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 38 of file FFTJetDict.h.

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

39 {
41  this->find(key);
43  throw cms::Exception("KeyNotFound")
44  << "FFTJetDict: key \"" << key << "\" not found\n";
45  return it->second;
46 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
#define end
Definition: vmac.h:37