CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
QGLikelihoodObject.h File Reference
#include "CondFormats/PhysicsToolsObjects/interface/Histogram.h"
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>

Go to the source code of this file.

Classes

struct  QGLikelihoodSystematicsObject::Entry
 
struct  QGLikelihoodObject::Entry
 
struct  QGLikelihoodCategory
 Category structure: ranges associated with QGLikelihood histograms. More...
 
struct  QGLikelihoodObject
 QGLikelihoodObject containing valid range and entries with category, histogram and mean. More...
 
struct  QGLikelihoodParameters
 Parameters structure. More...
 
struct  QGLikelihoodSystematicsObject
 QGLikelihoodSystematicsObject containing the parameters for the systematic smearing. More...
 

Functions

bool operator== (const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
 Test if parameters are compatible with category. More...
 

Function Documentation

bool operator== ( const QGLikelihoodParameters lhs,
const QGLikelihoodCategory rhs 
)
inline

Test if parameters are compatible with category.

Definition at line 49 of file QGLikelihoodObject.h.

References QGLikelihoodParameters::Eta, QGLikelihoodCategory::EtaMax, QGLikelihoodCategory::EtaMin, QGLikelihoodParameters::Pt, QGLikelihoodCategory::PtMax, QGLikelihoodCategory::PtMin, QGLikelihoodCategory::QGIndex, QGLikelihoodParameters::QGIndex, QGLikelihoodParameters::Rho, QGLikelihoodCategory::RhoMax, QGLikelihoodCategory::RhoMin, QGLikelihoodCategory::VarIndex, and QGLikelihoodParameters::VarIndex.

Referenced by ora::Object::operator!=(), ora::Version::operator!=(), ora::OId::operator!=(), ora::NamedRef< T >::operator!=(), NAEquationSolver< Function >::operator!=(), cond::persistency::IOVProxy::Iterator::operator!=(), and cond::persistency::GTProxy::Iterator::operator!=().

49  {
50  if(lhs.QGIndex != rhs.QGIndex) return false;
51  if(lhs.VarIndex != rhs.VarIndex) return false;
52  if(lhs.Eta < rhs.EtaMin) return false;
53  if(lhs.Eta > rhs.EtaMax) return false;
54  if(lhs.Rho < rhs.RhoMin) return false;
55  if(lhs.Rho > rhs.RhoMax) return false;
56  if(lhs.Pt < rhs.PtMin) return false;
57  if(lhs.Pt > rhs.PtMax) return false;
58  return true;
59 }