CMS 3D CMS Logo

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

#include <METCorrectorParameters.h>

Classes

class  Definitions
 
class  Record
 

Public Member Functions

std::vector< float > binCenters (unsigned fVar) const
 
int binIndex (const std::vector< float > &fX) const
 
const Definitionsdefinitions () const
 
bool isValid () const
 
 METCorrectorParameters ()
 
 METCorrectorParameters (const std::string &fFile, const std::string &fSection="")
 
 METCorrectorParameters (const METCorrectorParameters::Definitions &fDefinitions, const std::vector< METCorrectorParameters::Record > &fRecords)
 
int neighbourBin (unsigned fIndex, unsigned fVar, bool fNext) const
 
void printFile (const std::string &fFileName) const
 
void printScreen () const
 
const Recordrecord (unsigned fBin) const
 
unsigned size () const
 
unsigned size (unsigned fVar) const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 is this a valid set? More...
 

Private Attributes

METCorrectorParameters::Definitions mDefinitions
 
std::vector
< METCorrectorParameters::Record
mRecords
 
bool valid_
 

Friends

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

Detailed Description

Definition at line 14 of file METCorrectorParameters.h.

Constructor & Destructor Documentation

METCorrectorParameters::METCorrectorParameters ( )
inline

Definition at line 73 of file METCorrectorParameters.h.

METCorrectorParameters::METCorrectorParameters ( const std::string &  fFile,
const std::string &  fSection = "" 
)

Definition at line 111 of file METCorrectorParameters.cc.

METCorrectorParameters::METCorrectorParameters ( const METCorrectorParameters::Definitions fDefinitions,
const std::vector< METCorrectorParameters::Record > &  fRecords 
)
inline

Definition at line 75 of file METCorrectorParameters.h.

Member Function Documentation

std::vector<float> METCorrectorParameters::binCenters ( unsigned  fVar) const
int METCorrectorParameters::binIndex ( const std::vector< float > &  fX) const
const Definitions& METCorrectorParameters::definitions ( ) const
inline

Definition at line 80 of file METCorrectorParameters.h.

bool METCorrectorParameters::isValid ( void  ) const
inline

Definition at line 88 of file METCorrectorParameters.h.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

int METCorrectorParameters::neighbourBin ( unsigned  fIndex,
unsigned  fVar,
bool  fNext 
) const
void METCorrectorParameters::printFile ( const std::string &  fFileName) const

Definition at line 306 of file METCorrectorParameters.cc.

void METCorrectorParameters::printScreen ( ) const

Definition at line 273 of file METCorrectorParameters.cc.

const Record& METCorrectorParameters::record ( unsigned  fBin) const
inline

Definition at line 79 of file METCorrectorParameters.h.

template<class Archive >
void METCorrectorParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

is this a valid set?

unsigned METCorrectorParameters::size ( void  ) const
inline

Definition at line 81 of file METCorrectorParameters.h.

unsigned METCorrectorParameters::size ( unsigned  fVar) const

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 96 of file METCorrectorParameters.h.

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

Definition at line 96 of file METCorrectorParameters.h.

Member Data Documentation

METCorrectorParameters::Definitions METCorrectorParameters::mDefinitions
private

Definition at line 92 of file METCorrectorParameters.h.

std::vector<METCorrectorParameters::Record> METCorrectorParameters::mRecords
private

Definition at line 93 of file METCorrectorParameters.h.

bool METCorrectorParameters::valid_
private

Definition at line 94 of file METCorrectorParameters.h.