Project

General

Profile

Bug #928

virtual_hits not output

Added by Kyberd, Paul over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Simulation
Target version:
Start date:
06 March 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

Creating a relatively simple geometry for the cosmic tests and putting in a vritual module does not produce the expected output.
Run on a clean install of maus-v0.1.4

As far as I can see from the log file the geometry is picked up OK and the visible part of the geometry is certaily reflected in the output picture.

run with "./simulate_mice.py -configuration_file=datacard > log"

It would be good if someone could look at the files and see if there is any obvious silly which would stop this working


Files

Cosmic.dat (365 Bytes) Cosmic.dat geometry file Kyberd, Paul, 06 March 2012 21:19
datacard (8.42 KB) datacard datacard file Kyberd, Paul, 06 March 2012 21:19
g4_00.wrl (382 KB) g4_00.wrl visualisation file Kyberd, Paul, 06 March 2012 21:19
test_virtual_planes_VirtualPlanesTestDefaults.json (1.46 KB) test_virtual_planes_VirtualPlanesTestDefaults.json Rogers, Chris, 09 March 2012 13:20
#1

Updated by Rogers, Chris over 9 years ago

  • Category set to Simulation
  • Assignee set to Rogers, Chris
  • Target version set to Future MAUS release
#2

Updated by Rogers, Chris over 9 years ago

I added a virtual planes integration test. Not in the trunk yet, but looks like it more or less works. Have a look here:

http://bazaar.launchpad.net/~chris-rogers/maus/devel/files/head:/tests/integration/test_simulation/test_virtual_planes/

The only thing I found, looks like the AllowBackwards option isn't working (still investigating that one). Otherwise though looks like they work fine. I attached a sample output files with virtual planes in it.

#3

Updated by Rogers, Chris over 9 years ago

The only thing I notice in your inputs - the beam starts outside the world volume. Not sure what that does (you start at -5760 mm, world volume is 5 m long so -2.5 to +2,5 m

#4

Updated by Rogers, Chris over 9 years ago

Note that AllowBackwards option was okay, but default was true (not false as in documentation)

#5

Updated by Kyberd, Paul over 9 years ago

Virtual hits are not produced if the beam origin are outside the world volume (but other hits are).
I think you can close this one.

#6

Updated by Rogers, Chris over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Okay, but I raised a new issue #934 on primaries outside world volume

#7

Updated by Rogers, Chris over 9 years ago

  • Status changed from Closed to Rejected
  • % Done changed from 100 to 0

Also available in: Atom PDF