// $Id$ // // Created June 22, 2005 David Lawrence #include #include using namespace std; #include #include #include "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 float CDC_R; extern float CDC_Z_SIGMA; extern float CDC_AVG_NOISE_HITS; extern float FDC_R; extern float FDC_AVG_NOISE_HITS; //----------- // main //----------- int main(int narg,char* argv[]) { // Set up to catch SIGINTs for graceful exits signal(SIGINT,ctrlCHandle); ParseCommandLineArguments(narg, argv); cout<<" input file: "<