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 <TFormula.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 25 of file JetResolutionObject.h.

25  {
26  NOMINAL = 0,
27  DOWN = 1,
28  UP = 2
29 };

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