GENIEGenerator
Loading...
Searching...
No Matches
COHDNuEventGenerator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3\class genie::COHDNuEventGenerator
4
5\brief Generates complete COHDNu events.
6 Is a concrete implementation of the EventRecordVisitorI interface.
7
8\author Iker de Icaza <i.de-icaza-astiz \at sussex.ac.uk>
9 University of Sussex
10
11 Costas Andreopoulos <c.andreopoulos \at cern.ch>
12 University of Liverpool
13
14\created June 30, 2020
15
16\cpright Copyright (c) 2003-2025, The GENIE Collaboration
17 For the full text of the license visit http://copyright.genie-mc.org
18*/
19//____________________________________________________________________________
20
21#ifndef _COHDNu_EVENT_GENERATOR_H_
22#define _COHDNu_EVENT_GENERATOR_H_
23
26
27namespace genie {
28
29class XSecAlgorithmI;
30
32
33public :
35 COHDNuEventGenerator(string config);
37
38 // Implement the EventRecordVisitorI interface
39 void ProcessEventRecord(GHepRecord * event) const;
40
41 // Overload the Algorithm::Configure() methods to load private data
42 // members from configuration options
43 void Configure(const Registry & config);
44 void Configure(string config);
45
46private:
47
48 // Methods to load sub-algorithms and config data from the Registry
49 void LoadConfig (void);
50
51 // Event generation methods
52 void GenerateKinematics (GHepRecord * event) const;
53 void AddFinalStateDarkNeutrino (GHepRecord * event) const;
54 void AddRecoilNucleus (GHepRecord * event) const;
55
56 mutable const XSecAlgorithmI * fXSecModel; ///<
57
59 double fSafetyFactor; ///<
61
63
64};
65
66} // genie namespace
67
68#endif // _COHDNu_EVENT_GENERATOR_H_
void ProcessEventRecord(GHepRecord *event) const
void GenerateKinematics(GHepRecord *event) const
void AddFinalStateDarkNeutrino(GHepRecord *event) const
void Configure(const Registry &config)
void AddRecoilNucleus(GHepRecord *event) const
const XSecAlgorithmI * fXSecModel
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25