GENIEGenerator
Loading...
Searching...
No Matches
Framework
EventGen
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
23
#include "
Framework/Algorithm/Algorithm.h
"
24
25
namespace
genie
{
26
27
class
GHepRecord
;
28
29
class
EventRecordVisitorI
:
public
Algorithm
{
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
41
EventRecordVisitorI
();
42
EventRecordVisitorI
(
string
name);
43
EventRecordVisitorI
(
string
name,
string
config);
44
};
45
46
}
// genie namespace
47
48
#endif
// _EVENT_RECORD_VISITOR_I_H_
Algorithm.h
genie::Algorithm::Algorithm
Algorithm()
Definition
Algorithm.cxx:38
genie::EventRecordVisitorI::~EventRecordVisitorI
virtual ~EventRecordVisitorI()
Definition
EventRecordVisitorI.cxx:34
genie::EventRecordVisitorI::ProcessEventRecord
virtual void ProcessEventRecord(GHepRecord *event_rec) const =0
genie::EventRecordVisitorI::EventRecordVisitorI
EventRecordVisitorI()
Definition
EventRecordVisitorI.cxx:16
genie::GHepRecord
GENIE's GHEP MC event record.
Definition
GHepRecord.h:45
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition
AlgCmp.h:25
Generated on
for GENIEGenerator by
1.14.0