RESHadronicSystemGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::RESHadronicSystemGenerator
5 
6 \brief Generates the 'final state' hadronic system in v RES interactions.
7  It adds the remnant nucleus (if any), the pre-selected resonance
8  and the resonance decay products at the GHEP record.
9  Unlike the SPP thread, in the RES thread the resonance is specified
10  at the time an interaction is selected but its decay products not
11  (semi-inclusive resonance reactions). The off the mass-shell baryon
12  resonance is decayed using a phase space generator. All kinematically
13  available decay channels are being used (not just 1 pi channels).
14  Is a concrete implementation of the EventRecordVisitorI interface.
15 
16 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
17  University of Liverpool & STFC Rutherford Appleton Laboratory
18 
19 \created November 23, 2004
20 
21 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
22  For the full text of the license visit http://copyright.genie-mc.org
23 */
24 //____________________________________________________________________________
25 
26 #ifndef _RES_HADRONIC_SYSTEM_GENERATOR_H_
27 #define _RES_HADRONIC_SYSTEM_GENERATOR_H_
28 
30 
31 namespace genie {
32 
33 class Decayer;
34 
36 
37 public :
41 
42  // implement the EventRecordVisitorI interface
43  void ProcessEventRecord(GHepRecord * event_rec) const;
44 
45  // overload the Algorithm::Configure() methods to load private data
46  // members from configuration options
47  void Configure(const Registry & config);
48  void Configure(string config);
49 
50 private:
51 
52  void LoadConfig (void);
53  int GetResonancePdgCode (GHepRecord * evrec) const;
54  void AddResonance (GHepRecord * evrec, int pdgc) const;
55  // void AddResonanceDecayProducts (GHepRecord * evrec, int pdgc) const;
56 
58 };
59 
60 } // genie namespace
61 
62 #endif // _RES_HADRONIC_SYSTEM_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
const EventRecordVisitorI * fResonanceDecayer
int GetResonancePdgCode(GHepRecord *evrec) const
void AddResonance(GHepRecord *evrec, int pdgc) const
static Config * config
Definition: config.cpp:1054
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event_rec) const
Abstract class. Is used to pass some commonly recurring methods to all concrete implementations of th...
Generates the &#39;final state&#39; hadronic system in v RES interactions. It adds the remnant nucleus (if an...
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45