Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
EventGen
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
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
//___________________________________________________________________________
ValidateOpDetReco.end
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Definition:
ValidateOpDetReco.py:548
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
EventGeneratorI.h
genie::EventGeneratorList::Print
void Print(ostream &stream) const
Definition:
EventGeneratorList.cxx:37
genie::EventGeneratorI
Defines the EventGeneratorI interface.
Definition:
EventGeneratorI.h:38
const_iterator
intermediate_table::const_iterator const_iterator
Definition:
intermediate_table.cc:28
genie::EventGeneratorList::EventGeneratorList
EventGeneratorList()
Definition:
EventGeneratorList.cxx:27
generate_datataset.stream
stream
Definition:
generate_datataset.py:30
Messenger.h
genie::operator<<
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Definition:
AlgConfigPool.cxx:41
genie::EventGeneratorList
A vector of EventGeneratorI objects.
Definition:
EventGeneratorList.h:34
util::begin
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
Definition:
StdUtils.h:72
EventGeneratorList.h
genie::EventGeneratorList::~EventGeneratorList
~EventGeneratorList()
Definition:
EventGeneratorList.cxx:32
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Generated by
1.8.11