#!/vols/escience01/martynia/MAUS-v0.9.6/third_party/install/bin/python #This file is a part of xboa # #xboa is free software: you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation, either version 3 of the License, or #(at your option) any later version. # #xboa is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General Public License for more details. # #You should have received a copy of the GNU General Public License #along with xboa in the doc folder. If not, see #. # """ Set of algorithms designed to duplicate functionality of the postprocessor ecalc9. By default reads in input file ecalc9f.inp and outputs a whole load of particle data (though see command line options below). ecalc9f.inp contains (data on separate lines): control_file_name_string is the file that will be read from title (ascii) ICOOL particle type (int) {muon = +/- 2} pzmin,pzmax (real) [GeV/c] transcutA,transcutB (real) [m] longcut (real) [m] rffreq (real) [MHz] sigmacut (real) disabled (=0.) pzcorr (log) disabled (always false) wrnew9 (log) disabled (always false) Additional command line options are: -i= is an input text file containing input particle data (default is 'for009.dat') -t= is the input particle data file type (default is 'icool_for009') -c= is the input control file (default is 'ecalc9f.inp') -o= is the output data file (default is 'ecalc9f.dat') -p=