InitialStateAppender.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::InitialStateAppender
5 
6 \brief Appends the initial state information to the event record.
7  Is a concerete implementation of the EventRecordVisitorI interface.
8 
9 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10  University of Liverpool & STFC Rutherford Appleton Laboratory
11 
12 \created October 04, 2004
13 
14 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _INITIAL_STATE_APPENDER_H_
20 #define _INITIAL_STATE_APPENDER_H_
21 
23 
24 namespace genie {
25 
27 
28 public :
29 
33 
34  //-- implement the EventRecordVisitorI interface
35 
36  void ProcessEventRecord(GHepRecord * event_rec) const;
37 
38 private :
39 
40  void AddNeutrino (GHepRecord * event_rec) const;
41  void AddNucleus (GHepRecord * event_rec) const;
42  void AddStruckParticle (GHepRecord * event_rec) const;
43 
44 };
45 
46 } // genie namespace
47 
48 #endif // _INITIAL_STATE_APPENDER_H_
Appends the initial state information to the event record. Is a concerete implementation of the Event...
void AddNeutrino(GHepRecord *event_rec) const
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
void ProcessEventRecord(GHepRecord *event_rec) const
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
void AddNucleus(GHepRecord *event_rec) const
void AddStruckParticle(GHepRecord *event_rec) const
static Config * config
Definition: config.cpp:1054
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45