Rivet API documentation
![]() |
Rivet 4.1.3
|
ParticleSmearingFunctions.hh
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:50
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
double PARTICLE_EFF_ONE(const Particle &)
Take a Particle and return 1.
Definition ParticleSmearingFunctions.hh:39
Particle PARTICLE_SMEAR_PERFECT(const Particle &p)
Alias for PARTICLE_SMEAR_IDENTITY.
Definition ParticleSmearingFunctions.hh:71
double PARTICLE_EFF_PERFECT(const Particle &)
Alias for PARTICLE_EFF_ONE.
Definition ParticleSmearingFunctions.hh:47
function< Particle(const Particle &)> ParticleSmearFn
Typedef for Particle smearing functions/functors.
Definition ParticleSmearingFunctions.hh:19
double PARTICLE_FN1(const Particle &)
Alias for PARTICLE_EFF_ONE.
Definition ParticleSmearingFunctions.hh:51
Particle PARTICLE_SMEAR_IDENTITY(const Particle &p)
Take a Particle and return it unmodified.
Definition ParticleSmearingFunctions.hh:67
double PARTICLE_EFF_0(const Particle &)
Alias for PARTICLE_EFF_ZERO.
Definition ParticleSmearingFunctions.hh:30
double PARTICLE_FN0(const Particle &)
Alias for PARTICLE_EFF_ZERO.
Definition ParticleSmearingFunctions.hh:34
double PARTICLE_EFF_ZERO(const Particle &)
Take a Particle and return 0.
Definition ParticleSmearingFunctions.hh:26
function< double(const Particle &)> ParticleEffFn
Typedef for Particle efficiency functions/functors.
Definition ParticleSmearingFunctions.hh:22
double PARTICLE_EFF_1(const Particle &)
Alias for PARTICLE_EFF_ONE.
Definition ParticleSmearingFunctions.hh:43
bool efffilt(const Jet &j, FN &feff)
Return true if Jet j is chosen to survive a random efficiency selection.
Definition JetSmearingFunctions.hh:189
Definition LHCbCommon.hh:9
Cmp< T > cmp(const T &t1, const T &t2)
Global helper function for easy creation of Cmp objects.
Definition Cmp.hh:253
uintptr_t get_address(std::function< T(U...)> f)
Get a function pointer / hash integer from an std::function.
Definition RivetSTL.hh:338
Take a Particle and return a constant number.
Definition ParticleSmearingFunctions.hh:56
A functor to return true if Particle p survives a random efficiency selection.
Definition ParticleSmearingFunctions.hh:133
CmpState cmp(const ParticleEffSmearFn &other) const
Compare to another, for use in the projection system.
Definition ParticleSmearingFunctions.hh:101
pair< Particle, double > operator()(const Particle &p) const
Smear and calculate an efficiency for the given particle.
Definition ParticleSmearingFunctions.hh:96
Generated on for Rivet by
