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

BeamConstraint.hh File Reference

#include "Rivet/Rivet.hh"
#include "Rivet/ParticleName.hh"
#include <iostream>

Include dependency graph for BeamConstraint.hh:

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

Functions

bool compatible (ParticleName p, ParticleName allowed)
bool compatible (BeamPair pair, BeamPair allowedpair)
bool compatible (BeamPair pair, set< BeamPair > allowedpairs)
set< BeamPairintersection (set< BeamPair > a, set< BeamPair > b)
 Return the intersection of two sets of BeamPairs.

Function Documentation

bool compatible BeamPair  pair,
set< BeamPair allowedpairs
[inline]
 

Find whether a BeamPair pair is compatible with at least one template beam pair in a set allowedpairs.

Definition at line 33 of file BeamConstraint.hh.

References Rivet::BeamPair.

Referenced by Rivet::compatible(), Rivet::intersection(), and Analysis::isCompatible().

bool compatible BeamPair  pair,
BeamPair  allowedpair
[inline]
 

Find whether BeamPair pair is compatible with the template BeamPair allowedpair. This assesses whether either of the two possible pairings of pair's constituents is compatible.

Definition at line 23 of file BeamConstraint.hh.

References Rivet::BeamPair, and Rivet::compatible().

bool compatible ParticleName  p,
ParticleName  allowed
[inline]
 

Find whether ParticleName p is compatible with the template ParticleName allowed. Effectively this is asking whether p is a subset of allowed.

Definition at line 15 of file BeamConstraint.hh.

References Rivet::ANY.

Referenced by Analysis::checkConsistency().

set<BeamPair> intersection set< BeamPair a,
set< BeamPair b
[inline]
 

Return the intersection of two sets of BeamPairs.

Definition at line 41 of file BeamConstraint.hh.

References Rivet::compatible().

Referenced by Projection::getBeamPairs().