64 #include "HistoManager.hh"
76 G4cout <<
" >>> G4HIJING_Model default constructor" <<
G4endl;
86 SetMinEnergy(4.0*
GeV);
100 InitialiseDataTables();
189 if (AP1>1 ||definitionP==anti_deu ||definitionP==anti_he3
190 ||definitionP==anti_tri ||definitionP==anti_alp)
197 }
else if (
id==2212) {
203 }
else if(
id==-2212){
213 }
else if(
id==-2112){
224 }
else if(
id==-211) {
235 }
else if(
id==-321) {
242 G4cout <<
" Sorry, No definition for PROJECTLE for HIJING::"
246 #if G4VERSION_NUMBER>=950
250 "Sorry, no definition for PROJECTILE for HIJING");
318 Psum.boost(0.0,0.0,-1.0*beta_rel);
374 G4cout <<
"===============Warning====================================="<<
G4endl;
375 G4cout <<
"-----------------------------------------------------------"<<
G4endl;
377 G4cout <<
"------------------------------------------------------------"<<
G4endl;
378 G4cout <<
"============================================================"<<
G4endl;
425 lorenzCM.
boost(0.0,0.0,-1.0*betann);
427 -1.0*lorenzCM.
pz(),lorenzCM.
e());
437 #ifdef G4ANALYSIS_USE //khaled new
455 for (
G4int j=0; j<nSecondaries; j++) {
457 GetParticle()->GetTotalEnergy()/
GeV;
460 GetParticle()->GetMomentum()/
GeV;
463 GetParticle()->GetDefinition();
470 G4cout <<
"----------------------------------------"
471 <<
"----------------------------------------"
473 G4cout <<
"Total energy before collision = " <<TotalEbefore
475 G4cout <<
"Total energy after collision = " <<TotalEafter/nSecondaries
479 G4cout <<
"----------------------------------------"<<
G4endl;
481 G4cout <<
"Total momentum before collision = " <<TotalPbefore
484 G4cout <<
"Total momentum after collision = " <<TotalPafter.
z()/nSecondaries
487 G4cout <<
"----------------------------------------"<<
G4endl;
490 G4cout <<
"Total charge before collision = " <<(ZP+ZT)
492 G4cout <<
"Total charge after collision = " <<charge
495 G4cout <<
"----------------------------------------"<<
G4endl;
497 G4cout <<
"Total baryon number before collision = "<<AP+AT
499 G4cout <<
"Total baryon number after collision = "<<baryon
501 G4cout <<
"----------------------------------------"<<
G4endl;
505 G4cout <<
"----------------------------------------"
506 <<
"----------------------------------------"
526 G4cout <<
" *****************************************************************"
528 G4cout <<
" Interface to G4HIJING_Model activated"
530 G4cout <<
" Version number : 01.00.0B File date : 10/09/2013" <<
G4endl;
531 G4cout <<
" Interface written by Khaled Abdel-Waged "
533 G4cout <<
" Umm Al-Qura University "
538 G4cout <<
" *****************************************************************"
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
struct cchijinghimain1 himain1_
static G4ParticleTable * GetParticleTable()
G4HadSecondary * GetSecondary(size_t i)
struct cchijinghimain2 himain2_
HistoManager * fHistoManager
G4ReactionProductVector * Propagate(G4KineticTrackVector *theSecondaries, G4V3DNucleus *theTarget)
static HistoManager * GetPointer()
G4double GetPDGCharge() const
void InitialiseDataTables()
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
void WelcomeMessage() const
static constexpr double m
void hijing_(float *, float *)
static G4AntiAlpha * AntiAlpha()
G4int GetBaryonNumber() const
G4ErrorTarget * theTarget
std::vector< G4ReactionProduct * > G4ReactionProductVector
virtual ~G4HIJING_Model()
const G4LorentzVector & Get4Momentum() const
G4int GetNumberOfSecondaries() const
struct cchijinghiparnt hiparnt_
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &, G4Nucleus &)
static G4AntiDeuteron * AntiDeuteron()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
const G4ParticleDefinition * GetDefinition() const
G4HIJING_Model(const G4String &name="HIJING")
void g4hijingblockdata_()
static G4AntiHe3 * AntiHe3()
static G4AntiTriton * AntiTriton()
G4HadFinalState theResult
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
CLHEP::HepLorentzVector G4LorentzVector
G4double Eplab(G4double, G4double)
static constexpr double GeV
HepLorentzVector & boost(double, double, double)
void SetStatusChange(G4HadFinalStateStatus aS)