Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
Calibration
interface
EfficiencyPayloads.h
Go to the documentation of this file.
1
#include "
CondFormats/Calibration/interface/Efficiency.h
"
2
#include "
CondCore/CondDB/interface/Serialization.h
"
3
4
namespace
cond {
5
// payload factory specializations
6
template
<>
condex::Efficiency
* createPayload<condex::Efficiency>(
const
std::string
& payloadTypeName ){
7
if
( payloadTypeName ==
"condex::ParametricEfficiencyInPt"
)
return
new
condex::ParametricEfficiencyInPt
;
8
if
( payloadTypeName ==
"condex::ParametricEfficiencyInEta"
)
return
new
condex::ParametricEfficiencyInEta
;
9
throwException
(
std::string
(
"Type mismatch, target object is type \""
)+payloadTypeName+
"\""
,
10
"createPayload"
);
11
}
12
}
13
Efficiency.h
condex::ParametricEfficiencyInEta
Definition:
Efficiency.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Serialization.h
cond::throwException
void throwException(std::string const &message, std::string const &methodName)
Definition:
Exception.cc:17
condex::ParametricEfficiencyInPt
Definition:
Efficiency.h:37
condex::Efficiency
Definition:
Efficiency.h:21
Generated for CMSSW Reference Manual by
1.8.5