GENIEGenerator
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Framework
EventGen
EventGeneratorList.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2024, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Costas Andreopoulos <c.andreopoulos \at cern.ch>
7
University of Liverpool
8
*/
9
//____________________________________________________________________________
10
11
#include "
Framework/EventGen/EventGeneratorList.h
"
12
#include "
Framework/EventGen/EventGeneratorI.h
"
13
#include "
Framework/Messenger/Messenger.h
"
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
//___________________________________________________________________________
27
EventGeneratorList::EventGeneratorList
()
28
{
29
30
}
31
//___________________________________________________________________________
32
EventGeneratorList::~EventGeneratorList
()
33
{
34
35
}
36
//___________________________________________________________________________
37
void
EventGeneratorList::Print
(ostream & stream)
const
38
{
39
EventGeneratorList::const_iterator iter;
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
//___________________________________________________________________________
EventGeneratorI.h
genie::EventGeneratorList::Print
void Print(ostream &stream) const
Definition:
EventGeneratorList.cxx:37
genie::EventGeneratorI
Defines the EventGeneratorI interface.
Definition:
EventGeneratorI.h:38
genie::EventGeneratorList::EventGeneratorList
EventGeneratorList()
Definition:
EventGeneratorList.cxx:27
Messenger.h
genie::operator<<
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Definition:
AlgConfigPool.cxx:43
genie::EventGeneratorList
A vector of EventGeneratorI objects.
Definition:
EventGeneratorList.h:34
EventGeneratorList.h
genie::EventGeneratorList::~EventGeneratorList
~EventGeneratorList()
Definition:
EventGeneratorList.cxx:32
Generated on Wed Jul 17 2024 14:46:39 for GENIEGenerator by
1.8.5