DISInteractionListGenerator.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DISInteractionListGenerator
5 
6 \brief Concrete implementations of the InteractionListGeneratorI interface.
7  Generate a list of all the Interaction (= event summary) objects that
8  can be generated by the DIS EventGenerator.
9 
10 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
11  University of Liverpool & STFC Rutherford Appleton Lab
12 
13 \created May 13, 2005
14 
15 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17  or see $GENIE/LICENSE
18 */
19 //____________________________________________________________________________
20 
21 #ifndef _DIS_INTERACTION_LIST_GENERATOR_H_
22 #define _DIS_INTERACTION_LIST_GENERATOR_H_
23 
24 #include <map>
25 
27 
28 using std::multimap;
29 
30 namespace genie {
31 
32 class Interaction;
33 
35 
36 public :
40 
41  // implement the InteractionListGeneratorI interface
43 
44  // overload the Algorithm::Configure() methods to load private data
45  // members from configuration options
46  void Configure(const Registry & config);
47  void Configure(string config);
48 
49 private:
50 
51  void LoadConfigData(void);
52 
53  multimap<int,bool> GetHitQuarks(const Interaction * interaction) const;
54 
55  bool fIsCC;
56  bool fIsNC;
57  bool fIsEM;
59  bool fIsCharm;
60 };
61 
62 } // genie namespace
63 
64 #endif // _DIS_INTERACTION_LIST_GENERATOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
Definition: config.py:1
Summary information for an interaction.
Definition: Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:66
InteractionList * CreateInteractionList(const InitialState &init) const
A vector of Interaction objects.
multimap< int, bool > GetHitQuarks(const Interaction *interaction) const
Concrete implementations of the InteractionListGeneratorI interface. Generate a list of all the Inter...
Initial State information.
Definition: InitialState.h:49