GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos \at cern.ch>
10  University of Liverpool
11 
12 \created November 18, 2004
13 
14 \cpright Copyright (c) 2003-2024, 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 :
33  RESKinematicsGenerator(string config);
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.
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Summary information for an interaction.
Definition: Interaction.h:56
TF2 * fEnvelope
2-D envelope used for importance sampling
Generates resonance event (v+N-&gt;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