Ignore:
Timestamp:
Nov 27, 2009, 11:46:04 AM (15 years ago)
Author:
garnier
Message:

update CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/physics_lists/builders/src/G4FTFCPiKBuilder.cc

    r825 r1203  
    2424// ********************************************************************
    2525//
     26// $Id: G4FTFCPiKBuilder.cc,v 1.3 2009/03/31 18:38:34 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-cand-03 $
     28//
     29//---------------------------------------------------------------------------
     30//
     31// ClassName:   G4FTFCPiKBuilder
     32//
     33// Author: 2002 J.P. Wellisch
     34//
     35// Modified:
     36// 30.03.2009 V.Ivanchenko create cross section by new
     37//
     38//----------------------------------------------------------------------------
     39//
    2640#include "G4FTFCPiKBuilder.hh"
    2741#include "G4ParticleDefinition.hh"
     
    3246G4FTFCPiKBuilder(G4bool quasiElastic)
    3347{
     48  thePiData = new G4PiNuclearCrossSection;
    3449  theMin = 4*GeV;
    3550  theModel = new G4TheoFSGenerator;
     
    4964  } else
    5065  {  theQuasiElastic=0;} 
     66
     67  theModel->SetMinEnergy(theMin);
     68  theModel->SetMaxEnergy(100*TeV);
    5169}
    5270
     
    6684Build(G4PionPlusInelasticProcess * aP)
    6785{
    68   aP->AddDataSet(&thePiData);
     86  aP->AddDataSet(thePiData);
    6987  theModel->SetMinEnergy(theMin);
    70   theModel->SetMaxEnergy(100*TeV);
    7188  aP->RegisterMe(theModel);
    7289}
     
    7592Build(G4PionMinusInelasticProcess * aP)
    7693{
    77   aP->AddDataSet(&thePiData);
     94  aP->AddDataSet(thePiData);
    7895  theModel->SetMinEnergy(theMin);
    79   theModel->SetMaxEnergy(100*TeV);
    8096  aP->RegisterMe(theModel);
    8197}
     
    85101{
    86102  theModel->SetMinEnergy(theMin);
    87   theModel->SetMaxEnergy(100*TeV);
    88103  aP->RegisterMe(theModel);
    89104}
     
    93108{
    94109  theModel->SetMinEnergy(theMin);
    95   theModel->SetMaxEnergy(100*TeV);
    96110  aP->RegisterMe(theModel);
    97111}
     
    101115{
    102116  theModel->SetMinEnergy(theMin);
    103   theModel->SetMaxEnergy(100*TeV);
    104117  aP->RegisterMe(theModel);
    105118}
     
    109122{
    110123  theModel->SetMinEnergy(theMin);
    111   theModel->SetMaxEnergy(100*TeV);
    112124  aP->RegisterMe(theModel);
    113125}
Note: See TracChangeset for help on using the changeset viewer.