source: trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/include/G4StringChipsParticleLevelInterface.hh @ 1071

Last change on this file since 1071 was 1055, checked in by garnier, 15 years ago

maj sur la beta de geant 4.9.3

File size: 3.9 KB
Line 
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// Short description: Interface of QGSC to CHIPS (all soft hadrons)
26// ----------------------------------------------------------------
27//
28#ifndef G4StringChipsParticleLevelInterface_h
29#define G4StringChipsParticleLevelInterface_h
30
31#include "G4VIntraNuclearTransportModel.hh"
32#include "G4ChiralInvariantPhaseSpace.hh"
33
34// Open this if you wish histogramming of the impact parameter issue
35//#define hdebug_SCPLI
36
37class G4StringChipsParticleLevelInterface : public G4VIntraNuclearTransportModel
38{
39  public:
40    G4StringChipsParticleLevelInterface();
41    virtual G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 
42                                             G4Nucleus& theNucleus);
43
44    virtual G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries,
45                                               G4V3DNucleus* theNucleus); 
46  private:
47 
48    G4ChiralInvariantPhaseSpace theModel;
49    G4double theEnergyLossPerFermi;
50   
51    G4double theInnerCoreDensityCut;
52   
53    G4double fractionOfSingleQuasiFreeNucleons;
54    G4double fractionOfPairedQuasiFreeNucleons;
55    G4double clusteringCoefficient;
56    G4double temperature;
57    G4double halfTheStrangenessOfSee;
58    G4double etaToEtaPrime;
59    G4double fusionToExchange;
60    G4int nop;
61
62#ifdef hdebug_SCPLI
63    //Static variables for histogramming
64    static const G4int nbh;
65    static       G4double bhmax;
66    static       G4double bhdb;
67    static       G4double ehmax;
68    static       G4double ehde;
69    static       G4double toth;
70    static       G4int    bover;
71    static       G4int    eover;
72    static       G4int*   bhis;
73    static       G4int*   ehis;
74  public:
75    //Static functions
76    static void Reset()
77    {
78      bhdb=bhmax/nbh;
79      ehde=bhmax/nbh;
80      toth=0.;
81      bover=0;
82      eover=0;
83      for(G4int i=0; i<nbh; i++)
84      {
85        bhis[i]=0;
86        ehis[i]=0;
87      }
88    }
89    static void SetMaxB(G4double mB) {bhmax=mB;}
90    static void SetMaxE(G4double mE) {ehmax=mE;}
91    static G4int GetB(G4int i){return bhis[i];}
92    static G4int GetE(G4int i){return ehis[i];}
93    static G4double GetTot()  {return toth;}
94    static G4int GetNbn()     {return nbh;}
95    static G4double GetDB()   {return bhdb;}
96    static G4double GetDE()   {return ehde;}
97    static G4int GetBov()     {return bover;}
98    static G4int GetEov()     {return eover;}
99#endif
100};
101#endif
Note: See TracBrowser for help on using the repository browser.