rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
METFinder.hh
1// -*- C++ -*-
2#ifndef RIVET_METFinder_HH
3#define RIVET_METFinder_HH
4
5#include "Rivet/Projection.hh"
6
7namespace Rivet {
8
9
11 class METFinder : public Projection {
12 public:
13
15 using Projection::operator=;
16
21
26 virtual const Vector3& vectorPt() const = 0;
27
29 const Vector3 vectorMissingPt() const { return -vectorPt(); }
30 // Alias
31 const Vector3 vectorMPT() const { return vectorMissingPt(); }
32
34 double missingPt() const { return vectorPt().mod(); }
35
37
38
43
47 virtual const Vector3& vectorEt() const = 0;
48
50 const Vector3 vectorMissingEt() const { return -vectorEt(); }
51 // Alias
52 const Vector3 vectorMET() const { return vectorMissingEt(); }
53
55 double missingEt() const { return vectorEt().mod(); }
57 double met() const { return missingEt(); }
58
60
61
63 virtual void reset() { }
64
65 };
66
67
68}
69
70#endif
Interface for projections that find missing transverse energy/momentum.
Definition METFinder.hh:11
double missingPt() const
The vector-summed missing transverse momentum in the event.
Definition METFinder.hh:34
double missingEt() const
The vector-summed missing transverse energy in the event.
Definition METFinder.hh:55
const Vector3 vectorMissingPt() const
Convenience vector MPT function.
Definition METFinder.hh:29
virtual const Vector3 & vectorPt() const =0
const Vector3 vectorMissingEt() const
Convenience vector MET function.
Definition METFinder.hh:50
virtual void reset()
Reset the projection. Smearing functions will be unchanged.
Definition METFinder.hh:63
virtual const Vector3 & vectorEt() const =0
double met() const
Alias for missingEt.
Definition METFinder.hh:57
Base class for all Rivet projections.
Definition Projection.hh:29
Three-dimensional specialisation of Vector.
Definition Vector3.hh:40
double mod() const
Calculate the modulus of a vector. .
Definition VectorN.hh:95
Definition MC_CENT_PPB_Projections.hh:10