CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Enumerations | Functions
JetResolutionObject.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#include <unordered_map>
#include <vector>
#include <string>
#include <tuple>
#include <memory>
#include <initializer_list>
#include "CommonTools/Utils/interface/FormulaEvaluator.h"

Go to the source code of this file.

Classes

struct  JME::bimap< T, U >
 
class  JME::JetResolutionObject::Definition
 
struct  std::hash< JME::Binning >
 
class  JME::JetParameters
 
class  JME::JetResolutionObject
 
struct  JME::JetResolutionObject::Range
 
class  JME::JetResolutionObject::Record
 

Namespaces

 JME
 
 std
 

Enumerations

enum  JME::Binning {
  JME::Binning::JetPt = 0, JME::Binning::JetEta, JME::Binning::JetAbsEta, JME::Binning::JetE,
  JME::Binning::JetArea, JME::Binning::Mu, JME::Binning::Rho, JME::Binning::NPV
}
 
enum  Variation { Variation::NOMINAL = 0, Variation::DOWN = 1, Variation::UP = 2 }
 

Functions

template<typename T >
T clip (const T &n, const T &lower, const T &upper)
 

Enumeration Type Documentation

enum Variation
strong
Enumerator
NOMINAL 
DOWN 
UP 

Definition at line 29 of file JetResolutionObject.h.

29 { NOMINAL = 0, DOWN = 1, UP = 2 };

Function Documentation

template<typename T >
T clip ( const T n,
const T lower,
const T upper 
)

Definition at line 32 of file JetResolutionObject.h.

References SiStripPI::max, and min().

Referenced by JME::JetResolutionObject::evaluateFormula().

32  {
33  return std::max(lower, std::min(n, upper));
34 }
T min(T a, T b)
Definition: MathUtil.h:58