![]() |
Mixed Data Coincidence Analysis Software 1.0
A program to analyze files produced by the EventMixer software.
|
00001 00013 #include <stdlib.h> 00014 #include <stdio.h> 00015 #include <vector> 00016 #include <list> 00017 #include <utility> 00018 #include <string> 00019 #include <iomanip> 00020 #include <sstream> 00021 #include <set> 00022 00023 #include "GammaEnergyChart.hh" 00024 #include "FileEventParser.hh" 00025 #include "EventHit.hh" 00026 #include "CoincidenceFinder.hh" 00027 #include "CommandLineInterpreter.hh" 00028 #include "CommandLineException.hh" 00029 #include "CommandLineArgument.hh" 00030 #include "GammaIdentifier.hh" 00031 #include "ScorePair.hh" 00032 00033 00034 00035 #ifndef SETTINGS_H 00036 #define SETTINGS_H 00037 00039 struct Settings 00040 { 00041 string coincidenceFile; 00042 string timeDistributionFile; 00043 string mixedFile; 00044 string gammaFile; 00045 00046 float tolerance; 00047 float bgTolerance; 00048 unsigned int multiImplant; 00049 int nTubes; 00050 int nTubesPerRow; 00051 float geEpsilon; 00052 float betaEpsilon; 00053 float dRatio; 00054 float minGe; 00055 float maxGe; 00056 float maxDecayWait; 00057 float decayCut; 00058 bool forceCorrect; 00059 00060 unsigned short int minA; 00061 unsigned short int maxA; 00062 unsigned short int minZ; 00063 unsigned short int maxZ; 00064 00065 bool detectorCount; 00066 bool failInfo; 00067 }; 00068 #endif 00069 00070 using namespace std; 00071 00072 string nsToReadableTime(double time 00073 ); 00074 00075 int main(int argc 00076 , char **argv 00077 ); 00078 00079 CommandLineInterpreter * decodeInput(int argc 00080 , char **argv 00081 ); 00082 00083 void printStatistics(CoincidenceFinder * F 00084 ); 00085 00086 void printDetectorCount(CoincidenceFinder * F 00087 ,int numberPerRow 00088 ); 00089 00090 void printSettings(Settings * S 00091 ); 00092 00093 Settings * initSettings(CommandLineInterpreter * myInterpreter 00094 ); 00095 00096