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 <costas.andreopoulos \at stfc.ac.uk>
10  University of Liverpool & STFC Rutherford Appleton Lab
11 
12 \created Feb 15, 2009
13 
14 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16  or see $GENIE/LICENSE
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
21 #define _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
22 
24 #include "Framework/Utils/Range1.h"
25 
26 namespace genie {
27 
29 
30 public :
34 
35  // implement the EventRecordVisitorI interface
36  void ProcessEventRecord(GHepRecord * event_rec) const;
37 
38  // overload the Algorithm::Configure() methods to load private data
39  // members from configuration options
40  void Configure(const Registry & config);
41  void Configure(string config);
42 
43 private:
44  void LoadConfig (void);
45  double ComputeMaxXSec (const Interaction * interaction) const;
46 
47  double fBeta;
48 };
49 
50 } // genie namespace
51 #endif // _DIFFRACTIVE_KINEMATICS_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
double ComputeMaxXSec(const Interaction *interaction) const
Definition: config.py:1
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:66
void ProcessEventRecord(GHepRecord *event_rec) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:46