rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
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
Specialized version of the FourVector with momentum/energy functionality.
Definition Vector4.hh:316
Three-dimensional specialisation of Vector.
Definition Vector3.hh:40
Definition MC_CENT_PPB_Projections.hh:10
FourMomentum momentum(const fastjet::PseudoJet &pj)
Make a 4-momentum vector from a FastJet pseudojet.
Definition RivetFastJet.hh:39
Vector3 momentum3(const fastjet::PseudoJet &pj)
Make a 3-momentum vector from a FastJet pseudojet.
Definition RivetFastJet.hh:34
std::vector< PseudoJet > PseudoJets
Definition RivetFastJet.hh:30