GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
24
25class TF2;
26
27namespace genie {
28
30
31public :
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
44private:
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_
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
Summary information for an interaction.
Definition Interaction.h:56
void ProcessEventRecord(GHepRecord *event_rec) const
void Configure(const Registry &config)
TF2 * fEnvelope
2-D envelope used for importance sampling
double fWcut
Wcut parameter in DIS/RES join scheme.
double ComputeMaxXSec(const Interaction *interaction) const
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25