GENIEGenerator
Loading...
Searching...
No Matches
GEVGPool.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::GEVGPool
5
6\brief A pool of GEVGDriver objects with an initial state key
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created May 24, 2005
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _GEVG_DRIVER_POOL_H_
19#define _GEVG_DRIVER_POOL_H_
20
21#include <map>
22#include <string>
23#include <ostream>
24
25using std::map;
26using std::string;
27using std::ostream;
28
29namespace genie {
30
31class GEVGPool;
32class GEVGDriver;
33class InitialState;
34
35ostream & operator << (ostream & stream, const GEVGPool & pool);
36
37class GEVGPool : public map<string, GEVGDriver *> {
38
39public :
40
41 GEVGPool();
42 ~GEVGPool();
43
44 GEVGDriver * FindDriver (const InitialState & init) const;
45 GEVGDriver * FindDriver (string init) const;
46
47 void Print (ostream & stream) const;
48
49 friend ostream & operator << (ostream & stream, const GEVGPool & pool);
50};
51
52} // genie namespace
53
54#endif // _GEVG_DRIVER_POOL_H_
GENIE Event Generation Driver. A minimalist user interface object for generating neutrino interaction...
Definition GEVGDriver.h:54
A pool of GEVGDriver objects with an initial state key.
Definition GEVGPool.h:37
void Print(ostream &stream) const
Definition GEVGPool.cxx:65
friend ostream & operator<<(ostream &stream, const GEVGPool &pool)
Definition GEVGPool.cxx:21
GEVGDriver * FindDriver(const InitialState &init) const
Definition GEVGPool.cxx:44
Initial State information.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)