GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos \at cern.ch>
11  University of Liverpool
12 
13 \created May 13, 2005
14 
15 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _DIS_INTERACTION_LIST_GENERATOR_H_
21 #define _DIS_INTERACTION_LIST_GENERATOR_H_
22 
23 #include <map>
24 
26 
27 using std::multimap;
28 
29 namespace genie {
30 
31 class Interaction;
32 
34 
35 public :
37  DISInteractionListGenerator(string config);
39 
40  // implement the InteractionListGeneratorI interface
42 
43  // overload the Algorithm::Configure() methods to load private data
44  // members from configuration options
45  void Configure(const Registry & config);
46  void Configure(string config);
47 
48 private:
49 
50  void LoadConfigData(void);
51 
52  multimap<int,bool> GetHitQuarks(const Interaction * interaction) const;
53 
54  bool fIsCC;
55  bool fIsNC;
56  bool fIsEM;
58  bool fIsCharm;
59 };
60 
61 } // genie namespace
62 
63 #endif // _DIS_INTERACTION_LIST_GENERATOR_H_
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
Summary information for an interaction.
Definition: Interaction.h:56
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
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:48