GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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-2024, 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 
26 using std::vector;
27 
28 namespace genie {
29 
30 class GHepParticle;
31 
33 
34 public :
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 
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_
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void Configure(const Registry &config)
vector< const EventRecordVisitorI * > fDecayers
list of all specified decayers
void ProcessEventRecord(GHepRecord *event) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
A hook for concrete particle decayers in the chain of event processing modules.