GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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-2024, 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 
25 namespace genie {
26 
27 class EventRecord;
28 
29 class NtpMCRecordI : public TObject {
30 
31 public :
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 
40 protected:
41  NtpMCRecordI();
42 
43 ClassDef(NtpMCRecordI, 1)
44 };
45 
46 } // genie namespace
47 #endif // _NTP_MC_RECORD_I_H_
NtpMCRecHeader hdr
record header
Definition: NtpMCRecordI.h:38
MINOS-style base class for ntuple records.
Definition: NtpMCRecordI.h:29
virtual void Fill(unsigned int ievent, const EventRecord *ev_rec)=0
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.