Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19251731
ExampleDecayer.cc
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
ExampleDecayer.cc
View Options
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the ExampleDecayer class.
//
#include
"ExampleDecayer.h"
#include
<ThePEG/Interface/ClassDocumentation.h>
#include
<ThePEG/Persistency/PersistentOStream.h>
#include
<ThePEG/Persistency/PersistentIStream.h>
// #include <ThePEG/Interface/Parameter.h"
// #include <ThePEG/Interface/Reference.h"
#include
<ThePEG/EventRecord/Particle.h>
#include
<ThePEG/PDT/PDT.h>
#include
<ThePEG/PDT/EnumParticles.h>
#include
"Herwig++/Utilities/HwDebug.h"
#include
"DecayConfig.h"
using
namespace
Herwig
;
ExampleDecayer
::~
ExampleDecayer
()
{}
void
ExampleDecayer
::
persistentOutput
(
PersistentOStream
&
os
)
const
{
// *** ATTENTION *** os << ; // Add all member variable which should be written persistently here.
}
void
ExampleDecayer
::
persistentInput
(
PersistentIStream
&
is
,
int
)
{
// *** ATTENTION *** is >> ; // Add all member variable which should be read persistently here.
}
ClassDescription
<
ExampleDecayer
>
ExampleDecayer
::
initExampleDecayer
;
// Definition of the static class description member.
void
ExampleDecayer
::
Init
()
{
static
ClassDocumentation
<
ExampleDecayer
>
documentation
(
"This is a dummy class just to provide an example."
);
}
bool
ExampleDecayer
::
accept
(
const
DecayMode
&
dm
)
const
{
//*** WRITE THE CODE ***
return
true
;
// fake: just to compile!
}
ParticleVector
ExampleDecayer
::
decay
(
const
DecayMode
&
dm
,
const
Particle
&
part
)
const
{
//*** WRITE THE CODE ***
return
ParticleVector
();
// fake: just to compile!
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 6:09 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6399275
Default Alt Text
ExampleDecayer.cc (1 KB)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment