Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/binary_cascade/include/G4GeneratorPrecompoundInterface.hh

    r1196 r1340  
    2424// ********************************************************************
    2525//
    26 
    27 #ifndef G4GeneratorPrecompoundInterface_h
    28 #define G4GeneratorPrecompoundInterface_h 1
    29 
    30 #include "G4Fancy3DNucleus.hh"
    31 #include "G4Nucleon.hh"
    32 #include "G4Nucleus.hh"
    33 #include "G4VIntraNuclearTransportModel.hh"
    34 #include "G4KineticTrackVector.hh"
    35 #include "G4FragmentVector.hh"
    36 #include "G4ReactionProductVector.hh"
    37 #include "G4ReactionProduct.hh"
    38 
     26//
     27// $Id: G4GeneratorPrecompoundInterface.hh,v 1.6 2010/08/31 16:16:51 vnivanch Exp $
     28// GEANT4 tag $Name: had-binary-V09-03-03 $
     29//
     30// -----------------------------------------------------------------------------
     31//      GEANT 4 class header file
     32//
     33//      History: first implementation
     34//      HPW, 10DEC 98, the decay part originally written by Gunter Folger
     35//                in his FTF-test-program.
     36//
     37//
     38// -----------------------------------------------------------------------------
     39//
    3940// Class Description
    4041// Trivial implementation of an intra-nuclear transport. It pworvides coupling
     
    4344// Class Description - End
    4445
     46#ifndef G4GeneratorPrecompoundInterface_h
     47#define G4GeneratorPrecompoundInterface_h 1
     48
     49#include "G4VIntraNuclearTransportModel.hh"
     50#include "G4ReactionProductVector.hh"
     51#include "G4HadProjectile.hh"
     52#include "G4Nucleus.hh"
     53#include "globals.hh"
     54
     55class G4KineticTrackVector;
     56class G4V3DNucleus;
     57class G4ParticleDefinition;
     58
    4559class G4GeneratorPrecompoundInterface : public G4VIntraNuclearTransportModel
    4660{
    4761public:
    48    G4GeneratorPrecompoundInterface();   
    49    ~G4GeneratorPrecompoundInterface(){}
     62
     63  G4GeneratorPrecompoundInterface(G4VPreCompoundModel* p = 0);   
     64  virtual ~G4GeneratorPrecompoundInterface();
     65
     66  virtual G4HadFinalState*
     67  ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
     68
     69  virtual G4ReactionProductVector*
     70  Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
     71 
     72  inline void SetCaptureThreshold(G4double);
    5073
    5174private:
    52    G4int operator==(G4GeneratorPrecompoundInterface& right) {return (this == &right);}
    53    G4int operator!=(G4GeneratorPrecompoundInterface& right) {return (this != &right);}
    54      
    55 public:
    56    G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
    57    G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
    58    G4double SetCaptureThreshold(G4double);
    5975
    60 private:
    61    G4double CaptureThreshold;   
     76  G4GeneratorPrecompoundInterface(const G4GeneratorPrecompoundInterface& right);
     77  const G4GeneratorPrecompoundInterface& operator=(const G4GeneratorPrecompoundInterface &right);
     78  G4int operator==(G4GeneratorPrecompoundInterface& right) {return (this == &right);}
     79  G4int operator!=(G4GeneratorPrecompoundInterface& right) {return (this != &right);}
     80
     81  G4double CaptureThreshold;
     82  const G4ParticleDefinition* proton;
     83  const G4ParticleDefinition* neutron;
    6284};
     85
     86inline
     87void G4GeneratorPrecompoundInterface::SetCaptureThreshold(G4double value)
     88{
     89  CaptureThreshold=value;
     90}
    6391
    6492#endif // G4GeneratorPrecompoundInterface_h
Note: See TracChangeset for help on using the changeset viewer.