HadronTransporter.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::HadronTransporter
5 
6 \brief Intranuclear hadronic transport module.
7  It is being used to transfer all hadrons outside the nucleus without
8  rescattering -if rescattering is switched off- or to call one of the
9  supported hadron transport MCs -if rescattering is switched on-
10 
11 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch> STFC, Rutherford Lab
12 
13 \created September 14, 2006
14 
15 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 
18 */
19 //____________________________________________________________________________
20 
21 #ifndef _HADRON_TRANSPORTER_H_
22 #define _HADRON_TRANSPORTER_H_
23 
25 
26 namespace genie {
27 
29 
30 public :
32  HadronTransporter(string config);
34 
35  // implement the EventRecordVisitorI interface
36  void ProcessEventRecord(GHepRecord * event_rec) const;
37 
38  // override the Algorithm::Configure methods to load configuration
39  // data to private data members
40  void Configure (const Registry & config);
41  void Configure (string param_set);
42 
43 private:
44  void LoadConfig (void);
45  void TransportInTransparentNuc (GHepRecord * ev) const;
46 
47  bool fEnabled; ///< hadron transport enabled?
48  const EventRecordVisitorI * fHadTranspModel; ///< hadron transport MC to use
49  const EventRecordVisitorI * fCascadeReweight; ///< Cascade reweight member
50 
51 };
52 
53 } // genie namespace
54 #endif // _HADRON_TRANSPORTER_H_
Intranuclear hadronic transport module. It is being used to transfer all hadrons outside the nucleus ...
void ProcessEventRecord(GHepRecord *event_rec) const
bool fEnabled
hadron transport enabled?
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
void TransportInTransparentNuc(GHepRecord *ev) const
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the &#39;Visito...
const EventRecordVisitorI * fHadTranspModel
hadron transport MC to use
const EventRecordVisitorI * fCascadeReweight
Cascade reweight member.
static Config * config
Definition: config.cpp:1054
void Configure(const Registry &config)
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
GENIE&#39;s GHEP MC event record.
Definition: GHepRecord.h:45