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.

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

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
long double T

◆ 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.

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

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