Rivet: /Users/chrisg/software/rivet/include/Rivet/Tools/RivetFastJet.hh Source File

| Rivet 3.1.9

RivetFastJet.hh
1#ifndef RIVET_RIVETFASTJET_HH
2#define RIVET_RIVETFASTJET_HH
3
4#include "Rivet/Config/RivetCommon.hh"
5#include "Rivet/Math/Vectors.hh"
6
7#include "fastjet/JetDefinition.hh"
8#include "fastjet/AreaDefinition.hh"
9#include "fastjet/ClusterSequence.hh"
10#include "fastjet/ClusterSequenceArea.hh"
11#include "fastjet/PseudoJet.hh"
12#include "fastjet/tools/Filter.hh"
13#include "fastjet/tools/Recluster.hh"
14
15namespace fastjet {
16 namespace contrib { }
17}
18
19namespace Rivet {
20
21 namespace fjcontrib = fastjet::contrib;
22
24 using fastjet::PseudoJet;
25 using fastjet::ClusterSequence;
26 using fastjet::JetDefinition;
27
30 typedef std::vector<PseudoJet> PseudoJets;
31
32
34 inline Vector3 momentum3(const fastjet::PseudoJet& pj) {
35 return Vector3(pj.px(), pj.py(), pj.pz());
36 }
37
39 inline FourMomentum momentum(const fastjet::PseudoJet& pj) {
40 return FourMomentum(pj.E(), pj.px(), pj.py(), pj.pz());
41 }
42
43
44}
45
46#endif
Rivet::FourMomentum
Specialized version of the FourVector with momentum/energy functionality.
Definition Vector4.hh:316
Rivet::Vector3
Three-dimensional specialisation of Vector.
Definition Vector3.hh:40
Rivet
Definition MC_Cent_pPb.hh:10
Rivet::momentum
FourMomentum momentum(const fastjet::PseudoJet &pj)
Make a 4-momentum vector from a FastJet pseudojet.
Definition RivetFastJet.hh:39
Rivet::momentum3
Vector3 momentum3(const fastjet::PseudoJet &pj)
Make a 3-momentum vector from a FastJet pseudojet.
Definition RivetFastJet.hh:34
Rivet::PseudoJets
std::vector< PseudoJet > PseudoJets
Definition RivetFastJet.hh:30