Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Cuts.fhh File Reference

#include "Rivet/Rivet.hh"

Include dependency graph for Cuts.fhh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Namespaces

namespace  Rivet

Enumerations

enum  Comparison { LESS_EQ, MORE_EQ, EQUAL }

Functions

const string toString (const Comparison &c)
 String representations of the comparison enum values.
ostream & operator<< (ostream &os, const Cuts &cuts)
 Allow Cuts to be passed to an ostream.
ostream & operator<< (ostream &os, const Comparison &comp)
 Method to write a Comparison to a stream.

Enumeration Type Documentation

enum Comparison
 

Comparison operations. We're being clear about the <= and >= equality aspects since these will actually be implemented as inclusive binary cuts with EQUAL being translated into a matched "back-to-back" pair of inequalities.

Enumeration values:
LESS_EQ 
MORE_EQ 
EQUAL 

Definition at line 15 of file Cuts.fhh.


Function Documentation

ostream& operator<< ostream &  os,
const Comparison comp
[inline]
 

Method to write a Comparison to a stream.

Definition at line 37 of file Cuts.fhh.

References Rivet::toString().

ostream & operator<< ostream &  os,
const Cuts &  cuts
[inline]
 

Allow Cuts to be passed to an ostream.

Definition at line 115 of file Cuts.hh.

References Cuts::print().

const string toString const Comparison c  )  [inline]
 

String representations of the comparison enum values.

Definition at line 21 of file Cuts.fhh.

References Rivet::EQUAL, Rivet::LESS_EQ, and Rivet::MORE_EQ.