GReWeightNuXSecHelper.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::rew::GReWeightNuXSecHelper
5 
6 \brief Helper class for cross section model reweighting
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created October 22, 2005
12 
13 \cpright Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _G_REWEIGHT_NEUTRINO_CROSS_SECTION_HELPER_H_
20 #define _G_REWEIGHT_NEUTRINO_CROSS_SECTION_HELPER_H_
21 
22 #include <map>
23 
26 #include "EVGDrivers/GEVGPool.h"
27 
28 using std::map;
29 
30 namespace genie {
31 
32 class EventRecord;
33 
34 namespace rew {
35 
37 
38 public :
41 
42  void HandleInitState (const InitialState & init_state);
44  double NewWeight (const EventRecord & event, bool shape_only = false);
45 
46 private:
47 
48  void Initialize();
49 
51  map<ScatteringType_t, KinePhaseSpace_t> fCrossSecModelPhSp; ///<
52 };
53 
54 } // rew namespace
55 } // genie namespace
56 
57 #endif // _G_REWEIGHT_NEUTRINO_CROSS_SECTION_H_
#include "Numerical/GSFunc.h"
Definition: AlgCmp.h:26
enum genie::EKinePhaseSpace KinePhaseSpace_t
void DiffCrossSecType(ScatteringType_t sct, KinePhaseSpace_t kps)
Helper class for cross section model reweighting.
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition: EventRecord.h:38
enum genie::EScatteringType ScatteringType_t
map< ScatteringType_t, KinePhaseSpace_t > fCrossSecModelPhSp
double NewWeight(const EventRecord &event, bool shape_only=false)
Event finding and building.
void HandleInitState(const InitialState &init_state)
Initial State information.
Definition: InitialState.h:42
A pool of GEVGDriver objects with an initial state key.
Definition: GEVGPool.h:38