GENIEGenerator
Loading...
Searching...
No Matches
NtpMCRecordI.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::NtpMCRecordI
5
6\brief MINOS-style base class for ntuple records
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created October 1, 2004
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _NTP_MC_RECORD_I_H_
19#define _NTP_MC_RECORD_I_H_
20
21#include <TObject.h>
22
24
25namespace genie {
26
27class EventRecord;
28
29class NtpMCRecordI : public TObject {
30
31public :
32 virtual ~NtpMCRecordI();
33
34 virtual void Fill(unsigned int ievent, const EventRecord * ev_rec) = 0;
35
36 // Ntuple is treated like a C-struct with public data members and
37 // rule-breaking field data members not prefaced by "f" and mostly lowercase.
38 NtpMCRecHeader hdr; ///< record header
39
40protected:
42
43ClassDef(NtpMCRecordI, 1)
44};
45
46} // genie namespace
47#endif // _NTP_MC_RECORD_I_H_
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition EventRecord.h:37
MINOS-style Ntuple Class to hold an MC Event Record Header.
virtual void Fill(unsigned int ievent, const EventRecord *ev_rec)=0
NtpMCRecHeader hdr
record header
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25