ToyInteractionSelector.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::ToyInteractionSelector
5 
6 \brief Generates random interactions.
7 
8  This is a 'toy' InteractionSelectorI to be used in event generation
9  testing / debugging. Not to be used in event generation for physics
10  purposes.
11 
12  Is a concrete implementation of the InteractionSelectorI interface.
13 
14 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
15  University of Liverpool & STFC Rutherford Appleton Laboratory
16 
17 \created December 05, 2004
18 
19 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
20  For the full text of the license visit http://copyright.genie-mc.org
21 */
22 //____________________________________________________________________________
23 
24 #ifndef _TOY_INTERACTION_SELECTOR_H_
25 #define _TOY_INTERACTION_SELECTOR_H_
26 
28 
29 namespace genie {
30 
32 
33 public :
37 
38  //! implement the InteractionSelectorI interface
40  (const InteractionGeneratorMap * igmp, const TLorentzVector & p4) const;
41 };
42 
43 } // genie namespace
44 
45 #endif // _TOY_INTERACTION_SELECTOR_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Generates random interactions.
An Interaction -> EventGeneratorI associative container. The container is being built for the loaded ...
static Config * config
Definition: config.cpp:1054
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition: EventRecord.h:37
Defines the InteractionSelectorI interface to be implemented by algorithms selecting interactions to ...
EventRecord * SelectInteraction(const InteractionGeneratorMap *igmp, const TLorentzVector &p4) const
implement the InteractionSelectorI interface