file: programs/primsim/.cvsignore revision 1.1 date: 2003/01/14 15:20:25; author: marki; state: Exp; Ignore bin directory. --------------------------------- file: programs/primsim/INSTALL revision 1.2 date: 2002/11/15 15:34:09; author: davidl; state: Exp; lines: +1 -1 I'm committing a bunch of changes here. This represents a major change to the way generators work. All generators will now be implemented as plug-ins. The only generator currently defined is the example "dave" generator. Others will be ported shortly. Also, the use of extern "C" {} has been scaled back quite a bit. Previously, most of psim.h was inside a C block and many of the C++ files placed the #include inside of a C block as well. Another significant change is that there were problems linking the gukine and guout routines. For some reason, the ones inside of libgeant.a were being linked instead. This was worked around in a funny way by declaring static strings inside of the gukine and guout objects which were then referenced *before* any calls to routines in libgeant. There may be other default versions in libgeant that are being used now and just not yet noticed. --------------------------------- file: programs/primsim/Make.package revision 1.3 date: 2002/01/17 21:56:13; author: davidl; state: Exp; lines: +18 -6 many, many changes in booking to accomodate new Makefile scheme --------------------------------- file: programs/primsim/Makefile revision 1.23 date: 2003/03/14 16:11:07; author: davidl; state: Exp; lines: +3 -1 Added NUMERICAL_RECIPES --------------------------------- file: programs/primsim/README revision 1.2 date: 1999/04/14 14:22:20; author: davidl; state: Exp; lines: +116 -43 needed updating --------------------------------- file: programs/primsim/ffread.psim revision 1.1 date: 2006/07/17 17:08:20; author: mikewood; state: Exp; New name of the ffread car. Old name was pr_back.dat --------------------------------- file: programs/primsim/primsim.jcc revision 1.51 date: 2002/11/15 15:34:10; author: davidl; state: Exp; lines: +1 -1 I'm committing a bunch of changes here. This represents a major change to the way generators work. All generators will now be implemented as plug-ins. The only generator currently defined is the example "dave" generator. Others will be ported shortly. Also, the use of extern "C" {} has been scaled back quite a bit. Previously, most of psim.h was inside a C block and many of the C++ files placed the #include inside of a C block as well. Another significant change is that there were problems linking the gukine and guout routines. For some reason, the ones inside of libgeant.a were being linked instead. This was worked around in a funny way by declaring static strings inside of the gukine and guout objects which were then referenced *before* any calls to routines in libgeant. There may be other default versions in libgeant that are being used now and just not yet noticed. --------------------------------- file: programs/primsim/FILE_FORMAT/Makefile revision 1.2 date: 2003/01/14 15:24:31; author: marki; state: Exp; lines: +2 -1 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/FILE_FORMAT/write_binary_event.cc revision 1.11 date: 2003/04/23 19:41:12; author: davidl; state: Exp; lines: +55 -15 Renamed write_binary_event.c to write_binary_event.cc --------------------------------- file: programs/primsim/GENERATORS/Makefile revision 1.12 date: 2003/01/14 15:24:32; author: marki; state: Exp; lines: +2 -3 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/GENERATORS/boost.cc revision 1.2 date: 2003/10/31 17:39:13; author: davidl; state: Exp; lines: +30 -2 Added a nice comment for gdeca2_lab(). No code written though. --------------------------------- file: programs/primsim/GENERATORS/boost.code revision 1.1.1.1 date: 1999/03/22 16:37:24; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/GENERATORS/brehmstrahlung.cc revision 1.8 date: 2006/07/13 20:33:01; author: mikewood; state: Exp; lines: +1 -8 Removed the 2 lines where the egfrac common block was set. Those values are now read in by the FFKEY command in datareocrds.F --------------------------------- file: programs/primsim/GENERATORS/generators.cc revision 1.8 date: 2005/10/11 12:49:31; author: mikewood; state: Exp; lines: +162 -165 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/GENERATORS/load_generators.cc revision 1.5 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +59 -61 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/12C_NI_50_GeV.dat revision 1.1 date: 2006/11/06 16:10:01; author: eclinton; state: Exp; *** empty log message *** --------------------------------- file: programs/primsim/GENERATORS/MODULES/12C_NI_55_GeV.dat revision 1.1 date: 2006/11/06 16:11:58; author: eclinton; state: Exp; incoherent cross section tables from Rory --------------------------------- file: programs/primsim/GENERATORS/MODULES/12C_NI_60_GeV.dat revision 1.1 date: 2006/11/06 16:11:58; author: eclinton; state: Exp; incoherent cross section tables from Rory --------------------------------- file: programs/primsim/GENERATORS/MODULES/Makefile revision 1.8 date: 2007/05/02 20:08:32; author: primlib; state: Exp; lines: +2 -2 Use PRIMEX_OSNAME --------------------------------- file: programs/primsim/GENERATORS/MODULES/calib_snake.cc revision 1.2 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +54 -55 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/compton.cc revision 1.1 date: 2006/04/06 01:31:29; author: mikewood; state: Exp; Compton scattering generator --------------------------------- file: programs/primsim/GENERATORS/MODULES/dave.cc revision 1.4 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +50 -38 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/generator_modules.h revision 1.3 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +13 -17 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/photon.cc revision 1.4 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +3 -2 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_c12_photoprod.cc revision 1.2 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +3 -3 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_c12_photoprod_rory.cc revision 1.9 date: 2006/11/14 21:21:33; author: eclinton; state: Exp; lines: +3 -2 fixed Pi0 rest frame polar decay angle -- this was giving anomalously low geometric efficiencies --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_c12_photoprod_roryF.f revision 1.7 date: 2006/11/08 14:51:44; author: mikewood; state: Exp; lines: +29 -22 Modified the pi0_c12_photoprod_rory generator to search for the 12C_NI_*_GEV.dat files from the directory in which the primsim code is built. --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_electroproduction.cc revision 1.2 date: 2003/04/23 20:21:40; author: davidl; state: Exp; lines: +4 -4 Changed particle_t to mcparticle_t --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_pb208_photoprod.cc revision 1.3 date: 2006/04/06 01:35:55; author: mikewood; state: Exp; lines: +3 -3 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GENERATORS/MODULES/pi0_proton_photoprod.cc revision 1.6 date: 2006/04/06 01:35:56; author: mikewood; state: Exp; lines: +5 -3 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/GEOMETRY/Makefile revision 1.16 date: 2003/01/14 15:24:32; author: marki; state: Exp; lines: +2 -1 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/GEOMETRY/beam_pipe.cc revision 1.7 date: 2005/10/11 12:49:32; author: mikewood; state: Exp; lines: +96 -101 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/GEOMETRY/calorimeter.cc revision 1.14 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +1 -1 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/calorimeter_box.cc revision 1.3 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +7 -3 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/calorimeter_cooling.cc revision 1.2 date: 2006/07/14 20:55:43; author: mikewood; state: Exp; lines: +2 -1 Many changes. Removed many unused common blocks. --------------------------------- file: programs/primsim/GEOMETRY/dipole.cc revision 1.12 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +2 -2 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/helium_bag.cc revision 1.5 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +4 -4 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/mother.cc revision 1.3 date: 2003/04/23 20:18:57; author: davidl; state: Exp; lines: +1 -5 Most of these just had the psim.h header included and the function surrounded by extern C --------------------------------- file: programs/primsim/GEOMETRY/paircntr.cc revision 1.7 date: 2005/10/11 12:49:32; author: mikewood; state: Exp; lines: +73 -69 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/GEOMETRY/spaceframe.cc revision 1.2 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +2 -1 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/target.cc revision 1.12 date: 2006/11/22 19:30:23; author: eclinton; state: Exp; lines: +16 -16 changed whole of target geometry from MANY to ONLY --------------------------------- file: programs/primsim/GEOMETRY/target_box.cc revision 1.2 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +4 -4 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/ugeom.cc revision 1.22 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +68 -23 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/ugeom.h revision 1.5 date: 2006/10/10 19:28:02; author: mikewood; state: Exp; lines: +0 -2 Fixed the geometry so that the starting vertex of the reaction is at the center of the targets. --------------------------------- file: programs/primsim/GEOMETRY/vetocntr.cc revision 1.11 date: 2006/03/27 03:11:07; author: mikewood; state: Exp; lines: +1 -1 Expanded the output in the MCDEPOSITED bank --------------------------------- file: programs/primsim/KUMAC/detectorgrid.ps revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/KUMAC/detectorgrid_25x25.ps revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/KUMAC/detectorgrid_27x27.ps revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/KUMAC/detectorgrid_27x27_small.ps revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/KUMAC/grid.kumac revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/KUMAC/multiples.kumac revision 1.1 date: 1999/04/29 10:53:08; author: davidl; state: Exp; branches: 1.1.2; makes plots of background rates --------------------------------- file: programs/primsim/KUMAC/printscreen.kumac revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/MAIN/Makefile revision 1.18 date: 2003/08/25 15:56:34; author: davidl; state: Exp; lines: +2 -2 Commented out the X11_LIBS definition. (I think this has been a recurring problem for some time now. Will it ever go away?) --------------------------------- file: programs/primsim/MAIN/datarecords.F revision 1.3 date: 2006/10/10 19:26:25; author: mikewood; state: Exp; lines: +9 -1 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/MAIN/defaults.F revision 1.5 date: 2006/10/10 19:26:25; author: mikewood; state: Exp; lines: +8 -1 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/MAIN/globals.cc revision 1.22 date: 2006/10/10 19:26:25; author: mikewood; state: Exp; lines: +5 -1 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/MAIN/gui.cc revision 1.5 date: 2006/04/07 20:43:33; author: mikewood; state: Exp; lines: +276 -281 Changed the values for View 1 --------------------------------- file: programs/primsim/MAIN/main.cc revision 1.46 date: 2006/10/10 19:26:26; author: mikewood; state: Exp; lines: +8 -2 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/MAIN/psim_gui.tcl revision 1.10 date: 2006/08/03 20:28:51; author: mikewood; state: Exp; lines: +107 -3 Fixed a bug in the gui program to select the detector attributes --------------------------------- file: programs/primsim/MAIN/tcl_procs.h revision 1.1 date: 2002/11/15 15:51:21; author: davidl; state: Exp; Changes committed before when MAIN had been renamed psim didn't take. Try again --------------------------------- file: programs/primsim/MAIN/uginit.cc revision 1.29 date: 2006/10/10 19:26:26; author: mikewood; state: Exp; lines: +19 -3 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/MATERIALS/Makefile revision 1.9 date: 2003/01/14 15:24:33; author: marki; state: Exp; lines: +2 -1 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/MATERIALS/materials.cc revision 1.11 date: 2006/08/23 20:57:06; author: eclinton; state: Exp; lines: +2 -2 defining primex carbon with data from Martel's Primes Note, this time uncommenting the magnetic primex carbon --------------------------------- file: programs/primsim/MEDIA/Makefile revision 1.9 date: 2003/01/14 15:24:33; author: marki; state: Exp; lines: +2 -1 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/MEDIA/gufld.cc revision 1.7 date: 2005/10/11 12:49:34; author: mikewood; state: Exp; lines: +57 -51 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/MEDIA/gutmed.cc revision 1.7 date: 2006/08/23 20:57:36; author: eclinton; state: Exp; lines: +2 -1 defining magnetic primex carbon --------------------------------- file: programs/primsim/MISC/Makefile revision 1.10 date: 2003/01/14 15:24:34; author: marki; state: Exp; lines: +2 -2 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/MISC/clas_cern.c revision 1.12 date: 2003/03/21 23:41:22; author: itaru; state: Exp; lines: +11 -0 Inplemented gstpar() function call which controlls cut off energies in the calorimaters. The default parameters for electron and photons are defined in globals.cc --------------------------------- file: programs/primsim/MISC/clas_hplot.c revision 1.1.1.1 date: 1999/03/22 16:37:25; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/MISC/kinematics.c revision 1.7 date: 2003/10/31 17:41:09; author: davidl; state: Exp; lines: +3 -2 Added comment for section on 4-vector stuff. No code written yet --------------------------------- file: programs/primsim/MISC/operators.cc revision 1.1 date: 2000/03/15 03:21:30; author: davidl; state: Exp; For 3/4 vector operations in C++ --------------------------------- file: programs/primsim/MISC/tmp_makefile revision 1.1.1.1 date: 1999/03/22 16:37:25; author: davidl; state: Exp; lines: +0 -0 branches: 1.1.1.1.2; GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/MISC/visualization.cc revision 1.11 date: 2006/06/01 13:48:56; author: mikewood; state: Exp; lines: +107 -5 Modified the gui in MISC/visualization.cc so that there are buttons for each detector system. --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/Makefile revision 1.1 date: 2003/03/14 16:12:45; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/README revision 1.1 date: 2003/03/14 16:12:46; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/brent.c revision 1.1 date: 2003/03/14 16:12:46; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/dbrent.c revision 1.1 date: 2003/03/14 16:12:47; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/df1dim.c revision 1.1 date: 2003/03/14 16:12:48; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/dlinmin.c revision 1.1 date: 2003/03/14 16:12:48; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/f1dim.c revision 1.1 date: 2003/03/14 16:12:48; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/frprmn.c revision 1.1 date: 2003/03/14 16:12:49; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/linmin.c revision 1.1 date: 2003/03/14 16:12:50; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/mnbrak.c revision 1.1 date: 2003/03/14 16:12:51; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/nr.h revision 1.1 date: 2003/03/14 16:12:51; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/nrutil.c revision 1.1 date: 2003/03/14 16:12:52; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/NUMERICAL_RECIPES/nrutil.h revision 1.1 date: 2003/03/14 16:12:52; author: davidl; state: Exp; Some numerical Recipes functions used in kinematic fitting --------------------------------- file: programs/primsim/TRACKING/Makefile revision 1.8 date: 2003/01/14 15:24:34; author: marki; state: Exp; lines: +2 -2 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/TRACKING/gudigi.cc revision 1.5 date: 2005/10/11 12:49:35; author: mikewood; state: Exp; lines: +2 -7 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/TRACKING/gukine.cc revision 1.19 date: 2006/07/14 20:55:44; author: mikewood; state: Exp; lines: +5 -6 Many changes. Removed many unused common blocks. --------------------------------- file: programs/primsim/TRACKING/guout.cc revision 1.28 date: 2006/10/10 19:26:58; author: mikewood; state: Exp; lines: +2 -2 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/TRACKING/gupara.cc revision 1.5 date: 2005/10/11 12:49:35; author: mikewood; state: Exp; lines: +2 -7 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/TRACKING/gustep.cc revision 1.48 date: 2006/11/08 14:54:27; author: mikewood; state: Exp; lines: +7 -9 Clean up the print statement for debugging purposes. --------------------------------- file: programs/primsim/TRACKING/gutrak.cc revision 1.6 date: 2005/10/11 12:49:35; author: mikewood; state: Exp; lines: +4 -9 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/TRACKING/gutrev.cc revision 1.5 date: 2005/10/11 12:49:35; author: mikewood; state: Exp; lines: +4 -9 Here are the many modifications by M. Wood to simulate the 2004 experiment --------------------------------- file: programs/primsim/TRACKING/hadrons.f revision 1.1.1.1 date: 1999/03/22 16:37:25; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/TRIGGER/Makefile revision 1.6 date: 2003/01/14 15:24:35; author: marki; state: Exp; lines: +2 -1 For primsim libraries, pick up local include directory explicitly in the local Makefile. --------------------------------- file: programs/primsim/TRIGGER/detector_sets.cc revision 1.13 date: 2006/03/27 03:11:08; author: mikewood; state: Exp; lines: +168 -174 Expanded the output in the MCDEPOSITED bank --------------------------------- file: programs/primsim/TRIGGER/gains.cc revision 1.3 date: 2002/02/22 22:11:16; author: davidl; state: Exp; lines: +35 -10 optimized some routines for speed. Added flags to Makefiles for profiling --------------------------------- file: programs/primsim/TRIGGER/trigger.cc revision 1.12 date: 2003/01/16 22:49:57; author: davidl; state: Exp; lines: +2 -2 Convert obsolete secondary4vect[] to final[] --------------------------------- file: programs/primsim/TRIGGER/trigger2.cc revision 1.8 date: 2002/02/04 21:45:23; author: davidl; state: Exp; lines: +15 -10 Many fixes/changes MLU programming redefined slightly. psim_view updated to show groups and info and correct trigger info psim_filter revised for use in cutting out "good" and triggered events --------------------------------- file: programs/primsim/TRIGGER/trigger3.cc revision 1.8 date: 2002/02/04 21:45:24; author: davidl; state: Exp; lines: +18 -9 Many fixes/changes MLU programming redefined slightly. psim_view updated to show groups and info and correct trigger info psim_filter revised for use in cutting out "good" and triggered events --------------------------------- file: programs/primsim/include/cern.h revision 1.16 date: 2003/04/23 20:47:29; author: davidl; state: Exp; lines: +1 -0 Added declaration of gstpar() --------------------------------- file: programs/primsim/include/cern.inc revision 1.1.1.1 date: 1999/03/22 16:37:26; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/include/common.h revision 1.10 date: 2006/11/08 14:53:27; author: mikewood; state: Exp; lines: +6 -0 Added the global variable gentable_.datadir to accompany the changes to the pi0_c12_photoprod_rory generator. --------------------------------- file: programs/primsim/include/generators.h revision 1.10 date: 2006/04/06 01:35:56; author: mikewood; state: Exp; lines: +26 -37 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/include/globals.h revision 1.25 date: 2006/10/10 19:26:44; author: mikewood; state: Exp; lines: +20 -0 Added HTHR to ffread for user specified energy threshold for secondary electrons and photons in HYCAL. It is the same as the first 2 items in the CUTS flag but for the HYCAL tracking geomtery only. --------------------------------- file: programs/primsim/include/kinematics.h revision 1.9 date: 2003/04/23 20:15:34; author: davidl; state: Exp; lines: +7 -1 Several Changes. I don't remember 'em all so I'm just committing what's here. --------------------------------- file: programs/primsim/include/operators.h revision 1.3 date: 2002/11/15 15:34:42; author: davidl; state: Exp; lines: +0 -2 I'm committing a bunch of changes here. This represents a major change to the way generators work. All generators will now be implemented as plug-ins. The only generator currently defined is the example "dave" generator. Others will be ported shortly. Also, the use of extern "C" {} has been scaled back quite a bit. Previously, most of psim.h was inside a C block and many of the C++ files placed the #include inside of a C block as well. Another significant change is that there were problems linking the gukine and guout routines. For some reason, the ones inside of libgeant.a were being linked instead. This was worked around in a funny way by declaring static strings inside of the gukine and guout objects which were then referenced *before* any calls to routines in libgeant. There may be other default versions in libgeant that are being used now and just not yet noticed. --------------------------------- file: programs/primsim/include/psim.h revision 1.53 date: 2006/04/06 01:35:56; author: mikewood; state: Exp; lines: +50 -59 Added command line flags for greater flexibility. The -Eb is for the beam energy. The -Egl and -Egu set the lower and upper limits of the photon energies. The -Ips sets the PS magnet current. Also, I have added a compton generator. --------------------------------- file: programs/primsim/include/trigger.h revision 1.7 date: 2002/02/25 04:17:18; author: davidl; state: Exp; lines: +2 -0 - Added Helium bag with Mylar windows - Decreased beam pipe thickness from 3mm to 2mm. - Added secondaries Ntuple to psim_book - Added labels to trigger statistics histo - Removed layer of PbWO4 nearest to beam from trigger --------------------------------- file: programs/primsim/include/units.h revision 1.3 date: 2006/04/07 20:42:17; author: mikewood; state: Exp; lines: +1 -0 Added feet to the list of units --------------------------------- file: programs/primsim/scripts/README.scripts revision 1.1.1.1 date: 1999/03/22 16:37:25; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/scripts/multiple_beam_photons.pl revision 1.1 date: 1999/04/21 19:13:04; author: davidl; state: Exp; script for generating files with 1 to 15 beam events in them --------------------------------- file: programs/primsim/scripts/run_jobs.sh revision 1.1.1.1 date: 1999/03/22 16:37:25; author: davidl; state: Exp; lines: +0 -0 GEANT simulation for pi0 lifetime experiment --------------------------------- file: programs/primsim/utilities/Makefile revision 1.24 date: 2003/03/14 16:13:53; author: davidl; state: Exp; lines: +1 -1 Added -lNUMERICAL_RECIPES to link list --------------------------------- file: programs/primsim/utilities/psim_addevents.c revision 1.6 date: 2002/01/30 18:14:53; author: davidl; state: Exp; lines: +15 -7 added flag to turn off counter for batch job running --------------------------------- file: programs/primsim/utilities/psim_count.c revision 1.7 date: 2002/02/19 22:39:19; author: davidl; state: Exp; lines: +5 -6 modified dipole and vacuum box definitions. Other tweaking --------------------------------- file: programs/primsim/utilities/psim_dump.c revision 1.14 date: 2003/01/16 22:54:25; author: davidl; state: Exp; lines: +76 -12 Added part_type_str(). Modified for new raw event structure --------------------------------- file: programs/primsim/utilities/psim_filter.c revision 1.13 date: 2002/02/04 21:45:26; author: davidl; state: Exp; lines: +54 -123 Many fixes/changes MLU programming redefined slightly. psim_view updated to show groups and info and correct trigger info psim_filter revised for use in cutting out "good" and triggered events --------------------------------- file: programs/primsim/utilities/psim_readfile.c revision 1.10 date: 2006/03/27 03:11:09; author: mikewood; state: Exp; lines: +186 -193 Expanded the output in the MCDEPOSITED bank --------------------------------- file: programs/primsim/utilities/psim_book/Makefile revision 1.5 date: 2003/03/14 16:14:55; author: davidl; state: Exp; lines: +1 -1 Histograms added/modified to study pi0 production on proton. --------------------------------- file: programs/primsim/utilities/psim_book/book_histos.c revision 1.15 date: 2003/10/31 17:44:14; author: davidl; state: Exp; lines: +1 -0 Added histo 105 for Mandelstam -t (this is an ancient change I'm just committing now to relaing myself with the repository) --------------------------------- file: programs/primsim/utilities/psim_book/close_histos.c revision 1.3 date: 2002/02/25 04:17:19; author: davidl; state: Exp; lines: +4 -12 - Added Helium bag with Mylar windows - Decreased beam pipe thickness from 3mm to 2mm. - Added secondaries Ntuple to psim_book - Added labels to trigger statistics histo - Removed layer of PbWO4 nearest to beam from trigger --------------------------------- file: programs/primsim/utilities/psim_book/clusters.c revision 1.2 date: 2002/01/18 21:58:02; author: davidl; state: Exp; lines: +4 -1 Kludged to link in such a way that it will actually run --------------------------------- file: programs/primsim/utilities/psim_book/fill_histos.c revision 1.16 date: 2003/10/31 17:44:42; author: davidl; state: Exp; lines: +20 -0 Added histo 105 for Mandelstam -t (this is an ancient change I'm just committing now to relaing myself with the repository) --------------------------------- file: programs/primsim/utilities/psim_book/kinematic_fit.cc revision 1.5 date: 2003/03/14 16:14:56; author: davidl; state: Exp; lines: +252 -0 Histograms added/modified to study pi0 production on proton. --------------------------------- file: programs/primsim/utilities/psim_book/psim_book.c revision 1.7 date: 2003/01/16 22:55:10; author: davidl; state: Exp; lines: +0 -4 Many,many,many changes ... --------------------------------- file: programs/primsim/utilities/psim_book/resolution.cc revision 1.2 date: 2003/01/30 13:26:39; author: davidl; state: Exp; lines: +30 -109 Added kinematic fitting with minuit. Some other changes --------------------------------- file: programs/primsim/utilities/psim_book/resolution.h revision 1.1 date: 2003/01/30 14:06:32; author: davidl; state: Exp; Forgot to add this --------------------------------- file: programs/primsim/utilities/psim_view/Makefile revision 1.6 date: 2002/01/22 22:06:21; author: davidl; state: Exp; lines: +48 -62 branches: 1.6.2; working on psim_view --------------------------------- file: programs/primsim/utilities/psim_view/psim_view.cc revision 1.8 date: 2002/02/25 21:13:54; author: davidl; state: Exp; lines: +3 -1 branches: 1.8.2; added Z corrdinate of interaction point to display ; Added X/Y offsets from part_info to projections of secondaries --------------------------------- file: programs/primsim/utilities/psim_view/psim_view.h revision 1.10 date: 2002/02/05 19:04:32; author: davidl; state: Exp; lines: +4 -0 MAJOR BUG FIX!! Materials were being defined incorrectly leading to PbWO4 with radlen of about 2 times as big. now fixed Added trajectory projection onto HYCAL to psim_view --------------------------------- file: programs/primsim/utilities/psim_view/psim_view.tcl revision 1.19 date: 2002/02/25 21:13:55; author: davidl; state: Exp; lines: +5 -1 added Z corrdinate of interaction point to display ; Added X/Y offsets from part_info to projections of secondaries --------------------------------- file: programs/primsim/utilities/psim_view/psim_view_draw_event.cc revision 1.8 date: 2002/02/25 21:13:55; author: davidl; state: Exp; lines: +3 -0 added Z corrdinate of interaction point to display ; Added X/Y offsets from part_info to projections of secondaries --------------------------------- file: programs/primsim/utilities/psim_view/psim_view_geometry.cc revision 1.7 date: 2002/02/25 21:13:55; author: davidl; state: Exp; lines: +2 -2 added Z corrdinate of interaction point to display ; Added X/Y offsets from part_info to projections of secondaries --------------------------------- file: programs/primsim/utilities/psim_view/psim_view_groups.cc revision 1.4 date: 2002/02/05 19:04:33; author: davidl; state: Exp; lines: +1 -3 MAJOR BUG FIX!! Materials were being defined incorrectly leading to PbWO4 with radlen of about 2 times as big. now fixed Added trajectory projection onto HYCAL to psim_view --------------------------------- file: programs/primsim/utilities/psim_view/tcl_procs.h revision 1.1 date: 2002/01/22 22:06:22; author: davidl; state: Exp; working on psim_view ---------------------------------