Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Physics
Decay
UnstableParticleDecayer.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::UnstableParticleDecayer
5
6
\brief A hook for concrete particle decayers in the chain of event
7
processing modules.
8
9
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10
University of Liverpool & STFC Rutherford Appleton Laboratory
11
12
\created November 17, 2004
13
14
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
15
For the full text of the license visit http://copyright.genie-mc.org
16
*/
17
//____________________________________________________________________________
18
19
#ifndef _UNSTABLE_PARTICLE_DECAYER_H_
20
#define _UNSTABLE_PARTICLE_DECAYER_H_
21
22
#include <vector>
23
24
#include "
Framework/EventGen/EventRecordVisitorI.h
"
25
26
using
std::vector
;
27
28
namespace
genie
{
29
30
class
GHepParticle;
31
32
class
UnstableParticleDecayer
:
public
EventRecordVisitorI
{
33
34
public
:
35
36
UnstableParticleDecayer
();
37
UnstableParticleDecayer
(
string
config
);
38
~UnstableParticleDecayer
();
39
40
// Implement the EventRecordVisitorI interface
41
void
ProcessEventRecord
(
GHepRecord
*
event
)
const
;
42
43
// Overload the Algorithm::Configure() methods to load private data
44
// members from configuration options
45
void
Configure
(
const
Registry
& config);
46
void
Configure
(
string
config);
47
48
private
:
49
50
void
LoadConfig
(
void
);
51
vector <const EventRecordVisitorI *>
fDecayers
;
///< list of all specified decayers
52
};
53
54
}
// genie namespace
55
#endif // _UNSTABLE_PARTICLE_DECAYER_H_
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::EventRecordVisitorI
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
Definition:
EventRecordVisitorI.h:29
EventRecordVisitorI.h
vector
struct vector vector
genie::UnstableParticleDecayer::~UnstableParticleDecayer
~UnstableParticleDecayer()
Definition:
UnstableParticleDecayer.cxx:34
config
static Config * config
Definition:
config.cpp:1054
genie::UnstableParticleDecayer::UnstableParticleDecayer
UnstableParticleDecayer()
Definition:
UnstableParticleDecayer.cxx:22
genie::Registry
A registry. Provides the container for algorithm configuration parameters.
Definition:
Registry.h:65
genie::UnstableParticleDecayer::Configure
void Configure(const Registry &config)
Definition:
UnstableParticleDecayer.cxx:49
genie::UnstableParticleDecayer::fDecayers
vector< const EventRecordVisitorI * > fDecayers
list of all specified decayers
Definition:
UnstableParticleDecayer.h:51
genie::UnstableParticleDecayer::LoadConfig
void LoadConfig(void)
Definition:
UnstableParticleDecayer.cxx:65
genie::UnstableParticleDecayer::ProcessEventRecord
void ProcessEventRecord(GHepRecord *event) const
Definition:
UnstableParticleDecayer.cxx:39
genie::GHepRecord
GENIE's GHEP MC event record.
Definition:
GHepRecord.h:45
genie::UnstableParticleDecayer
A hook for concrete particle decayers in the chain of event processing modules.
Definition:
UnstableParticleDecayer.h:32
event
Event finding and building.
Definition:
EventCheater_module.cc:32
Generated by
1.8.11