CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
METCorrectorParametersCollection Class Reference

#include <METCorrectorParameters.h>

Public Types

typedef std::vector< pair_typecollection_type
 
typedef int key_type
 
typedef std::string label_type
 
enum  Level_t { MiniAod =0, N_LEVELS =1 }
 
typedef std::pair< key_type,
value_type
pair_type
 
typedef METCorrectorParameters value_type
 

Public Member Functions

 METCorrectorParametersCollection ()
 
METCorrectorParameters const & operator[] (key_type k) const
 
METCorrectorParameters const & operator[] (std::string const &label) const
 
void push_back (key_type i, value_type const &j, label_type const &source="")
 
void validKeys (std::vector< key_type > &keys) const
 

Static Public Member Functions

static std::string findLabel (key_type k)
 
static std::string findMiniAodSource (key_type k)
 
static key_type getMiniAodBin (std::string const &source)
 
static void getSections (std::string inputFile, std::vector< std::string > &outputs)
 
static bool isMiniAod (key_type k)
 

Protected Member Functions

key_type findKey (std::string const &label) const
 

Protected Attributes

collection_type correctionsMiniAod_
 

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
 

Detailed Description

Definition at line 100 of file METCorrectorParameters.h.

Member Typedef Documentation

Definition at line 110 of file METCorrectorParameters.h.

Definition at line 106 of file METCorrectorParameters.h.

Definition at line 107 of file METCorrectorParameters.h.

Definition at line 109 of file METCorrectorParameters.h.

Definition at line 108 of file METCorrectorParameters.h.

Member Enumeration Documentation

Enumerator
MiniAod 
N_LEVELS 

Definition at line 102 of file METCorrectorParameters.h.

Constructor & Destructor Documentation

METCorrectorParametersCollection::METCorrectorParametersCollection ( )
inline

Definition at line 113 of file METCorrectorParameters.h.

Member Function Documentation

key_type METCorrectorParametersCollection::findKey ( std::string const &  label) const
protected
std::string METCorrectorParametersCollection::findLabel ( key_type  k)
static

Definition at line 343 of file METCorrectorParameters.cc.

Referenced by METCorrectorDBWriter::beginJob().

std::string METCorrectorParametersCollection::findMiniAodSource ( key_type  k)
static

Definition at line 353 of file METCorrectorParameters.cc.

METCorrectorParametersCollection::key_type METCorrectorParametersCollection::getMiniAodBin ( std::string const &  source)
static

Definition at line 421 of file METCorrectorParameters.cc.

void METCorrectorParametersCollection::getSections ( std::string  inputFile,
std::vector< std::string > &  outputs 
)
static

Definition at line 359 of file METCorrectorParameters.cc.

Referenced by METCorrectorDBWriter::beginJob().

bool METCorrectorParametersCollection::isMiniAod ( key_type  k)
static

Definition at line 430 of file METCorrectorParameters.cc.

METCorrectorParameters const & METCorrectorParametersCollection::operator[] ( key_type  k) const

Definition at line 395 of file METCorrectorParameters.cc.

METCorrectorParameters const& METCorrectorParametersCollection::operator[] ( std::string const &  label) const
inline

Definition at line 125 of file METCorrectorParameters.h.

void METCorrectorParametersCollection::push_back ( key_type  i,
value_type const &  j,
label_type const &  source = "" 
)

Definition at line 380 of file METCorrectorParameters.cc.

Referenced by METCorrectorDBWriter::beginJob().

template<class Archive >
void METCorrectorParametersCollection::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void METCorrectorParametersCollection::validKeys ( std::vector< key_type > &  keys) const

Definition at line 411 of file METCorrectorParameters.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 153 of file METCorrectorParameters.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 153 of file METCorrectorParameters.h.

Member Data Documentation

collection_type METCorrectorParametersCollection::correctionsMiniAod_
protected

Definition at line 151 of file METCorrectorParameters.h.