Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (17 years ago)
Author:
garnier
Message:

update processes

Location:
trunk/source/processes/hadronic/models/qmd/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDCollision.hh

    r819 r962  
    3434//      Creation date: 9 April 2007
    3535// -----------------------------------------------------------------------------
     36//
     37// 081120 Add deltaT in signature of CalKinematicsOfBinaryCollisions
    3638
    3739#ifndef G4QMDCollision_hh
     
    4951      ~G4QMDCollision();
    5052
    51       void CalKinematicsOfBinaryCollisions();
     53      void CalKinematicsOfBinaryCollisions( G4double );
    5254      G4bool CalFinalStateOfTheBinaryCollision( G4int , G4int );
    5355      G4bool CalFinalStateOfTheBinaryCollisionJQMD( G4double , G4double , G4ThreeVector , G4double , G4double , G4ThreeVector , G4double , G4int , G4int );
     
    5557
    5658      void SetMeanField ( G4QMDMeanField* meanfield ){ theMeanField = meanfield; theSystem = meanfield->GetSystem(); }
    57 
    5859
    5960   private:
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDMeanField.hh

    r819 r962  
    3434//      Creation date: 29 March 2007
    3535// -----------------------------------------------------------------------------
     36// 081120 Add Update
    3637
    3738#ifndef G4QMDMeanField_hh
     
    7475      std::vector< G4double > GetDepthOfPotential(); 
    7576
     77      void Update();
     78
    7679   private:
    7780      G4double calPauliBlockingFactor( G4int );
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDParticipant.hh

    r819 r962  
    3434//      Creation date: 29 March 2007
    3535// -----------------------------------------------------------------------------
     36//
     37// 081120 Add hit flag and related methods
    3638
    3739#ifndef G4QMDParticipant_hh
     
    7072
    7173      void UnsetInitialMark() { projectile = false; target = false; }
     74      void UnsetHitMark() { hit = false; }
     75      G4bool IsThisHit() { return hit; }
     76      void SetHitMark() { hit = true; }
     77
    7278      void SetProjectile() { projectile = true; }
    7379      void SetTarget() { target = true; }
     
    8288      G4bool projectile;
    8389      G4bool target;
     90      G4bool hit;
    8491};
    8592
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDReaction.hh

    r819 r962  
    3434//      Creation date: 02 April 2007
    3535// -----------------------------------------------------------------------------
     36//
     37// 081107 Add UnUseGEM (then use the default channel of G4Evaporation)
     38//            UseFrag (chage criterion of a inelastic reaction)
     39//
    3640
    3741#ifndef G4QMDReaction_hh
     
    6367      G4HadFinalState *ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus & targetNucleus );
    6468
     69      void UnUseGEM(){ gem = false; setEvaporationCh(); };
     70      void UseFRAG(){ frag = true; };
     71
    6572   private:
    66       void setInitialCondition( G4QMDSystem* , G4QMDSystem* );
     73
     74      void setEvaporationCh();
    6775
    6876      G4QMDMeanField* meanField;
     
    7078      G4QMDCollision* collision;
    7179
    72       void doPropagation();
    7380      void doCollision();
    7481      std::vector< G4QMDSystem* > doClusterJudgment();
     
    8087      G4Evaporation* evaporation;
    8188      G4ExcitationHandler* excitationHandler;
     89
    8290//      G4VPreCompoundModel* preco;
    8391
     
    102110      G4IonsShenCrossSection genspaXS;
    103111
     112      G4bool gem;
     113      G4bool frag;
     114
    104115};
    105116
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDSystem.hh

    r819 r962  
    3434//      Creation date: 29 March 2007
    3535// -----------------------------------------------------------------------------
     36//
     37// 080602 Fix memory leaks by T. Koi
     38// 081120 Add EraseParticipant and InsertParticipant Methods by T. Koi
    3639
    3740#ifndef G4QMDSystem_hh
     
    5154      void SubtractSystem ( G4QMDSystem* );
    5255
    53       void DeleteParticipant( G4int i ) { participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ); };
     56      G4QMDParticipant* EraseParticipant( G4int i ) { G4QMDParticipant* particle =  participants[ i ]; participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ) ; return particle; };
     57      void DeleteParticipant( G4int i ) { delete participants[ i ] ; participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ); };
     58      void InsertParticipant( G4QMDParticipant* particle , G4int j );
    5459
    5560      G4int GetTotalNumberOfParticipant() { return participants.size(); };
Note: See TracChangeset for help on using the changeset viewer.