#include <Cuts.hh>
Definition at line 20 of file Cuts.hh.
Non-const iterators over the cuts | |
typedef NamedBinaryCuts::iterator | iterator |
iterator | begin () |
iterator | end () |
iterator | find (const string &quantity) |
Non-const iterators over the cuts | |
typedef NamedBinaryCuts::const_iterator | const_iterator |
const const_iterator | begin () const |
const const_iterator | end () const |
const const_iterator | find (const string &quantity) const |
Public Types | |
typedef map< string, BinaryCut > | NamedBinaryCuts |
Typedef for a named collection of binary cut objects. | |
Public Member Functions | |
Cuts & | addCut (const string &quantity, const Comparison &comparison, const double value) |
Define this cut by a quantity to be constrained and the comparison type of the constraint. | |
Cuts & | addCuts (const Cuts &other) |
Combine with another set of Cuts, using addCut iternally. | |
bool | checkConsistency () const |
Set the value of this cut, bypassing the combination mechanism. | |
ostream & | print (ostream &stream) const |
Print the parameters to the given stream. | |
Standard constructors, destructors and assignment. | |
Cuts () | |
The default constructor. |
|
|
|
|
|
Typedef for a named collection of binary cut objects.
|
|
The default constructor.
|
|
Define this cut by a quantity to be constrained and the comparison type of the constraint.
Definition at line 11 of file Cuts.cc. References Rivet::EQUAL, Rivet::LESS_EQ, and Rivet::MORE_EQ. |
|
Combine with another set of Cuts, using addCut iternally.
Definition at line 37 of file Cuts.hh. References Cuts::begin(), Cuts::end(), Rivet::LESS_EQ, and Rivet::MORE_EQ. Referenced by Projection::getCuts(), and Analysis::getCuts(). |
|
Definition at line 102 of file Cuts.hh. References Cuts::begin(). |
|
Definition at line 94 of file Cuts.hh. Referenced by Cuts::addCuts(), Cuts::begin(), Cuts::checkConsistency(), and Cuts::print(). |
|
Set the value of this cut, bypassing the combination mechanism. Make sure that the cuts are internally consistent. Returns no value, but an exception will be thrown if there is an inconsistency. Definition at line 41 of file Cuts.cc. References Cuts::begin(), and Cuts::end(). Referenced by Analysis::checkConsistency(). |
|
Definition at line 103 of file Cuts.hh. References Cuts::end(). |
|
Definition at line 95 of file Cuts.hh. Referenced by Cuts::addCuts(), Cuts::checkConsistency(), Analysis::checkConsistency(), Cuts::end(), Projection::getBeamPairs(), Projection::getProjections(), Analysis::getProjections(), and Cuts::print(). |
|
Definition at line 104 of file Cuts.hh. References Cuts::find(). |
|
Definition at line 96 of file Cuts.hh. Referenced by Cuts::find(). |
|
Print the parameters to the given stream.
Definition at line 56 of file Cuts.cc. References Cuts::begin(), and Cuts::end(). Referenced by Rivet::operator<<(). |