GENIEGenerator
Loading...
Searching...
No Matches
CEvNSEventGenerator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::CEvNSEventGenerator
5
6\brief Generates complete CEvNS events.
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 July 16, 2019
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 _CEVNS_EVENT_GENERATOR_H_
20#define _CEVNS_EVENT_GENERATOR_H_
21
24
25namespace genie {
26
27class XSecAlgorithmI;
28
30
31public :
33 CEvNSEventGenerator(string config);
35
36 // Implement the EventRecordVisitorI interface
37 void ProcessEventRecord(GHepRecord * event) 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
44public:
45
46 // Methods to load sub-algorithms and config data from the Registry
47 void LoadConfig (void);
48
49 // Event generation methods
50 void GenerateKinematics (GHepRecord * event) const;
51 void AddFinalStateNeutrino (GHepRecord * event) const;
52 void AddRecoilNucleus (GHepRecord * event) const;
53
54 mutable const XSecAlgorithmI * fXSecModel; ///<
55
57 double fSafetyFactor; ///<
59};
60
61} // genie namespace
62
63#endif // _CEVNS_EVENT_GENERATOR_H_
void AddFinalStateNeutrino(GHepRecord *event) const
void AddRecoilNucleus(GHepRecord *event) const
void GenerateKinematics(GHepRecord *event) const
const XSecAlgorithmI * fXSecModel
void ProcessEventRecord(GHepRecord *event) const
void Configure(const Registry &config)
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