#include <MEtXYcorrectParameters.h>
Public Types | |
typedef std::vector< pair_type > | collection_type |
typedef int | key_type |
typedef std::string | label_type |
enum | Level_t { shiftMC = 0, shiftDY = 1, shiftTTJets = 2, shiftWJets = 3, shiftData = 4, N_LEVELS = 5 } |
typedef std::pair< key_type, value_type > | pair_type |
typedef MEtXYcorrectParameters | value_type |
Public Member Functions | |
void | getSections (std::string inputFile, std::vector< std::string > &outputs) |
key_type | getShiftDataFlavBin (std::string const &Flav) |
key_type | getShiftDyFlavBin (std::string const &Flav) |
key_type | getShiftMcFlavBin (std::string const &Flav) |
key_type | getShiftTTJetsFlavBin (std::string const &Flav) |
key_type | getShiftWJetsFlavBin (std::string const &Flav) |
MEtXYcorrectParametersCollection () | |
MEtXYcorrectParameters const & | operator[] (key_type k) const |
MEtXYcorrectParameters const & | operator[] (std::string const &label) const |
void | push_back (key_type i, value_type const &j, label_type const &flav="") |
void | validKeys (std::vector< key_type > &keys) const |
Static Public Member Functions | |
static std::string | findLabel (key_type k) |
static std::string | findShiftDataFlavor (key_type k) |
static std::string | findShiftDYflavor (key_type k) |
static std::string | findShiftMCflavor (key_type k) |
static std::string | findShiftTTJetsFlavor (key_type k) |
static std::string | findShiftWJetsFlavor (key_type k) |
static bool | isShiftData (key_type k) |
static bool | isShiftDY (key_type k) |
static bool | isShiftMC (key_type k) |
static bool | isShiftTTJets (key_type k) |
static bool | isShiftWJets (key_type k) |
static std::string | levelName (key_type k) |
Protected Member Functions | |
key_type | findKey (std::string const &label) const |
Protected Attributes | |
collection_type | correctionsShift_ |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 111 of file MEtXYcorrectParameters.h.
typedef std::vector<pair_type> MEtXYcorrectParametersCollection::collection_type |
Definition at line 119 of file MEtXYcorrectParameters.h.
typedef int MEtXYcorrectParametersCollection::key_type |
Definition at line 115 of file MEtXYcorrectParameters.h.
typedef std::string MEtXYcorrectParametersCollection::label_type |
Definition at line 116 of file MEtXYcorrectParameters.h.
typedef std::pair<key_type, value_type> MEtXYcorrectParametersCollection::pair_type |
Definition at line 118 of file MEtXYcorrectParameters.h.
Definition at line 117 of file MEtXYcorrectParameters.h.
Enumerator | |
---|---|
shiftMC | |
shiftDY | |
shiftTTJets | |
shiftWJets | |
shiftData | |
N_LEVELS |
Definition at line 113 of file MEtXYcorrectParameters.h.
|
inline |
Definition at line 122 of file MEtXYcorrectParameters.h.
References correctionsShift_.
|
protected |
Referenced by operator[]().
|
static |
Definition at line 284 of file MEtXYcorrectParameters.cc.
References isShiftData(), isShiftDY(), isShiftTTJets(), isShiftWJets(), and dqmdumpme::k.
Referenced by MultShiftMETcorrDBInputProducer::produce().
|
static |
|
static |
|
static |
|
static |
|
static |
void MEtXYcorrectParametersCollection::getSections | ( | std::string | inputFile, |
std::vector< std::string > & | outputs | ||
) |
Definition at line 346 of file MEtXYcorrectParameters.cc.
References recoMuon::in, input, makeListRunsInFiles::inputFile, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, and AlCaHLTBitMon_QueryRunRegistry::string.
MEtXYcorrectParametersCollection::key_type MEtXYcorrectParametersCollection::getShiftDataFlavBin | ( | std::string const & | Flav | ) |
Definition at line 459 of file MEtXYcorrectParameters.cc.
References Exception, spr::find(), and newFWLiteAna::found.
MEtXYcorrectParametersCollection::key_type MEtXYcorrectParametersCollection::getShiftDyFlavBin | ( | std::string const & | Flav | ) |
Definition at line 430 of file MEtXYcorrectParameters.cc.
References Exception, spr::find(), and newFWLiteAna::found.
MEtXYcorrectParametersCollection::key_type MEtXYcorrectParametersCollection::getShiftMcFlavBin | ( | std::string const & | Flav | ) |
Definition at line 420 of file MEtXYcorrectParameters.cc.
References Exception, spr::find(), and newFWLiteAna::found.
MEtXYcorrectParametersCollection::key_type MEtXYcorrectParametersCollection::getShiftTTJetsFlavBin | ( | std::string const & | Flav | ) |
Definition at line 439 of file MEtXYcorrectParameters.cc.
References Exception, spr::find(), and newFWLiteAna::found.
MEtXYcorrectParametersCollection::key_type MEtXYcorrectParametersCollection::getShiftWJetsFlavBin | ( | std::string const & | Flav | ) |
Definition at line 449 of file MEtXYcorrectParameters.cc.
References Exception, spr::find(), and newFWLiteAna::found.
|
static |
Definition at line 482 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
Referenced by findLabel(), and MultShiftMETcorrDBInputProducer::produce().
|
static |
Definition at line 473 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
Referenced by findLabel(), and MultShiftMETcorrDBInputProducer::produce().
|
static |
Definition at line 470 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
Referenced by MultShiftMETcorrDBInputProducer::produce().
|
static |
Definition at line 476 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
Referenced by findLabel(), and MultShiftMETcorrDBInputProducer::produce().
|
static |
Definition at line 479 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
Referenced by findLabel(), and MultShiftMETcorrDBInputProducer::produce().
|
static |
Definition at line 299 of file MEtXYcorrectParameters.cc.
References dqmdumpme::k.
MEtXYcorrectParameters const & MEtXYcorrectParametersCollection::operator[] | ( | key_type | k | ) | const |
Definition at line 393 of file MEtXYcorrectParameters.cc.
References Exception, mps_fire::i, and dqmdumpme::k.
|
inline |
Definition at line 134 of file MEtXYcorrectParameters.h.
References findKey(), label, and operator[]().
Referenced by operator[]().
void MEtXYcorrectParametersCollection::push_back | ( | key_type | i, |
value_type const & | j, | ||
label_type const & | flav = "" |
||
) |
Definition at line 373 of file MEtXYcorrectParameters.cc.
References mps_fire::i, and dqmiolumiharvest::j.
|
private |
void MEtXYcorrectParametersCollection::validKeys | ( | std::vector< key_type > & | keys | ) | const |
Definition at line 411 of file MEtXYcorrectParameters.cc.
References mps_fire::i, and relativeConstraints::keys.
Referenced by MultShiftMETcorrDBInputProducer::produce().
|
friend |
Definition at line 171 of file MEtXYcorrectParameters.h.
|
friend |
Definition at line 171 of file MEtXYcorrectParameters.h.
|
protected |
Definition at line 169 of file MEtXYcorrectParameters.h.
Referenced by MEtXYcorrectParametersCollection().