Rivet: /Users/chrisg/software/rivet/include/Rivet/Projections/METFinder.hh Source File

| Rivet 3.1.9

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
17
22
27 virtual const Vector3& vectorPt() const = 0;
28
30 const Vector3 vectorMissingPt() const { return -vectorPt(); }
31 // Alias
32 const Vector3 vectorMPT() const { return vectorMissingPt(); }
33
35 double missingPt() const { return vectorPt().mod(); }
36
38
39
44
48 virtual const Vector3& vectorEt() const = 0;
49
51 const Vector3 vectorMissingEt() const { return -vectorEt(); }
52 // Alias
53 const Vector3 vectorMET() const { return vectorMissingEt(); }
54
56 double missingEt() const { return vectorEt().mod(); }
58 double met() const { return missingEt(); }
59
61
62
64 virtual void reset() { }
65
66 };
67
68
69}
70
71#endif
Rivet::METFinder
Interface for projections that find missing transverse energy/momentum.
Definition METFinder.hh:11
Rivet::METFinder::missingPt
double missingPt() const
The vector-summed missing transverse momentum in the event.
Definition METFinder.hh:35
Rivet::METFinder::missingEt
double missingEt() const
The vector-summed missing transverse energy in the event.
Definition METFinder.hh:56
Rivet::METFinder::vectorMissingPt
const Vector3 vectorMissingPt() const
Convenience vector MPT function.
Definition METFinder.hh:30
Rivet::METFinder::vectorPt
virtual const Vector3 & vectorPt() const =0
Rivet::METFinder::vectorMissingEt
const Vector3 vectorMissingEt() const
Convenience vector MET function.
Definition METFinder.hh:51
Rivet::METFinder::reset
virtual void reset()
Reset the projection. Smearing functions will be unchanged.
Definition METFinder.hh:64
Rivet::METFinder::vectorEt
virtual const Vector3 & vectorEt() const =0
Rivet::METFinder::met
double met() const
Alias for missingEt.
Definition METFinder.hh:58
Rivet::Projection
Base class for all Rivet projections.
Definition Projection.hh:29
Rivet::Vector3
Three-dimensional specialisation of Vector.
Definition Vector3.hh:40
Rivet::Vector::mod
double mod() const
Calculate the modulus of a vector. .
Definition VectorN.hh:95
Rivet
Definition MC_Cent_pPb.hh:10