Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Physics
NuclearState
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-2019, 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
23
#include "
Framework/EventGen/EventRecordVisitorI.h
"
24
#include "
Framework/GHEP/GHepParticle.h
"
25
#include "
Physics/NuclearState/FermiMomentumTable.h
"
26
#include "
Framework/Interaction/Target.h
"
27
#include "
Physics/NuclearState/SecondNucleonEmissionI.h
"
28
29
namespace
genie
{
30
31
class
SRCNuclearRecoil
:
public
SecondNucleonEmissionI
{
32
33
public
:
34
SRCNuclearRecoil
();
35
SRCNuclearRecoil
(
string
config
);
36
~SRCNuclearRecoil
();
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
55
double
fPPPairPercentage
;
56
double
fPNPairPercentage
;
57
58
};
59
60
}
// genie namespace
61
#endif // _SRC_NUCLEAR_RECOIL_H_
SecondNucleonEmissionI.h
genie::SRCNuclearRecoil::SRCNuclearRecoil
SRCNuclearRecoil()
Definition:
SRCNuclearRecoil.cxx:51
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
EventRecordVisitorI.h
genie::SRCNuclearRecoil::fPPPairPercentage
double fPPPairPercentage
Definition:
SRCNuclearRecoil.h:55
genie::SRCNuclearRecoil::~SRCNuclearRecoil
~SRCNuclearRecoil()
Definition:
SRCNuclearRecoil.cxx:65
genie::SRCNuclearRecoil
Created this new module that controls the addition of the recoil nucleon in the event record and extr...
Definition:
SRCNuclearRecoil.h:31
config
static Config * config
Definition:
config.cpp:1054
GHepParticle.h
genie::Target
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Definition:
Target.h:40
genie::SRCNuclearRecoil::ProcessEventRecord
void ProcessEventRecord(GHepRecord *event_rec) const
Definition:
SRCNuclearRecoil.cxx:72
genie::SRCNuclearRecoil::SRCRecoilPDG
int SRCRecoilPDG(const GHepParticle &nucleon, const Target &tgt) const
Definition:
SRCNuclearRecoil.cxx:98
genie::SRCNuclearRecoil::LoadConfig
void LoadConfig(void)
Definition:
SRCNuclearRecoil.cxx:133
genie::SecondNucleonEmissionI
Interface to drive the a second nucleon emission from a nucleus Specfic impelmentations will have dif...
Definition:
SecondNucleonEmissionI.h:33
genie::Registry
A registry. Provides the container for algorithm configuration parameters.
Definition:
Registry.h:65
FermiMomentumTable.h
Target.h
genie::SRCNuclearRecoil::Configure
void Configure(const Registry &config)
Definition:
SRCNuclearRecoil.cxx:121
genie::SRCNuclearRecoil::fPNPairPercentage
double fPNPairPercentage
Definition:
SRCNuclearRecoil.h:56
genie::GHepRecord
GENIE's GHEP MC event record.
Definition:
GHepRecord.h:45
genie::GHepParticle
STDHEP-like event record entry that can fit a particle or a nucleus.
Definition:
GHepParticle.h:39
Generated by
1.8.11