Page MenuHomeHEPForge

SSGSGSGVertex.cc
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

SSGSGSGVertex.cc

// -*- C++ -*-
//
// SSGSGSGVertex.cc is a part of Herwig++ - A multi-purpose Monte Carlo event generator
// Copyright (C) 2002-2011 The Herwig Collaboration
//
// Herwig++ is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
//
// This is the implementation of the non-inlined, non-templated member
// functions of the SSGSGSGVertex class.
//
#include "SSGSGSGVertex.h"
#include "ThePEG/Interface/ClassDocumentation.h"
#include "ThePEG/Persistency/PersistentOStream.h"
#include "ThePEG/Persistency/PersistentIStream.h"
#include "ThePEG/PDT/EnumParticles.h"
using namespace ThePEG::Helicity;
using namespace Herwig;
SSGSGSGVertex::SSGSGSGVertex() : _couplast(0.),_q2last(ZERO)
{}
NoPIOClassDescription<SSGSGSGVertex> SSGSGSGVertex::initSSGSGSGVertex;
// Definition of the static class description member.
void SSGSGSGVertex::Init() {
static ClassDocumentation<SSGSGSGVertex> documentation
("This class implements the gluon-gluino-gluino vertex");
}
void SSGSGSGVertex::setCoupling(Energy2 q2,tcPDPtr part1,
tcPDPtr part2,tcPDPtr part3) {
if((part1->id() == ParticleID::g && part2->id() == ParticleID::SUSY_g &&
part3->id() == ParticleID::SUSY_g) ||
(part2->id() == ParticleID::g && part1->id() == ParticleID::SUSY_g &&
part3->id() == ParticleID::SUSY_g) ||
(part3->id() == ParticleID::g && part1->id() == ParticleID::SUSY_g &&
part2->id() == ParticleID::SUSY_g)) {
if(q2 != _q2last || _couplast==0.) {
_couplast = strongCoupling(q2);
_q2last = q2;
}
norm(_couplast);
left(1.);right(1.);
}
else {
throw HelicityConsistencyError()
<< "SSGSGSGVertex::setCoupling() - Incorrect particle found. "
<< part1->id() << " " << part2->id()
<< " " << part3->id()
<< Exception::warning;
norm(0.);
left(0.); right(0);
}
}
void SSGSGSGVertex::doinit() {
addToList(1000021, 1000021, 21);
orderInGs(1);
orderInGem(0);
FFVVertex::doinit();
}

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:46 AM (10 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6564819
Default Alt Text
SSGSGSGVertex.cc (2 KB)

Event Timeline