GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
genie::evtlib::EvtLibRecord Struct Reference

#include <EvtLibRecordList.h>

Public Member Functions

 EvtLibRecord ()
 
 EvtLibRecord (float _E, int _prod_id, const std::vector< EvtLibParticle > &_ps)
 
bool operator< (const EvtLibRecord &rhs) const
 Order by energy - this allows OnDemandRecordList to work efficiently. More...
 

Public Attributes

float E
 
int prod_id
 
std::vector< EvtLibParticleparts
 

Detailed Description

Definition at line 25 of file EvtLibRecordList.h.

Constructor & Destructor Documentation

genie::evtlib::EvtLibRecord::EvtLibRecord ( )

Definition at line 18 of file EvtLibRecordList.cxx.

18  : E(0)
19  {
20  }
genie::evtlib::EvtLibRecord::EvtLibRecord ( float  _E,
int  _prod_id,
const std::vector< EvtLibParticle > &  _ps 
)

Definition at line 23 of file EvtLibRecordList.cxx.

25  : E(_E), prod_id(_prod_id), parts(_ps)
26  {
27  }
std::vector< EvtLibParticle > parts

Member Function Documentation

bool genie::evtlib::EvtLibRecord::operator< ( const EvtLibRecord rhs) const

Order by energy - this allows OnDemandRecordList to work efficiently.

Definition at line 30 of file EvtLibRecordList.cxx.

References E.

31  {
32  return E < rhs.E;
33  }

Member Data Documentation

float genie::evtlib::EvtLibRecord::E
std::vector<EvtLibParticle> genie::evtlib::EvtLibRecord::parts

Definition at line 36 of file EvtLibRecordList.h.

int genie::evtlib::EvtLibRecord::prod_id

Definition at line 35 of file EvtLibRecordList.h.


The documentation for this struct was generated from the following files: