Public Member Functions | Public Attributes | List of all members
gibuu::Record Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-24/EventGenerator/GiBUU/RecordList.h"

Public Member Functions

 Record ()
 
 Record (float _E, float _w, int _prod_id, const std::vector< Particle > &_ps)
 
bool operator< (const Record &rhs) const
 

Public Attributes

float E
 
float weight
 
int prod_id
 
std::vector< Particleparts
 

Detailed Description

Definition at line 23 of file RecordList.h.

Constructor & Destructor Documentation

gibuu::Record::Record ( )

Definition at line 17 of file RecordList.cxx.

Referenced by gibuu::RecordLoader::GetRecord(), and gibuu::SimpleRecordList::GetRecord().

17  : E(0), weight(0)
18  {
19  }
float weight
Definition: RecordList.h:31
gibuu::Record::Record ( float  _E,
float  _w,
int  _prod_id,
const std::vector< Particle > &  _ps 
)

Definition at line 22 of file RecordList.cxx.

23  : E(_E), weight(_w), prod_id(_prod_id), parts(_ps)
24  {
25  }
std::vector< Particle > parts
Definition: RecordList.h:33
float weight
Definition: RecordList.h:31

Member Function Documentation

bool gibuu::Record::operator< ( const Record rhs) const

Definition at line 28 of file RecordList.cxx.

References E.

29  {
30  return E < rhs.E;
31  }

Member Data Documentation

float gibuu::Record::E

Definition at line 30 of file RecordList.h.

Referenced by operator<().

std::vector<Particle> gibuu::Record::parts

Definition at line 33 of file RecordList.h.

Referenced by gibuu::GiBUURegen::GetEvent(), and gibuu::RecordLoader::GetRecord().

int gibuu::Record::prod_id
float gibuu::Record::weight

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