#include <METCorrectorParameters.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 106 of file METCorrectorParameters.h.
METCorrectorParametersCollection::METCorrectorParametersCollection |
( |
| ) |
|
|
inline |
key_type METCorrectorParametersCollection::findKey |
( |
std::string const & |
label | ) |
const |
|
protected |
std::string METCorrectorParametersCollection::findLabel |
( |
key_type |
k | ) |
|
|
static |
std::string METCorrectorParametersCollection::findMiniAodSource |
( |
key_type |
k | ) |
|
|
static |
Definition at line 397 of file METCorrectorParameters.cc.
References spr::find(), newFWLiteAna::found, and source.
398 std::vector<std::string>::const_iterator
found =
find(MiniAodSource_.begin(), MiniAodSource_.end(),
source);
399 if (found != MiniAodSource_.end()) {
400 return (found - MiniAodSource_.begin() + 1) +
MiniAod * 100;
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static std::string const source
void METCorrectorParametersCollection::getSections |
( |
std::string |
inputFile, |
|
|
std::vector< std::string > & |
outputs |
|
) |
| |
|
static |
bool METCorrectorParametersCollection::isMiniAod |
( |
key_type |
k | ) |
|
|
static |
Definition at line 368 of file METCorrectorParameters.cc.
References Exception, mps_fire::i, and dqmdumpme::k.
369 collection_type::const_iterator ibegin, iend,
i;
375 for (; i != iend; ++
i) {
379 throw cms::Exception(
"InvalidInput") <<
" cannot find key " <<
static_cast<int>(
k)
380 <<
" in the METC payload, this usually means you have to change the global tag"
collection_type correctionsMiniAod_
static bool isMiniAod(key_type k)
Definition at line 354 of file METCorrectorParameters.cc.
References gather_cfg::cout, and pair_type.
361 std::cout <<
"***** NOT ADDING " <<
source <<
", corresponding position in METCorrectorParameters is not found."
std::pair< key_type, value_type > pair_type
static key_type getMiniAodBin(std::string const &source)
collection_type correctionsMiniAod_
static bool isMiniAod(key_type k)
static std::string const source
template<class Archive >
void METCorrectorParametersCollection::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
void METCorrectorParametersCollection::validKeys |
( |
std::vector< key_type > & |
keys | ) |
const |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >