HNIntranuke2015.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::Intranuke
5 
6 \brief The INTRANUKE intranuclear hadron transport MC.
7  Is a concrete implementation of the EventRecordVisitorI interface.
8 
9 \ref R.Merenyi et al., Phys.Rev.D45 (1992)
10  R.D.Ransome, Nucl.Phys.B 139 (2005)
11 
12  Current INTRANUKE development is led by S.Dytman and H.Gallagher.
13  The original INTRANUKE cascade MC was developed (in fortran) for the
14  NeuGEN MC by R.Edgecock, G.F.Pearce, W.A.Mann, R.Merenyi and others.
15 
16 \author Steve Dytman <dytman+@pitt.edu>, Pittsburgh University
17  Aaron Meyer <asm58@pitt.edu>, Pittsburgh University
18  Alex Bell, Pittsburgh University
19  Hugh Gallagher <gallag@minos.phy.tufts.edu>, Tufts University
20  Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk> STFC, Rutherford Lab
21 
22 \created September 20, 2005
23 
24 \cpright Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration
25  For the full text of the license visit http://copyright.genie-mc.org
26  or see $GENIE/LICENSE
27 */
28 //____________________________________________________________________________
29 
30 #ifndef _HN_INTRANUKE_2015_H_
31 #define _HN_INTRANUKE_2015_H_
32 
33 #include <TGenPhaseSpace.h>
34 
36 #include "Algorithm/AlgFactory.h"
41 
42 class TLorentzVector;
43 class TVector3;
44 
45 namespace genie {
46 
47 class GHepParticle;
48 class INukeHadroData;
49 class PDGCodeList;
50 
51 class HNIntranuke2015 : public Intranuke2015 {
52 
53 friend class IntranukeTester;
54 
55 public :
57  HNIntranuke2015(string config);
59 
60  void ProcessEventRecord(GHepRecord * event_rec) const;
61 
62  virtual string GetINukeMode() const {return "hN2015";};
63 
64 private:
65 
66  void LoadConfig (void);
67 
68  // methods specific to intranuke HN-mode
70  INukeFateHN_t HadronFateHN (const GHepParticle* p) const;
72  double FateWeight (int pdgc, INukeFateHN_t fate) const;
73  void ElasHN (GHepRecord* ev, GHepParticle* p, INukeFateHN_t fate) const;
74  void AbsorbHN (GHepRecord* ev, GHepParticle* p, INukeFateHN_t fate) const;
75  void InelasticHN (GHepRecord* ev, GHepParticle* p) const;
76  void GammaInelasticHN (GHepRecord* ev, GHepParticle* p, INukeFateHN_t fate) const;
77  bool HandleCompoundNucleusHN (GHepRecord* ev, GHepParticle* p) const;
78  int HandleCompoundNucleus(GHepRecord* ev, GHepParticle* p, int mom) const;
79 
80  mutable int nuclA; ///< value of A for the target nucleus in hA mode
81 
82  // data members specific to intranuke HN-mode
83  double fNucQEFac;
84 
85 };
86 
87 } // genie namespace
88 
89 #endif // _HN_INTRANUKE_ALT_H_
90 
void InelasticHN(GHepRecord *ev, GHepParticle *p) const
#include "Numerical/GSFunc.h"
Definition: AlgCmp.h:26
void ElasHN(GHepRecord *ev, GHepParticle *p, INukeFateHN_t fate) const
void GammaInelasticHN(GHepRecord *ev, GHepParticle *p, INukeFateHN_t fate) const
friend class IntranukeTester
void ProcessEventRecord(GHepRecord *event_rec) const
void SimulateHadronicFinalState(GHepRecord *ev, GHepParticle *p) const
bool HandleCompoundNucleusHN(GHepRecord *ev, GHepParticle *p) const
int nuclA
value of A for the target nucleus in hA mode
int HandleCompoundNucleus(GHepRecord *ev, GHepParticle *p, int mom) const
double FateWeight(int pdgc, INukeFateHN_t fate) const
enum genie::EINukeFateHN_t INukeFateHN_t
void AbsorbHN(GHepRecord *ev, GHepParticle *p, INukeFateHN_t fate) const
p
Definition: test.py:228
virtual string GetINukeMode() const
INukeFateHN_t HadronFateHN(const GHepParticle *p) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:46
STDHEP-like event record entry that can fit a particle or a nucleus.
Definition: GHepParticle.h:40
INukeFateHN_t HadronFateOset() const