Public Member Functions | Friends | List of all members
genie::EventGeneratorList Class Reference

A vector of EventGeneratorI objects. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Framework/EventGen/EventGeneratorList.h"

Inheritance diagram for genie::EventGeneratorList:

Public Member Functions

 EventGeneratorList ()
 
 ~EventGeneratorList ()
 
void Print (ostream &stream) const
 

Friends

ostream & operator<< (ostream &stream, const EventGeneratorList &evgl)
 

Detailed Description

A vector of EventGeneratorI objects.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

January 25, 2004

Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE

Definition at line 35 of file EventGeneratorList.h.

Constructor & Destructor Documentation

EventGeneratorList::EventGeneratorList ( )

Definition at line 33 of file EventGeneratorList.cxx.

34 {
35 
36 }
EventGeneratorList::~EventGeneratorList ( )

Definition at line 38 of file EventGeneratorList.cxx.

39 {
40 
41 }

Member Function Documentation

void EventGeneratorList::Print ( ostream &  stream) const

Definition at line 43 of file EventGeneratorList.cxx.

References febshutoff_auto::end, and allTimeWatchdog::endl.

Referenced by genie::operator<<().

44 {
45  EventGeneratorList::const_iterator iter;
46 
47  for(iter = this->begin(); iter != this->end(); ++iter) {
48 
49  const EventGeneratorI * evg = *iter;
50 
51  if(evg) stream << *evg;
52  else stream << "\n********* NULL EVENT GENERATOR *********" << endl;
53  }
54 }
Defines the EventGeneratorI interface.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const EventGeneratorList evgl 
)
friend

Definition at line 26 of file EventGeneratorList.cxx.

27  {
28  evgl.Print(stream);
29  return stream;
30  }
void Print(ostream &stream) const

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