CMS 3D CMS Logo

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

◆ Variation

enum Variation
strong
Enumerator
NOMINAL 
DOWN 
UP 

Definition at line 29 of file JetResolutionObject.h.

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

Function Documentation

◆ clip()

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

Definition at line 32 of file JetResolutionObject.h.

32  {
33  return std::max(lower, std::min(n, upper));
34 }

References SiStripPI::max, min(), dqmiodumpmetadata::n, and pileupCalc::upper.

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

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
min
T min(T a, T b)
Definition: MathUtil.h:58
Variation::UP
Variation::NOMINAL
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
Variation::DOWN
pileupCalc.upper
upper
Definition: pileupCalc.py:214