// $Id: mcsmear.cc 2388 2007-01-10 16:46:03Z davidl $ // // Created August 24, 2007 David Lawrence #include #include using namespace std; #include #include #include "HDDM/hddm_s.h" bool Filter(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; //----------- // main //----------- int main(int narg,char* argv[]) { // Set up to catch SIGINTs for graceful exits signal(SIGINT,ctrlCHandle); ParseCommandLineArguments(narg, argv); cout<<" input file: "<