GENIEGenerator
Loading...
Searching...
No Matches
VertexGenerator.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::VertexGenerator
5
6\brief
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created June 16, 2007
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _VERTEX_GENERATOR_H_
19#define _VERTEX_GENERATOR_H_
20
24
25namespace genie {
26
28
29public :
31 VertexGenerator(string config);
33
34 //-- implement the EventRecordVisitorI interface
35 void ProcessEventRecord (GHepRecord * event_rec) const;
36
37 //-- override the Algorithm::Configure methods to load configuration
38 // data to private data members
39 void Configure (const Registry & config);
40 void Configure (string param_set);
41
42 //-- Generate the vertex position
43 // public so other classes can reuse this code to generate a position
44 TVector3 GenerateVertex(const Interaction * in,double A) const;
45
46private:
47 void LoadConfig (void);
48
49 int fVtxGenMethod; ///< vtx generation method (0: uniform, 1: according to nuclear density [def])
50 double fR0; ///< parameter controlling nuclear sizes
51};
52
53} // genie namespace
54#endif // _VERTEX_GENERATOR_H_
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
Summary information for an interaction.
Definition Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
void Configure(const Registry &config)
double fR0
parameter controlling nuclear sizes
TVector3 GenerateVertex(const Interaction *in, double A) const
int fVtxGenMethod
vtx generation method (0: uniform, 1: according to nuclear density [def])
void ProcessEventRecord(GHepRecord *event_rec) const
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25