GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
17 University of Liverpool
18
19\created November 23, 2004
20
21\cpright Copyright (c) 2003-2025, 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
31namespace genie {
32
33class Decayer;
34
36
37public :
39 RESHadronicSystemGenerator(string config);
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
50private:
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_
Base class for decayer classes. Implements common configuration, allowing users to toggle on/off flag...
Definition Decayer.h:34
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
void ProcessEventRecord(GHepRecord *event_rec) const
void AddResonance(GHepRecord *evrec, int pdgc) const
const EventRecordVisitorI * fResonanceDecayer
int GetResonancePdgCode(GHepRecord *evrec) const
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25