GReWeightINuke.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::rew::GReWeightINuke
5 
6 \brief Reweighting GENIE INTRANUKE/hA hadron transport model.
7 
8  The reweighting code considers two sets of physics changes:
9  * Change in the hadron mean free path \lambda, i.e. change in
10  the total rescattering probability P_{rescat}.
11  * Changes in probabilty for rescattering mode X, given a fixed
12  total rescattering probability P(X | \lambda).
13  X = {elastic, inelastic, charge exchange, pion production,
14  absorption + multi-nucleon knockout}.
15 
16  Physics changes are considered separately for pions and nucleons.
17  Unitarity is explicitly conserved.
18 
19 \author Jim Dobson <J.Dobson07 \at imperial.ac.uk>
20  Imperial College London
21 
22  Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
23  University of Liverpool & STFC Rutherford Appleton Lab
24 
25 \created Sep 10, 2009
26 
27 \cpright Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration
28  For the full text of the license visit http://copyright.genie-mc.org
29  or see $GENIE/LICENSE
30 */
31 //____________________________________________________________________________
32 
33 #ifndef _G_REWEIGHT_INUKE_H_
34 #define _G_REWEIGHT_INUKE_H_
35 
36 //#define _G_REWEIGHT_INUKE_DEBUG_NTP_
37 
38 #include "ReWeight/GReWeightI.h"
40 
41 using namespace genie::rew;
42 using namespace genie;
43 
44 class TFile;
45 class TNtuple;
46 class TLorentzVector;
47 
48 namespace genie {
49 namespace rew {
50 
51  class GReWeightINuke : public GReWeightI
52  {
53  public:
55  ~GReWeightINuke();
56 
57  // implement the GReWeightI interface
58  bool IsHandled (GSyst_t syst);
59  void SetSystematic (GSyst_t syst, double val);
60  void Reset (void);
61  void Reconfigure (void);
62  double CalcWeight (const EventRecord & event);
63 
64  private:
65 
67 
68 #ifdef _G_REWEIGHT_INUKE_DEBUG_NTP_
69  TFile * fTestFile;
70  TNtuple * fTestNtp;
71 #endif
72 
73  };
74 
75 } // rew
76 } // genie
77 
78 #endif
79 
#include "Numerical/GSFunc.h"
Definition: AlgCmp.h:26
Helper class for cross section model reweighting.
An enumeration of systematic parameters.
GReWeightINukeParams fINukeRwParams
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition: EventRecord.h:38
Event finding and building.
GENIE event reweighting engine ABC.
Definition: GReWeightI.h:31
Reweighting GENIE INTRANUKE/hA hadron transport model.