Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -55,9 +55,7 @@ target_link_libraries(exampleB2bTBB ${Geant4_LIBRARIES} ${TBB_LIBRARIES})
|
||||
set(EXAMPLEB2B_SCRIPTS
|
||||
exampleB2b.out
|
||||
exampleB2.in
|
||||
icons.mac
|
||||
gui.mac
|
||||
run.png
|
||||
init.mac
|
||||
init_vis.mac
|
||||
tbb.mac
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
# It has no effect with G4UIterminal.
|
||||
#
|
||||
#
|
||||
# Add icons of general interest
|
||||
#
|
||||
/control/execute icons.mac
|
||||
#
|
||||
# File menu :
|
||||
/gui/addMenu file File
|
||||
/gui/addButton file Quit exit
|
||||
@@ -43,6 +39,3 @@
|
||||
/gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
|
||||
/gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
|
||||
/gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
|
||||
#
|
||||
# User defined icon :
|
||||
/gui/addIcon "Run beam on" user_icon "/run/beamOn 1" run.png
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "G4PVPlacement.hh"
|
||||
#include "G4PVParameterised.hh"
|
||||
#include "G4GlobalMagFieldMessenger.hh"
|
||||
#include "G4SDManager.hh"
|
||||
|
||||
#include "G4GeometryTolerance.hh"
|
||||
#include "G4GeometryManager.hh"
|
||||
@@ -284,6 +285,7 @@ void B2bDetectorConstruction::ConstructSDandField()
|
||||
G4String trackerChamberSDname = "B2/TrackerChamberSD";
|
||||
B2TrackerSD* aTrackerSD = new B2TrackerSD(trackerChamberSDname,
|
||||
"TrackerHitsCollection");
|
||||
G4SDManager::GetSDMpointer()->AddNewDetector(aTrackerSD);
|
||||
SetSensitiveDetector( fLogicChamber, aTrackerSD );
|
||||
|
||||
// Create global magnetic field messenger.
|
||||
|
||||
@@ -15,6 +15,12 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
19th Nov 2016 A. Dotti (tbbex-V10-02-03)
|
||||
- Explict set of SD to manager
|
||||
|
||||
2nd Nov 2016 L. Garnier (tbbex-V10-02-02)
|
||||
- Remove icons.mac. Automatically include since interfaces-V10-02-07
|
||||
|
||||
23rd Fev 2016 A. Dotti (tbbex-V10-02-01)
|
||||
- Removing example "granular" that is not yet ready. Use
|
||||
previous tag to develop it.
|
||||
|
||||
Reference in New Issue
Block a user