GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EventRecordVisitorI.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::EventRecordVisitorI
5 
6 \brief Defines the EventRecordVisitorI interface.
7  Concrete implementations of this interface use the 'Visitor' Design
8  Pattern to perform an operation on an EventRecord.
9 
10 \author Costas Andreopoulos <c.andreopoulos \at cern.ch>
11  University of Liverpool
12 
13 \created October 04, 2004
14 
15 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _EVENT_RECORD_VISITOR_I_H_
21 #define _EVENT_RECORD_VISITOR_I_H_
22 
24 
25 namespace genie {
26 
27 class GHepRecord;
28 
30 
31 public :
32 
33  virtual ~EventRecordVisitorI();
34 
35  //-- define the EventRecordVisitorI interface
36 
37  virtual void ProcessEventRecord(GHepRecord * event_rec) const = 0;
38 
39 protected :
40 
42  EventRecordVisitorI(string name);
43  EventRecordVisitorI(string name, string config);
44 };
45 
46 } // genie namespace
47 
48 #endif // _EVENT_RECORD_VISITOR_I_H_
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
Algorithm abstract base class.
Definition: Algorithm.h:54
virtual void ProcessEventRecord(GHepRecord *event_rec) const =0
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45