#include #include #include #include using namespace std; // These are defined in copytoplusplus.cc extern string INFILE; extern string OUTFILE; extern bool POSTSMEAR; extern string MCSMEAROPTS; extern bool DELETEUNSMEARED; // Defined in calibDB.cc extern string HDDS_XML; // Declare routines callable from FORTRAN extern "C" int hdgeant_(void); // define in hdgeant_f.F extern "C" const char* GetMD5Geom(void); void Usage(void); // Get access to FORTRAN common block with some control flags #include "controlparams.h" //------------------ // main //------------------ int main(int narg, char *argv[]) { // Set some defaults. Note that most defaults related to the // simulation are set in uginit.F controlparams_.runtime_geom = 0; // Parse command line parameters bool print_xml_md5_checksum = false; for(int i=1; i