RESKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::RESKinematicsGenerator
5 
6 \brief Generates resonance event (v+N->l+Resonance) kinematics.
7  Is a concrete implementation of the EventRecordVisitorI interface.
8 
9 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10  University of Liverpool & STFC Rutherford Appleton Laboratory
11 
12 \created November 18, 2004
13 
14 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _RES_KINEMATICS_GENERATOR_H_
20 #define _RES_KINEMATICS_GENERATOR_H_
21 
22 #include "Framework/Utils/Range1.h"
24 
25 class TF2;
26 
27 namespace genie {
28 
30 
31 public :
35 
36  // implement the EventRecordVisitorI interface
37  void ProcessEventRecord(GHepRecord * event_rec) const;
38 
39  // overload the Algorithm::Configure() methods to load private data
40  // members from configuration options
41  void Configure(const Registry & config);
42  void Configure(string config);
43 
44 private:
45  void LoadConfig (void);
46  double ComputeMaxXSec (const Interaction * interaction) const;
47 
48  mutable TF2 * fEnvelope; ///< 2-D envelope used for importance sampling
49  double fWcut; ///< Wcut parameter in DIS/RES join scheme
50 };
51 
52 } // genie namespace
53 #endif // _RES_KINEMATICS_GENERATOR_H_
double fWcut
Wcut parameter in DIS/RES join scheme.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
TF2 * fEnvelope
2-D envelope used for importance sampling
Generates resonance event (v+N->l+Resonance) kinematics. Is a concrete implementation of the EventRec...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event_rec) const
void Configure(const Registry &config)
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45
double ComputeMaxXSec(const Interaction *interaction) const