JetMETCorrections
InterpolationTables
src
StorableMultivariateFunctor.cc
Go to the documentation of this file.
1
#include "
JetMETCorrections/InterpolationTables/interface/NpstatException.h
"
2
3
#include "
JetMETCorrections/InterpolationTables/interface/StorableMultivariateFunctorReader.h
"
4
5
namespace
npstat
{
6
void
StorableMultivariateFunctor::validateDescription
(
const
std::string
&
description
)
const
{
7
if
(
description_
!=
description
) {
8
std::string
mesage =
9
"In StorableMultivariateFunctor::validateDescription: "
10
"argument description string \""
;
11
mesage +=
description
;
12
mesage +=
"\" is different from the object description string \""
;
13
mesage +=
description_
;
14
mesage +=
"\""
;
15
throw
npstat::NpstatRuntimeError
(mesage);
16
}
17
}
18
19
StorableMultivariateFunctor
*
StorableMultivariateFunctor::read
(
const
gs::ClassId&
id
, std::istream&
in
) {
20
return
StaticStorableMultivariateFunctorReader::instance
().read(
id
,
in
);
21
}
22
}
// namespace npstat
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
npstat::StorableMultivariateFunctor::description
const std::string & description() const
Definition:
StorableMultivariateFunctor.h:34
npstat
Definition:
AbsArrayProjector.h:14
npstat::NpstatRuntimeError
Definition:
NpstatException.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
npstat::StorableMultivariateFunctor::validateDescription
void validateDescription(const std::string &description) const
Definition:
StorableMultivariateFunctor.cc:6
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
npstat::StorableMultivariateFunctor
Definition:
StorableMultivariateFunctor.h:23
npstat::StorableMultivariateFunctor::description_
std::string description_
Definition:
StorableMultivariateFunctor.h:78
npstat::StorableMultivariateFunctor::read
static StorableMultivariateFunctor * read(const gs::ClassId &id, std::istream &in)
Definition:
StorableMultivariateFunctor.cc:19
NpstatException.h
Exceptions for the npstat namespace.
StorableMultivariateFunctorReader.h
The geners I/O reader factory for classes derived from StorableMultivariateFunctor.
Generated for CMSSW Reference Manual by
1.8.16