JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
MELAThreeBodyDecayCandidate.h
Go to the documentation of this file.
1 #ifndef MELATHREEBODYDECAYCANDIDATE_H
2 #define MELATHREEBODYDECAYCANDIDATE_H
3 
4 #include "MELAParticle.h"
5 
6 
8 public:
10  MELAThreeBodyDecayCandidate(int id_, TLorentzVector p4_) : MELAParticle(id_, p4_), partnerParticle(0), Wferm(0), Wfermbar(0) {}
11  MELAThreeBodyDecayCandidate(MELAParticle* partnerParticle_, MELAParticle* Wferm_, MELAParticle* Wfermbar_);
15  void swap(MELAThreeBodyDecayCandidate& particle_);
16 
17  void setPartnerParticle(MELAParticle* myParticle);
18  void setWFermion(MELAParticle* myParticle);
19  void setWAntifermion(MELAParticle* myParticle);
20 
24 
26  MELAParticle* getWFermion()const{ return Wferm; }
28 
30 
31  double getWmass() const;
32 
33  static bool checkCandidateExists(MELAThreeBodyDecayCandidate const* myParticle, std::vector<MELAThreeBodyDecayCandidate*> const& particleArray);
34 
35 protected:
39 
40 };
41 
42 
45 
46 #endif
MELAThreeBodyDecayCandidate::getWAntifermion
MELAParticle * getWAntifermion()
Definition: MELAThreeBodyDecayCandidate.h:23
MELAThreeBodyDecayCandidate::getWmass
double getWmass() const
Definition: MELAThreeBodyDecayCandidate.cc:58
MELAThreeBodyDecayCandidate::getWAntifermion
MELAParticle * getWAntifermion() const
Definition: MELAThreeBodyDecayCandidate.h:27
MELATopCandidate_t
MELAThreeBodyDecayCandidate MELATopCandidate_t
Definition: MELAThreeBodyDecayCandidate.h:43
MELAThreeBodyDecayCandidate::checkCandidateExists
static bool checkCandidateExists(MELAThreeBodyDecayCandidate const *myParticle, std::vector< MELAThreeBodyDecayCandidate * > const &particleArray)
Definition: MELAThreeBodyDecayCandidate.cc:63
MELAThreeBodyDecayCandidate::getWFermion
MELAParticle * getWFermion() const
Definition: MELAThreeBodyDecayCandidate.h:26
MELAThreeBodyDecayCandidate::setWAntifermion
void setWAntifermion(MELAParticle *myParticle)
Definition: MELAThreeBodyDecayCandidate.cc:56
MELAThreeBodyDecayCandidate::operator=
MELAThreeBodyDecayCandidate & operator=(const MELAThreeBodyDecayCandidate &particle_)
Definition: MELAThreeBodyDecayCandidate.cc:41
MELAThreeBodyDecayCandidate::swap
void swap(MELAThreeBodyDecayCandidate &particle_)
Definition: MELAThreeBodyDecayCandidate.cc:47
MELATauCandidate_t
MELAThreeBodyDecayCandidate MELATauCandidate_t
Definition: MELAThreeBodyDecayCandidate.h:44
MELAThreeBodyDecayCandidate::setWFermion
void setWFermion(MELAParticle *myParticle)
Definition: MELAThreeBodyDecayCandidate.cc:55
MELAThreeBodyDecayCandidate::getPartnerParticle
MELAParticle * getPartnerParticle()
Definition: MELAThreeBodyDecayCandidate.h:21
MELAThreeBodyDecayCandidate::partnerParticle
MELAParticle * partnerParticle
Definition: MELAThreeBodyDecayCandidate.h:36
MELAThreeBodyDecayCandidate::getPartnerParticle
MELAParticle * getPartnerParticle() const
Definition: MELAThreeBodyDecayCandidate.h:25
MELAThreeBodyDecayCandidate::setPartnerParticle
void setPartnerParticle(MELAParticle *myParticle)
Definition: MELAThreeBodyDecayCandidate.cc:54
MELAThreeBodyDecayCandidate::Wfermbar
MELAParticle * Wfermbar
Definition: MELAThreeBodyDecayCandidate.h:38
MELAParticle
Definition: MELAParticle.h:13
MELAThreeBodyDecayCandidate::getWFermion
MELAParticle * getWFermion()
Definition: MELAThreeBodyDecayCandidate.h:22
MELAThreeBodyDecayCandidate::~MELAThreeBodyDecayCandidate
~MELAThreeBodyDecayCandidate()
Definition: MELAThreeBodyDecayCandidate.h:14
MELAThreeBodyDecayCandidate::Wferm
MELAParticle * Wferm
Definition: MELAThreeBodyDecayCandidate.h:37
MELAParticle.h
MELAThreeBodyDecayCandidate::MELAThreeBodyDecayCandidate
MELAThreeBodyDecayCandidate(const MELAThreeBodyDecayCandidate &particle_)
Definition: MELAThreeBodyDecayCandidate.h:12
MELAThreeBodyDecayCandidate
Definition: MELAThreeBodyDecayCandidate.h:7
MELAThreeBodyDecayCandidate::MELAThreeBodyDecayCandidate
MELAThreeBodyDecayCandidate()
Definition: MELAThreeBodyDecayCandidate.h:9
MELAThreeBodyDecayCandidate::MELAThreeBodyDecayCandidate
MELAThreeBodyDecayCandidate(int id_, TLorentzVector p4_)
Definition: MELAThreeBodyDecayCandidate.h:10
MELAThreeBodyDecayCandidate::testPreSelectedDaughters
void testPreSelectedDaughters()
Definition: MELAThreeBodyDecayCandidate.cc:67