105 lines
3.7 KiB
C++
105 lines
3.7 KiB
C++
//
|
|
// ********************************************************************
|
|
// * License and Disclaimer *
|
|
// * *
|
|
// * The Geant4 software is copyright of the Copyright Holders of *
|
|
// * the Geant4 Collaboration. It is provided under the terms and *
|
|
// * conditions of the Geant4 Software License, included in the file *
|
|
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
|
// * include a list of copyright holders. *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. Please see the license in the file LICENSE and URL above *
|
|
// * for the full disclaimer and the limitation of liability. *
|
|
// * *
|
|
// * This code implementation is the result of the scientific and *
|
|
// * technical work of the GEANT4 collaboration. *
|
|
// * By using, copying, modifying or distributing the software (or *
|
|
// * any work based on the software) you agree to acknowledge its *
|
|
// * use in resulting scientific publications, and indicate your *
|
|
// * acceptance of all terms of the Geant4 Software license. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: G4FTFModel.hh,v 1.5 2007/04/24 10:32:59 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-09-00 $
|
|
//
|
|
// Class Description
|
|
// Final state production code for hadron inelastic scattering above 20 GeV
|
|
// based on the modeling ansatz used in FRITIOF.
|
|
// To be used in your physics list in case you need this physics.
|
|
// In this case you want to register an object of this class with an object
|
|
// of G4TheoFSGenerator.
|
|
// Class Description - End
|
|
|
|
#ifndef G4FTFModel_h
|
|
#define G4FTFModel_h 1
|
|
|
|
// ------------------------------------------------------------
|
|
// GEANT 4 class header file
|
|
//
|
|
// ---------------- G4FTFModel ----------------
|
|
// by Gunter Folger, May 1998.
|
|
// class implementing the excitation in the FTF Parton String Model
|
|
// ------------------------------------------------------------
|
|
|
|
|
|
#include "G4VPartonStringModel.hh"
|
|
|
|
class G4VSplitableHadron;
|
|
class G4ExcitedString;
|
|
#include "G4FTFParticipants.hh"
|
|
|
|
#include "G4ExcitedStringVector.hh"
|
|
#include "G4DiffractiveExcitation.hh"
|
|
|
|
|
|
class G4FTFModel : public G4VPartonStringModel
|
|
{
|
|
|
|
public:
|
|
G4FTFModel(); // Uzhi
|
|
G4FTFModel(G4double , G4double , G4double ); // Uzhi
|
|
G4FTFModel(G4DiffractiveExcitation * anExcitation);
|
|
G4FTFModel(const G4FTFModel &right);
|
|
~G4FTFModel();
|
|
const G4FTFModel & operator=(const G4FTFModel &right);
|
|
|
|
int operator==(const G4FTFModel &right) const;
|
|
int operator!=(const G4FTFModel &right) const;
|
|
|
|
void Init(const G4Nucleus & aNucleus, const G4DynamicParticle & aProjectile);
|
|
G4ExcitedStringVector * GetStrings();
|
|
G4V3DNucleus * GetWoundedNucleus() const;
|
|
|
|
|
|
protected:
|
|
|
|
private:
|
|
G4bool ExciteParticipants();
|
|
G4ExcitedStringVector * BuildStrings();
|
|
|
|
private:
|
|
|
|
G4FTFParticipants theParticipants;
|
|
G4ReactionProduct theProjectile;
|
|
|
|
G4DiffractiveExcitation * theExcitation;
|
|
|
|
|
|
|
|
};
|
|
|
|
inline
|
|
G4V3DNucleus * G4FTFModel::GetWoundedNucleus() const
|
|
{
|
|
return theParticipants.GetWoundedNucleus();
|
|
}
|
|
|
|
#endif
|
|
|
|
|