Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

Location:
trunk/source/processes/electromagnetic/highenergy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/highenergy/History

    r1196 r1315  
    1 $Id: History,v 1.34 2009/11/11 17:13:47 vnivanch Exp $
     1$Id: History,v 1.36 2010/06/04 10:23:31 vnivanch Exp $
    22-------------------------------------------------------------------
    33
     
    1717     * Reverse chronological order (last date on top), please *
    1818     ----------------------------------------------------------
     19
     2004 March 10: V.Ivanchenko (emhighenergy-V09-03-01)
     21- G4ICRU73NoDeltaModel - new model derived from G4ICRU73QOModel
     22
     2328 March 10: V.Ivanchenko (emhighenergy-V09-03-00)
     24- G4mplIonisation - fixed IsApplicable method - always "true"
     25                    (CMS report crash in the case when several types
     26                     of monopoles are instantiated)
    1927
    202811 November 09: V.Ivanchenko (emhighenergy-V09-02-03)
  • trunk/source/processes/electromagnetic/highenergy/src/G4hhIonisation.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: G4hhIonisation.cc,v 1.9 2009/02/20 16:38:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4hhIonisation.cc,v 1.10 2010/06/04 10:23:31 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929// -------------------------------------------------------------------
     
    5151#include "G4BraggNoDeltaModel.hh"
    5252#include "G4BetheBlochNoDeltaModel.hh"
     53#include "G4ICRU73NoDeltaModel.hh"
    5354#include "G4UniversalFluctuation.hh"
    5455#include "G4BohrFluctuations.hh"
     
    110111  SetBaseParticle(0);
    111112  SetSecondaryParticle(G4Electron::Electron());
     113  //G4double q = theParticle->GetPDGCharge();
    112114  mass  = theParticle->GetPDGMass();
    113115  ratio = electron_mass_c2/mass;
     
    120122
    121123  if(eth > minKinEnergy) {
    122     G4VEmModel* em = new G4BraggNoDeltaModel();
     124    G4VEmModel* em;
     125    em = new G4BraggNoDeltaModel();
     126    //if(q > 0.0) { em = new G4BraggNoDeltaModel(); }
     127    //else { em = new G4ICRU73NoDeltaModel(); }
    123128    em->SetLowEnergyLimit(minKinEnergy);
    124129    em->SetHighEnergyLimit(eth);
    125130    AddEmModel(nm, em, flucModel);
    126     nm++;
     131    ++nm;
    127132  }
    128133
  • trunk/source/processes/electromagnetic/highenergy/src/G4mplIonisation.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: G4mplIonisation.cc,v 1.8 2009/02/20 16:38:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4mplIonisation.cc,v 1.10 2010/03/28 16:45:38 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929// -------------------------------------------------------------------
     
    7575//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    7676
    77 G4bool G4mplIonisation::IsApplicable(const G4ParticleDefinition& p)
     77G4bool G4mplIonisation::IsApplicable(const G4ParticleDefinition&)
    7878{
    79   return (p.GetParticleName() == "monopole");
     79  return true;
    8080}
    8181
Note: See TracChangeset for help on using the changeset viewer.