Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19251172
DecayIntegrator.icc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
DecayIntegrator.icc
View Options
// -*- C++ -*-
//
// This is the implementation of the inlined member functions of
// the DecayIntegrator class.
//
// Author: Peter Richardson
//
namespace Herwig {
using namespace ThePEG;
// default constructor
inline DecayIntegrator::DecayIntegrator() {
_niter=10;
_npoint=10000;
_ntry=500;
}
inline void DecayIntegrator::doupdate() throw(UpdateException) {
HwDecayerBase::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 DecayIntegrator::doinit() throw(InitException) {
HwDecayerBase::doinit();
}
inline void DecayIntegrator::dofinish() {
HwDecayerBase::dofinish();
}
inline void DecayIntegrator::rebind(const TranslationMap & trans)
throw(RebindException) {
// dummy = trans.translate(dummy);
HwDecayerBase::rebind(trans);
}
inline IVector DecayIntegrator::getReferences() {
IVector ret = HwDecayerBase::getReferences();
// ret.push_back(dummy);
return ret;
}
// set and get the matrix element
inline const DecayMatrixElement & DecayIntegrator::ME() const
{return _matrixelement;}
// access to the matrix element calculated for the decay
inline void DecayIntegrator::ME(const DecayMatrixElement & in) const
{_matrixelement.reset(in);}
// mode currently being generated
inline int DecayIntegrator::imode() const {return _imode;}
inline void DecayIntegrator::imode(int in){_imode=in;}
// number of decay modes
inline unsigned int DecayIntegrator::numberModes() const {return _modes.size();}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 30, 5:48 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6510259
Default Alt Text
DecayIntegrator.icc (1 KB)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment