GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SRCNuclearRecoil.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::SRCNuclearRecoil
5 
6 \brief Created this new module that controls the addition of the recoil nucleon in the event record
7  and extracts its kinematics
8 
9 \author Afroditi Papadopoulou <apapadop \at mit.edu>
10  Massachusetts Institute of Technology - October 04, 2019
11 
12 \created October 04, 2019
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  or see $GENIE/LICENSE
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _SRC_NUCLEAR_RECOIL_H_
21 #define _SRC_NUCLEAR_RECOIL_H_
22 
28 
29 namespace genie {
30 
32 
33 public :
35  SRCNuclearRecoil(string config);
37 
38  //-- implement the EventRecordVisitorI interface
39  void ProcessEventRecord(GHepRecord * event_rec) const;
40 
41  //-- overload the Algorithm::Configure() methods to load private data
42  // members from configuration options
43  void Configure(const Registry & config);
44  void Configure(string config);
45 
46 
47  protected:
48  void LoadConfig (void);
49 
50  int SRCRecoilPDG( const GHepParticle & nucleon, const Target & tgt) const; // determine the PDG code of the SRC pair
51 
52 private:
53 
54 
57 
58 };
59 
60 } // genie namespace
61 #endif // _SRC_NUCLEAR_RECOIL_H_
Created this new module that controls the addition of the recoil nucleon in the event record and extr...
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Definition: Target.h:40
void ProcessEventRecord(GHepRecord *event_rec) const
int SRCRecoilPDG(const GHepParticle &nucleon, const Target &tgt) const
Interface to drive the a second nucleon emission from a nucleus Specfic impelmentations will have dif...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void Configure(const Registry &config)
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
STDHEP-like event record entry that can fit a particle or a nucleus.
Definition: GHepParticle.h:39