Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19252275
SU3BaryonSingletOctetPhotonDecayer.icc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
SU3BaryonSingletOctetPhotonDecayer.icc
View Options
// -*- C++ -*-
//
// This is the implementation of the inlined member functions of
// the SU3BaryonSingletOctetPhotonDecayer class.
//
namespace Herwig {
using namespace ThePEG;
inline SU3BaryonSingletOctetPhotonDecayer::SU3BaryonSingletOctetPhotonDecayer()
{
// the coupling
_C=0.252/GeV;
// the relative parities of the two baryon multiplets
_parity=false;
// PDG codes for the various ground state baryons
_sigma0 = 3212;
_lambda = 3122;
// PDG codes for the excited baryon
_elambda = 3124;
}
inline SU3BaryonSingletOctetPhotonDecayer::SU3BaryonSingletOctetPhotonDecayer(const SU3BaryonSingletOctetPhotonDecayer & x)
: Baryon1MesonDecayerBase(x), _C(x._C), _parity(x._parity),_sigma0(x._sigma0),
_lambda(x._lambda),_elambda(x._elambda),_outgoingB(x._outgoingB),
_maxweight(x._maxweight), _prefactor(x._prefactor) {}
inline IBPtr SU3BaryonSingletOctetPhotonDecayer::clone() const {
return new_ptr(*this);
}
inline IBPtr SU3BaryonSingletOctetPhotonDecayer::fullclone() const {
return new_ptr(*this);
}
inline void SU3BaryonSingletOctetPhotonDecayer::doupdate() throw(UpdateException) {
Baryon1MesonDecayerBase::doupdate();
// First update base class.
bool redo = touched();
// redo if touched.
// UpdateChecker::check(aDependentMember, redo);
// Update referenced objects on which this depends redo is set to true
// if the dependent object is touched.
// for_each(ContainerOfDependencies, UpdateChecker(redo));
// Update a container of references.
// for_each(MapOfDependencies, UpdateMapChecker(redo));
// Update a map of references.
if ( !redo ) return;
// return if nothing has been touched. Otherwise do the actual update.
// touch()
// Touch if anything has changed.
}
inline void SU3BaryonSingletOctetPhotonDecayer::doinit() throw(InitException) {
Baryon1MesonDecayerBase::doinit();
// set up the decay modes
setupModes(1);
// set up the phase space and the couplings
PDVector extpart(3);
DecayPhaseSpaceModePtr mode;
double wgtmax;
vector<double> wgt(0);
for(unsigned int ix=0;ix<_outgoingB.size();++ix)
{
extpart[0]=getParticleData(_elambda);
extpart[1]=getParticleData(_outgoingB[ix]);
extpart[2]=getParticleData(ParticleID::gamma);
mode=new_ptr(DecayPhaseSpaceMode(extpart,this));
if(_maxweight.size()>numberModes()){wgtmax=_maxweight[numberModes()];}
else{wgtmax=1.;}
addMode(mode,wgtmax,wgt);
}
}
inline void SU3BaryonSingletOctetPhotonDecayer::dofinish() {
Baryon1MesonDecayerBase::dofinish();
}
inline void SU3BaryonSingletOctetPhotonDecayer::doinitrun() {
Baryon1MesonDecayerBase::doinitrun();
if(initialize())
{
_maxweight.resize(0);
for(unsigned int ix=0;ix<numberModes();++ix)
{_maxweight.push_back(mode(ix)->maxWeight());}
}
}
inline void SU3BaryonSingletOctetPhotonDecayer::rebind(const TranslationMap & trans)
throw(RebindException) {
// dummy = trans.translate(dummy);
Baryon1MesonDecayerBase::rebind(trans);
}
inline IVector SU3BaryonSingletOctetPhotonDecayer::getReferences() {
IVector ret = Baryon1MesonDecayerBase::getReferences();
// ret.push_back(dummy);
return ret;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 30, 6:16 AM (7 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6566508
Default Alt Text
SU3BaryonSingletOctetPhotonDecayer.icc (3 KB)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment