rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
Rivet::SmearedMET Class Reference

Wrapper projection for smearing missing (transverse) energy/momentum with detector resolutions. More...

#include <SmearedMET.hh>

Inheritance diagram for Rivet::SmearedMET:
Rivet::Projection Rivet::ProjectionApplier

Public Member Functions

int compare (const Projection &p) const
 Compare to another SmearedMET.
 
void project (const Event &e)
 Perform the MET finding & smearing calculation.
 
void reset ()
 Reset the projection. Smearing functions will be unchanged.
 
Constructors etc.
template<typename V2VFN >
 SmearedMET (const MissingMomentum &mm, const V2VFN &metSmearFn)
 Constructor from a MissingMomentum projection and a smearing function. More...
 
template<typename V2VFN >
 SmearedMET (const V2VFN &metSmearFn, const Cut &cut)
 Constructor from a Cut (on the particles used to determine missing momentum) and a smearing function.
 
 DEFAULT_RIVET_PROJ_CLONE (SmearedMET)
 Clone on the heap.
 
Transverse momentum functions
Note
This may be what you want, even if the paper calls it "missing Et"!
Todo:
Move into a common base class for MissingMomentum and SmearedMET – MomentumBalance, METFinder?
const Vector3vectorPt () const
 
const Vector3 vectorMissingPt () const
 Convenience vector MPT function.
 
const Vector3 vectorMPT () const
 
double missingPt () const
 The vector-summed missing transverse momentum in the event.
 
Transverse energy functions
Warning
Despite the common names "MET" and "SET", what's often meant is the pT functions above!
Todo:
Move into a common base class for MissingMomentum and SmearedMET – MomentumBalance, METFinder?
const Vector3vectorEt () const
 
const Vector3 vectorMissingEt () const
 Convenience vector MET function.
 
const Vector3 vectorMET () const
 
double missingEt () const
 The vector-summed missing transverse energy in the event.
 
double met () const
 Alias for missingEt.
 
- Public Member Functions inherited from Rivet::Projection
virtual std::string name () const
 Get the name of the projection.
 
 Projection ()
 The default constructor.
 
virtual unique_ptr< Projectionclone () const =0
 Clone on the heap.
 
virtual ~Projection ()
 The destructor.
 
bool before (const Projection &p) const
 
virtual const std::set< PdgIdPair > beamPairs () const
 
ProjectionaddPdgIdPair (PdgId beam1, PdgId beam2)
 
- Public Member Functions inherited from Rivet::ProjectionApplier
 ProjectionApplier ()
 Constructor.
 
void markAsOwned () const
 Mark this object as owned by a proj-handler.
 
std::set< ConstProjectionPtr > getProjections () const
 Get the contained projections, including recursion.
 
bool hasProjection (const std::string &name) const
 Does this applier have a projection registered under the name name?
 
template<typename PROJ >
const PROJ & getProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & get (const std::string &name) const
 
const ProjectiongetProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const Projection &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const Projection &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const PROJ &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const PROJ &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const std::string &name, const Event &evt) const
 

Additional Inherited Members

- Protected Member Functions inherited from Rivet::Projection
LoggetLog () 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.
 
Cmp< ProjectionmkNamedPCmp (const Projection &otherparent, const std::string &pname) const
 
Cmp< ProjectionmkPCmp (const Projection &otherparent, const std::string &pname) const
 
virtual Projectionoperator= (const Projection &)
 Block Projection copying.
 
- Protected Member Functions inherited from Rivet::ProjectionApplier
LoggetLog () const
 
ProjectionHandlergetProjHandler () const
 Get a reference to the ProjectionHandler for this thread.
 
template<typename PROJ >
const PROJ & declareProjection (const PROJ &proj, const std::string &name)
 Register a contained projection. More...
 
template<typename PROJ >
const PROJ & declare (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 
template<typename PROJ >
const PROJ & declare (const std::string &name, const PROJ &proj)
 Register a contained projection (user-facing, arg-reordered version) More...
 
template<typename PROJ >
const PROJ & addProjection (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 

Detailed Description

Wrapper projection for smearing missing (transverse) energy/momentum with detector resolutions.

Constructor & Destructor Documentation

◆ SmearedMET()

template<typename V2VFN >
Rivet::SmearedMET::SmearedMET ( const MissingMomentum mm,
const V2VFN &  metSmearFn 
)
inline

Constructor from a MissingMomentum projection and a smearing function.

Smearing function maps a 3-vector MET and scalar SET to a new MET 3-vector: f(V3, double) -> V3

References Rivet::ProjectionApplier::addProjection(), and Rivet::Projection::setName().

Member Function Documentation

◆ vectorEt()

const Vector3& Rivet::SmearedMET::vectorEt ( ) const
inline

The vector-summed visible transverse energy in the event, as a 3-vector with z=0

Note
Reverse this vector with operator- to get the missing ET vector.

Referenced by missingEt(), vectorMissingEt(), and vectorPt().

◆ vectorPt()

const Vector3& Rivet::SmearedMET::vectorPt ( ) const
inline

The vector-summed visible transverse momentum in the event, as a 3-vector with z=0

Note
Reverse this vector with operator- to get the missing pT vector.
Todo:
Currently equivalent to vectorEt

References vectorEt().

Referenced by missingPt(), and vectorMissingPt().


The documentation for this class was generated from the following file: