Changeset 276 for MEMPHYS/HEAD/doc/MEMPHYS.html
- Timestamp:
- Jan 31, 2007, 2:56:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/doc/MEMPHYS.html
r275 r276 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html lang="fr-fr"><head> 3 4 5 6 2 <html lang="fr-fr"> 3 <head> 4 5 6 7 8 9 7 10 8 11 … … 14 17 15 18 16 17 18 19 20 21 22 23 24 25 <title>MEMPHYS Software</title><meta content="J-E Campagne " name="author"></head> 19 20 21 22 23 24 25 26 27 28 29 30 <title>MEMPHYS Software</title> 31 <meta content="J-E Campagne " name="author"> 32 </head> 33 26 34 <body> 27 35 … … 29 37 30 38 39 31 40 <h1 style="text-align: center; color: rgb(0, 0, 153);"><a class="mozTocH1" name="mozTocId909942"></a>Install and run MEMPHYS software </h1> 32 41 … … 34 43 35 44 45 36 46 <h1 style="text-align: center; color: rgb(0, 0, 153);">and the associate toolkits</h1> 47 37 48 38 49 … … 45 56 46 57 58 47 59 <ul id="mozToc"> 48 60 49 61 50 62 63 51 64 <!--mozToc h2 2 h3 3 h4 4 h5 5 h6 6--><li><a href="#mozTocId102030">Table of Contents</a> 52 65 53 66 54 67 68 55 69 <ul> 56 70 57 71 58 72 73 59 74 <li><a href="#mozTocId791206">What the user have to know?</a></li> 75 60 76 61 77 … … 65 81 66 82 83 67 84 <ul> 68 85 69 86 70 87 88 71 89 <li><a href="#mozTocId129835">The OpenScientist toolkit</a></li> 72 90 73 91 74 92 93 75 94 <li><a href="#mozTocId109209">The MEMPHYS package</a></li> 76 95 77 96 78 97 98 99 79 100 80 101 … … 84 105 85 106 107 86 108 </li> 109 87 110 88 111 … … 92 115 93 116 117 94 118 <ul> 95 119 96 120 97 121 122 98 123 <li><a href="#mozTocId327975">Interactive session</a></li> 99 124 100 125 101 126 127 102 128 <li><a href="#mozTocId967005">Batch mode</a></li> 103 129 104 130 105 131 132 133 106 134 107 135 … … 111 139 112 140 141 113 142 </li> 114 143 115 144 116 145 146 147 117 148 118 149 … … 122 153 123 154 155 124 156 </li> 125 157 126 158 127 159 160 128 161 </ul> 129 162 … … 131 164 132 165 166 133 167 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId791206"></a>What the user have to know?</h2> 134 168 … … 136 170 137 171 172 138 173 The user is supposed to know how to practice more or less: <br> 139 174 … … 141 176 142 177 178 143 179 <ul> 144 180 … … 146 182 147 183 148 <li>the Linux OS or the MacOSX <span style="color: rgb(255, 0, 0);">(Ceci est un changement de JEC)</span>, <span style="color: rgb(51, 204, 0);">(Nouveau changement</span></li> 184 185 <li>the Linux OS or the MacOSX <span style="color: rgb(255, 0, 0);">(Ceci est un changement de JEC et de GB)</span>, <span style="color: rgb(51, 204, 0);">(Nouveau changement</span></li> 186 149 187 150 188 … … 156 194 157 195 196 158 197 <li>the <a href="http://svnbook.red-bean.com/en/1.0/index.html">SVN</a> the code version repository management tool (this is an alternative to the more usual CVS tool),</li> 159 198 … … 161 200 162 201 202 163 203 <li>the <a href="http://www.cs.uregina.ca/Dept/manuals/Manuals/7Language/7_18C++/c++.htm">C++</a> language,</li> 164 204 … … 166 206 167 207 208 168 209 <li>the <a href="http://geant4.web.cern.ch/geant4/">Geant 4</a> simulation tool, </li> 210 169 211 170 212 … … 178 220 179 221 222 180 223 <li>the <a href="http://root.cern.ch/">ROOT</a> toolkit if one wants to make analysis/ploting using this package.</li> 181 224 … … 183 226 184 227 228 185 229 </ul> 186 230 … … 188 232 189 233 234 190 235 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId474404"></a>Installation of the Plug-ins and the MEMPHYS package </h2> 236 191 237 192 238 … … 203 249 204 250 251 205 252 <h3><a class="mozTocH3" name="mozTocId129835"></a>The OpenScientist toolkit</h3> 253 206 254 207 255 … … 216 264 217 265 266 218 267 <br> 219 268 … … 221 270 222 271 272 223 273 <a name="OpenScientistInstall"></a>So, the user proceeds as followed (UNIX):<br> 224 274 … … 226 276 227 277 278 228 279 <ol> 229 280 … … 231 282 232 283 284 233 285 <li>download the zip file</li> 234 286 … … 236 288 237 289 290 238 291 <li>unzip on a <span style="font-style: italic;">kits</span> area (see the <a href="#CMTIandKits">Kits & CMT hierarchy</a>) that may be different of his/her <span style="font-style: italic;">work</span> area</li> 239 292 … … 241 294 242 295 296 243 297 <li>cd OpenScientist/v16r0</li> 244 298 … … 246 300 247 301 302 248 303 <li>chmod a+x install</li> 249 304 … … 251 306 252 307 308 253 309 <li>./install</li> 254 310 … … 256 312 257 313 314 258 315 </ol> 316 259 317 260 318 … … 268 326 269 327 328 270 329 csh> source <path>/OpenScientist/v16r0/aida-setup.csh<br> 271 330 … … 273 332 274 333 334 275 335 ( sh> . <path>/OpenScientist/v16r0/aida-setup.sh )<br> 336 276 337 277 338 … … 284 345 285 346 347 286 348 <li>UNIX> aida-config</li> 287 349 … … 289 351 290 352 353 291 354 <li>UNIX> onxlab</li> 292 355 … … 294 357 295 358 359 296 360 </ul> 297 361 … … 299 363 300 364 365 301 366 The user may see the famous gaussian distribution and the associate fit....<br> 302 367 … … 304 369 305 370 371 306 372 <div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/onxlab.jpg"> 307 373 … … 314 380 315 381 382 316 383 <br> 384 317 385 318 386 … … 326 394 327 395 396 328 397 <ul> 329 398 … … 331 400 332 401 402 333 403 <li> UNIX> G4Simple_session</li> 334 404 … … 336 406 337 407 408 338 409 <li>In the Geant 4 menu, starts with "Init" and then "Run", some tracks will appear when the number of events are validated</li> 410 339 411 340 412 … … 348 420 349 421 422 350 423 </ul> 351 424 … … 353 426 354 427 428 355 429 <div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/G4Simple.jpg"> 356 430 … … 363 437 364 438 439 365 440 <h3><a class="mozTocH3" name="mozTocId109209"></a>The MEMPHYS package</h3> 366 441 … … 368 443 369 444 445 370 446 To install the MEMPHYS package, one may adopt a directory hierarchy as followed (UNIX):<br> 371 447 … … 373 449 374 450 451 375 452 <ul> 376 453 … … 378 455 379 456 457 380 458 <li>define at the login phase the <a name="CMTPROJECTPATH"></a>CMTPROJECTPATH environment variable: </li> 381 459 … … 383 461 384 462 463 385 464 </ul> 386 465 … … 388 467 389 468 469 390 470 <table style="width: 100%;" border="1" cellpadding="2" cellspacing="2"> 391 471 … … 394 474 395 475 476 396 477 <tbody> 397 478 … … 399 480 400 481 482 401 483 <tr> 402 484 … … 404 486 405 487 488 406 489 <td style="background-color: rgb(204, 204, 204);">setenv CMTPROJECTPATH "<common-area-path>/kits:<personal-area>"</td> 407 490 … … 409 492 410 493 494 411 495 </tr> 412 496 … … 415 499 416 500 501 502 417 503 418 504 … … 425 511 426 512 513 427 514 <ul> 428 515 … … 430 517 431 518 519 432 520 <li><a name="CMTIandKits"></a>create if not already done the <span style="color: rgb(255, 0, 0);"><common-area-path>/kits</span> area for the OpenScientist toolkit as described <a href="#OpenScientistInstall">above</a>, but also the ROOT toolkit, CMT tool ...</li> 433 521 … … 435 523 436 524 437 <li>create the <span style="color: rgb(255, 0, 0);"><common-area-path>/CMTI/ <span style="color: rgb(0, 0, 0);">area</span></span>: <ul> 525 526 <li>create the <span style="color: rgb(255, 0, 0);"><common-area-path>/CMTI/ <span style="color: rgb(0, 0, 0);">area</span></span>: 527 <ul> 528 438 529 439 530 … … 445 536 446 537 447 448 449 450 451 </ul></li> 538 539 540 541 542 543 544 </ul> 545 </li> 546 452 547 453 548 … … 468 563 469 564 565 470 566 <table style="background-color: rgb(192, 192, 192); width: 100%;" border="1" cellpadding="2" cellspacing="2"> 471 567 … … 474 570 475 571 572 476 573 <tbody> 477 574 … … 479 576 480 577 578 481 579 <tr> 482 580 … … 484 582 485 583 584 486 585 <td>project CMTI</td> 487 586 … … 489 588 490 589 590 491 591 </tr> 492 592 … … 495 595 496 596 597 598 497 599 498 600 … … 505 607 506 608 609 507 610 <ul> 508 611 … … 510 613 511 614 615 616 512 617 513 618 … … 519 624 520 625 626 521 627 <li><a name="to_install_the_OpenScientist-CMT_"></a>to install the OpenScientist-CMT Interfaces for OpenScientist toolkit and the ROOT toolkit</li> 522 628 … … 524 630 525 631 632 633 526 634 527 635 … … 533 641 534 642 643 644 535 645 536 646 … … 542 652 543 653 654 655 544 656 545 657 … … 551 663 552 664 665 553 666 <li>download the Interfaces here (<span style="color: rgb(255, 0, 0); font-weight: bold;">TBD</span>) </li> 554 667 … … 556 669 557 670 671 672 558 673 559 674 … … 565 680 566 681 682 683 567 684 568 685 … … 574 691 575 692 693 576 694 <li>edit the <span style="color: rgb(255, 0, 0);">OpenScientist/v16r0/cmt/requirement</span> file and change the OSC_home macro according to the local implementation as example</li> 577 695 … … 579 697 580 698 699 700 581 701 582 702 … … 588 708 589 709 710 711 590 712 591 713 … … 597 719 598 720 721 599 722 </ul> 600 723 … … 602 725 603 726 727 604 728 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 605 729 … … 607 731 608 732 733 609 734 <tbody> 610 735 … … 612 737 613 738 739 614 740 <tr> 615 741 … … 617 743 618 744 745 619 746 <td style="background-color: rgb(192, 192, 192);">#macro OSC_home "/usr/local/OpenScientist/v16r0"<br> 620 747 … … 622 749 623 750 751 624 752 macro OSC_home "/home/campagne/kits/OpenScientist/v16r0/"</td> 625 753 … … 627 755 628 756 757 629 758 </tr> 630 759 … … 632 761 633 762 763 764 634 765 635 766 … … 642 773 643 774 775 644 776 <ul> 645 777 … … 647 779 648 780 781 782 649 783 650 784 … … 656 790 657 791 792 793 658 794 659 795 … … 665 801 666 802 803 667 804 <li>edit in the same spirit, edit the <span style="color: rgb(255, 0, 0);">ROOT/<version>/cmt/requiement</span> file to change the ROOT_native_version and the ROOT_home macros, as for instance</li> 668 805 … … 670 807 671 808 809 810 672 811 673 812 … … 679 818 680 819 820 821 681 822 682 823 … … 688 829 689 830 831 690 832 </ul> 691 833 … … 693 835 694 836 837 695 838 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 696 839 … … 698 841 699 842 843 700 844 <tbody> 701 845 … … 703 847 704 848 849 705 850 <tr> 706 851 … … 708 853 709 854 855 710 856 <td style="background-color: rgb(192, 192, 192);">#macro ROOT_native_version "v5-13-04b"<br> 711 857 … … 713 859 714 860 861 715 862 macro ROOT_native_version "4.03.02"<br> 716 863 … … 718 865 719 866 867 720 868 <br> 721 869 … … 723 871 724 872 873 725 874 macro ROOT_home "/home/campagne/kits/root-${ROOT_native_version}" </td> 726 875 … … 728 877 729 878 879 730 880 </tr> 731 881 … … 733 883 734 884 885 886 735 887 736 888 … … 743 895 744 896 897 745 898 <ul> 746 899 … … 748 901 749 902 750 <li>create a <span style="color: rgb(255, 0, 0);"><personal-area>/OSArea</span> area :<ul> 903 904 <li>create a <span style="color: rgb(255, 0, 0);"><personal-area>/OSArea</span> area : 905 <ul> 906 751 907 752 908 … … 758 914 759 915 760 761 762 763 764 </ul></li> 916 917 918 919 920 921 922 </ul> 923 </li> 924 765 925 766 926 … … 781 941 782 942 943 783 944 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 784 945 … … 786 947 787 948 949 788 950 <tbody> 789 951 … … 791 953 792 954 955 793 956 <tr> 794 957 … … 796 959 797 960 961 798 962 <td style="background-color: rgb(192, 192, 192);">project OSArea<br> 799 963 … … 801 965 802 966 967 803 968 <br> 804 969 … … 806 971 807 972 973 808 974 use OpenScientist v16r0<br> 809 975 … … 811 977 812 978 979 813 980 use CMTI</td> 814 981 … … 816 983 817 984 985 818 986 </tr> 819 987 … … 821 989 822 990 991 992 823 993 824 994 … … 831 1001 832 1002 1003 833 1004 <ul> 834 1005 … … 836 1007 837 1008 1009 1010 838 1011 839 1012 … … 845 1018 846 1019 847 <li>download the MEMPHYS package using <ul> 1020 1021 <li>download the MEMPHYS package using 1022 <ul> 1023 848 1024 849 1025 … … 855 1031 856 1032 857 <li>either the SVN software:<ul> 1033 1034 <li>either the SVN software: 1035 <ul> 1036 858 1037 859 1038 … … 865 1044 866 1045 867 868 869 870 871 </ul></li> 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 </ul></li> 890 891 892 893 894 895 896 897 898 899 900 901 902 1046 1047 1048 1049 1050 1051 1052 </ul> 1053 </li> 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 </ul> 1074 </li> 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 903 1090 904 1091 … … 910 1097 911 1098 1099 912 1100 </ul> 913 1101 … … 915 1103 916 1104 1105 917 1106 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 918 1107 … … 920 1109 921 1110 1111 922 1112 <tbody> 923 1113 … … 925 1115 926 1116 1117 927 1118 <tr> 928 1119 … … 930 1121 931 1122 1123 932 1124 <td style="background-color: rgb(192, 192, 192);">setenv SVNURL "https://svn.lal.in2p3.fr/Opera/Glob"</td> 933 1125 … … 935 1127 936 1128 1129 937 1130 </tr> 938 1131 … … 940 1133 941 1134 1135 1136 942 1137 943 1138 … … 950 1145 951 1146 1147 952 1148 <ul> 953 1149 … … 955 1151 956 1152 1153 1154 957 1155 958 1156 … … 964 1162 965 1163 1164 1165 966 1166 967 1167 … … 973 1173 974 1174 1175 1176 975 1177 976 1178 … … 978 1180 979 1181 <ul> 1182 980 1183 981 1184 … … 989 1192 990 1193 1194 1195 991 1196 992 1197 … … 998 1203 999 1204 1205 1206 1000 1207 1001 1208 … … 1007 1214 1008 1215 1216 1217 1009 1218 1010 1219 … … 1016 1225 1017 1226 1227 1018 1228 </ul> 1019 1229 … … 1021 1231 1022 1232 1233 1023 1234 <table style="width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1024 1235 … … 1027 1238 1028 1239 1240 1029 1241 <tbody> 1030 1242 … … 1032 1244 1033 1245 1246 1034 1247 <tr> 1035 1248 … … 1037 1250 1038 1251 1252 1039 1253 <td style="background-color: rgb(204, 204, 204);">svn co ${SVNURL}/MEMPHYS/HEAD MEMPHYS/<new-version></td> 1040 1254 … … 1042 1256 1043 1257 1258 1044 1259 </tr> 1045 1260 … … 1048 1263 1049 1264 1265 1266 1050 1267 1051 1268 … … 1058 1275 1059 1276 1277 1060 1278 <br> 1279 1061 1280 1062 1281 … … 1079 1298 1080 1299 1300 1081 1301 <ul> 1082 1302 … … 1084 1304 1085 1305 1306 1307 1086 1308 1087 1309 … … 1093 1315 1094 1316 1317 1318 1095 1319 1096 1320 … … 1102 1326 1103 1327 1328 1329 1104 1330 1105 1331 … … 1111 1337 1112 1338 1339 1113 1340 <li>execute the CMT setup:</li> 1114 1341 … … 1116 1343 1117 1344 1345 1346 1118 1347 1119 1348 … … 1125 1354 1126 1355 1356 1357 1127 1358 1128 1359 … … 1134 1365 1135 1366 1367 1368 1136 1369 1137 1370 … … 1143 1376 1144 1377 1378 1145 1379 </ul> 1146 1380 … … 1148 1382 1149 1383 1384 1150 1385 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1151 1386 … … 1153 1388 1154 1389 1390 1155 1391 <tbody> 1156 1392 … … 1158 1394 1159 1395 1396 1160 1397 <tr> 1161 1398 … … 1163 1400 1164 1401 1402 1165 1403 <td style="background-color: rgb(204, 204, 204);">source <common-area-path>/kits/CMT/<version>/mgr/setup.csh</td> 1166 1404 … … 1168 1406 1169 1407 1408 1170 1409 </tr> 1171 1410 … … 1173 1412 1174 1413 1414 1415 1175 1416 1176 1417 … … 1183 1424 1184 1425 1426 1185 1427 <ul> 1186 1428 … … 1188 1430 1189 1431 1432 1433 1190 1434 1191 1435 … … 1197 1441 1198 1442 1443 1444 1199 1445 1200 1446 … … 1206 1452 1207 1453 1454 1455 1208 1456 1209 1457 … … 1215 1463 1216 1464 1465 1217 1466 <li> Then, one needs to reconfigure the MEMPHYS environment using the CMT ad hoc command</li> 1218 1467 … … 1220 1469 1221 1470 1471 1472 1222 1473 1223 1474 … … 1229 1480 1230 1481 1482 1483 1231 1484 1232 1485 … … 1238 1491 1239 1492 1493 1494 1240 1495 1241 1496 … … 1247 1502 1248 1503 1504 1249 1505 </ul> 1250 1506 … … 1252 1508 1253 1509 1510 1254 1511 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1255 1512 … … 1257 1514 1258 1515 1516 1259 1517 <tbody> 1260 1518 … … 1262 1520 1263 1521 1522 1264 1523 <tr> 1265 1524 … … 1267 1526 1268 1527 1528 1269 1529 <td style="background-color: rgb(204, 204, 204);">UNIX> cd MEMPHYS/<version>/cmt<br> 1270 1530 … … 1272 1532 1273 1533 1534 1274 1535 UNIX> cmt config<br> 1275 1536 … … 1277 1538 1278 1539 1540 1279 1541 UNIX> source setup.csh</td> 1280 1542 … … 1282 1544 1283 1545 1546 1284 1547 </tr> 1285 1548 … … 1287 1550 1288 1551 1552 1553 1289 1554 1290 1555 … … 1297 1562 1298 1563 1564 1299 1565 <br> 1566 1300 1567 1301 1568 … … 1309 1576 1310 1577 1578 1311 1579 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1312 1580 … … 1314 1582 1315 1583 1584 1316 1585 <tbody> 1317 1586 … … 1319 1588 1320 1589 1590 1321 1591 <tr> 1322 1592 … … 1324 1594 1325 1595 1596 1326 1597 <td style="background-color: rgb(204, 204, 204);">UNIX> cd MEMPHYS/<version>/cmt><br> 1327 1598 … … 1329 1600 1330 1601 1602 1331 1603 UNIX> cmt show path<br> 1332 1604 … … 1334 1606 1335 1607 1608 1336 1609 # Add path /home/campagne/projets/OSArea from initialization<br> 1337 1610 … … 1339 1612 1340 1613 1614 1341 1615 # Add path /home/campagne/kits/OpenScientist/v16r0 from ProjectPath<br> 1342 1616 … … 1344 1618 1345 1619 1620 1346 1621 # Add path /home/campagne/CMTI from ProjectPath<br> 1347 1622 … … 1349 1624 1350 1625 1626 1351 1627 # Add path /home/campagne/CMTI from ProjectPath</td> 1352 1628 … … 1354 1630 1355 1631 1632 1356 1633 </tr> 1357 1634 … … 1359 1636 1360 1637 1638 1639 1361 1640 1362 1641 … … 1369 1648 1370 1649 1650 1371 1651 Here it is shown that the <a href="#CMTPROJECTPATH">CMTPROJECTPATH</a> is well defined and that the different <a href="#cmtproject.cmt-1">project.cmt files</a> are correctly configurated. Then uses,<br> 1372 1652 … … 1374 1654 1375 1655 1656 1376 1657 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1377 1658 … … 1379 1660 1380 1661 1662 1381 1663 <tbody> 1382 1664 … … 1384 1666 1385 1667 1668 1386 1669 <tr> 1387 1670 … … 1389 1672 1390 1673 1674 1391 1675 <td style="background-color: rgb(204, 204, 204);">UNIX> cmt show uses<br> 1392 1676 … … 1394 1678 1395 1679 1680 1396 1681 # use OpenScientist v16r0 Interfaces<br> 1397 1682 … … 1399 1684 1400 1685 1686 1401 1687 # use ROOT v1r* Interfaces (native_version=4.03.02)<br> 1402 1688 … … 1404 1690 1405 1691 1692 1406 1693 #<br> 1407 1694 … … 1409 1696 1410 1697 1698 1411 1699 # Selection :<br> 1412 1700 … … 1414 1702 1415 1703 1704 1416 1705 use CMT v1r18p20051108 (/home/campagne/kits)<br> 1417 1706 … … 1419 1708 1420 1709 1710 1421 1711 use ROOT v1r51000p0 Interfaces (/home/campagne/CMTI/)<br> 1422 1712 … … 1424 1714 1425 1715 1716 1426 1717 use OpenScientist v16r0 Interfaces (/home/campagne/CMTI/)</td> 1427 1718 … … 1429 1720 1430 1721 1722 1431 1723 </tr> 1432 1724 … … 1434 1726 1435 1727 1728 1729 1436 1730 1437 1731 … … 1444 1738 1445 1739 1740 1446 1741 to see if the<a href="#to_install_the_OpenScientist-CMT_"> OpenScientist and ROOT Interface packages</a> are found (this does not mean yet that the Interfaces are correctly tuned...)<br> 1447 1742 … … 1449 1744 1450 1745 1746 1451 1747 <ul> 1452 1748 … … 1454 1750 1455 1751 1752 1753 1456 1754 1457 1755 … … 1463 1761 1464 1762 1763 1764 1465 1765 1466 1766 … … 1472 1772 1473 1773 1774 1775 1474 1776 1475 1777 … … 1481 1783 1482 1784 1785 1483 1786 <li>If the above cross-checks are successfuly passed, then one can proceed to the compilation and the link: </li> 1484 1787 … … 1486 1789 1487 1790 1791 1792 1488 1793 1489 1794 … … 1495 1800 1496 1801 1802 1803 1497 1804 1498 1805 … … 1504 1811 1505 1812 1813 1814 1506 1815 1507 1816 … … 1513 1822 1514 1823 1824 1515 1825 </ul> 1516 1826 … … 1518 1828 1519 1829 1830 1520 1831 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1521 1832 … … 1523 1834 1524 1835 1836 1525 1837 <tbody> 1526 1838 … … 1528 1840 1529 1841 1842 1530 1843 <tr> 1531 1844 … … 1533 1846 1534 1847 1848 1535 1849 <td style="background-color: rgb(204, 204, 204);">UNIX> cd MEMPHYS/<verson>/cmt<br> 1536 1850 … … 1538 1852 1539 1853 1854 1540 1855 UNIX> gmake</td> 1541 1856 … … 1543 1858 1544 1859 1860 1545 1861 </tr> 1546 1862 … … 1548 1864 1549 1865 1866 1867 1550 1868 1551 1869 … … 1558 1876 1559 1877 1878 1560 1879 <br> 1561 1880 … … 1563 1882 1564 1883 1884 1565 1885 If the all the process of compilationand link is ok, then one should see the following lines:<br> 1566 1886 … … 1568 1888 1569 1889 1890 1570 1891 <br> 1571 1892 … … 1573 1894 1574 1895 1896 1575 1897 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1576 1898 … … 1578 1900 1579 1901 1902 1580 1903 <tbody> 1581 1904 … … 1583 1906 1584 1907 1908 1585 1909 <tr> 1586 1910 … … 1588 1912 1589 1913 1914 1590 1915 <td style="background-color: rgb(204, 204, 204);">[...]<br> 1591 1916 … … 1593 1918 1594 1919 1920 1595 1921 ------> MEMPHYS_session ok<br> 1596 1922 … … 1598 1924 1599 1925 1926 1600 1927 ------> (constituents.make) MEMPHYS_session done<br> 1601 1928 … … 1603 1930 1604 1931 1932 1605 1933 all ok.</td> 1606 1934 … … 1608 1936 1609 1937 1938 1610 1939 </tr> 1611 1940 … … 1613 1942 1614 1943 1944 1945 1615 1946 1616 1947 … … 1623 1954 1624 1955 1956 1625 1957 <br> 1958 1626 1959 1627 1960 … … 1635 1968 1636 1969 1970 1637 1971 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId3450"></a>Simple runs</h2> 1638 1972 … … 1640 1974 1641 1975 1976 1642 1977 Usually the user starts an UNIX session and want to run MEMPHYS. The two things to do are:<br> 1643 1978 … … 1645 1980 1646 1981 1982 1647 1983 <br> 1648 1984 … … 1650 1986 1651 1987 1988 1652 1989 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1653 1990 … … 1655 1992 1656 1993 1994 1657 1995 <tbody> 1658 1996 … … 1660 1998 1661 1999 2000 1662 2001 <tr> 1663 2002 … … 1665 2004 1666 2005 2006 1667 2007 <td style="background-color: rgb(204, 204, 204);">1) be sure to define the <a href="#CMTPROJECTPATH">CMTPROJECTPATH</a> variable (at login or by sourcing a meta-setup)<br> 1668 2008 … … 1670 2010 1671 2011 2012 1672 2013 2) execute the MEMPHYS setup (no more necessary to run "cmt config"):<br> 1673 2014 … … 1675 2016 1676 2017 2018 1677 2019 UNIX> cd <personal-area>/OSArea/MEMPHYS/<versioin>/cmt<br> 1678 2020 … … 1680 2022 1681 2023 2024 1682 2025 UNIX> source setup.csh</td> 1683 2026 … … 1685 2028 1686 2029 2030 1687 2031 </tr> 1688 2032 … … 1690 2034 1691 2035 2036 2037 1692 2038 1693 2039 … … 1700 2046 1701 2047 2048 1702 2049 <br> 1703 2050 … … 1705 2052 1706 2053 2054 1707 2055 The directory hierarchy of the MEMPHYS package is the following:<br> 1708 2056 … … 1710 2058 1711 2059 2060 1712 2061 <br> 1713 2062 … … 1715 2064 1716 2065 2066 1717 2067 <table style="text-align: left; background-color: rgb(255, 255, 102); width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1718 2068 … … 1720 2070 1721 2071 2072 1722 2073 <tbody> 1723 2074 … … 1725 2076 1726 2077 2078 1727 2079 <tr> 1728 2080 … … 1730 2082 1731 2083 2084 1732 2085 <td>source</td> 1733 2086 … … 1735 2088 1736 2089 2090 1737 2091 <td>source Core directory</td> 1738 2092 … … 1740 2094 1741 2095 2096 1742 2097 </tr> 1743 2098 … … 1745 2100 1746 2101 2102 1747 2103 <tr> 1748 2104 … … 1750 2106 1751 2107 2108 1752 2109 <td>application</td> 1753 2110 … … 1755 2112 1756 2113 2114 1757 2115 <td>source files where the <span style="font-style: italic;">main</span> steering routine is defined</td> 1758 2116 … … 1760 2118 1761 2119 2120 1762 2121 </tr> 1763 2122 … … 1765 2124 1766 2125 2126 1767 2127 <tr> 1768 2128 … … 1770 2130 1771 2131 2132 1772 2133 <td>MEMPHYS</td> 1773 2134 … … 1775 2136 1776 2137 2138 1777 2139 <td>include files of the Core</td> 1778 2140 … … 1780 2142 1781 2143 2144 1782 2145 </tr> 1783 2146 … … 1785 2148 1786 2149 2150 1787 2151 <tr> 1788 2152 … … 1790 2154 1791 2155 2156 1792 2157 <td>cmt</td> 1793 2158 … … 1795 2160 1796 2161 2162 1797 2163 <td>directory where the CMT management files are located (requirements, setup/cleanup)</td> 1798 2164 … … 1800 2166 1801 2167 2168 1802 2169 </tr> 1803 2170 … … 1805 2172 1806 2173 2174 1807 2175 <tr> 1808 2176 … … 1810 2178 1811 2179 2180 1812 2181 <td>data</td> 1813 2182 … … 1815 2184 1816 2185 2186 1817 2187 <td>event file directory. NUANCE style is used to code the primary vertex particles</td> 1818 2188 … … 1820 2190 1821 2191 2192 1822 2193 </tr> 1823 2194 … … 1825 2196 1826 2197 2198 1827 2199 <tr> 1828 2200 … … 1830 2202 1831 2203 2204 1832 2205 <td>run</td> 2206 1833 2207 1834 2208 … … 1843 2217 1844 2218 2219 1845 2220 </tr> 1846 2221 … … 1848 2223 1849 2224 2225 1850 2226 <tr> 1851 2227 … … 1853 2229 1854 2230 2231 1855 2232 <td>scripts</td> 1856 2233 … … 1858 2235 1859 2236 2237 1860 2238 <td>Geant4 and OpenScientist scripts</td> 1861 2239 … … 1863 2241 1864 2242 2243 1865 2244 </tr> 1866 2245 … … 1868 2247 1869 2248 2249 2250 1870 2251 1871 2252 … … 1878 2259 1879 2260 2261 1880 2262 <br> 1881 2263 … … 1883 2265 1884 2266 2267 1885 2268 <h3><a class="mozTocH3" name="mozTocId327975"></a>Interactive session</h3> 1886 2269 … … 1888 2271 1889 2272 2273 1890 2274 In an interactive session the tuple generation is desable and one starts as followed:<br> 1891 2275 … … 1893 2277 1894 2278 2279 1895 2280 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1896 2281 … … 1898 2283 1899 2284 2285 1900 2286 <tbody> 1901 2287 … … 1903 2289 1904 2290 2291 1905 2292 <tr> 1906 2293 … … 1908 2295 1909 2296 2297 1910 2298 <td style="background-color: rgb(192, 192, 192);">UNIX> cd $MEMPHYSROOT/run<br> 1911 2299 … … 1913 2301 1914 2302 2303 1915 2304 UNIX> ../$CMTCONFIG/MEMPHYS_session.exe</td> 1916 2305 … … 1918 2307 1919 2308 2309 1920 2310 </tr> 1921 2311 … … 1923 2313 1924 2314 2315 2316 1925 2317 1926 2318 … … 1933 2325 1934 2326 2327 1935 2328 <br> 2329 1936 2330 1937 2331 … … 1946 2340 1947 2341 2342 1948 2343 <img style="width: 858px; height: 734px;" alt="image" src="Images/numuEvent.jpg"> <br> 1949 2344 2345 1950 2346 <br> 2347 1951 2348 1952 2349 One can visualize the "Hits" using the MEMPHYS menu, although it is … … 1954 2351 ("Hand mode" see right icons).<br> 1955 2352 2353 1956 2354 <br> 1957 2355 2356 1958 2357 <img style="width: 858px; height: 734px;" alt="Image" src="Images/numuEventHit.jpg"><br> 1959 2358 … … 1961 2360 1962 2361 2362 1963 2363 <br> 2364 1964 2365 1965 2366 … … 1973 2374 1974 2375 2376 1975 2377 <h3><a class="mozTocH3" name="mozTocId967005"></a>Batch mode</h3> 2378 1976 2379 1977 2380 … … 1986 2389 1987 2390 2391 1988 2392 <ul> 1989 2393 … … 1991 2395 1992 2396 2397 1993 2398 <li> either using compilated AIDA code (<span style="font-style: italic; color: rgb(255, 0, 0);">MEMPHYS_analysis_aida_ROOT.exe</span>, <span style="font-style: italic; color: rgb(255, 0, 0);">MEMPHYS_analysis_ROOT.exe</span>) generated by compiling as: </li> 1994 2399 … … 1996 2401 1997 2402 2403 1998 2404 </ul> 1999 2405 … … 2001 2407 2002 2408 2409 2003 2410 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 2004 2411 … … 2006 2413 2007 2414 2415 2008 2416 <tbody> 2009 2417 … … 2011 2419 2012 2420 2421 2013 2422 <tr> 2014 2423 … … 2016 2425 2017 2426 2427 2018 2428 <td style="background-color: rgb(204, 204, 204);">UNIX> you are in the <span style="font-style: italic;">run</span> directory<br> 2019 2429 … … 2021 2431 2022 2432 2433 2023 2434 UNIX> (cd ../cmt ; gmake ROOT)</td> 2024 2435 … … 2026 2437 2027 2438 2439 2028 2440 </tr> 2029 2441 … … 2031 2443 2032 2444 2445 2446 2033 2447 2034 2448 … … 2041 2455 2042 2456 2457 2043 2458 <br> 2044 2459 … … 2046 2461 2047 2462 2463 2048 2464 The difference between the two applications are XXX <br> 2049 2465 … … 2051 2467 2052 2468 2469 2053 2470 <ul> 2054 2471 … … 2056 2473 2057 2474 2475 2058 2476 <li>either using interactive OnX session ()</li> 2059 2477 … … 2061 2479 2062 2480 2481 2063 2482 </ul> 2064 2483 … … 2066 2485 2067 2486 2487 2068 2488 <ul> 2069 2489 … … 2071 2491 2072 2492 2493 2073 2494 <li>or using the ROOT toolkit using the <span style="font-style: italic; color: rgb(255, 0, 0);">MEMPHYS_xxx.C</span> macros</li> 2074 2495 … … 2076 2497 2077 2498 2499 2078 2500 </ul> 2079 2501 … … 2081 2503 2082 2504 2505 2083 2506 The structure of the tuple for the moment is the following:<br> 2084 2507 … … 2086 2509 2087 2510 2511 2088 2512 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 2089 2513 … … 2091 2515 2092 2516 2517 2093 2518 <tbody> 2094 2519 … … 2096 2521 2097 2522 2523 2098 2524 <tr> 2099 2525 … … 2101 2527 2102 2528 2529 2103 2530 <td style="background-color: rgb(102, 255, 153);"> std::string column = "int eventId, inputEvtId, interMode, vtxVol, "; <br> 2104 2531 … … 2106 2533 2107 2534 2535 2108 2536 column += "ITuple vtxPos = { double x, y, z }, ";<br> 2109 2537 … … 2111 2539 2112 2540 2541 2113 2542 column += "int nPart, leptonIndex, protonIndex, ";<br> 2114 2543 … … 2116 2545 2117 2546 2547 2118 2548 column += "ITuple track = { int pId, parent, float timeStart, ";<br> 2549 2119 2550 2120 2551 … … 2128 2559 2129 2560 2561 2130 2562 column 2131 2563 += … … 2135 2567 2136 2568 2569 2137 2570 column 2138 2571 += … … 2142 2575 2143 2576 2577 2144 2578 column 2145 2579 += … … 2149 2583 2150 2584 2585 2151 2586 column 2152 2587 += … … 2156 2591 2157 2592 2593 2158 2594 column 2159 2595 += … … 2163 2599 2164 2600 2601 2165 2602 column += "}, ";<br> 2166 2603 … … 2168 2605 2169 2606 2607 2170 2608 column += "int nHits, ITuple hit = { int tubeId, int totalPE, ITuple pe = { float time} }, ";<br> 2171 2609 … … 2173 2611 2174 2612 2613 2175 2614 column += "int nDigits, double sumPE, ";<br> 2176 2615 … … 2178 2617 2179 2618 2619 2180 2620 column += "ITuple digit = { int tubeId, double pe, time }";</td> 2181 2621 … … 2183 2623 2184 2624 2625 2185 2626 </tr> 2186 2627 … … 2188 2629 2189 2630 2631 2632 2190 2633 2191 2634 … … 2209 2652 2210 2653 2211 </body></html> 2654 2655 </body> 2656 </html>
Note: See TracChangeset
for help on using the changeset viewer.