SmearedParticles.hh 21 vector<ParticleEffSmearFn>& toEffSmearFns(vector<ParticleEffSmearFn>& v, const T& first, ARGS... args) {
125 MSG_TRACE("Numbers of detector functions = " << _detFns.size() << " VS " << other._detFns.size());
141 const Particles& truthparticles = apply<ParticleFinder>(e, "TruthParticles").particlesByPt(); //truthParticles();
150 // Test the short-circuit random numbers if possible; note handling of < 0 and > 1 probabilities
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:35 Particle representation, either from a HepMC::GenEvent or reconstructed. Definition: Particle.hh:53 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) Register a contained projection (user-facing version) Definition: ProjectionApplier.hh:170 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:142 Wrapper projection for smearing Jets with detector resolutions and efficiencies. Definition: SmearedParticles.hh:31 SmearedParticles(const ParticleFinder &pf, double eff, const ParticleSmearFn &smearFn, const Cut &c=Cuts::open()) Constructor with const efficiency followed by a smearing function. Definition: SmearedParticles.hh:52 SmearedParticles(const ParticleFinder &pf, const Cut &c, ARGS... effSmearFns) Constructor with a variadic ordered list of efficiency and smearing function args. Definition: SmearedParticles.hh:101 SmearedParticles(const ParticleFinder &pf, const vector< ParticleEffSmearFn > &effSmearFns, const Cut &c=Cuts::open()) Constructor with an ordered list of efficiency and/or smearing functions. Definition: SmearedParticles.hh:80 SmearedParticles(const ParticleFinder &pf, const ParticleEffFn &effFn, const ParticleSmearFn &smearFn, const Cut &c=Cuts::open()) Constructor with an efficiency function followed by a smearing function. Definition: SmearedParticles.hh:66 const Particles truthParticles() const Get the truth particles (sorted by pT) Definition: SmearedParticles.hh:167 SmearedParticles(const ParticleFinder &pf, double eff, const Cut &c=Cuts::open()) Constructor with const efficiency. Definition: SmearedParticles.hh:38 void project(const Event &e) Perform the particle finding & smearing calculation. Definition: SmearedParticles.hh:139 SmearedParticles(const ParticleFinder &pf, const initializer_list< ParticleEffSmearFn > &effSmearFns, const Cut &c=Cuts::open()) Constructor with an ordered list of efficiency and/or smearing functions. Definition: SmearedParticles.hh:91 void reset() Reset the projection. Smearing functions will be unchanged. Definition: SmearedParticles.hh:172 SmearedParticles(const ParticleFinder &pf, const ParticleSmearFn &smearFn, const ParticleEffFn &effFn, const Cut &c=Cuts::open()) Constructor with a smearing function followed by an efficiency function. Definition: SmearedParticles.hh:73 CmpState compare(const Projection &p) const Definition: SmearedParticles.hh:116 SmearedParticles(const ParticleFinder &pf, const ParticleEffFn &effFn, const Cut &c=Cuts::open()) Constructor with an efficiency function. Definition: SmearedParticles.hh:45 SmearedParticles(const ParticleFinder &pf, const ParticleSmearFn &smearFn, double eff, const Cut &c=Cuts::open()) Constructor with a smearing function followed by const efficiency. Definition: SmearedParticles.hh:59 DEFAULT_RIVET_PROJ_CLONE(SmearedParticles) Clone on the heap. #define MSG_TRACE(x) Lowest-level, most verbose messaging, using MSG_LVL. Definition: Logging.hh:193 #define MSG_DEBUG(x) Debug messaging, not enabled by default, using MSG_LVL. Definition: Logging.hh:195 double p(const ParticleBase &p) Unbound function access to p. Definition: ParticleBaseUtils.hh:653 function< Particle(const Particle &)> ParticleSmearFn Typedef for Particle smearing functions/functors. Definition: ParticleSmearingFunctions.hh:19 function< double(const Particle &)> ParticleEffFn Typedef for Particle efficiency functions/functors. Definition: ParticleSmearingFunctions.hh:22 Definition: MC_Cent_pPb.hh:10 Cmp< T > cmp(const T &t1, const T &t2) Global helper function for easy creation of Cmp objects. Definition: Cmp.hh:255 Functor for simultaneous efficiency-filtering and smearing of Particles. Definition: ParticleSmearingFunctions.hh:58 Generated on Fri May 13 2022 23:02:06 for Rivet by |