Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -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