GReWeightFZone.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::rew::GReWeightFZone
5 
6 \brief Reweighting the formation zone model
7 
8 \author Jim Dobson <J.Dobson07 \at imperial.ac.uk>
9  Imperial College London
10 
11  Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
12  University of Liverpool & STFC Rutherford Appleton Lab
13 
14 \created Sep 20, 2009
15 
16 \cpright Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18  or see $GENIE/LICENSE
19 */
20 //____________________________________________________________________________
21 
22 #ifndef _G_REWEIGHT_FZONE_H_
23 #define _G_REWEIGHT_FZONE_H_
24 
25 #include "ReWeight/GReWeightI.h"
26 
27 using namespace genie::rew;
28 using namespace genie;
29 
30 namespace genie {
31 namespace rew {
32 
33  class GReWeightFZone : public GReWeightI
34  {
35  public:
37  ~GReWeightFZone();
38 
39  // implement the GReWeightI interface
40  bool IsHandled (GSyst_t syst);
41  void SetSystematic (GSyst_t syst, double val);
42  void Reset (void);
43  void Reconfigure (void);
44  double CalcWeight (const EventRecord & event);
45 
46  // other config options
47  // set to match values used at event generation
48  void SetR0 (double R0 ) { fR0 = R0; }
49  void SetNR (double NR ) { fNR = NR; }
50  void SetCT0Pion(double ct0) { fct0pion = ct0; }
51  void SetCT0Nucleon(double ct0) { fct0nucleon = ct0; }
52  void SetK (double k ) { fK = k; }
53 
54  private:
55 
56  void Init(void);
57 
58  double fFZoneTwkDial; ///< formation zone tweaking dial
59 
60  double fNR; ///<
61  double fR0; ///<
62  double fct0pion; ///<
63  double fct0nucleon; ///<
64  double fK; ///<
65 
66  };
67 
68 } // rew
69 } // genie
70 
71 #endif
72 
#include "Numerical/GSFunc.h"
Definition: AlgCmp.h:26
double fFZoneTwkDial
formation zone tweaking dial
void SetCT0Nucleon(double ct0)
void SetCT0Pion(double ct0)
Reweighting the formation zone model.
An enumeration of systematic parameters.
void Init(void)
Definition: gXSecComp.cxx:138
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