GENIEGenerator
Loading...
Searching...
No Matches
RSPPResonanceSelector.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::RSPPResonanceSelector
5
6\brief Generates an intermediate baryon resonance for exclusive interactions
7 proceeding through resonance productions and adds it to the event
8 record. The resonance is selected based on its contribution to the
9 selected exclusive reaction cross section.
10 Is a concrete implementation of the EventRecordVisitorI interface.
11
12\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
13 University of Liverpool
14
15\created November 18, 2004
16
17\cpright Copyright (c) 2003-2025, The GENIE Collaboration
18 For the full text of the license visit http://copyright.genie-mc.org
19*/
20//____________________________________________________________________________
21
22#ifndef _RSPP_RESONANCE_SELECTOR_H_
23#define _RSPP_RESONANCE_SELECTOR_H_
24
28
29namespace genie {
30
32
33public :
35 RSPPResonanceSelector(string config);
37
38 // implement the EventRecordVisitorI interface
39 void ProcessEventRecord(GHepRecord * event_rec) const;
40
41 // override the Algorithm::Configure methods to load configuration
42 // data to private data members
43 void Configure (const Registry & config);
44 void Configure (string param_set);
45
46private:
47 void LoadConfig (void);
48
49 Resonance_t SelectResonance (GHepRecord * event_rec) const;
50 void AddResonance (GHepRecord * event_rec) const;
51
52 BaryonResList fResList; ///< baryon resonances taken into account
53};
54
55} // genie namespace
56#endif // _RSPP_RESONANCE_SELECTOR_H_
Encapsulates a list of baryon resonances.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
Resonance_t SelectResonance(GHepRecord *event_rec) const
BaryonResList fResList
baryon resonances taken into account
void ProcessEventRecord(GHepRecord *event_rec) const
void AddResonance(GHepRecord *event_rec) const
void Configure(const Registry &config)
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::EResonance Resonance_t