Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-07 08:05:45

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 #ifndef G4HIJING_Model_hh
0027 #define G4HIJING_Model_hh
0028 //
0029 // MODULE:           G4HIJING_Model.hh
0030 //
0031 // Version:          1.B
0032 // Date:      10/90/2013
0033 // Author:    Khaled Abdel-Waged
0034 // Institute: Umm Al-Qura University
0035 // Country:   SAUDI ARABIA
0036 //
0037 // Class Description
0038 //
0039 //
0040 // Class Description - End
0041 //
0042 #include "G4FragmentVector.hh"
0043 #include "G4IntraNucleiCascader.hh"
0044 #include "G4KineticTrackVector.hh"
0045 #include "G4Nucleon.hh"
0046 #include "G4Nucleus.hh"
0047 #include "G4ParticleChange.hh"
0048 #include "G4ReactionProduct.hh"
0049 #include "G4ReactionProductVector.hh"
0050 #include "G4Track.hh"
0051 #include "G4VIntraNuclearTransportModel.hh"
0052 
0053 #include <fstream>
0054 #include <string>
0055 //---------------
0056 
0057 class G4HadFinalState;  // khaled new
0058 class HistoManager;
0059 //-------------------------------------------------------------
0060 
0061 class G4HIJING_Model : public G4VIntraNuclearTransportModel
0062 {
0063   public:
0064     G4HIJING_Model(const G4String& name = "HIJING");
0065 
0066     virtual ~G4HIJING_Model();
0067 
0068     //    G4double GetMinEnergy( const G4Material *aMaterial,
0069     //                             const G4Element *anElement ) const;
0070 
0071     //    G4double GetMaxEnergy( const G4Material *aMaterial,
0072     //                           const G4Element *anElement ) const;
0073 
0074     G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries,
0075                                        G4V3DNucleus* theTarget);
0076 
0077     virtual G4HadFinalState* ApplyYourself(const G4HadProjectile&, G4Nucleus&);
0078 
0079   private:
0080     G4bool operator==(G4HIJING_Model& right) { return (this == &right); }
0081 
0082     G4bool operator!=(G4HIJING_Model& right) { return (this != &right); }
0083 
0084     // -------------initialize HIJING ------------------------
0085     float efrm;  // CM energy per nucleon (GeV/A)
0086     float bmin;  // impact parameter
0087     float bmax;
0088     G4int Nproduce;  // Number of produced particles
0089     //-------------------------------------------------------
0090 
0091     G4int verbose;  // print options
0092 
0093     //
0094 
0095     void InitialiseDataTables();
0096     G4double Eplab(G4double, G4double);
0097 
0098     G4int CurrentEvent;
0099 
0100     //  void ConvertToFortran(char*, const char*);
0101 
0102   private:
0103     void WelcomeMessage() const;
0104     // -------------------------------------------
0105     G4HadFinalState theResult;  // khaled new
0106     HistoManager* fHistoManager;
0107     //-------------------------------------------
0108 };
0109 
0110 #endif