Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct typo in add_to_z #630

Merged
merged 5 commits into from
Oct 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions pax/config/SimulationMCInput.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ parent_configuration = "Simulation"

input = 'WaveformSimulator.WaveformSimulatorFromMC'

[WaveformSimulator.WaveformSimulatorFromMC]
add_to_z = - 0 * cm
# In the old MC coordinate system, the gate was at +469 mm. Modern MC files now use the common system with z_gate = 0:
# xenon:xenon1t:analysis:coordinate_system#monte_carlo_coordinate_system
# Uncomment the lines below to analyze old files:
# [WaveformSimulator.WaveformSimulatorFromMC]
# add_to_z = - 46.9 * cm
4 changes: 2 additions & 2 deletions pax/config/XENON100.ini
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ input_name = 'dummy_waveforms.csv'
[WaveformSimulator.WaveformSimulatorFromMC]
input_name = 'Neutron-4FaX-10k.root'
# Alex Kish's code coordinate system: Z = -21.5mm halfway between gate and anode (decreasing downwards as usual)
# We want z=0 at the gate, so we must add (21.5 + 0.25) mm
add_to_z = (2.15 + 0.25) * cm
# We want z=0 at the gate, so we must add (21.5 + 2.5) mm = 2.4 cm
add_to_z = 2.4 * cm

# XENON100 ZLE emulation settings
[ZLE]
Expand Down
7 changes: 0 additions & 7 deletions pax/config/XENON1T.ini
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,6 @@ allow_pulse_completely_outside = True # If True, and truncation is True, will
input_name = 'dummy_waveforms_1t.csv'


[WaveformSimulator.WaveformSimulatorFromMC]
# Old coordinate system: gate is at Z=+469 mm
# xenon:xenon1t:analysis:coordinate_system#monte_carlo_coordinate_system
# This will be commented out when the next Monte Carlo code is released, activate it to analyze old files
add_to_z = - 46.9 * cm


# XENON1T self-trigger emulation settings (plugin is called ZLE for historical reasons)
# NB: this does not include emulation of the dynamic baselining in the firmware!
[ZLE]
Expand Down