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
JetCorrectorParameters Class Reference

#include <JetCorrectorParameters.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
 
 JetCorrectorParameters ()
 
 JetCorrectorParameters (const std::string &fFile, const std::string &fSection="")
 
 JetCorrectorParameters (const JetCorrectorParameters::Definitions &fDefinitions, const std::vector< JetCorrectorParameters::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

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

Friends

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

Detailed Description

Definition at line 19 of file JetCorrectorParameters.h.

Constructor & Destructor Documentation

JetCorrectorParameters::JetCorrectorParameters ( )
inline

Definition at line 81 of file JetCorrectorParameters.h.

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

Definition at line 109 of file JetCorrectorParameters.cc.

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

Definition at line 83 of file JetCorrectorParameters.h.

Member Function Documentation

std::vector< float > JetCorrectorParameters::binCenters ( unsigned  fVar) const

Definition at line 252 of file JetCorrectorParameters.cc.

int JetCorrectorParameters::binIndex ( const std::vector< float > &  fX) const
const Definitions& JetCorrectorParameters::definitions ( ) const
inline
bool JetCorrectorParameters::isValid ( void  ) const
inline

Definition at line 96 of file JetCorrectorParameters.h.

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

int JetCorrectorParameters::neighbourBin ( unsigned  fIndex,
unsigned  fVar,
bool  fNext 
) const

Definition at line 188 of file JetCorrectorParameters.cc.

Referenced by SimpleJetCorrector::correction().

void JetCorrectorParameters::printFile ( const std::string &  fFileName) const

Definition at line 300 of file JetCorrectorParameters.cc.

Referenced by JetCorrectorDBReader::analyze().

void JetCorrectorParameters::printScreen ( ) const

Definition at line 262 of file JetCorrectorParameters.cc.

Referenced by JetCorrectorDBReader::analyze().

const Record& JetCorrectorParameters::record ( unsigned  fBin) const
inline
template<class Archive >
void JetCorrectorParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

is this a valid set?

unsigned JetCorrectorParameters::size ( void  ) const
inline
unsigned JetCorrectorParameters::size ( unsigned  fVar) const

Definition at line 230 of file JetCorrectorParameters.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 104 of file JetCorrectorParameters.h.

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

Definition at line 104 of file JetCorrectorParameters.h.

Member Data Documentation

JetCorrectorParameters::Definitions JetCorrectorParameters::mDefinitions
private

Definition at line 100 of file JetCorrectorParameters.h.

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

Definition at line 101 of file JetCorrectorParameters.h.

bool JetCorrectorParameters::valid_
private

Definition at line 102 of file JetCorrectorParameters.h.