Rivet
1.8.3
|
#include <IsolationProjection.hh>
Public Member Functions | |
IsolationProjection (PROJ1 &iso, PROJ2 &ctrl, EST *estimator, double ptmin=0 *GeV) | |
Constructor. | |
const vector< pair< const typename PROJ1::entity_type *, double > > | isolatedParticles (double maxiso=numeric_limits< double >::max()) const |
Get the isolation values for the isofinalstate. | |
virtual const Projection * | clone () const |
Clone on the heap. | |
![]() | |
bool | before (const Projection &p) const |
virtual const std::set< PdgIdPair > | beamPairs () const |
virtual std::string | name () const |
Get the name of the projection. | |
Projection & | addPdgIdPair (PdgId beam1, PdgId beam2) |
Add a colliding beam pair. | |
Log & | getLog () const |
Get a Log object based on the getName() property of the calling projection object. | |
void | setName (const std::string &name) |
Used by derived classes to set their name. | |
Projection () | |
The default constructor. | |
virtual | ~Projection () |
The destructor. | |
![]() | |
ProjectionApplier () | |
Constructor. | |
std::set< ConstProjectionPtr > | getProjections () const |
Get the contained projections, including recursion. | |
template<typename PROJ > | |
const PROJ & | getProjection (const std::string &name) const |
Get the named projection, specifying return type via a template argument. | |
const Projection & | getProjection (const std::string &name) const |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const PROJ &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const Projection &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const std::string &name) const |
Apply the named projection on event. | |
Protected Member Functions | |
virtual void | project (const Event &e) |
Apply the projection to the event. More... | |
virtual int | compare (const Projection &p) const |
Compare projections. | |
![]() | |
Cmp< Projection > | mkNamedPCmp (const Projection &otherparent, const std::string &pname) const |
Cmp< Projection > | mkPCmp (const Projection &otherparent, const std::string &pname) const |
![]() | |
Log & | getLog () const |
ProjectionHandler & | getProjHandler () const |
Get a reference to the ProjectionHandler for this thread. | |
template<typename PROJ > | |
const PROJ & | addProjection (const PROJ &proj, const std::string &name) |
PROJ1 can be either FinalState projections or JetAlg projections PROJ1::entity_type and PROJ2::entity_type can be either Particle of Jet
|
inlineprotectedvirtual |
Apply the projection to the event.
projetc the final states
copy of particles is suboptimal, but FinalState returns particles by referencem while JetAlg returns jets by value
Implements Rivet::Projection.