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

A vector of EventGeneratorI objects. More...

#include <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 <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

January 25, 2004

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

Definition at line 34 of file EventGeneratorList.h.

Constructor & Destructor Documentation

EventGeneratorList::EventGeneratorList ( )

Definition at line 27 of file EventGeneratorList.cxx.

28 {
29 
30 }
EventGeneratorList::~EventGeneratorList ( )

Definition at line 32 of file EventGeneratorList.cxx.

33 {
34 
35 }

Member Function Documentation

void EventGeneratorList::Print ( ostream &  stream) const

Definition at line 37 of file EventGeneratorList.cxx.

38 {
40 
41  for(iter = this->begin(); iter != this->end(); ++iter) {
42 
43  const EventGeneratorI * evg = *iter;
44 
45  if(evg) stream << *evg;
46  else stream << "\n********* NULL EVENT GENERATOR *********" << endl;
47  }
48 }
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Defines the EventGeneratorI interface.
intermediate_table::const_iterator const_iterator
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition: StdUtils.h:72
QTextStream & endl(QTextStream &s)

Friends And Related Function Documentation

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

Definition at line 20 of file EventGeneratorList.cxx.

21  {
22  evgl.Print(stream);
23  return stream;
24  }
void Print(ostream &stream) const

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