ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CRMC_FTFP_BERT.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CRMC_FTFP_BERT.hh
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
28
//
29
//
30
//---------------------------------------------------------------------------
31
//
32
// ClassName: CRMC_FTFP_BERT
33
//
34
// Author: 2018 Alberto Ribon
35
//
36
// This is a variant of the FTFP_BERT physics list, whereby CRMC is used
37
// for modeling final-state pion- , kaon- , proton- , neutron- and
38
// ion-nuclear inelastic interactions at very high energies (above a
39
// threshold defined in HadronPhysicsCRMC_FTFP_BERT and IonCRMCPhysics).
40
// For the remaining inelastic interactions (i.e. hyperon- , antihyperon- ,
41
// antinucleon- and light anti-ion-nuclear interactions, as well as
42
// for all elastic final-state interactions, and for all elastic and
43
// inelastic hadronic cross sections, the usual Geant4 approach, as in
44
// FTFP_BERT is used.
45
//
46
// Modified:
47
//
48
//----------------------------------------------------------------------------
49
//
50
#ifndef TCRMC_FTFP_BERT_h
51
#define TCRMC_FTFP_BERT_h 1
52
53
#include "
G4VModularPhysicsList.hh
"
54
#include "
globals.hh
"
55
#include "
CompileTimeConstraints.hh
"
56
57
58
template
<
class
T>
59
class
TCRMC_FTFP_BERT
:
public
T
{
60
public
:
61
TCRMC_FTFP_BERT
(
G4int
ver = 1 );
62
virtual
~TCRMC_FTFP_BERT
();
63
virtual
void
SetCuts
();
64
private
:
65
enum
{
ok
=
CompileTimeConstraints::IsA< T, G4VModularPhysicsList >::ok
};
66
};
67
68
69
#ifdef G4_USE_CRMC
70
#include "CRMC_FTFP_BERT.icc"
71
#else
72
template
<
class
T>
73
TCRMC_FTFP_BERT<T>::TCRMC_FTFP_BERT
(
G4int
) :
T
() {
74
G4ExceptionDescription
de;
75
de <<
"Support for CRMC_FTFP_BERT not enabled"
<<
G4endl
;
76
G4Exception
( __FILE__,
"CRMC_FTFP_BERT-01"
,
FatalException
, de,
77
"Code should be compiled with G4_USE_CRMC environment variable set."
);
78
}
79
80
template
<
class
T>
81
TCRMC_FTFP_BERT<T>::~TCRMC_FTFP_BERT
() { }
82
template
<
class
T>
83
void
TCRMC_FTFP_BERT<T>::SetCuts
() {}
84
#endif
85
86
87
typedef
TCRMC_FTFP_BERT< G4VModularPhysicsList >
CRMC_FTFP_BERT
;
88
89
#endif //TCRMC_FTFP_BERT_h
90
geant4
tree
geant4-10.6-release
examples
extended
hadronic
Hadr02
include
CRMC_FTFP_BERT.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:06
using
1.8.2 with
ECCE GitHub integration