EventGeneratorList.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::EventGeneratorList
5 
6 \brief A vector of EventGeneratorI objects
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created January 25, 2004
12 
13 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _EVENT_GENERATOR_LIST_H_
20 #define _EVENT_GENERATOR_LIST_H_
21 
22 #include <vector>
23 #include <ostream>
24 
25 using std::vector;
26 using std::ostream;
27 
28 namespace genie {
29 
30 class EventGeneratorList;
31 class EventGeneratorI;
32 
33 ostream & operator << (ostream & stream, const EventGeneratorList & evgl);
34 
35 class EventGeneratorList : public vector<const EventGeneratorI *> {
36 
37 public :
38 
41 
42  void Print(ostream & stream) const;
43 
44  friend ostream & operator << (ostream & stream, const EventGeneratorList & evgl);
45 };
46 
47 } // genie namespace
48 
49 #endif // _EVENT_GENERATOR_LIST_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
void Print(ostream &stream) const
friend ostream & operator<<(ostream &stream, const EventGeneratorList &evgl)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
A vector of EventGeneratorI objects.