Index of /~dlr/g-2/g2

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]unlink_all_lnx2024-01-30 14:52 1.4K 
[   ]track1_custom_devel.f90_save2022-10-18 13:54 12K 
[DIR]tme/2015-10-19 08:03 -  
[DIR]timetest/2016-05-03 15:49 -  
[   ]testsoftlink2024-10-05 10:20 392  
[DIR]test1/2016-05-03 15:49 -  
[DIR]test/2020-10-22 19:21 -  
[DIR]temp/2018-02-27 08:49 -  
[   ]svn-commit.tmp2017-07-13 15:53 262  
[DIR]spin_energy/2015-02-18 16:22 -  
[   ]softunlink_lnx2020-05-18 12:18 1.1K 
[   ]softlink_uspas2018-12-17 10:00 2.3K 
[   ]softlink_mac2023-01-04 13:03 2.3K 
[   ]softlink_lnx2024-10-17 17:24 3.2K 
[   ]softlink_gm22018-12-17 10:00 2.5K 
[   ]soft_unlink2018-02-26 14:23 704  
[DIR]sample/2016-01-08 15:06 -  
[DIR]qsub_script/2017-02-11 19:02 -  
[DIR]python/2025-05-16 11:17 -  
[DIR]py/2019-05-12 20:00 -  
[DIR]ps/2024-02-26 08:04 -  
[DIR]programs/2026-03-02 21:07 -  
[TXT]programs.html2014-08-23 12:46 19K 
[DIR]production/2026-03-02 21:07 -  
[DIR]presentations/2018-02-14 12:58 -  
[DIR]plotting_scripts/2025-09-29 19:46 -  
[DIR]parse_fort41/2015-11-13 16:30 -  
[DIR]other_tests/2016-01-09 10:53 -  
[DIR]mytest/2024-03-02 19:39 -  
[DIR]magneticfield/2021-10-28 20:46 -  
[DIR]magnet_injection_line/2013-10-08 11:35 -  
[TXT]login_fnal.html2017-06-06 07:46 884  
[DIR]instructions/2025-05-16 11:52 -  
[DIR]injection_line/2014-08-15 14:09 -  
[DIR]hehefields/2017-02-24 15:30 -  
[DIR]hehe_test/2016-07-08 16:28 -  
[DIR]grid/2022-03-06 19:34 -  
[   ]fort.112020-09-24 14:30 23M 
[DIR]finalfocus/2024-07-13 10:13 -  
[DIR]files/2024-08-02 19:32 -  
[DIR]field_maps/2023-01-04 13:02 -  
[DIR]executable/2019-01-29 17:14 -  
[DIR]examples/2022-02-27 17:35 -  
[DIR]ering_example/2018-02-14 12:58 -  
[DIR]ering/2021-10-28 20:46 -  
[DIR]documentation/2025-07-13 19:07 -  
[DIR]decay/2014-09-12 16:13 -  
[DIR]debug/2026-03-02 21:09 -  
[DIR]damping/2016-07-11 15:31 -  
[DIR]code/2026-03-02 21:07 -  
[   ]cmake.tracker_acceptance2023-01-04 13:03 226  
[   ]cmake.tme2023-01-04 13:03 249  
[   ]cmake.test_muon_pulse_shape2023-01-04 13:03 232  
[   ]cmake.test_em_field_calc2023-01-04 13:02 285  
[   ]cmake.test_electrons2023-01-04 13:02 239  
[   ]cmake.test_compute_moments_vs_time2024-01-12 16:53 214  
[   ]cmake.test2023-01-04 12:56 198  
[   ]cmake.spin_energy2023-01-04 13:02 262  
[   ]cmake.spin_check2023-01-04 13:02 178  
[   ]cmake.simple_inj_trajectories2023-01-04 13:03 232  
[   ]cmake.read_vert_width_fit_params2023-01-04 13:02 233  
[   ]cmake.read_quad_grid2022-03-03 16:58 215  
[   ]cmake.read_kicker_grid2023-01-04 13:02 219  
[   ]cmake.read_inf_field_write_grid_element2023-01-04 13:02 253  
[   ]cmake.read2_write42023-01-04 13:02 205  
[   ]cmake.propagate_dphi-dx2023-01-04 13:02 215  
[   ]cmake.pion_decay_muon_polarization2024-10-14 16:10 214  
[   ]cmake.phase_space_to_histogram2023-01-04 13:03 229  
[   ]cmake.parse_fort412023-01-04 13:03 276  
[   ]cmake.naff_spin2023-01-04 13:02 208  
[   ]cmake.modify_kicker_pulse_map2023-01-04 13:03 236  
[   ]cmake.generalized_cylindrical_field2022-03-03 16:58 276  
[   ]cmake.g2tracking_test2024-10-05 09:12 182  
[   ]cmake.g2_tracking_hehe2023-01-04 13:02 309  
[   ]cmake.g2_tracking2024-02-21 11:37 330  
[   ]cmake.fit_p_vs_y2025-02-04 18:45 201  
[   ]cmake.fit_mcmillan2022-03-03 16:58 292  
[   ]cmake.first_turn2022-03-03 16:58 311  
[   ]cmake.finalfocus2022-03-03 16:58 239  
[   ]cmake.fieldmap_test2022-03-03 16:58 273  
[   ]cmake.field_test2022-03-03 16:58 266  
[   ]cmake.field_check2024-11-10 14:41 326  
[   ]cmake.ering2022-03-03 16:58 224  
[   ]cmake.energy_vs_time2023-01-04 12:56 209  
[   ]cmake.energy_time_to_2D_hist2023-01-04 13:02 225  
[   ]cmake.energy_spin_vs_time2023-06-30 12:14 219  
[   ]cmake.create_lattice_config2023-01-04 13:02 223  
[   ]cmake.create_input2023-01-04 13:03 214  
[   ]cmake.create_correlated_distribution2025-03-12 12:21 241  
[   ]cmake.compute_injection_transfer_matrix2022-03-03 16:58 631  
[   ]cmake.compute_correlation2025-03-12 12:20 241  
[   ]cmake.compile_input2023-01-04 13:02 207  
[   ]cmake.compile_domega_vs_time2023-03-08 18:05 226  
[   ]cmake.compile_all_time_dep2023-01-04 13:02 221  
[   ]cmake.compile_all_efield_pitch2023-01-04 13:03 238  
[   ]cmake.compile_Time_Dep2023-01-04 13:02 222  
[   ]cmake.combine_phase_space2024-10-28 12:35 118  
[   ]cmake.combine_kick_and_pulse2023-01-04 13:03 234  
[   ]cmake.combine_Beam_moments_tbt2023-01-04 12:56 229  
[   ]cmake.captured_momenta_v12023-01-04 13:02 208  
[   ]cmake.captured_momenta2023-01-04 13:02 222  
[   ]cmake.capture_single_trajectory2023-01-04 13:03 212  
[   ]cmake.capture2023-01-04 13:02 205  
[   ]cmake.bin_data_from_two_columns2023-11-25 16:19 231  
[   ]cmake.betadots2023-01-04 13:02 197  
[   ]cmake.analyze_ring2022-03-03 16:58 337  
[   ]cmake.analyze_harp_plane_hits2022-03-03 16:58 236  
[   ]cmake.analyze_harp_ct2023-01-04 13:02 220  
[   ]cmake.analyze_harp2023-01-04 13:02 205  
[   ]cmake.analyze_fibers_ibms2023-01-04 13:03 228  
[   ]cmake.analyze_fibers_harp2023-01-04 13:03 219  
[   ]cmake.analyze_calo2022-03-03 16:58 214  
[   ]cmake.analyze_Time_dep2022-03-03 16:58 222  
[DIR]analysis/2016-03-31 11:20 -  
[   ]NoData.dat2020-04-03 12:52 189  
[   ]CMakeLists.txt_save2022-02-08 11:35 1.0K 
[TXT]CMakeLists.txt2025-09-29 17:00 1.4K 

December8, 2022
plotting_scripts/phase_space_to_hist.gnu modified to read bin_average_rms_6,7,8.dat (generated by phase_space_to_histogram.f90 using s.p to get spin angle) and to use 1/sqrt(N)
as error in fit. (Continues to plot using rms as error bar). Add timestamp and label. Also at directory label using /plotting_scripts/directory_label.gnu
- 2D_hist_test.gnu modified to use 1/sqrt(number of points) as error in fit and with directory info
December 7, 2022
Include parameter <nmuon_first> in input file. Passed  to read_phase_space, and read_Dmuons. First nmuon_first muons are skipped. nmuons is the total number read
Download Emerey's 1.6E6 events from doc-db   17800, file = files/muons/EndofM5_Valetov_withInit.dat. commit to repository
 - add name to softlink_lnx
 - modify read_phase_space to read the format (almost the same as the format that bmad writes for phase space files
December 6, 2022
Subroutine bin_spin_angle_by_time(turn, unit, nmuons,muons, dphi_dp_ext, dphi_dp_err_ext) is part of file compute_moments.f90 and is called from
  subroutine compute_moments and alternatively from compute_moments_vs_time.
  In the input file
   bin_width  - time bin width  (20ns)
   pbin_width, & ! if >0 bin spin according to time and momentum. this is the width of the momentum bin  (0.0002)
   time_binning !chacter*100, 'position_slice': binned by time at the end of the lattice( compute_moments_vs_time),'momentum_slice': binned by momentum (through compute_moments)

December 9, 2022
increase array size to 1e6 line 166 energy_vs_time.f90 - if(.not. allocated(muon_alive))allocate(muon_alive(1:1000000)).
Also in same program line 125 change format since integer at end was too big
 write(lun2,'(i10, 1x, 4es16.8,1x,i16)')muon_000(j)%muon_numb, muon_000(j)%pz, muon_000(j)%time, muon_000(j)%x, muon_000(j)%xp, muon_000(j)%ix

Plot with ps/2D_hist_test.gnu - modified to include error on slope and name output by <number>=4,5,or 6

December 13, 2022
Using compute_moments_vs_time, position_time mode, unallocated array in compute_moments_vs_time. Repair
After some debugging - since using it in loop mode need to deallocate and reallocate more carefully. Looks OK 

programs/phase_space_to_histogram.f90 - fix it up so that it can read Eremey style phase space file directly

December 15, 2022
Create a version of 2D_hist_test.gnu -> 2D_hist_test_quad.gnu that fits a quadratic to the phi-x,phi-x', phi-delta arrays

Modify energy_time_to_2D_hist.f90
  Recall this program writes binned data into bin_rms_average_4,5,6.dat
  Add polynomial fit with mrqmin and write coefficients to 2D_hist_input.dat so they are read with 2D_hist_test.gnu
  Modify 2D_hist_test.gnu to read the coefficients and plot the fit function along with the data.

December 16, 2022
Find and fix bug in phase_space_to_histogram.f90 - yconvert flaw. No effect on slopes.