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/standard/src/G4PAIPhotonModel.cc

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4PAIPhotonModel.cc,v 1.24 2010/06/03 07:28:39 grichine Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4PAIPhotonModel.cc,v 1.25 2010/10/26 09:16:50 vnivanch Exp $
     27// GEANT4 tag $Name: emstand-V09-03-24 $
    2828//
    2929// -------------------------------------------------------------------
     
    8383  fTaulim(8.4146e-3)
    8484{
    85   if(p) SetParticle(p);
    86 
    8785  fVerbose  = 0;
    8886  fElectron = G4Electron::Electron();
     
    9088
    9189  fProtonEnergyVector = new G4PhysicsLogVector(fLowestKineticEnergy,
    92                                                            fHighestKineticEnergy,
    93                                                            fTotBin);
     90                                               fHighestKineticEnergy,
     91                                               fTotBin);
    9492  fPAItransferTable     = 0;
    9593  fPAIphotonTable       = 0;
     
    104102  fdNdxCutPhotonVector  = 0;
    105103  fdNdxCutPlasmonVector = 0;
     104
     105  fSandiaIntervalNumber = 0;
     106  fMatIndex = 0;
     107
     108  if(p) { SetParticle(p); }
     109  else  { SetParticle(fElectron); }
    106110
    107111  isInitialised      = false;
     
    161165                                   const G4DataVector&)
    162166{
    163   G4cout<<"G4PAIPhotonModel::Initialise for "<<p->GetParticleName()<<G4endl;
    164   if(isInitialised) return;
     167  //  G4cout<<"G4PAIPhotonModel::Initialise for "<<p->GetParticleName()<<G4endl;
     168  if(isInitialised) { return; }
    165169  isInitialised = true;
    166170
     
    229233{
    230234  G4int i, j, numberOfElements ;
    231   static const G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable();
     235  const G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable();
    232236
    233237  G4SandiaTable thisMaterialSandiaTable(fMatIndex) ;
     
    264268    }
    265269  }
    266   // delete[] thisMaterialZ ;
     270  delete[] thisMaterialZ ;
    267271}
    268272
Note: See TracChangeset for help on using the changeset viewer.