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/electromagnetic/highenergy/src/G4hhIonisation.cc

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4hhIonisation.cc,v 1.10 2010/06/04 10:23:31 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4hhIonisation.cc,v 1.11 2010/10/26 14:15:40 vnivanch Exp $
     27// GEANT4 tag $Name: emhighenergy-V09-03-02 $
    2828//
    2929// -------------------------------------------------------------------
     
    102102                                                 const G4ParticleDefinition* bpart)
    103103{
    104   if(isInitialised) return;
     104  if(isInitialised) { return; }
    105105
    106106  theParticle = part;
    107   if(bpart) G4cout << "G4hhIonisation::InitialiseEnergyLossProcess WARNING: no "
    108                    << "base particle should be defined for the process "
    109                    << GetProcessName() << G4endl;
    110 
     107  if(bpart) {
     108    G4cout << "G4hhIonisation::InitialiseEnergyLossProcess WARNING: no "
     109           << "base particle should be defined for the process "
     110           << GetProcessName() << G4endl;
     111  }
    111112  SetBaseParticle(0);
    112113  SetSecondaryParticle(G4Electron::Electron());
     
    114115  mass  = theParticle->GetPDGMass();
    115116  ratio = electron_mass_c2/mass;
    116   eth = 2.0*MeV*mass/proton_mass_c2;
     117  G4double eth = 2*MeV*mass/proton_mass_c2;
    117118  flucModel = new G4BohrFluctuations();
    118119
    119120  G4int nm = 1;
    120121
    121   minKinEnergy = MinKinEnergy();
     122  G4double minKinEnergy = MinKinEnergy();
    122123
    123124  if(eth > minKinEnergy) {
Note: See TracChangeset for help on using the changeset viewer.