Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664355
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
6 KB
Subscribers
None
View Options
diff --git a/Models/StandardModel/SMWWHHVertex.cc b/Models/StandardModel/SMWWHHVertex.cc
--- a/Models/StandardModel/SMWWHHVertex.cc
+++ b/Models/StandardModel/SMWWHHVertex.cc
@@ -1,71 +1,71 @@
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the SMWWHHVertex class.
//
#include "SMWWHHVertex.h"
#include "ThePEG/Interface/ClassDocumentation.h"
#include "ThePEG/Persistency/PersistentOStream.h"
#include "ThePEG/Persistency/PersistentIStream.h"
using namespace Herwig;
-SMWWHHVertex::SMWWHHVertex() : couplast_(0.), q2last_(ZERO) {
+SMWWHHVertex::SMWWHHVertex() : ratio_(0.), couplast_(0.), q2last_(ZERO) {
addToList( 23, 23, 25, 25);
addToList( 24,-24, 25, 25);
}
IBPtr SMWWHHVertex::clone() const {
return new_ptr(*this);
}
IBPtr SMWWHHVertex::fullclone() const {
return new_ptr(*this);
}
void SMWWHHVertex::persistentOutput(PersistentOStream & os) const {
os << ratio_;
}
void SMWWHHVertex::persistentInput(PersistentIStream & is, int) {
is >> ratio_;
}
ClassDescription<SMWWHHVertex> SMWWHHVertex::initSMWWHHVertex;
// Definition of the static class description member.
void SMWWHHVertex::Init() {
static ClassDocumentation<SMWWHHVertex> documentation
("The SMWWHHVertex class implements the coupling of two electroweeak"
" gauge bosons and the Higgs boson in the Standard Model.");
}
void SMWWHHVertex::doinit() {
VVSSVertex::doinit();
ratio_ = 1./(1.-sin2ThetaW());
orderInGem(2);
orderInGs (0);
}
void SMWWHHVertex::setCoupling(Energy2 q2,
tcPDPtr part1,tcPDPtr,
#ifndef NDEBUG
tcPDPtr part3,tcPDPtr part4) {
#else
tcPDPtr,tcPDPtr) {
#endif
assert(part3->id()==ParticleID::h0 && part4->id()==ParticleID::h0 );
if(q2!=q2last_||couplast_==0.) {
couplast_ = sqr(weakCoupling(q2));
q2last_=q2;
}
if(part1->id()==ParticleID::Z0) {
norm(0.5*couplast_*ratio_);
}
else {
norm(0.5*couplast_);
}
}
diff --git a/Models/StandardModel/SMWWHHVertex.h b/Models/StandardModel/SMWWHHVertex.h
--- a/Models/StandardModel/SMWWHHVertex.h
+++ b/Models/StandardModel/SMWWHHVertex.h
@@ -1,155 +1,155 @@
// -*- C++ -*-
#ifndef HERWIG_SMWWHHVertex_H
#define HERWIG_SMWWHHVertex_H
//
// This is the declaration of the SMWWHHVertex class.
//
#include "ThePEG/Helicity/Vertex/Scalar/VVSSVertex.h"
namespace Herwig {
using namespace ThePEG;
/**
* Here is the documentation of the SMWWHHVertex class.
*
* @see \ref SMWWHHVertexInterfaces "The interfaces"
* defined for SMWWHHVertex.
*/
- class SMWWHHVertex: public Helicity::VVSSVertex {
+class SMWWHHVertex: public Helicity::VVSSVertex {
public:
-
+
/**
* The default constructor.
*/
SMWWHHVertex();
-
+
/**
* 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.
* @param part4 The ParticleData pointer for the fourth particle.
*/
virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3,
tcPDPtr part4);
-
+
/** @name Functions used by the persistent I/O system. */
//@{
/**
* Function used to write out object persistently.
* @param os the persistent output stream written to.
*/
void persistentOutput(PersistentOStream & os) const;
/**
* Function used to read in object persistently.
* @param is the persistent input stream read from.
* @param version the version number of the object when written.
*/
void persistentInput(PersistentIStream & is, int version);
//@}
/**
* 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;
//@}
protected:
/** @name Standard Interfaced functions. */
//@{
/**
* Initialize this object after the setup phase before saving an
* EventGenerator to disk.
* @throws InitException if object could not be initialized properly.
*/
virtual void doinit();
//@}
private:
/**
* The static object used to initialize the description of this class.
* Indicates that this is a concrete class with persistent data.
*/
static ClassDescription<SMWWHHVertex> initSMWWHHVertex;
-
+
/**
* The assignment operator is private and must never be called.
* In fact, it should not even be implemented.
*/
SMWWHHVertex & operator=(const SMWWHHVertex &);
-
+
private:
-
+
/**
* ratio of masses
*/
- double ratio_;
-
+ double ratio_;
+
/**
* The last value of the electroweak coupling calculated.
*/
Complex couplast_;
-
+
/**
* The scale \f$q^2\f$ at which the coupling was last evaluated.
*/
Energy2 q2last_;
-
+
};
}
#include "ThePEG/Utilities/ClassTraits.h"
namespace ThePEG {
/** @cond TRAITSPECIALIZATIONS */
/** This template specialization informs ThePEG about the
* base classes of SMWWHHVertex. */
template <>
struct BaseClassTrait<Herwig::SMWWHHVertex,1> {
/** Typedef of the first base class of SMWWHHVertex. */
typedef Helicity::VVSSVertex NthBase;
};
/** This template specialization informs ThePEG about the name of
* the SMWWHHVertex class and the shared object where it is defined. */
template <>
struct ClassTraits<Herwig::SMWWHHVertex>
: public ClassTraitsBase<Herwig::SMWWHHVertex> {
/** Return a platform-independent class name */
static string className() { return "Herwig::SMWWHHVertex"; }
};
/** @endcond */
}
#endif /* HERWIG_SMWWHHVertex_H */
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Apr 24, 6:37 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4887784
Default Alt Text
(6 KB)
Attached To
rHERWIGHG herwighg
Event Timeline
Log In to Comment