GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
29namespace genie {
30
32
33public :
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
52private:
53
54
57
58};
59
60} // genie namespace
61#endif // _SRC_NUCLEAR_RECOIL_H_
STDHEP-like event record entry that can fit a particle or a nucleus.
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
void Configure(const Registry &config)
int SRCRecoilPDG(const GHepParticle &nucleon, const Target &tgt) const
void ProcessEventRecord(GHepRecord *event_rec) const
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Definition Target.h:40
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25