Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4HadronPhysicsFTFP_BERT_ATL.cc
이 파일의 문서화 페이지로 가기
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 //
26 // $Id:$
27 //
28 //---------------------------------------------------------------------------
29 // Author: Alberto Ribon
30 // Date: April 2016
31 //
32 // Hadron physics for the new physics list FTFP_BERT_ATL.
33 // This is a modified version of the FTFP_BERT hadron physics for ATLAS.
34 // The hadron physics of FTFP_BERT_ATL has the transition between Bertini
35 // (BERT) intra-nuclear cascade model and Fritiof (FTF) string model in the
36 // energy region [9, 12] GeV (instead of [4, 5] GeV as in FTFP_BERT).
37 //---------------------------------------------------------------------------
38 //
39 #include <iomanip>
40 
42 
43 #include "G4PiKBuilder.hh"
44 #include "G4FTFPPiKBuilder.hh"
45 #include "G4BertiniPiKBuilder.hh"
46 
47 #include "globals.hh"
48 #include "G4ios.hh"
49 #include "G4SystemOfUnits.hh"
50 
52 //
55  G4HadronPhysicsFTFP_BERT_ATL("hInelastic FTFP_BERT_ATL",false)
56 {}
57 
59  : G4HadronPhysicsFTFP_BERT(name,quasiElastic)
60 {
61  //Change configuration parameters of FTFP_BERT
62  minFTFP_pion = 9.0 * GeV;
63  maxBERT_pion = 12.0 * GeV;
64  minFTFP_kaon = 9.0 * GeV;
65  maxBERT_kaon = 12.0 * GeV;
66  minFTFP_proton = 9.0 * GeV;
67  maxBERT_proton = 12.0 * GeV;
68  minFTFP_neutron = 9.0 * GeV;
69  maxBERT_neutron = 12.0 * GeV;
70  QuasiElastic = false;
71 }
72 
74 {
75  G4cout << " FTFP_BERT_ATL : new threshold between BERT and FTFP"
76  << " is over the interval " << minFTFP_pion/GeV << " to "<< maxBERT_pion/GeV << " GeV." << G4endl;
77 }
78 
80 {
81  auto pik = new G4PiKBuilder;
82  AddBuilder(pik);
83  auto ftfppik = new G4FTFPPiKBuilder(QuasiElastic);
84  AddBuilder(ftfppik);
85  ftfppik->SetMinEnergy(minFTFP_pion);
86  pik->RegisterMe(ftfppik);
87  auto bertpik = new G4BertiniPiKBuilder();
88  AddBuilder(bertpik);
89  bertpik->SetMaxEnergy(maxBERT_pion);
90  pik->RegisterMe(bertpik);
91  pik->Build();
92 }
93 
95  //Use combined with pions
96 }
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
const XML_Char * name
Definition: expat.h:151
#define G4endl
Definition: G4ios.hh:61
bool G4bool
Definition: G4Types.hh:79
void AddBuilder(G4PhysicsBuilderInterface *bld)
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
static constexpr double GeV
Definition: G4SIunits.hh:217