GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
25namespace genie {
26
27class GHepRecord;
28
30
31public :
32
33 virtual ~EventRecordVisitorI();
34
35 //-- define the EventRecordVisitorI interface
36
37 virtual void ProcessEventRecord(GHepRecord * event_rec) const = 0;
38
39protected :
40
42 EventRecordVisitorI(string name);
43 EventRecordVisitorI(string name, string config);
44};
45
46} // genie namespace
47
48#endif // _EVENT_RECORD_VISITOR_I_H_
virtual void ProcessEventRecord(GHepRecord *event_rec) const =0
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25