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

Last change on this file since 1007 was 819, checked in by garnier, 16 years ago

import all except CVS

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