EventGeneratorList.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2020, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5 
6  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7  University of Liverpool & STFC Rutherford Appleton Laboratory
8 */
9 //____________________________________________________________________________
10 
14 
15 using std::endl;
16 using namespace genie;
17 
18 //____________________________________________________________________________
19 namespace genie {
20  ostream & operator << (ostream & stream, const EventGeneratorList & evgl)
21  {
22  evgl.Print(stream);
23  return stream;
24  }
25 }
26 //___________________________________________________________________________
28 {
29 
30 }
31 //___________________________________________________________________________
33 {
34 
35 }
36 //___________________________________________________________________________
37 void EventGeneratorList::Print(ostream & stream) const
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 }
49 //___________________________________________________________________________
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
void Print(ostream &stream) const
Defines the EventGeneratorI interface.
intermediate_table::const_iterator const_iterator
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
A vector of EventGeneratorI objects.
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition: StdUtils.h:72
QTextStream & endl(QTextStream &s)