GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HELeptonKinematicsGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::HELeptonKinematicsGenerator
5 
6 \brief Kinematics generator for HELepton.
7 
8 \author Alfonso Garcia <aagarciasoto \at km3net.de>
9  IFIC & Harvard University
10 
11 \created Dec 8, 2021
12 
13 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _HE_LEPTON_KINEMATICS_GENERATOR_H_
20 #define _HE_LEPTON_KINEMATICS_GENERATOR_H_
21 
23 
24 namespace genie {
25 
27 
28 public :
30  HELeptonKinematicsGenerator(string config);
32 
33  //-- implement the EventRecordVisitorI interface
34  void ProcessEventRecord(GHepRecord * event_rec) const;
35 
36  //-- overload the Algorithm::Configure() methods to load private data
37  // members from configuration options
38  void Configure(const Registry & config);
39  void Configure(string config);
40 
41 private:
42 
43  //-- methods to load sub-algorithms and config data from the Registry
44  void LoadConfig (void);
45 
46  //-- overload KineGeneratorWithCache methods
47  double ComputeMaxXSec (const Interaction * in) const;
48  double Energy (const Interaction * in) const;
49 
50  double fDeltaN1NuE;
51  double fDeltaN1NuMu;
52  double fDeltaN1NuTau;
53 
54 };
55 
56 } // genie namespace
57 #endif // _HE_LEPTON_KINEMATICS_GENERATOR_H_
Kinematics generator for HELepton.
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
Summary information for an interaction.
Definition: Interaction.h:56
void ProcessEventRecord(GHepRecord *event_rec) const
double Energy(const Interaction *in) const
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
double ComputeMaxXSec(const Interaction *in) const
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45