JHUGen MELA
v2.4.1
Matrix element calculations as used in JHUGen. MELA is an important tool that was used for the Higgs boson discovery and for precise measurements of its structure and interactions. Please see the website https://spin.pha.jhu.edu/ and papers cited there for more details, and kindly cite those papers when using this code.
|
Go to the documentation of this file.
7 #include "TLorentzVector.h"
66 double m()
const{
return p4.M(); }
67 double x()
const{
return p4.X(); }
68 double y()
const{
return p4.Y(); }
69 double z()
const{
return p4.Z(); }
70 double t()
const{
return p4.T(); }
71 double p()
const{
return p4.P(); }
72 double pt()
const{
return p4.Pt(); }
73 double eta()
const{
return p4.Eta(); }
74 double phi()
const{
return p4.Phi(); }
76 double dot(
const TLorentzVector& v)
const{
return p4.Dot(v); }
79 double euclidean_dot(
const TLorentzVector& v)
const{
return (
p4.Vect().Dot(v.Vect())+
p4.T()*v.T()); }
82 double deltaR(
const TLorentzVector& v)
const{
return p4.DeltaR(v); }
85 void boost(
const TVector3& vec,
bool boostAll=
false);
86 TVector3
vect()
const{
return p4.Vect(); }
MELAParticle & operator=(const MELAParticle &particle_)
MELAParticle * getDaughter(int index) const
double deltaR(const MELAParticle *part) const
double euclidean_dot(const TLorentzVector &v) const
int getNDaughters() const
const std::vector< MELAParticle * > & getMothers() const
void swap(MELAParticle &particle_)
double euclidean_dot(const MELAParticle &part) const
std::vector< MELAParticle * > & getDaughters()
void setGenStatus(int status_)
MELAParticle & operator+=(const TLorentzVector &mom)
TVector3 calculateTotalDisplacement() const
static bool checkParticleExists(MELAParticle const *myParticle, std::vector< MELAParticle * > const &particleArray)
std::vector< MELAParticle * > & getMothers()
bool hasDaughter(MELAParticle const *part) const
bool hasMother(MELAParticle const *part) const
std::vector< MELAParticle * > daughters
double deltaR(const TLorentzVector &v) const
void setLifetime(double life_)
double dot(const MELAParticle &part) const
static bool checkDeepDaughtership(MELAParticle const *part1, MELAParticle const *part2)
virtual void getDaughterParticles(std::vector< MELAParticle * > &particles) const
double deltaR(const MELAParticle &part) const
double dot(const MELAParticle *part) const
std::vector< MELAParticle * > mothers
double euclidean_dot(const MELAParticle *part) const
MELAParticle & operator+=(MELAParticle *part)
void addMother(MELAParticle *myParticle)
const std::vector< MELAParticle * > & getDaughters() const
MELAParticle * getMother(int index) const
double dot(const TLorentzVector &v) const
virtual void getRelatedParticles(std::vector< MELAParticle * > &particles) const
virtual std::vector< int > getDaughterIds() const
void boost(const TVector3 &vec, bool boostAll=false)
void setSelected(bool isSelected=true)
void addDaughter(MELAParticle *myParticle)