Rivet
1.8.0
|
Produce a final state which only contains specified particle IDs. More...
#include <IdentifiedFinalState.hh>
Public Member Functions | |
const set< PdgId > & | acceptedIds () const |
Get the list of particle IDs to accept. | |
IdentifiedFinalState & | acceptId (PdgId pid) |
Add an accepted particle ID. | |
IdentifiedFinalState & | acceptIds (const vector< PdgId > &pids) |
Add a set of accepted particle IDs. | |
IdentifiedFinalState & | acceptIdPair (PdgId pid) |
Add an accepted particle ID and its antiparticle. | |
IdentifiedFinalState & | acceptIdPairs (const vector< PdgId > &pids) |
Add a set of accepted particle IDs and their antiparticles. | |
IdentifiedFinalState & | acceptNeutrinos () |
Accept all neutrinos (convenience method). | |
IdentifiedFinalState & | acceptChLeptons () |
Accept all charged leptons (convenience method). | |
void | reset () |
Reset the list of particle IDs to accept. | |
Constructors | |
IdentifiedFinalState (const FinalState &fsp) | |
Constructor with specific FinalState. | |
IdentifiedFinalState (double etamin=-MAXRAPIDITY, double etamax=MAXRAPIDITY, double ptMin=0.0 *GeV) | |
Constructor with a single eta range argument. | |
IdentifiedFinalState (const vector< pair< double, double > > &etaRanges, double ptMin=0.0 *GeV) | |
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. |
Produce a final state which only contains specified particle IDs.
Rivet::IdentifiedFinalState::IdentifiedFinalState | ( | const vector< pair< double, double > > & | etaRanges, |
double | ptMin = 0.0*GeV |
||
) |
Constructor which allows to specify multiple eta ranges and the min .
References Rivet::ProjectionApplier::addProjection(), Rivet::FinalState::FinalState(), and Rivet::Projection::setName().