vtkGeantEvent
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "Math/ContainerBox.h"
|
||||
#include "Math/TriangleMesh.h"
|
||||
#include "Math/Dense.h"
|
||||
#include "Math/Units.h"
|
||||
#include "testing-prototype.h"
|
||||
#include <Geant4/G4Material.hh>
|
||||
#include <Geant4/G4NistManager.hh>
|
||||
@@ -20,9 +21,8 @@ int main() {
|
||||
// Test: Scene with iron cube in air, launch muons, collect events //
|
||||
{
|
||||
// 1. Create world box (air, 30m x 30m x 30m)
|
||||
ContainerBox world_box(Vector3f(30000, 30000, 30000)); // mm
|
||||
Geant::Scene scene;
|
||||
scene.ConstructWorldBox(&world_box, "G4_AIR");
|
||||
scene.ConstructWorldBox(Vector3f(30_m, 30_m, 30_m), "G4_AIR");
|
||||
|
||||
// 2. Create iron cube (1m x 1m x 1m) at center
|
||||
ContainerBox iron_box(Vector3f(1000, 1000, 1000)); // mm
|
||||
|
||||
Reference in New Issue
Block a user