GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DFRKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DFRKinematicsGenerator
5 
6 \brief Generates kinematics for diffractive reactions.
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 Feb 15, 2009
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 _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
20 #define _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
21 
23 #include "Framework/Utils/Range1.h"
24 
25 namespace genie {
26 
28 
29 public :
31  DFRKinematicsGenerator(string config);
33 
34  // implement the EventRecordVisitorI interface
35  void ProcessEventRecord(GHepRecord * event_rec) const;
36 
37  // overload the Algorithm::Configure() methods to load private data
38  // members from configuration options
39  void Configure(const Registry & config);
40  void Configure(string config);
41 
42 private:
43  void LoadConfig (void);
44  double ComputeMaxXSec (const Interaction * interaction) const;
45 
46  double fBeta;
47 };
48 
49 } // genie namespace
50 #endif // _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
double ComputeMaxXSec(const Interaction *interaction) const
Generates kinematics for diffractive reactions. Is a concrete implementation of the EventRecordVisito...
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
void Configure(const Registry &config)
Summary information for an interaction.
Definition: Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void ProcessEventRecord(GHepRecord *event_rec) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45