File indexing completed on 2023-03-17 10:41:34
0001 #include <cstdio>
0002 #include <cstdlib>
0003 #include <iostream>
0004 using namespace std;
0005
0006
0007
0008 #include "../../interface/ME.h"
0009 #include "MERunManager.hh"
0010
0011 int main(int argc, char **argv)
0012 {
0013 int type = ME::iLaser;
0014 int color = ME::iBlue;
0015
0016 int c;
0017 while ( (c = getopt( argc, argv, "t:c:" ) ) != EOF )
0018 {
0019 switch (c)
0020 {
0021 case 't': type = atoi( optarg ); break;
0022 case 'c': color = atoi(optarg); break;
0023 }
0024 }
0025
0026 cout << "Writing primitives for Type=" << ME::type[type];
0027 if( type==ME::iLaser ) cout << " Color=" << ME::color[color];
0028 cout << endl;
0029
0030
0031 for( unsigned int lmr=1; lmr<=92; lmr++ )
0032 {
0033 cout << "LMR=" << lmr << endl;
0034 MERunManager* runManager = new MERunManager( lmr, type, color );
0035 delete runManager;
0036 }
0037
0038 return(0);
0039 }