Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 97671 2016-06-07 08:25:00Z gcosmo $
|
||||
$Id: History 101677 2016-11-21 09:26:55Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,9 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
Nov 19, 2016 A. Dotti (exampleRE01-V10-02-02)
|
||||
- Explicitly add SD to manager
|
||||
|
||||
Jun 06, 2016 M. Asai (exampleRE01-V10-02-01)
|
||||
- Add protection against a track sticks on the calorimeter inner
|
||||
boundary.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -38,12 +38,15 @@
|
||||
#include "RE01TrackingAction.hh"
|
||||
#include "RE01SteppingAction.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
RE01ActionInitialization::RE01ActionInitialization()
|
||||
{;}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
RE01ActionInitialization::~RE01ActionInitialization()
|
||||
{;}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
void RE01ActionInitialization::Build() const
|
||||
{
|
||||
//
|
||||
@@ -61,6 +64,7 @@ void RE01ActionInitialization::Build() const
|
||||
SetUserAction(new RE01SteppingAction);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
void RE01ActionInitialization::BuildForMaster() const
|
||||
{
|
||||
//
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file runAndEvent/RE01/src/RE01CalorimeterROGeometry.cc
|
||||
/// \brief Implementation of the RE01CalorimeterROGeometry class
|
||||
//
|
||||
// $Id: RE01CalorimeterROGeometry.cc 97383 2016-06-02 09:56:35Z gcosmo $
|
||||
// $Id: RE01CalorimeterROGeometry.cc 101677 2016-11-21 09:26:55Z gcosmo $
|
||||
//
|
||||
|
||||
#include "RE01CalorimeterROGeometry.hh"
|
||||
@@ -110,6 +110,7 @@ void RE01CalorimeterROGeometry::ConstructSD()
|
||||
//------------------------------------------------------------------
|
||||
G4String calorimeterSDname = "/mydet/calorimeter";
|
||||
RE01CalorimeterSD * calorimeterSD = new RE01CalorimeterSD(calorimeterSDname);
|
||||
G4SDManager::GetSDMpointer()->AddNewDetector(calorimeterSD);
|
||||
SetSensitiveDetector("caloROcellLogical", calorimeterSD);
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file runAndEvent/RE01/src/RE01DetectorConstruction.cc
|
||||
/// \brief Implementation of the RE01DetectorConstruction class
|
||||
//
|
||||
// $Id: RE01DetectorConstruction.cc 97383 2016-06-02 09:56:35Z gcosmo $
|
||||
// $Id: RE01DetectorConstruction.cc 101677 2016-11-21 09:26:55Z gcosmo $
|
||||
//
|
||||
|
||||
#include "RE01DetectorConstruction.hh"
|
||||
@@ -211,6 +211,7 @@ void RE01DetectorConstruction::ConstructSDandField()
|
||||
|
||||
G4String trackerSDname = "/mydet/tracker";
|
||||
RE01TrackerSD * trackerSD = new RE01TrackerSD(trackerSDname);
|
||||
G4SDManager::GetSDMpointer()->AddNewDetector(trackerSD);
|
||||
SetSensitiveDetector(fTrackerLayer_log, trackerSD);
|
||||
|
||||
// N.B. Calorimeter SD is defined in the parallel world.
|
||||
|
||||
Reference in New Issue
Block a user