// $Id$ // // Created June 22, 2005 David Lawrence #include #include using namespace std; #include #include #include "units.h" #include "HDDM/hddm_s.h" void Smear(s_HDDM_t *hddm_s); void ParseCommandLineArguments(int narg, char* argv[]); void Usage(void); void ctrlCHandle(int x); char *INFILENAME = NULL; char *OUTFILENAME = NULL; int QUIT = 0; extern bool ADD_NOISE; extern bool SMEAR_HITS; extern bool CDC_USE_PARAMETERIZED_SIGMA; extern double CDC_TDRIFT_SIGMA; extern double CDC_TIME_WINDOW; extern double FDC_TDRIFT_SIGMA; extern double FDC_CATHODE_SIGMA; extern double FDC_PED_NOISE; extern bool FDC_ELOSS_OFF; extern double FDC_TIME_WINDOW; extern double FCAL_PHOT_STAT_COEF; extern double FCAL_BLOCK_THRESHOLD; //----------- // main //----------- int main(int narg,char* argv[]) { // Set up to catch SIGINTs for graceful exits signal(SIGINT,ctrlCHandle); ParseCommandLineArguments(narg, argv); cout<<" input file: "<