GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
10 University of Liverpool
11
12\created November 17, 2004
13
14\cpright Copyright (c) 2003-2025, 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
25
26using std::vector;
27
28namespace genie {
29
30class GHepParticle;
31
33
34public :
35
37 UnstableParticleDecayer(string config);
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
48private:
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_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
void ProcessEventRecord(GHepRecord *event) const
void Configure(const Registry &config)
vector< const EventRecordVisitorI * > fDecayers
list of all specified decayers
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25