GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch> STFC, Rutherford Lab
12
13\created September 14, 2006
14
15\cpright Copyright (c) 2003-2025, 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
26namespace genie {
27
29
30public :
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
43private:
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_
GENIE's GHEP MC event record.
Definition GHepRecord.h:45
const EventRecordVisitorI * fCascadeReweight
Cascade reweight member.
void ProcessEventRecord(GHepRecord *event_rec) const
void Configure(const Registry &config)
void TransportInTransparentNuc(GHepRecord *ev) const
bool fEnabled
hadron transport enabled?
const EventRecordVisitorI * fHadTranspModel
hadron transport MC to use
A registry. Provides the container for algorithm configuration parameters.
Definition Registry.h:65
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25