GENIEGenerator
Loading...
Searching...
No Matches
EventRecord.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::EventRecord
5
6\brief Generated Event Record. It is a GHepRecord object that can accept /
7 be visited by EventRecordVisitorI objects (event generation modules).
8 All the other important container manipulation methods are defined
9 at the base GHepRecord record.
10
11\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
12 University of Liverpool
13
14\created October 1, 2004
15
16\cpright Copyright (c) 2003-2025, The GENIE Collaboration
17 For the full text of the license visit http://copyright.genie-mc.org
18*/
19//____________________________________________________________________________
20
21#ifndef _EVENT_RECORD_H_
22#define _EVENT_RECORD_H_
23
24#include <ostream>
25
27
28using std::ostream;
29
30namespace genie {
31
32class EventRecord;
34
35ostream & operator<< (ostream& stream, const EventRecord & event);
36
37class EventRecord : public GHepRecord {
38
39public :
40 using GHepRecord::Copy; // suppress clang 'hides overloaded virtual function [-Woverloaded-virtual]' warnings
42
44 EventRecord(int size);
45 EventRecord(const EventRecord & record);
47
48 void AcceptVisitor (EventRecordVisitorI * visitor);
49 virtual void Copy (const EventRecord & record);
50 virtual void Print (ostream & stream) const;
51
52 friend ostream & operator<< (ostream& stream, const EventRecord & event);
53
54private:
55
56ClassDef(EventRecord, 1)
57
58};
59
60} // genie namespace
61
62#endif // _EVENT_RECORD_H_
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition EventRecord.h:37
void AcceptVisitor(EventRecordVisitorI *visitor)
friend ostream & operator<<(ostream &stream, const EventRecord &event)
virtual void Copy(const EventRecord &record)
virtual void Print(ostream &stream) const
void Print(ostream &stream) const
virtual void Copy(const GHepRecord &record)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)