Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F7879649
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Subscribers
None
View Options
diff --git a/Models/LHTP/LHTPFFGVertex.cc b/Models/LHTP/LHTPFFGVertex.cc
--- a/Models/LHTP/LHTPFFGVertex.cc
+++ b/Models/LHTP/LHTPFFGVertex.cc
@@ -1,71 +1,69 @@
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the LHTPFFGVertex class.
//
#include "LHTPFFGVertex.h"
#include "ThePEG/Interface/ClassDocumentation.h"
#include "ThePEG/Utilities/DescribeClass.h"
#include "ThePEG/Persistency/PersistentOStream.h"
#include "ThePEG/Persistency/PersistentIStream.h"
using namespace Herwig;
IBPtr LHTPFFGVertex::clone() const {
return new_ptr(*this);
}
IBPtr LHTPFFGVertex::fullclone() const {
return new_ptr(*this);
}
// Static variable needed for the type description system in ThePEG.
DescribeNoPIOClass<LHTPFFGVertex,FFVVertex>
describeHerwigLHTPFFGVertex("Herwig::LHTPFFGVertex", "HwLHTPModel.so");
void LHTPFFGVertex::Init() {
static ClassDocumentation<LHTPFFGVertex> documentation
("The LHTPFFGVertex class implements the couples of the fermions "
"to the gluons in the Little Higgs model with T-parity.");
}
LHTPFFGVertex::LHTPFFGVertex()
- : _couplast(0.), _q2last(0.*GeV2) {
+ : coupLast_(0.), q2Last_(0.*GeV2) {
orderInGs(1);
orderInGem(0);
// SM quarks
for(int ix = 1; ix < 7; ++ix) {
addToList(-ix, ix, 21);
}
// additional top quark
addToList(-8, 8, 21);
// T odd quarks
for(long ix = 4000001; ix < 4000006; ++ix) {
addToList(-ix, ix, 21);
}
addToList(-4000008, 4000008, 21);
}
// coupling for FFG vertex
void LHTPFFGVertex::setCoupling(Energy2 q2,tcPDPtr a,tcPDPtr,tcPDPtr) {
// first the overall normalisation
- if(q2!=_q2last) {
- _couplast = -strongCoupling(q2);
- _q2last=q2;
+ if(q2!=q2Last_) {
+ coupLast_ = -strongCoupling(q2);
+ q2Last_=q2;
}
- norm(_couplast);
+ norm(coupLast_);
// the left and right couplings
int iferm=abs(a->id());
if( iferm > 8 ) iferm -= 4000000;
if((iferm>=1 && iferm<=8)) {
- left(1.);
+ left (1.);
right(1.);
}
else
- throw HelicityConsistencyError() << "LHTPFFGVertex::setCoupling"
- << "Unknown particle in gluon vertex"
- << Exception::runerror;
+ assert(false);
}
diff --git a/Models/LHTP/LHTPFFGVertex.h b/Models/LHTP/LHTPFFGVertex.h
--- a/Models/LHTP/LHTPFFGVertex.h
+++ b/Models/LHTP/LHTPFFGVertex.h
@@ -1,91 +1,91 @@
// -*- C++ -*-
#ifndef HERWIG_LHTPFFGVertex_H
#define HERWIG_LHTPFFGVertex_H
//
// This is the declaration of the LHTPFFGVertex class.
//
#include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
namespace Herwig {
using namespace ThePEG;
/**
* The LHTPFFGVertex class implements the coupling of the
* gluon to the coloured fermions, the SM quarks, the extra top-like quark
* and the T-parity odd quarks of the Little Higgs model with T-parity.
*/
class LHTPFFGVertex: public Helicity::FFVVertex {
public:
/**
* The default constructor.
*/
LHTPFFGVertex();
/**
* Calculate the couplings.
* @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
* @param part1 The ParticleData pointer for the first particle.
* @param part2 The ParticleData pointer for the second particle.
* @param part3 The ParticleData pointer for the third particle.
*/
virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
/**
* The standard Init function used to initialize the interfaces.
* Called exactly once for each class by the class description system
* before the main function starts or
* when this class is dynamically loaded.
*/
static void Init();
protected:
/** @name Clone Methods. */
//@{
/**
* Make a simple clone of this object.
* @return a pointer to the new object.
*/
virtual IBPtr clone() const;
/** Make a clone of this object, possibly modifying the cloned object
* to make it sane.
* @return a pointer to the new object.
*/
virtual IBPtr fullclone() const;
//@}
private:
/**
* The assignment operator is private and must never be called.
* In fact, it should not even be implemented.
*/
LHTPFFGVertex & operator=(const LHTPFFGVertex &);
private:
/**
* Storage of the couplings.
*/
//@{
/**
* The last value of the strong coupling calculated.
*/
- Complex _couplast;
+ Complex coupLast_;
/**
* The scale \f$q^2\f$ at which the coupling was last evaluated.
*/
- Energy2 _q2last;
+ Energy2 q2Last_;
//@}
};
}
#endif /* HERWIG_LHTPFFGVertex_H */
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 19, 8:40 PM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3796932
Default Alt Text
(4 KB)
Attached To
rHERWIGHG herwighg
Event Timeline
Log In to Comment