#include <VetoedFinalState.hh>
Inheritance diagram for VetoedFinalState:
Definition at line 16 of file VetoedFinalState.hh.
Standard constructors and destructors. | |
const ParticleVector & | particles () const |
Access the projected final-state particles. | |
ParticleVector | _theParticles |
The final-state particles. | |
Public Types | |
typedef map< long, pair< double, double > > | VetoDetails |
Typedef for a vetoing entry. | |
Public Member Functions | |
VetoedFinalState (FinalState &fsp) | |
VetoedFinalState (FinalState &fsp, const VetoDetails &vetocodes) | |
string | getName () const |
Return the name of the projection. | |
const VetoDetails & | getVetoDetails () const |
Get the list of particle IDs and ![]() | |
VetoedFinalState & | addVetoDetail (const long id, const double ptmin, const double ptmax) |
VetoedFinalState & | addVetoPairDetail (const long id, const double ptmin, const double ptmax) |
VetoedFinalState & | addVetoPairId (const long id) |
VetoedFinalState & | addVetoId (const long id) |
Add a particle ID to veto (all ![]() | |
VetoedFinalState & | setVetoDetails (const VetoDetails &ids) |
Set the list of particle IDs and ![]() | |
VetoedFinalState & | clearVetoDetails () |
Clear the list of particle IDs and ranges to veto. | |
bool | before (const Projection &p) const |
virtual const Cuts | getCuts () const |
virtual const set< BeamPair > | getBeamPairs () const |
set< Projection * > | getProjections () const |
Get the contained projections, including recursion. | |
Protected Member Functions | |
void | project (const Event &e) |
Apply the projection on the supplied event. | |
int | compare (const Projection &p) const |
Compare projections. | |
Projection & | addProjection (Projection &proj) |
Add a projection dependency to the projection list. | |
Projection & | addBeamPair (const ParticleName &beam1, const ParticleName &beam2) |
Add a colliding beam pair. | |
Projection & | addCut (const string &quantity, const Comparison &comparison, const double value) |
Add a cut. | |
Log & | getLog () |
Get a Log object based on the getName() property of the calling projection object. | |
Protected Attributes | |
Cuts | _cuts |
Parameter constraints. | |
set< BeamPair > | _beamPairs |
Beam-type constraint. | |
set< Projection * > | _projections |
Collection of pointers to projections, for automatically combining constraints. | |
Friends | |
class | Event |
Event is a friend. | |
class | Cmp<Projection> |
The Cmp specialization for Projection is a friend. |
|
Typedef for a vetoing entry.
Definition at line 21 of file VetoedFinalState.hh. Referenced by VetoedFinalState::getVetoDetails(), VetoedFinalState::setVetoDetails(), and VetoedFinalState::VetoedFinalState(). |
|
The default constructor. Must specify a FinalState projection object which is assumed to live through the run. Definition at line 25 of file VetoedFinalState.hh. |
|
You can add a map of ID plus a pair containing Definition at line 33 of file VetoedFinalState.hh. References VetoedFinalState::VetoDetails. |
|
Add a colliding beam pair.
Definition at line 145 of file Projection.hh. References Rivet::BeamPair. |
|
Add a cut.
Definition at line 151 of file Projection.hh. |
|
Add a projection dependency to the projection list.
Definition at line 139 of file Projection.hh. |
|
Add a particle ID and Definition at line 63 of file VetoedFinalState.hh. |
|
Add a particle ID to veto (all
Definition at line 88 of file VetoedFinalState.hh. |
|
Add a particle/antiparticle pair to veto in a given Definition at line 73 of file VetoedFinalState.hh. |
|
Add a particle/antiparticle pair to veto. Given a single ID, both the particle and its corresponding antiparticle (for all Definition at line 81 of file VetoedFinalState.hh. |
|
Determine whether this object should be ordered before the object p given as argument. If p is of a different class than this, the before() function of the corresponding type_info objects is used. Otherwise, if the objects are of the same class, the virtual compare(const Projection &) will be returned. Definition at line 88 of file Projection.hh. Referenced by less< const Rivet::Projection * >::operator()(). |
|
Clear the list of particle IDs and ranges to veto.
Definition at line 103 of file VetoedFinalState.hh. |
|
Compare projections.
Reimplemented from FinalState. Definition at line 11 of file VetoedFinalState.cc. References VetoedFinalState::_fsproj, VetoedFinalState::_vetoCodes, and Rivet::pcmp(). |
|
Return the BeamConstraints for this projection. Derived classes should ensure that all contained projections are registered in the _projections set for the beam constraint chaining to work. Definition at line 114 of file Projection.hh. References Cuts::end(), and Rivet::intersection(). |
|
Return the Cuts objects for this projection. Derived classes should ensure that all contained projections are registered in the _projections set for the cut chaining to work. Definition at line 102 of file Projection.hh. References Cuts::addCuts(). |
|
Get a Log object based on the getName() property of the calling projection object.
Definition at line 7 of file Projection.cc. References Log::getLog(), and Projection::getName(). Referenced by VetoedFinalState::project(), TrackJet::project(), TotalVisibleMomentum::project(), Sphericity::project(), Multiplicity::project(), ChargedLeptons::project(), ChargedFinalState::project(), and Beam::project(). |
|
Return the name of the projection.
Reimplemented from FinalState. Definition at line 42 of file VetoedFinalState.hh. |
|
Get the contained projections, including recursion.
Definition at line 128 of file Projection.hh. References Cuts::end(). |
|
Get the list of particle IDs and
Definition at line 57 of file VetoedFinalState.hh. References VetoedFinalState::VetoDetails. |
|
Access the projected final-state particles.
Definition at line 37 of file FinalState.hh. References Rivet::ParticleVector. Referenced by ZPhys73C11::analyze(), HepEx9506012::analyze(), VetoedFinalState::project(), TrackJet::project(), TotalVisibleMomentum::project(), Sphericity::project(), Multiplicity::project(), KtJets::project(), FinalStateHCM::project(), FastJets::project(), DISLepton::project(), D0ILConeJets::project(), ChargedLeptons::project(), ChargedFinalState::project(), and CentralEtHCM::project(). |
|
Apply the projection on the supplied event.
Reimplemented from FinalState. Definition at line 20 of file VetoedFinalState.cc. References Event::applyProjection(), Projection::getLog(), Log::isActive(), FinalState::particles(), and Rivet::ParticleVector. |
|
Set the list of particle IDs and
Definition at line 97 of file VetoedFinalState.hh. References VetoedFinalState::VetoDetails. |
|
The Cmp specialization for Projection is a friend.
Definition at line 31 of file Projection.hh. |
|
Event is a friend.
Definition at line 28 of file Projection.hh. |
|
Beam-type constraint.
Definition at line 164 of file Projection.hh. |
|
Parameter constraints.
Definition at line 161 of file Projection.hh. |
|
Collection of pointers to projections, for automatically combining constraints.
Definition at line 167 of file Projection.hh. |
|
The final-state particles.
Definition at line 63 of file FinalState.hh. Referenced by FinalState::project(). |