Ignore:
Timestamp:
Apr 17, 2009, 11:01:04 AM (15 years ago)
Author:
garnier
Message:

fichiers manquants

File:
1 edited

Legend:

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

    r850 r988  
    2424// ********************************************************************
    2525//
    26 // GEANT4 tag $Name: HEAD $
     26// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2727//
    2828//---------------------------------------------------------------------------
     
    5555 
    5656  // anti-Proton
     57  theAntiProtonInelastic = new G4AntiProtonInelasticProcess();
    5758  aProcMan = G4AntiProton::AntiProton()->GetProcessManager();
    5859  theLEAntiProtonModel = new G4LEAntiProtonInelastic();
    5960  theHEAntiProtonModel = new G4HEAntiProtonInelastic();
    6061  theHEAntiProtonModel->SetMaxEnergy(100*TeV);
    61   theAntiProtonInelastic.RegisterMe(theLEAntiProtonModel);
    62   theAntiProtonInelastic.RegisterMe(theHEAntiProtonModel);
    63   aProcMan->AddDiscreteProcess(&theAntiProtonInelastic);
     62  theAntiProtonInelastic->RegisterMe(theLEAntiProtonModel);
     63  theAntiProtonInelastic->RegisterMe(theHEAntiProtonModel);
     64  aProcMan->AddDiscreteProcess(theAntiProtonInelastic);
    6465
    6566  // AntiNeutron
     67  theAntiNeutronInelastic = new G4AntiNeutronInelasticProcess();
    6668  aProcMan = G4AntiNeutron::AntiNeutron()->GetProcessManager();
    6769  theLEAntiNeutronModel = new G4LEAntiNeutronInelastic();
    6870  theHEAntiNeutronModel = new G4HEAntiNeutronInelastic();
    6971  theHEAntiNeutronModel->SetMaxEnergy(100*TeV);
    70   theAntiNeutronInelastic.RegisterMe(theLEAntiNeutronModel);
    71   theAntiNeutronInelastic.RegisterMe(theHEAntiNeutronModel);
    72   aProcMan->AddDiscreteProcess(&theAntiNeutronInelastic);
     72  theAntiNeutronInelastic->RegisterMe(theLEAntiNeutronModel);
     73  theAntiNeutronInelastic->RegisterMe(theHEAntiNeutronModel);
     74  aProcMan->AddDiscreteProcess(theAntiNeutronInelastic);
    7375
    7476  // Lambda
     77  theLambdaInelastic = new G4LambdaInelasticProcess();
    7578  aProcMan = G4Lambda::Lambda()->GetProcessManager();
    7679  theLELambdaModel = new G4LELambdaInelastic();
    7780  theHELambdaModel = new G4HELambdaInelastic();
    7881  theHELambdaModel->SetMaxEnergy(100*TeV);
    79   theLambdaInelastic.RegisterMe(theLELambdaModel);
    80   theLambdaInelastic.RegisterMe(theHELambdaModel);
    81   aProcMan->AddDiscreteProcess(&theLambdaInelastic);
     82  theLambdaInelastic->RegisterMe(theLELambdaModel);
     83  theLambdaInelastic->RegisterMe(theHELambdaModel);
     84  aProcMan->AddDiscreteProcess(theLambdaInelastic);
    8285 
    8386  // AntiLambda
     87  theAntiLambdaInelastic = new G4AntiLambdaInelasticProcess();
    8488  aProcMan = G4AntiLambda::AntiLambda()->GetProcessManager();
    8589  theLEAntiLambdaModel = new G4LEAntiLambdaInelastic();
    8690  theHEAntiLambdaModel = new G4HEAntiLambdaInelastic();
    8791  theHEAntiLambdaModel->SetMaxEnergy(100*TeV);
    88   theAntiLambdaInelastic.RegisterMe(theLEAntiLambdaModel);
    89   theAntiLambdaInelastic.RegisterMe(theHEAntiLambdaModel);
    90   aProcMan->AddDiscreteProcess(&theAntiLambdaInelastic);
     92  theAntiLambdaInelastic->RegisterMe(theLEAntiLambdaModel);
     93  theAntiLambdaInelastic->RegisterMe(theHEAntiLambdaModel);
     94  aProcMan->AddDiscreteProcess(theAntiLambdaInelastic);
    9195   
    9296  // SigmaMinus
     97  theSigmaMinusInelastic = new G4SigmaMinusInelasticProcess();
    9398  aProcMan = G4SigmaMinus::SigmaMinus()->GetProcessManager();
    9499  theLESigmaMinusModel = new G4LESigmaMinusInelastic();
    95100  theHESigmaMinusModel = new G4HESigmaMinusInelastic();
    96101  theHESigmaMinusModel->SetMaxEnergy(100*TeV);
    97   theSigmaMinusInelastic.RegisterMe(theLESigmaMinusModel);
    98   theSigmaMinusInelastic.RegisterMe(theHESigmaMinusModel);
    99   aProcMan->AddDiscreteProcess(&theSigmaMinusInelastic);
     102  theSigmaMinusInelastic->RegisterMe(theLESigmaMinusModel);
     103  theSigmaMinusInelastic->RegisterMe(theHESigmaMinusModel);
     104  aProcMan->AddDiscreteProcess(theSigmaMinusInelastic);
    100105
    101106  // anti-SigmaMinus
     107  theAntiSigmaMinusInelastic = new G4AntiSigmaMinusInelasticProcess();
    102108  aProcMan = G4AntiSigmaMinus::AntiSigmaMinus()->GetProcessManager();
    103109  theLEAntiSigmaMinusModel = new G4LEAntiSigmaMinusInelastic();
    104110  theHEAntiSigmaMinusModel = new G4HEAntiSigmaMinusInelastic();
    105111  theHEAntiSigmaMinusModel->SetMaxEnergy(100*TeV);
    106   theAntiSigmaMinusInelastic.RegisterMe(theLEAntiSigmaMinusModel);
    107   theAntiSigmaMinusInelastic.RegisterMe(theHEAntiSigmaMinusModel);
    108   aProcMan->AddDiscreteProcess(&theAntiSigmaMinusInelastic);
     112  theAntiSigmaMinusInelastic->RegisterMe(theLEAntiSigmaMinusModel);
     113  theAntiSigmaMinusInelastic->RegisterMe(theHEAntiSigmaMinusModel);
     114  aProcMan->AddDiscreteProcess(theAntiSigmaMinusInelastic);
    109115
    110116  // SigmaPlus
     117  theSigmaPlusInelastic = new G4SigmaPlusInelasticProcess();
    111118  aProcMan = G4SigmaPlus::SigmaPlus()->GetProcessManager();
    112119  theLESigmaPlusModel = new G4LESigmaPlusInelastic();
    113120  theHESigmaPlusModel = new G4HESigmaPlusInelastic();
    114121  theHESigmaPlusModel->SetMaxEnergy(100*TeV);
    115   theSigmaPlusInelastic.RegisterMe(theLESigmaPlusModel);
    116   theSigmaPlusInelastic.RegisterMe(theHESigmaPlusModel);
    117   aProcMan->AddDiscreteProcess(&theSigmaPlusInelastic);
     122  theSigmaPlusInelastic->RegisterMe(theLESigmaPlusModel);
     123  theSigmaPlusInelastic->RegisterMe(theHESigmaPlusModel);
     124  aProcMan->AddDiscreteProcess(theSigmaPlusInelastic);
    118125
    119126  // anti-SigmaPlus
     127  theAntiSigmaPlusInelastic = new G4AntiSigmaPlusInelasticProcess();
    120128  aProcMan = G4AntiSigmaPlus::AntiSigmaPlus()->GetProcessManager();
    121129  theLEAntiSigmaPlusModel = new G4LEAntiSigmaPlusInelastic();
    122130  theHEAntiSigmaPlusModel = new G4HEAntiSigmaPlusInelastic();
    123131  theHEAntiSigmaPlusModel->SetMaxEnergy(100*TeV);
    124   theAntiSigmaPlusInelastic.RegisterMe(theLEAntiSigmaPlusModel);
    125   theAntiSigmaPlusInelastic.RegisterMe(theHEAntiSigmaPlusModel);
    126   aProcMan->AddDiscreteProcess(&theAntiSigmaPlusInelastic);
     132  theAntiSigmaPlusInelastic->RegisterMe(theLEAntiSigmaPlusModel);
     133  theAntiSigmaPlusInelastic->RegisterMe(theHEAntiSigmaPlusModel);
     134  aProcMan->AddDiscreteProcess(theAntiSigmaPlusInelastic);
    127135
    128136  // XiMinus
     137  theXiMinusInelastic = new G4XiMinusInelasticProcess();
    129138  aProcMan = G4XiMinus::XiMinus()->GetProcessManager();
    130139  theLEXiMinusModel = new G4LEXiMinusInelastic();
    131140  theHEXiMinusModel = new G4HEXiMinusInelastic();
    132141  theHEXiMinusModel->SetMaxEnergy(100*TeV);
    133   theXiMinusInelastic.RegisterMe(theLEXiMinusModel);
    134   theXiMinusInelastic.RegisterMe(theHEXiMinusModel);
    135   aProcMan->AddDiscreteProcess(&theXiMinusInelastic);
     142  theXiMinusInelastic->RegisterMe(theLEXiMinusModel);
     143  theXiMinusInelastic->RegisterMe(theHEXiMinusModel);
     144  aProcMan->AddDiscreteProcess(theXiMinusInelastic);
    136145
    137146  // anti-XiMinus
     147  theAntiXiMinusInelastic = new G4AntiXiMinusInelasticProcess();
    138148  aProcMan = G4AntiXiMinus::AntiXiMinus()->GetProcessManager();
    139149  theLEAntiXiMinusModel = new G4LEAntiXiMinusInelastic();
    140150  theHEAntiXiMinusModel = new G4HEAntiXiMinusInelastic();
    141151  theHEAntiXiMinusModel->SetMaxEnergy(100*TeV);
    142   theAntiXiMinusInelastic.RegisterMe(theLEAntiXiMinusModel);
    143   theAntiXiMinusInelastic.RegisterMe(theHEAntiXiMinusModel);
    144   aProcMan->AddDiscreteProcess(&theAntiXiMinusInelastic);
     152  theAntiXiMinusInelastic->RegisterMe(theLEAntiXiMinusModel);
     153  theAntiXiMinusInelastic->RegisterMe(theHEAntiXiMinusModel);
     154  aProcMan->AddDiscreteProcess(theAntiXiMinusInelastic);
    145155
    146156  // XiZero
     157  theXiZeroInelastic = new G4XiZeroInelasticProcess();
    147158  aProcMan = G4XiZero::XiZero()->GetProcessManager();
    148159  theLEXiZeroModel = new G4LEXiZeroInelastic();
    149160  theHEXiZeroModel = new G4HEXiZeroInelastic();
    150161  theHEXiZeroModel->SetMaxEnergy(100*TeV);
    151   theXiZeroInelastic.RegisterMe(theLEXiZeroModel);
    152   theXiZeroInelastic.RegisterMe(theHEXiZeroModel);
    153   aProcMan->AddDiscreteProcess(&theXiZeroInelastic);
     162  theXiZeroInelastic->RegisterMe(theLEXiZeroModel);
     163  theXiZeroInelastic->RegisterMe(theHEXiZeroModel);
     164  aProcMan->AddDiscreteProcess(theXiZeroInelastic);
    154165
    155166  // anti-XiZero
     167  theAntiXiZeroInelastic = new G4AntiXiZeroInelasticProcess();
    156168  aProcMan = G4AntiXiZero::AntiXiZero()->GetProcessManager();
    157169  theLEAntiXiZeroModel = new G4LEAntiXiZeroInelastic();
    158170  theHEAntiXiZeroModel = new G4HEAntiXiZeroInelastic();
    159171  theHEAntiXiZeroModel->SetMaxEnergy(100*TeV);
    160   theAntiXiZeroInelastic.RegisterMe(theLEAntiXiZeroModel);
    161   theAntiXiZeroInelastic.RegisterMe(theHEAntiXiZeroModel);
    162   aProcMan->AddDiscreteProcess(&theAntiXiZeroInelastic);
     172  theAntiXiZeroInelastic->RegisterMe(theLEAntiXiZeroModel);
     173  theAntiXiZeroInelastic->RegisterMe(theHEAntiXiZeroModel);
     174  aProcMan->AddDiscreteProcess(theAntiXiZeroInelastic);
    163175
    164176  // OmegaMinus
     177  theOmegaMinusInelastic = new G4OmegaMinusInelasticProcess();
    165178  aProcMan = G4OmegaMinus::OmegaMinus()->GetProcessManager();
    166179  theLEOmegaMinusModel = new G4LEOmegaMinusInelastic();
    167180  theHEOmegaMinusModel = new G4HEOmegaMinusInelastic();
    168181  theHEOmegaMinusModel->SetMaxEnergy(100*TeV);
    169   theOmegaMinusInelastic.RegisterMe(theLEOmegaMinusModel);
    170   theOmegaMinusInelastic.RegisterMe(theHEOmegaMinusModel);
    171   aProcMan->AddDiscreteProcess(&theOmegaMinusInelastic);
     182  theOmegaMinusInelastic->RegisterMe(theLEOmegaMinusModel);
     183  theOmegaMinusInelastic->RegisterMe(theHEOmegaMinusModel);
     184  aProcMan->AddDiscreteProcess(theOmegaMinusInelastic);
    172185
    173186  // anti-OmegaMinus
     187  theAntiOmegaMinusInelastic = new G4AntiOmegaMinusInelasticProcess();
    174188  aProcMan = G4AntiOmegaMinus::AntiOmegaMinus()->GetProcessManager();
    175189  theLEAntiOmegaMinusModel = new G4LEAntiOmegaMinusInelastic();
    176190  theHEAntiOmegaMinusModel = new G4HEAntiOmegaMinusInelastic();
    177191  theHEAntiOmegaMinusModel->SetMaxEnergy(100*TeV);
    178   theAntiOmegaMinusInelastic.RegisterMe(theLEAntiOmegaMinusModel);
    179   theAntiOmegaMinusInelastic.RegisterMe(theHEAntiOmegaMinusModel);
    180   aProcMan->AddDiscreteProcess(&theAntiOmegaMinusInelastic);
     192  theAntiOmegaMinusInelastic->RegisterMe(theLEAntiOmegaMinusModel);
     193  theAntiOmegaMinusInelastic->RegisterMe(theHEAntiOmegaMinusModel);
     194  aProcMan->AddDiscreteProcess(theAntiOmegaMinusInelastic);
    181195}
    182196
Note: See TracChangeset for help on using the changeset viewer.