Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Framework
interface
eventSetupGetImplementation.h
Go to the documentation of this file.
1
#ifndef Framework_eventSetupGetImplementation_h
2
#define Framework_eventSetupGetImplementation_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : eventSetupGetImplementation
7
//
16
//
17
// Author: Chris Jones
18
// Created: Fri Mar 25 16:31:17 EST 2005
19
//
20
21
// system include files
22
23
// user include files
24
#include "
FWCore/Framework/interface/HCMethods.h
"
25
#include "
FWCore/Framework/interface/NoRecordException.h
"
26
27
namespace
edm {
28
class
EventSetup
;
29
namespace
eventsetup {
30
template
<
class
T>
31
inline
void
eventSetupGetImplementation
(
EventSetup
const
& iEventSetup,
T
const
*& iValue) {
32
T
const
*
temp
= heterocontainer::find<EventSetupRecordKey, T const>(iEventSetup);
33
if
(0 == temp) {
34
throw
NoRecordException<T>
();
35
}
36
iValue =
temp
;
37
}
38
39
template
<
class
T>
40
inline
void
eventSetupTryToGetImplementation
(
EventSetup
const
& iEventSetup,
T
const
*& iValue) {
41
iValue = heterocontainer::find<EventSetupRecordKey, T const>(iEventSetup);
42
}
43
44
}
45
}
46
47
#endif
edm::eventsetup::NoRecordException
Definition:
NoRecordException.h:44
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
HCMethods.h
EventSetup
edm::EventSetup
Definition:
EventSetup.h:44
NoRecordException.h
edm::eventsetup::eventSetupGetImplementation
void eventSetupGetImplementation(EventSetup const &iEventSetup, T const *&iValue)
Definition:
eventSetupGetImplementation.h:31
edm::eventsetup::eventSetupTryToGetImplementation
void eventSetupTryToGetImplementation(EventSetup const &iEventSetup, T const *&iValue)
Definition:
eventSetupGetImplementation.h:40
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5