#include <METCorrectorParameters.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 100 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 421 of file METCorrectorParameters.cc.
References spr::find(), runEdmFileComparison::found, and source.
422 std::vector<std::string>::const_iterator
found =
423 find( MiniAodSource_.begin(), MiniAodSource_.end(),
source );
424 if ( found != MiniAodSource_.end() ) {
425 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 395 of file METCorrectorParameters.cc.
References Exception, mps_fire::i, and gen::k.
396 collection_type::const_iterator ibegin, iend,
i;
402 for ( ; i != iend; ++
i ) {
403 if (
k == i->first )
return i->second;
405 throw cms::Exception(
"InvalidInput") <<
" cannot find key " <<
static_cast<int>(
k)
406 <<
" in the METC payload, this usually means you have to change the global tag" << std::endl;
collection_type correctionsMiniAod_
static bool isMiniAod(key_type k)
Definition at line 380 of file METCorrectorParameters.cc.
References gather_cfg::cout, and pair_type.
389 std::cout <<
"***** NOT ADDING " <<
source <<
", corresponding position in METCorrectorParameters is not found." << std::endl;
static key_type getMiniAodBin(std::string const &source)
collection_type correctionsMiniAod_
static bool isMiniAod(key_type k)
std::pair< key_type, value_type > pair_type
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 >