Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

Location:
trunk/examples/extended/polarisation/Pol01/src
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/polarisation/Pol01/src/DetectorConstruction.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.cc,v 1.2 2006/10/02 16:25:55 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/DetectorMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.cc,v 1.2 2006/10/02 16:25:55 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: EventAction.cc,v 1.3 2010/06/07 05:40:46 perl Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3535
    3636#include "G4Event.hh"
    37 #include "G4TrajectoryContainer.hh"
    38 #include "G4Trajectory.hh"
    39 #include "G4VVisManager.hh"
    4037#include "G4UnitsTable.hh"
    4138#include "RunAction.hh"
     
    6865//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    6966
    70 void EventAction::EndOfEventAction(const G4Event* evt)
     67void EventAction::EndOfEventAction(const G4Event*)
    7168{
    7269  if (runAction) runAction->EventFinished();
    73 
    74   if (G4VVisManager::GetConcreteInstance())
    75   {
    76     G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    77     G4int n_trajectories = 0;
    78     if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    79     for (G4int i=0; i<n_trajectories; i++) {
    80        G4Trajectory* trj = (G4Trajectory*)
    81                                        ((*(evt->GetTrajectoryContainer()))[i]);
    82        trj->DrawTrajectory(1000);
    83     }
    84   }
    8570}
    8671
  • trunk/examples/extended/polarisation/Pol01/src/EventActionMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/HistoManager.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.cc,v 1.3 2006/11/17 11:44:46 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/HistoMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/PhysListEmPolarized.cc

    r1230 r1337  
    2525//
    2626//
    27 // $Id: PhysListEmPolarized.cc,v 1.2 2007/11/01 17:34:53 schaelic Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: PhysListEmPolarized.cc,v 1.3 2009/11/21 16:27:40 vnivanch Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3939#include "G4PhotoElectricEffect.hh"
    4040
    41 #include "G4MultipleScattering.hh"
     41#include "G4eMultipleScattering.hh"
    4242
    4343#include "G4eIonisation.hh"
     
    8383      else if (particleName == "e-") {
    8484        //electron
    85         pmanager->AddProcess(new G4MultipleScattering,   -1,1,1);
    86         pmanager->AddProcess(new G4ePolarizedIonisation, -1,2,2);
     85        pmanager->AddProcess(new G4eMultipleScattering,   -1,1,1);
     86        pmanager->AddProcess(new G4ePolarizedIonisation,  -1,2,2);
    8787        pmanager->AddProcess(new G4ePolarizedBremsstrahlung,      -1,3,3);
    8888      }       
    8989      else if (particleName == "e+") {
    9090        //positron
    91         pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
     91        pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1);
    9292        pmanager->AddProcess(new G4ePolarizedIonisation, -1, 2,2);
    9393        pmanager->AddProcess(new G4ePolarizedBremsstrahlung,    -1, 3,3);
     
    105105      } else if (particleName == "e-") {
    106106        //electron
    107         pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
     107        pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1);
    108108        pmanager->AddProcess(new G4eIonisation,        -1, 2,2);
    109109        pmanager->AddProcess(new G4eBremsstrahlung,    -1, 3,3);
     
    111111      } else if (particleName == "e+") {
    112112        //positron
    113         pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
     113        pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1);
    114114        pmanager->AddProcess(new G4eIonisation,        -1, 2,2);
    115115        pmanager->AddProcess(new G4eBremsstrahlung,    -1, 3,3);
  • trunk/examples/extended/polarisation/Pol01/src/PhysListEmStandard.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: PhysListEmStandard.cc,v 1.2 2006/10/02 16:25:55 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: PhysListEmStandard.cc,v 1.3 2009/11/21 16:27:40 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3838#include "G4PhotoElectricEffect.hh"
    3939
    40 #include "G4MultipleScattering.hh"
     40#include "G4eMultipleScattering.hh"
     41#include "G4MuMultipleScattering.hh"
     42#include "G4hMultipleScattering.hh"
    4143
    4244#include "G4eIonisation.hh"
     
    8284    } else if (particleName == "e-") {
    8385      //electron
    84       pmanager->AddProcess(new G4MultipleScattering,   -1, 1, 1);
     86      pmanager->AddProcess(new G4eMultipleScattering,  -1, 1, 1);
    8587      pmanager->AddProcess(new G4eIonisation,          -1, 2, 2);
    8688      pmanager->AddProcess(new G4eBremsstrahlung(),    -1, 3, 3);
     
    8890    } else if (particleName == "e+") {
    8991      //positron
    90       pmanager->AddProcess(new G4MultipleScattering,   -1, 1, 1);
     92      pmanager->AddProcess(new G4eMultipleScattering,  -1, 1, 1);
    9193      pmanager->AddProcess(new G4eIonisation,          -1, 2, 2);
    9294      pmanager->AddProcess(new G4eBremsstrahlung(),    -1, 3, 3);
     
    9698               particleName == "mu-"    ) {
    9799      //muon 
    98       pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
     100      pmanager->AddProcess(new G4MuMultipleScattering, -1, 1,1);
    99101      pmanager->AddProcess(new G4MuIonisation,       -1, 2,2);
    100102      pmanager->AddProcess(new G4MuBremsstrahlung,   -1, 3,3);
     
    104106               particleName == "He3" ||
    105107               particleName == "GenericIon" ) {
    106       pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
    107       pmanager->AddProcess(new G4ionIonisation,      -1, 2,2);
     108      pmanager->AddProcess(new G4hMultipleScattering, -1, 1,1);
     109      pmanager->AddProcess(new G4ionIonisation,        -1, 2,2);
    108110
    109111    } else if ((!particle->IsShortLived()) &&
     
    111113               (particle->GetParticleName() != "chargedgeantino")) {
    112114      //all others charged particles except geantino
    113       pmanager->AddProcess(new G4MultipleScattering, -1,1,1);
    114       pmanager->AddProcess(new G4hIonisation,        -1,2,2);
     115      pmanager->AddProcess(new G4hMultipleScattering, -1,1,1);
     116      pmanager->AddProcess(new G4hIonisation,         -1,2,2);
    115117    }
    116118  }
  • trunk/examples/extended/polarisation/Pol01/src/PhysicsList.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysicsList.cc,v 1.2 2006/10/02 16:25:55 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/PhysicsListMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/PrimaryGeneratorAction.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/RunAction.cc

    r1230 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.3 2006/11/17 11:44:46 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/StepMax.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMax.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/StepMaxMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/polarisation/Pol01/src/SteppingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.cc,v 1.1 2006/10/02 13:48:10 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset for help on using the changeset viewer.