GENIEGenerator
Loading...
Searching...
No Matches
Physics
QuasiElastic
EventGen
QELPrimaryLeptonGenerator.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2025, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Costas Andreopoulos <c.andreopoulos \at cern.ch>
7
University of Liverpool
8
*/
9
//____________________________________________________________________________
10
11
#include "
Framework/GHEP/GHepRecord.h
"
12
#include "
Physics/QuasiElastic/EventGen/QELPrimaryLeptonGenerator.h
"
13
14
using namespace
genie
;
15
16
//___________________________________________________________________________
17
QELPrimaryLeptonGenerator::QELPrimaryLeptonGenerator
() :
18
PrimaryLeptonGenerator
(
"genie::QELPrimaryLeptonGenerator"
)
19
{
20
21
}
22
//___________________________________________________________________________
23
QELPrimaryLeptonGenerator::QELPrimaryLeptonGenerator
(
string
config):
24
PrimaryLeptonGenerator
(
"genie::QELPrimaryLeptonGenerator"
, config)
25
{
26
27
}
28
//___________________________________________________________________________
29
QELPrimaryLeptonGenerator::~QELPrimaryLeptonGenerator
()
30
{
31
32
}
33
//___________________________________________________________________________
34
void
QELPrimaryLeptonGenerator::ProcessEventRecord
(
GHepRecord
* evrec)
const
35
{
36
// This method generates the final state primary lepton in QEL events
37
38
// no modification is required to the std implementation
39
PrimaryLeptonGenerator::ProcessEventRecord
(evrec);
40
}
41
//___________________________________________________________________________
GHepRecord.h
QELPrimaryLeptonGenerator.h
genie::GHepRecord
GENIE's GHEP MC event record.
Definition
GHepRecord.h:45
genie::PrimaryLeptonGenerator::ProcessEventRecord
virtual void ProcessEventRecord(GHepRecord *evrec) const
Definition
PrimaryLeptonGenerator.cxx:57
genie::PrimaryLeptonGenerator::PrimaryLeptonGenerator
PrimaryLeptonGenerator()
Definition
PrimaryLeptonGenerator.cxx:34
genie::QELPrimaryLeptonGenerator::~QELPrimaryLeptonGenerator
~QELPrimaryLeptonGenerator()
Definition
QELPrimaryLeptonGenerator.cxx:29
genie::QELPrimaryLeptonGenerator::QELPrimaryLeptonGenerator
QELPrimaryLeptonGenerator()
Definition
QELPrimaryLeptonGenerator.cxx:17
genie::QELPrimaryLeptonGenerator::ProcessEventRecord
void ProcessEventRecord(GHepRecord *event_rec) const
Definition
QELPrimaryLeptonGenerator.cxx:34
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition
AlgCmp.h:25
Generated on
for GENIEGenerator by
1.14.0