Click the "Sorting" button brings up The "MTsort Launcher" window. This allows you to choose the machine to run the sort on. Clicking on launch will bring up the setup window. The sort is run under the "euroball" userid.
Input sort language files are stored in the usual place, ~euroball/sortfiles. A default sortfile should be visible. This can be used, or copied and altered. Please do not alter the default sortfile.
The setup window tells you the status of the setup. If it says "OK" you may click on the "sort run" button and try running the sort. If the status does not say "OK", then click on the "compile" button and wait for the program to be made. Further information on setup may be found in the sort setup page
When you have a successfully compiled sortfile, click on the "sort run" button.
Before running, please make sure that the configuration window is set correctly. Since the package works on Eurogam format data, the Euroball input handlers have to translate from Euroball format to Eurogam format. This means that you have to specify some information for each detector type. If this information is not correct, then the sort will not work properly and may even crash.
The Euroball format defines "families" of detectors. In each family, a detector has an id numbered from zero upwards. This id has to be mapped onto a unique Eurogam group number.
The range of allocated group numbers is defined by the "max detectors field".
Since the Euroball format is more complicated than the Eurogam format, then for Clover and Cluster detectors, the BGO information has to be allocated to a separate group number range. This is defined in the "BGO detector" field. The range of group numbers is the same as for the Ge groups, and corresponds one by one.
There is a program that can be run to give you ...
a) sort format statements compatible with neo file
b) config file ...
EBformatchecker "neo.cc filename" "sort-format filename" "config filename"
Set the input handler to "EuroballOnline" to spy on online data. Set it on "EuroballTape" to replay data, etc.
Set the spectrum path (full path name) to where the spectra are to be created.
Click on "go". Sometimes the spectrum creation fails because of the way the Suns are networked. Click on "go" again if a spectrum error is reported. It should work fine the 2nd time.
To be acceptable to MTsort, Euroball event data needs formatting according to EDOC312. This can be accomplished by checking your neo.cc file with the EBformatchecker program (see above).
subdetector(ClusterGe) == Subdetector items may be item_q E20; == ommitted by using "dummy_item" item_q E4; == instead of "item". item ft; == "item_q" keeps q-bits. end_subdetector subdetector(ClusterBGOSum) item energy; item timing; item patternmsh; item patternlsh; end_subdetector subdetector(CloverGe) item_q E20; item_q E4; item ft; item CO; end_subdetector subdetector(CloverBGO) item energy; item timing; item pattern; end_subdetector subdetector(TaperGe) item_q E20; item_q E4; item ft; dummy_item CO; end_subdetector subdetector(TaperBGO) dummy_item energy; dummy_item timing; dummy_item pattern; end_subdetector format (Cluster) == Cluster definitions should not ClusterGe ge[7]; == be changed except to replace ClusterBGOSum bgosum[1]; == BGOSum by BGO for energies end_format format (Clover) CloverGe ge[4]; == Clover definitions should not CloverBGO bgo[1]; == be changed from this. end_format format(Tapered) TaperGe ge[1]; == Taper definitions should not TaperBGO bgo[1]; == be changed from this. end_format format (BgoballRaw) item energy; item pattern; item timing; end_format format (Bgoball) item energy; item mult; end_format format (MasterTrigger) item SumBus1; item SumBus2; item SumBus3; item SumBus4; item TAC; item Pattern; item EvNumLSB; item EvNumMSB; end_format format (TotalGe) item Energy; item EvNumLSB; item EvNumMSB; end_format Detectorcluster; Detector clover; Detector tapered; Detector dead; Detector bgoball; Detector bgoballraw; Detector mastertrigger; Detector total_ge;