SmearedParticles.hh 81 const Particles& truthparticles = apply<ParticleFinder>(e, "TruthParticles").particlesByPt(); //truthParticles();
Representation of a HepMC event, and enabler of Projection caching. Definition Event.hh:22 const FourMomentum & mom() const Get equivalent single momentum four-vector (const) (alias). Definition ParticleBase.hh:39 Base class for projections which return subsets of an event's particles. Definition ParticleFinder.hh:11 size_t size() const Count the final-state particles. Definition ParticleFinder.hh:51 Particle representation, either from a HepMC::GenEvent or reconstructed. Definition Particle.hh:45 virtual void addConstituent(const Particle &c, bool addmom=false) Add a single direct constituent to this particle. const PROJ & declare(const PROJ &proj, const std::string &name) const Register a contained projection (user-facing version) Definition ProjectionApplier.hh:175 Cmp< Projection > mkPCmp(const Projection &otherparent, const std::string &pname) const void setName(const std::string &name) Used by derived classes to set their name. Definition Projection.hh:148 Wrapper projection for smearing Jets with detector resolutions and efficiencies. Definition SmearedParticles.hh:14 SmearedParticles(const ParticleFinder &pf, Args &&... effSmearFns) Constructor with a variadic ordered list of efficiency and smearing function args. Definition SmearedParticles.hh:23 const Particles truthParticles() const Get the truth particles (sorted by pT) Definition SmearedParticles.hh:110 void project(const Event &e) Perform the particle finding & smearing calculation. Definition SmearedParticles.hh:79 RIVET_DEFAULT_PROJ_CLONE(SmearedParticles) Clone on the heap. void reset() Reset the projection. Smearing functions will be unchanged. Definition SmearedParticles.hh:115 CmpState compare(const Projection &p) const Definition SmearedParticles.hh:53 SmearedParticles(const ParticleFinder &pf, const Cut &c, Args &&... effSmearFns) Constructor with a variadic ordered list of efficiency and smearing function args. Definition SmearedParticles.hh:32 #define MSG_TRACE(x) Lowest-level, most verbose messaging, using MSG_LVL. Definition Logging.hh:180 #define MSG_DEBUG(x) Debug messaging, not enabled by default, using MSG_LVL. Definition Logging.hh:182 Definition MC_CENT_PPB_Projections.hh:10 Cmp< T > cmp(const T &t1, const T &t2) Global helper function for easy creation of Cmp objects. Definition Cmp.hh:255 STL namespace. Functor for simultaneous efficiency-filtering and smearing of Particles. Definition ParticleSmearingFunctions.hh:58 Generated on Thu Feb 29 2024 15:46:47 for Rivet by 1.9.8 |