test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces
BoxND.h File Reference

Template to represent rectangles, boxes, and hyperboxes. More...

#include <vector>
#include "Alignment/Geners/interface/ClassId.hh"
#include "JetMETCorrections/InterpolationTables/interface/Interval.h"
#include <limits>
#include <cassert>
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h"
#include "Alignment/Geners/interface/GenericIO.hh"
#include "Alignment/Geners/interface/IOIsUnsigned.hh"

Go to the source code of this file.

Classes

struct  npstat::BoxND< Numeric >
 

Namespaces

 npstat
 

Functions

template<typename Numeric >
bool operator== (const npstat::BoxND< Numeric > &l, const npstat::BoxND< Numeric > &r)
 
template<typename Numeric >
bool operator!= (const npstat::BoxND< Numeric > &l, const npstat::BoxND< Numeric > &r)
 

Detailed Description

Template to represent rectangles, boxes, and hyperboxes.

Author: I. Volobouev

March 2010

Definition in file BoxND.h.

Function Documentation

template<typename Numeric >
bool operator!= ( const npstat::BoxND< Numeric > &  l,
const npstat::BoxND< Numeric > &  r 
)

Definition at line 558 of file BoxND.h.

References alignCSCRings::r.

559 {
560  return !(l == r);
561 }
template<typename Numeric >
bool operator== ( const npstat::BoxND< Numeric > &  l,
const npstat::BoxND< Numeric > &  r 
)

Binary comparison for equality

Definition at line 546 of file BoxND.h.

References i.

547 {
548  const unsigned long dim = l.size();
549  if (dim != r.size())
550  return false;
551  for (unsigned long i=0; i<dim; ++i)
552  if (l[i] != r[i])
553  return false;
554  return true;
555 }
int i
Definition: DBlmapReader.cc:9