|
Rivet
1.8.0
|
FS modifier to exclude classes of particles from the final state. More...
#include <VetoedFinalState.hh>
Public Types | |
| typedef pair< double, double > | BinaryCut |
| Typedef for a pair of back-to-back cuts. | |
| typedef map< long, BinaryCut > | VetoDetails |
| Typedef for a vetoing entry. | |
| typedef multimap< int, BinaryCut > | CompositeVeto |
| Typedef for a veto on a composite particle mass. | |
Public Member Functions | |
| const VetoDetails & | vetoDetails () const |
Get the list of particle IDs and ranges to veto. | |
| 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 range will be vetoed). | |
| VetoedFinalState & | vetoNeutrinos () |
| Veto all neutrinos (convenience method) | |
| VetoedFinalState & | addCompositeMassVeto (const double &mass, const double &width, int nProducts=2) |
| VetoedFinalState & | addDecayProductsVeto (const long id) |
| VetoedFinalState & | setVetoDetails (const VetoDetails &ids) |
Set the list of particle IDs and ranges to veto. | |
| VetoedFinalState & | reset () |
| Clear the list of particle IDs and ranges to veto. | |
| VetoedFinalState & | addVetoOnThisFinalState (const FinalState &fs) |
| Veto particles from a supplied final state. | |
Constructors | |
| VetoedFinalState () | |
| Default constructor. | |
| VetoedFinalState (const FinalState &fsp) | |
| Constructor with specific FinalState. | |
| VetoedFinalState (const VetoDetails &vetocodes) | |
| VetoedFinalState (const FinalState &fsp, const VetoDetails &vetocodes) | |
| virtual const Projection * | clone () const |
| Clone on the heap. | |
Protected Member Functions | |
| void | project (const Event &e) |
| Apply the projection on the supplied event. | |
| int | compare (const Projection &p) const |
| Compare projections. | |
FS modifier to exclude classes of particles from the final state.
| Rivet::VetoedFinalState::VetoedFinalState | ( | const VetoDetails & | vetocodes | ) | [inline] |
You can add a map of ID plus a pair containing
and
- these define the range of particles to be vetoed.
References Rivet::ProjectionApplier::addProjection(), Rivet::FinalState::FinalState(), and Rivet::Projection::setName().
| Rivet::VetoedFinalState::VetoedFinalState | ( | const FinalState & | fsp, |
| const VetoDetails & | vetocodes | ||
| ) | [inline] |
You can add a map of ID plus a pair containing
and
- these define the range of particles to be vetoed. This version also supplies a specifi FinalState to be used.
References Rivet::ProjectionApplier::addProjection(), and Rivet::Projection::setName().
| VetoedFinalState& Rivet::VetoedFinalState::addCompositeMassVeto | ( | const double & | mass, |
| const double & | width, | ||
| int | nProducts = 2 |
||
| ) | [inline] |
Add a veto on composite masses within a given width. The composite mass is composed of nProducts decay products @ todo might we want to specify a range of pdg ids for the decay products?
| VetoedFinalState& Rivet::VetoedFinalState::addDecayProductsVeto | ( | const long | id | ) | [inline] |
Veto the decay products of particle with pdg id
| VetoedFinalState& Rivet::VetoedFinalState::addVetoDetail | ( | const long | id, |
| const double | ptmin, | ||
| const double | ptmax | ||
| ) | [inline] |
Add a particle ID and
range to veto. Particles with
IN the given range will be rejected.
Referenced by addVetoPairDetail().
| VetoedFinalState& Rivet::VetoedFinalState::addVetoPairDetail | ( | const long | id, |
| const double | ptmin, | ||
| const double | ptmax | ||
| ) | [inline] |
Add a particle/antiparticle pair to veto in a given
range. Given a single ID, both the particle and its conjugate antiparticle will be rejected if their
is IN the given range.
References addVetoDetail().
| VetoedFinalState& Rivet::VetoedFinalState::addVetoPairId | ( | const long | id | ) | [inline] |
Add a particle/antiparticle pair to veto. Given a single ID, both the particle and its corresponding antiparticle (for all
values) will be vetoed.
References addVetoId().
Referenced by vetoNeutrinos().
| void Rivet::VetoedFinalState::project | ( | const Event & | e | ) | [protected, virtual] |
Apply the projection on the supplied event.
Reimplemented from Rivet::FinalState.
References Rivet::Projection::getLog(), Rivet::Log::isActive(), Rivet::mass(), Rivet::mass2(), Rivet::Particle::momentum(), Rivet::FinalState::particles(), Rivet::Particle::pdgId(), and Rivet::FourMomentum::pT().
1.7.6.1