GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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-2024, 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 
29 namespace genie {
30 
32 
33 public :
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 
46 private:
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_
Resonance_t SelectResonance(GHepRecord *event_rec) const
Encapsulates a list of baryon resonances.
Definition: BaryonResList.h:37
enum genie::EResonance Resonance_t
void ProcessEventRecord(GHepRecord *event_rec) const
void AddResonance(GHepRecord *event_rec) const
Generates an intermediate baryon resonance for exclusive interactions proceeding through resonance pr...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
Abstract class. Is used to pass some commonly recurring methods to all concrete implementations of th...
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
BaryonResList fResList
baryon resonances taken into account
void Configure(const Registry &config)