Rivet API documentation
![]() |
Rivet 4.1.3
|
InvMassFinalState.hh
35 InvMassFinalState(const std::vector<std::pair<PdgId, PdgId> >& idpairs, // vector of pairs of decay products
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
InvMassFinalState(const std::pair< PdgId, PdgId > &idpair, double minmass, double maxmass, double masstarget=-1.0)
Same thing as above, but we want to pass the particles directly to the calc method.
const std::vector< std::pair< Particle, Particle > > & particlePairs() const
Constituent pairs.
void project(const Event &e)
Apply the projection on the supplied event.
RIVET_DEFAULT_PROJ_CLONE(InvMassFinalState)
Clone on the heap.
InvMassFinalState(const FinalState &fsp, const std::pair< PdgId, PdgId > &idpair, double minmass, double maxmass, double masstarget=-1.0)
Constructor for a single inv-mass pair.
void useTransverseMass(bool usetrans=true)
Choose whether to use the full inv mass or just the transverse mass.
Definition InvMassFinalState.hh:53
void calc(const Particles &inparticles)
Operate on a given particle vector directly instead of through project (no caching).
InvMassFinalState(const FinalState &fsp, const std::vector< std::pair< PdgId, PdgId > > &idpairs, double minmass, double maxmass, double masstarget=-1.0)
Constructor for multiple inv-mass pairs.
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
Definition MC_CENT_PPB_Projections.hh:10
Generated on for Rivet by
