CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ShiftedMETcorrInputProducer::binningEntryType Struct Reference

Public Member Functions

 binningEntryType (double uncertainty)
 
 binningEntryType (const edm::ParameterSet &cfg)
 
std::string getInstanceLabel_full (const std::string &instanceLabel)
 
 ~binningEntryType ()
 

Public Attributes

std::string binLabel_
 
double binUncertainty_
 

Detailed Description

Definition at line 41 of file ShiftedMETcorrInputProducer.h.

Constructor & Destructor Documentation

ShiftedMETcorrInputProducer::binningEntryType::binningEntryType ( double  uncertainty)
inline
ShiftedMETcorrInputProducer::binningEntryType::binningEntryType ( const edm::ParameterSet cfg)
inline

Definition at line 47 of file ShiftedMETcorrInputProducer.h.

48  : binLabel_(cfg.getParameter<std::string>("binLabel")),
49  binUncertainty_(cfg.getParameter<double>("binUncertainty"))
50  {}
T getParameter(std::string const &) const
ShiftedMETcorrInputProducer::binningEntryType::~binningEntryType ( )
inline

Definition at line 58 of file ShiftedMETcorrInputProducer.h.

58 {}

Member Function Documentation

std::string ShiftedMETcorrInputProducer::binningEntryType::getInstanceLabel_full ( const std::string &  instanceLabel)
inline

Definition at line 51 of file ShiftedMETcorrInputProducer.h.

References binLabel_.

52  {
53  std::string retVal = instanceLabel;
54  if ( instanceLabel != "" && binLabel_ != "" ) retVal.append("#");
55  retVal.append(binLabel_);
56  return retVal;
57  }

Member Data Documentation

std::string ShiftedMETcorrInputProducer::binningEntryType::binLabel_

Definition at line 59 of file ShiftedMETcorrInputProducer.h.

Referenced by getInstanceLabel_full().

double ShiftedMETcorrInputProducer::binningEntryType::binUncertainty_

Definition at line 60 of file ShiftedMETcorrInputProducer.h.