Rivet API documentation
![]() |
Rivet 4.1.3
|
VetoedFinalState.hh
115 VetoedFinalState& addVetoDetail(PdgId pid, double ptmin, double ptmax=std::numeric_limits<double>::max()) {
124 VetoedFinalState& addVetoPairDetail(PdgId pid, double ptmin, double ptmax=std::numeric_limits<double>::max()) {
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Base class for projections which return subsets of an event's particles.
Definition ParticleFinder.hh:11
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version).
Definition ProjectionApplier.hh:184
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
virtual std::string name() const
Get the name of the projection.
Definition Projection.hh:62
const vector< Cut > & vetoDetails() const
Get the list of particle IDs and ranges to veto.
Definition VetoedFinalState.hh:87
VetoedFinalState(const Cut &cut)
Constructor with a default FinalState and a single cut to veto.
Definition VetoedFinalState.hh:36
VetoedFinalState(const FinalState &fsp, const Cut &cut)
Constructor with a specific FinalState and a single cut to veto.
Definition VetoedFinalState.hh:26
VetoedFinalState & addVetoPairId(PdgId pid)
Add a particle/antiparticle pair to veto.
Definition VetoedFinalState.hh:139
RIVET_DEFAULT_PROJ_CLONE(VetoedFinalState)
Clone on the heap.
VetoedFinalState(const FinalState &fsp, const vector< Cut > &cuts)
Constructor with a specific FinalState and a cuts list to veto.
Definition VetoedFinalState.hh:18
VetoedFinalState & addVetoPair(PdgId pid, const Cut &cut=Cuts::OPEN)
Add a particle/antiparticle selection to be vetoed from the final state.
Definition VetoedFinalState.hh:106
VetoedFinalState(const vector< PdgId > &vetopids)
Constructor with a default FinalState and a PID list to veto.
Definition VetoedFinalState.hh:54
VetoedFinalState & reset()
Clear the list of particle IDs and ranges to veto.
Definition VetoedFinalState.hh:198
VetoedFinalState & addVetoPairDetail(PdgId pid, double ptmin, double ptmax=std::numeric_limits< double >::max())
Add a particle/antiparticle pair to veto in a given range.
Definition VetoedFinalState.hh:124
VetoedFinalState & setVetoDetails(const vector< Cut > &cuts)
Set the list of particle selections to veto.
Definition VetoedFinalState.hh:146
VetoedFinalState(const FinalState &fsp)
Constructor with specific FinalState but no cuts.
Definition VetoedFinalState.hh:67
VetoedFinalState & vetoNeutrinos()
Veto all neutrinos (convenience method).
Definition VetoedFinalState.hh:154
VetoedFinalState & vetoFinalState(const ParticleFinder &fs)
Veto particles from a supplied final state.
Definition VetoedFinalState.hh:183
VetoedFinalState()
Default constructor with default FinalState and no cuts.
Definition VetoedFinalState.hh:72
VetoedFinalState & addCompositeMassVeto(double mass, double width, int nProducts=2)
Definition VetoedFinalState.hh:165
VetoedFinalState(PdgId vetopid)
Constructor with a default FinalState and a PID to veto.
Definition VetoedFinalState.hh:62
VetoedFinalState & addDecayProductsVeto(PdgId pid)
Definition VetoedFinalState.hh:177
VetoedFinalState & addVetoOnThisFinalState(const ParticleFinder &fs)
Definition VetoedFinalState.hh:192
void project(const Event &e)
Apply the projection on the supplied event.
VetoedFinalState & addVetoDetail(PdgId pid, double ptmin, double ptmax=std::numeric_limits< double >::max())
Add a particle ID and range to veto.
Definition VetoedFinalState.hh:115
VetoedFinalState(const FinalState &fsp, const vector< PdgId > &vetopids)
Constructor with a specific FinalState and a PID list to veto.
Definition VetoedFinalState.hh:41
VetoedFinalState(const FinalState &fsp, PdgId vetopid)
Constructor with a specific FinalState and a PID to veto.
Definition VetoedFinalState.hh:49
VetoedFinalState & addVeto(const Cut &cut)
Add a particle selection to be vetoed from the final state.
Definition VetoedFinalState.hh:94
VetoedFinalState & addVeto(PdgId pid, const Cut &cut=Cuts::OPEN)
Add a particle selection to be vetoed from the final state.
Definition VetoedFinalState.hh:100
VetoedFinalState & addVetoId(PdgId pid)
Add a particle ID to veto (all range will be vetoed).
Definition VetoedFinalState.hh:130
VetoedFinalState(const vector< Cut > &cuts)
Constructor with a default FinalState and a cuts list to veto.
Definition VetoedFinalState.hh:31
double mass(const FourMomentum &a, const FourMomentum &b)
Calculate mass of two 4-vectors.
Definition Vector4.hh:1482
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
int pid(const Particle &p)
Unbound function access to PID code.
Definition ParticleUtils.hh:23
Definition MC_CENT_PPB_Projections.hh:10
Generated on for Rivet by
