Changeset 274 for MEMPHYS/HEAD
- Timestamp:
- Jan 31, 2007, 2:42:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/doc/MEMPHYS.html
r272 r274 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html lang="fr-fr"><head> 3 4 5 2 <html lang="fr-fr"> 3 <head> 4 5 6 7 8 6 9 7 10 … … 11 14 12 15 13 14 15 16 17 18 19 20 <title>MEMPHYS Software</title><meta content="J-E Campagne " name="author"></head> 16 17 18 19 20 21 22 23 24 25 <title>MEMPHYS Software</title> 26 <meta content="J-E Campagne " name="author"> 27 </head> 21 28 22 29 <body> … … 24 31 25 32 33 26 34 <h1 style="text-align: center; color: rgb(0, 0, 153);"><a class="mozTocH1" name="mozTocId909942"></a>Install and run MEMPHYS software </h1> 27 35 28 36 29 37 38 30 39 <h1 style="text-align: center; color: rgb(0, 0, 153);">and the associate toolkits</h1> 40 31 41 32 42 … … 37 47 38 48 49 39 50 <ul id="mozToc"> 40 51 41 52 53 42 54 <!--mozToc h2 2 h3 3 h4 4 h5 5 h6 6--><li><a href="#mozTocId102030">Table of Contents</a> 43 55 44 56 57 45 58 <ul> 46 59 47 60 61 48 62 <li><a href="#mozTocId791206">What the user have to know?</a></li> 63 49 64 50 65 … … 52 67 53 68 69 54 70 <ul> 55 71 56 72 73 57 74 <li><a href="#mozTocId129835">The OpenScientist toolkit</a></li> 58 75 59 76 77 60 78 <li><a href="#mozTocId109209">The MEMPHYS package</a></li> 61 79 62 80 81 82 63 83 64 84 … … 66 86 67 87 88 68 89 </li> 90 69 91 70 92 … … 72 94 73 95 96 74 97 <ul> 75 98 76 99 100 77 101 <li><a href="#mozTocId327975">Interactive session</a></li> 78 102 79 103 104 80 105 <li><a href="#mozTocId967005">Batch mode</a></li> 81 106 82 107 108 109 83 110 84 111 … … 86 113 87 114 115 88 116 </li> 89 117 90 118 119 120 91 121 92 122 … … 94 124 95 125 126 96 127 </li> 97 128 98 129 130 99 131 </ul> 100 132 101 133 102 134 135 103 136 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId791206"></a>What the user have to know?</h2> 104 137 105 138 106 139 140 107 141 The user is supposed to know how to practice more or less: <br> 108 142 109 143 110 144 145 111 146 <ul> 112 147 113 148 114 149 115 <li>the Linux OS or the Mac ??? OS <span style="color: rgb(255, 0, 0);">(Ceci est un changement de JEC)</span>,</li> 150 151 <li>the Linux OS or the MacOSX <span style="color: rgb(255, 0, 0);">(Ceci est un changement de JEC)</span>,</li> 152 116 153 117 154 … … 121 158 122 159 160 123 161 <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> 124 162 125 163 126 164 165 127 166 <li>the <a href="http://www.cs.uregina.ca/Dept/manuals/Manuals/7Language/7_18C++/c++.htm">C++</a> language,</li> 128 167 129 168 130 169 170 131 171 <li>the <a href="http://geant4.web.cern.ch/geant4/">Geant 4</a> simulation tool, </li> 172 132 173 133 174 … … 139 180 140 181 182 141 183 <li>the <a href="http://root.cern.ch/">ROOT</a> toolkit if one wants to make analysis/ploting using this package.</li> 142 184 143 185 144 186 187 145 188 </ul> 146 189 147 190 148 191 192 149 193 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId474404"></a>Installation of the Plug-ins and the MEMPHYS package </h2> 194 150 195 151 196 … … 160 205 161 206 207 162 208 <h3><a class="mozTocH3" name="mozTocId129835"></a>The OpenScientist toolkit</h3> 209 163 210 164 211 … … 171 218 172 219 220 173 221 <br> 174 222 175 223 176 224 225 177 226 <a name="OpenScientistInstall"></a>So, the user proceeds as followed (UNIX):<br> 178 227 179 228 180 229 230 181 231 <ol> 182 232 183 233 184 234 235 185 236 <li>download the zip file</li> 186 237 187 238 188 239 240 189 241 <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> 190 242 191 243 192 244 245 193 246 <li>cd OpenScientist/v16r0</li> 194 247 195 248 196 249 250 197 251 <li>chmod a+x install</li> 198 252 199 253 200 254 255 201 256 <li>./install</li> 202 257 203 258 204 259 260 205 261 </ol> 262 206 263 207 264 … … 213 270 214 271 272 215 273 csh> source <path>/OpenScientist/v16r0/aida-setup.csh<br> 216 274 217 275 218 276 277 219 278 ( sh> . <path>/OpenScientist/v16r0/aida-setup.sh )<br> 279 220 280 221 281 … … 226 286 227 287 288 228 289 <li>UNIX> aida-config</li> 229 290 230 291 231 292 293 232 294 <li>UNIX> onxlab</li> 233 295 234 296 235 297 298 236 299 </ul> 237 300 238 301 239 302 303 240 304 The user may see the famous gaussian distribution and the associate fit....<br> 241 305 242 306 243 307 308 244 309 <div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/onxlab.jpg"><br> 245 310 246 311 247 312 313 248 314 </div> 249 315 250 316 251 317 318 252 319 <br> 320 253 321 254 322 … … 260 328 261 329 330 262 331 <ul> 263 332 264 333 265 334 335 266 336 <li> UNIX> G4Simple_session</li> 267 337 268 338 269 339 340 270 341 <li>In the Geant 4 menu, starts with "Init" and then "Run", some tracks will appear when the number of events are validated</li> 342 271 343 272 344 … … 278 350 279 351 352 280 353 </ul> 281 354 282 355 283 356 357 284 358 <div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/G4Simple.jpg"><br> 285 359 286 360 287 361 362 288 363 </div> 289 364 290 365 291 366 367 292 368 <h3><a class="mozTocH3" name="mozTocId109209"></a>The MEMPHYS package</h3> 293 369 294 370 295 371 372 296 373 To install the MEMPHYS package, one may adopt a directory hierarchy as followed (UNIX):<br> 297 374 298 375 299 376 377 300 378 <ul> 301 379 302 380 303 381 382 304 383 <li>define at the login phase the <a name="CMTPROJECTPATH"></a>CMTPROJECTPATH environment variable: </li> 305 384 306 385 307 386 387 308 388 </ul> 309 389 310 390 311 391 392 312 393 <table style="width: 100%;" border="1" cellpadding="2" cellspacing="2"> 313 394 … … 315 396 316 397 398 317 399 <tbody> 318 400 319 401 320 402 321 <tr> 403 404 <tr> 405 322 406 323 407 … … 327 411 328 412 329 </tr> 330 331 332 333 413 414 </tr> 415 416 417 418 419 420 334 421 335 422 … … 340 427 341 428 429 342 430 <ul> 343 431 344 432 345 433 434 346 435 <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> 347 436 348 437 349 438 439 350 440 <li>create the <span style="color: rgb(255, 0, 0);"><common-area-path>/CMTI/ <span style="color: rgb(0, 0, 0);">area</span></span>: </li> 351 441 352 442 353 443 444 445 354 446 355 447 … … 359 451 360 452 453 361 454 <li>create a <span style="color: rgb(255, 0, 0);"><a name="cmtproject.cmt-1"></a>/cmt/project.cmt</span> file with the simple ligne</li> 362 455 363 456 364 457 458 459 365 460 366 461 … … 370 465 371 466 467 372 468 </ul> 373 469 374 470 375 471 472 376 473 <table style="background-color: rgb(192, 192, 192); width: 100%;" border="1" cellpadding="2" cellspacing="2"> 377 474 … … 379 476 380 477 478 381 479 <tbody> 382 480 383 481 384 482 385 <tr> 483 484 <tr> 485 386 486 387 487 … … 391 491 392 492 393 </tr> 394 395 396 397 493 494 </tr> 495 496 497 498 499 500 398 501 399 502 … … 404 507 405 508 509 406 510 <ul> 407 511 408 512 409 513 514 515 410 516 411 517 … … 415 521 416 522 523 417 524 <li><a name="to_install_the_OpenScientist-CMT_"></a>to install the OpenScientist-CMT Interfaces for OpenScientist toolkit and the ROOT toolkit</li> 418 525 419 526 420 527 528 529 421 530 422 531 … … 426 535 427 536 537 538 428 539 429 540 … … 433 544 434 545 546 547 435 548 436 549 … … 440 553 441 554 555 442 556 <li>download the Interfaces here (<span style="color: rgb(255, 0, 0); font-weight: bold;">TBD</span>) </li> 443 557 444 558 445 559 560 561 446 562 447 563 … … 451 567 452 568 569 570 453 571 454 572 … … 458 576 459 577 578 460 579 <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> 461 580 462 581 463 582 583 584 464 585 465 586 … … 469 590 470 591 592 593 471 594 472 595 … … 476 599 477 600 601 478 602 </ul> 479 603 480 604 481 605 606 482 607 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 483 608 484 609 485 610 611 486 612 <tbody> 487 613 488 614 489 615 490 <tr> 616 617 <tr> 618 491 619 492 620 … … 496 624 497 625 626 498 627 macro OSC_home "/home/campagne/kits/OpenScientist/v16r0/"</td> 499 628 500 629 501 630 502 </tr> 503 504 505 631 632 </tr> 633 634 635 636 637 506 638 507 639 … … 512 644 513 645 646 514 647 <ul> 515 648 516 649 517 650 651 652 518 653 519 654 … … 523 658 524 659 660 661 525 662 526 663 … … 530 667 531 668 669 532 670 <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> 533 671 534 672 535 673 674 675 536 676 537 677 … … 541 681 542 682 683 684 543 685 544 686 … … 548 690 549 691 692 550 693 </ul> 551 694 552 695 553 696 697 554 698 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 555 699 556 700 557 701 702 558 703 <tbody> 559 704 560 705 561 706 562 <tr> 707 708 <tr> 709 563 710 564 711 … … 568 715 569 716 717 570 718 macro ROOT_native_version "4.03.02"<br> 571 719 572 720 573 721 722 574 723 <br> 575 724 576 725 577 726 727 578 728 macro ROOT_home "/home/campagne/kits/root-${ROOT_native_version}" </td> 579 729 580 730 581 731 582 </tr> 583 584 585 732 733 </tr> 734 735 736 737 738 586 739 587 740 … … 592 745 593 746 747 594 748 <ul> 595 749 596 750 597 751 752 598 753 <li>create a <span style="color: rgb(255, 0, 0);"><personal-area>/OSArea</span> area :</li> 599 754 600 755 601 756 757 758 602 759 603 760 … … 607 764 608 765 766 609 767 <li>create a <a name="cmtproject.cmt-2"></a><span style="color: rgb(255, 0, 0);">/cmt/project.cmt</span> file with the simple code making the bridge between the MEMPHYS-like package and the common kits used to develop and use them:</li> 610 768 611 769 612 770 771 772 613 773 614 774 … … 618 778 619 779 780 620 781 </ul> 621 782 622 783 623 784 785 624 786 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 625 787 626 788 627 789 790 628 791 <tbody> 629 792 630 793 631 794 632 <tr> 795 796 <tr> 797 633 798 634 799 … … 638 803 639 804 805 640 806 <br> 641 807 642 808 643 809 810 644 811 use OpenScientist v16r0<br> 645 812 646 813 647 814 815 648 816 use CMTI</td> 649 817 650 818 651 819 652 </tr> 653 654 655 820 821 </tr> 822 823 824 825 826 656 827 657 828 … … 662 833 663 834 835 664 836 <ul> 665 837 666 838 667 839 840 841 668 842 669 843 … … 673 847 674 848 849 675 850 <li>download the MEMPHYS package using </li> 676 851 677 852 678 853 854 855 679 856 680 857 … … 684 861 685 862 863 686 864 <li>either a tarball at the following link: <span style="font-weight: bold; color: rgb(255, 0, 0);">TBD if possible</span></li> 687 865 688 866 689 867 868 690 869 <li>either the SVN software:</li> 691 870 692 871 693 872 873 874 694 875 695 876 … … 699 880 700 881 882 701 883 <li>define the environment variable:</li> 702 884 703 885 704 886 887 888 705 889 706 890 … … 710 894 711 895 896 897 712 898 713 899 … … 717 903 718 904 905 906 719 907 720 908 … … 724 912 725 913 914 726 915 </ul> 727 916 728 917 729 918 919 730 920 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 731 921 732 922 733 923 924 734 925 <tbody> 735 926 736 927 737 928 738 <tr> 929 930 <tr> 931 739 932 740 933 … … 744 937 745 938 746 </tr> 747 748 749 939 940 </tr> 941 942 943 944 945 750 946 751 947 … … 756 952 757 953 954 758 955 <ul> 759 956 760 957 761 958 959 960 762 961 763 962 … … 767 966 768 967 968 969 769 970 770 971 … … 774 975 775 976 977 978 776 979 777 980 778 981 779 982 <ul> 983 780 984 781 985 … … 787 991 788 992 993 994 789 995 790 996 … … 794 1000 795 1001 1002 1003 796 1004 797 1005 … … 801 1009 802 1010 1011 1012 803 1013 804 1014 … … 808 1018 809 1019 1020 810 1021 </ul> 811 1022 812 1023 813 1024 1025 814 1026 <table style="width: 100%;" border="1" cellpadding="2" cellspacing="2"> 815 1027 … … 817 1029 818 1030 1031 819 1032 <tbody> 820 1033 821 1034 822 1035 823 <tr> 1036 1037 <tr> 1038 824 1039 825 1040 … … 829 1044 830 1045 831 </tr> 832 833 834 835 1046 1047 </tr> 1048 1049 1050 1051 1052 1053 836 1054 837 1055 … … 842 1060 843 1061 1062 844 1063 <br> 1064 845 1065 846 1066 … … 856 1076 857 1077 1078 858 1079 </div> 859 1080 860 1081 861 1082 1083 862 1084 <ul> 863 1085 864 1086 865 1087 1088 1089 866 1090 867 1091 … … 871 1095 872 1096 1097 1098 873 1099 874 1100 … … 878 1104 879 1105 1106 1107 880 1108 881 1109 … … 885 1113 886 1114 1115 887 1116 <li>execute the CMT setup:</li> 888 1117 889 1118 890 1119 1120 1121 891 1122 892 1123 … … 896 1127 897 1128 1129 1130 898 1131 899 1132 … … 903 1136 904 1137 1138 1139 905 1140 906 1141 … … 910 1145 911 1146 1147 912 1148 </ul> 913 1149 914 1150 915 1151 1152 916 1153 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 917 1154 918 1155 919 1156 1157 920 1158 <tbody> 921 1159 922 1160 923 1161 924 <tr> 1162 1163 <tr> 1164 925 1165 926 1166 … … 930 1170 931 1171 932 </tr> 933 934 935 1172 1173 </tr> 1174 1175 1176 1177 1178 936 1179 937 1180 … … 942 1185 943 1186 1187 944 1188 <ul> 945 1189 946 1190 947 1191 1192 1193 948 1194 949 1195 … … 953 1199 954 1200 1201 1202 955 1203 956 1204 … … 960 1208 961 1209 1210 1211 962 1212 963 1213 … … 967 1217 968 1218 1219 969 1220 <li> Then, one needs to reconfigure the MEMPHYS environment using the CMT ad hoc command</li> 970 1221 971 1222 972 1223 1224 1225 973 1226 974 1227 … … 978 1231 979 1232 1233 1234 980 1235 981 1236 … … 985 1240 986 1241 1242 1243 987 1244 988 1245 … … 992 1249 993 1250 1251 994 1252 </ul> 995 1253 996 1254 997 1255 1256 998 1257 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 999 1258 1000 1259 1001 1260 1261 1002 1262 <tbody> 1003 1263 1004 1264 1005 1265 1006 <tr> 1266 1267 <tr> 1268 1007 1269 1008 1270 … … 1012 1274 1013 1275 1276 1014 1277 UNIX> cmt config<br> 1015 1278 1016 1279 1017 1280 1281 1018 1282 UNIX> source setup.csh</td> 1019 1283 1020 1284 1021 1285 1022 </tr> 1023 1024 1025 1286 1287 </tr> 1288 1289 1290 1291 1292 1026 1293 1027 1294 … … 1032 1299 1033 1300 1301 1034 1302 <br> 1303 1035 1304 1036 1305 … … 1042 1311 1043 1312 1313 1044 1314 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1045 1315 1046 1316 1047 1317 1318 1048 1319 <tbody> 1049 1320 1050 1321 1051 1322 1052 <tr> 1323 1324 <tr> 1325 1053 1326 1054 1327 … … 1058 1331 1059 1332 1333 1060 1334 UNIX> cmt show path<br> 1061 1335 1062 1336 1063 1337 1338 1064 1339 # Add path /home/campagne/projets/OSArea from initialization<br> 1065 1340 1066 1341 1067 1342 1343 1068 1344 # Add path /home/campagne/kits/OpenScientist/v16r0 from ProjectPath<br> 1069 1345 1070 1346 1071 1347 1348 1072 1349 # Add path /home/campagne/CMTI from ProjectPath<br> 1073 1350 1074 1351 1075 1352 1353 1076 1354 # Add path /home/campagne/CMTI from ProjectPath</td> 1077 1355 1078 1356 1079 1357 1080 </tr> 1081 1082 1083 1358 1359 </tr> 1360 1361 1362 1363 1364 1084 1365 1085 1366 … … 1090 1371 1091 1372 1373 1092 1374 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> 1093 1375 1094 1376 1095 1377 1378 1096 1379 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1097 1380 1098 1381 1099 1382 1383 1100 1384 <tbody> 1101 1385 1102 1386 1103 1387 1104 <tr> 1388 1389 <tr> 1390 1105 1391 1106 1392 … … 1110 1396 1111 1397 1398 1112 1399 # use OpenScientist v16r0 Interfaces<br> 1113 1400 1114 1401 1115 1402 1403 1116 1404 # use ROOT v1r* Interfaces (native_version=4.03.02)<br> 1117 1405 1118 1406 1119 1407 1408 1120 1409 #<br> 1121 1410 1122 1411 1123 1412 1413 1124 1414 # Selection :<br> 1125 1415 1126 1416 1127 1417 1418 1128 1419 use CMT v1r18p20051108 (/home/campagne/kits)<br> 1129 1420 1130 1421 1131 1422 1423 1132 1424 use ROOT v1r51000p0 Interfaces (/home/campagne/CMTI/)<br> 1133 1425 1134 1426 1135 1427 1428 1136 1429 use OpenScientist v16r0 Interfaces (/home/campagne/CMTI/)</td> 1137 1430 1138 1431 1139 1432 1140 </tr> 1141 1142 1143 1433 1434 </tr> 1435 1436 1437 1438 1439 1144 1440 1145 1441 … … 1150 1446 1151 1447 1448 1152 1449 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> 1153 1450 1154 1451 1155 1452 1453 1156 1454 <ul> 1157 1455 1158 1456 1159 1457 1458 1459 1160 1460 1161 1461 … … 1165 1465 1166 1466 1467 1468 1167 1469 1168 1470 … … 1172 1474 1173 1475 1476 1477 1174 1478 1175 1479 … … 1179 1483 1180 1484 1485 1181 1486 <li>If the above cross-checks are successfuly passed, then one can proceed to the compilation and the link: </li> 1182 1487 1183 1488 1184 1489 1490 1491 1185 1492 1186 1493 … … 1190 1497 1191 1498 1499 1500 1192 1501 1193 1502 … … 1197 1506 1198 1507 1508 1509 1199 1510 1200 1511 … … 1204 1515 1205 1516 1517 1206 1518 </ul> 1207 1519 1208 1520 1209 1521 1522 1210 1523 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1211 1524 1212 1525 1213 1526 1527 1214 1528 <tbody> 1215 1529 1216 1530 1217 1531 1218 <tr> 1532 1533 <tr> 1534 1219 1535 1220 1536 … … 1224 1540 1225 1541 1542 1226 1543 UNIX> gmake</td> 1227 1544 1228 1545 1229 1546 1230 </tr> 1231 1232 1233 1547 1548 </tr> 1549 1550 1551 1552 1553 1234 1554 1235 1555 … … 1240 1560 1241 1561 1562 1242 1563 <br> 1243 1564 1244 1565 1245 1566 1567 1246 1568 If the all the process of compilationand link is ok, then one should see the following lines:<br> 1247 1569 1248 1570 1249 1571 1572 1250 1573 <br> 1251 1574 1252 1575 1253 1576 1577 1254 1578 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1255 1579 1256 1580 1257 1581 1582 1258 1583 <tbody> 1259 1584 1260 1585 1261 1586 1262 <tr> 1587 1588 <tr> 1589 1263 1590 1264 1591 … … 1268 1595 1269 1596 1597 1270 1598 ------> MEMPHYS_session ok<br> 1271 1599 1272 1600 1273 1601 1602 1274 1603 ------> (constituents.make) MEMPHYS_session done<br> 1275 1604 1276 1605 1277 1606 1607 1278 1608 all ok.</td> 1279 1609 1280 1610 1281 1611 1282 </tr> 1283 1284 1285 1612 1613 </tr> 1614 1615 1616 1617 1618 1286 1619 1287 1620 … … 1292 1625 1293 1626 1627 1294 1628 <br> 1629 1295 1630 1296 1631 … … 1302 1637 1303 1638 1639 1304 1640 <h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId3450"></a>Simple runs</h2> 1305 1641 1306 1642 1307 1643 1644 1308 1645 Usually the user starts an UNIX session and want to run MEMPHYS. The two things to do are:<br> 1309 1646 1310 1647 1311 1648 1649 1312 1650 <br> 1313 1651 1314 1652 1315 1653 1654 1316 1655 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1317 1656 1318 1657 1319 1658 1659 1320 1660 <tbody> 1321 1661 1322 1662 1323 1663 1324 <tr> 1664 1665 <tr> 1666 1325 1667 1326 1668 … … 1330 1672 1331 1673 1674 1332 1675 2) execute the MEMPHYS setup (no more necessary to run "cmt config"):<br> 1333 1676 1334 1677 1335 1678 1679 1336 1680 UNIX> cd <personal-area>/OSArea/MEMPHYS/<versioin>/cmt<br> 1337 1681 1338 1682 1339 1683 1684 1340 1685 UNIX> source setup.csh</td> 1341 1686 1342 1687 1343 1688 1344 </tr> 1345 1346 1347 1689 1690 </tr> 1691 1692 1693 1694 1695 1348 1696 1349 1697 … … 1354 1702 1355 1703 1704 1356 1705 <br> 1357 1706 1358 1707 1359 1708 1709 1360 1710 The directory hierarchy of the MEMPHYS package is the following:<br> 1361 1711 1362 1712 1363 1713 1714 1364 1715 <br> 1365 1716 1366 1717 1367 1718 1719 1368 1720 <table style="text-align: left; background-color: rgb(255, 255, 102); width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1369 1721 1370 1722 1371 1723 1724 1372 1725 <tbody> 1373 1726 1374 1727 1375 1728 1376 <tr> 1729 1730 <tr> 1731 1377 1732 1378 1733 … … 1382 1737 1383 1738 1739 1384 1740 <td>source Core directory</td> 1385 1741 1386 1742 1387 1743 1388 </tr> 1389 1390 1391 1392 <tr> 1744 1745 </tr> 1746 1747 1748 1749 1750 <tr> 1751 1393 1752 1394 1753 … … 1398 1757 1399 1758 1759 1400 1760 <td>source files where the <span style="font-style: italic;">main</span> steering routine is defined</td> 1401 1761 1402 1762 1403 1763 1404 </tr> 1405 1406 1407 1408 <tr> 1764 1765 </tr> 1766 1767 1768 1769 1770 <tr> 1771 1409 1772 1410 1773 … … 1414 1777 1415 1778 1779 1416 1780 <td>include files of the Core</td> 1417 1781 1418 1782 1419 1783 1420 </tr> 1421 1422 1423 1424 <tr> 1784 1785 </tr> 1786 1787 1788 1789 1790 <tr> 1791 1425 1792 1426 1793 … … 1430 1797 1431 1798 1799 1432 1800 <td>directory where the CMT management files are located (requirements, setup/cleanup)</td> 1433 1801 1434 1802 1435 1803 1436 </tr> 1437 1438 1439 1440 <tr> 1804 1805 </tr> 1806 1807 1808 1809 1810 <tr> 1811 1441 1812 1442 1813 … … 1446 1817 1447 1818 1819 1448 1820 <td>event file directory. NUANCE style is used to code the primary vertex particles</td> 1449 1821 1450 1822 1451 1823 1452 </tr> 1453 1454 1455 1456 <tr> 1824 1825 </tr> 1826 1827 1828 1829 1830 <tr> 1831 1457 1832 1458 1833 1459 1834 1460 1835 <td>run</td> 1836 1461 1837 1462 1838 … … 1469 1845 1470 1846 1471 </tr> 1472 1473 1474 1475 <tr> 1847 1848 </tr> 1849 1850 1851 1852 1853 <tr> 1854 1476 1855 1477 1856 … … 1481 1860 1482 1861 1862 1483 1863 <td>Geant4 and OpenScientist scripts</td> 1484 1864 1485 1865 1486 1866 1487 </tr> 1488 1489 1490 1867 1868 </tr> 1869 1870 1871 1872 1873 1491 1874 1492 1875 … … 1497 1880 1498 1881 1882 1499 1883 <br> 1500 1884 1501 1885 1502 1886 1887 1503 1888 <h3><a class="mozTocH3" name="mozTocId327975"></a>Interactive session</h3> 1504 1889 1505 1890 1506 1891 1892 1507 1893 In an interactive session the tuple generation is desable and one starts as followed:<br> 1508 1894 1509 1895 1510 1896 1897 1511 1898 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1512 1899 1513 1900 1514 1901 1902 1515 1903 <tbody> 1516 1904 1517 1905 1518 1906 1519 <tr> 1907 1908 <tr> 1909 1520 1910 1521 1911 … … 1525 1915 1526 1916 1917 1527 1918 UNIX> ../$CMTCONFIG/MEMPHYS_session.exe</td> 1528 1919 1529 1920 1530 1921 1531 </tr> 1532 1533 1534 1922 1923 </tr> 1924 1925 1926 1927 1928 1535 1929 1536 1930 … … 1541 1935 1542 1936 1937 1543 1938 <br> 1939 1544 1940 1545 1941 … … 1552 1948 1553 1949 1950 1554 1951 <img style="width: 858px; height: 734px;" alt="image" src="Images/numuEvent.jpg"> <br> 1952 1555 1953 <br> 1954 1556 1955 One can visualize the "Hits" using the MEMPHYS menu, although it is 1557 1956 then useful to use the zoom by using CTRL-Shift + drag the mouse in the 1558 1957 ("Hand mode" see right icons).<br> 1958 1559 1959 <br> 1960 1560 1961 <img style="width: 858px; height: 734px;" alt="Image" src="Images/numuEventHit.jpg"><br> 1561 1962 1562 1963 1563 1964 1965 1564 1966 <br> 1967 1565 1968 1566 1969 … … 1572 1975 1573 1976 1977 1574 1978 <h3><a class="mozTocH3" name="mozTocId967005"></a>Batch mode</h3> 1979 1575 1980 1576 1981 … … 1583 1988 1584 1989 1990 1585 1991 <ul> 1586 1992 1587 1993 1588 1994 1995 1589 1996 <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> 1590 1997 1591 1998 1592 1999 2000 1593 2001 </ul> 1594 2002 1595 2003 1596 2004 2005 1597 2006 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1598 2007 1599 2008 1600 2009 2010 1601 2011 <tbody> 1602 2012 1603 2013 1604 2014 1605 <tr> 2015 2016 <tr> 2017 1606 2018 1607 2019 … … 1611 2023 1612 2024 2025 1613 2026 UNIX> (cd ../cmt ; gmake ROOT)</td> 1614 2027 1615 2028 1616 2029 1617 </tr> 1618 1619 1620 2030 2031 </tr> 2032 2033 2034 2035 2036 1621 2037 1622 2038 … … 1627 2043 1628 2044 2045 1629 2046 <br> 1630 2047 1631 2048 1632 2049 2050 1633 2051 The difference between the two applications are XXX <br> 1634 2052 1635 2053 1636 2054 2055 1637 2056 <ul> 1638 2057 1639 2058 1640 2059 2060 1641 2061 <li>either using interactive OnX session ()</li> 1642 2062 1643 2063 1644 2064 2065 1645 2066 </ul> 1646 2067 1647 2068 1648 2069 2070 1649 2071 <ul> 1650 2072 1651 2073 1652 2074 2075 1653 2076 <li>or using the ROOT toolkit using the <span style="font-style: italic; color: rgb(255, 0, 0);">MEMPHYS_xxx.C</span> macros</li> 1654 2077 1655 2078 1656 2079 2080 1657 2081 </ul> 1658 2082 1659 2083 1660 2084 2085 1661 2086 The structure of the tuple for the moment is the following:<br> 1662 2087 1663 2088 1664 2089 2090 1665 2091 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> 1666 2092 1667 2093 1668 2094 2095 1669 2096 <tbody> 1670 2097 1671 2098 1672 2099 1673 <tr> 2100 2101 <tr> 2102 1674 2103 1675 2104 … … 1679 2108 1680 2109 2110 1681 2111 column += "ITuple vtxPos = { double x, y, z }, ";<br> 1682 2112 1683 2113 1684 2114 2115 1685 2116 column += "int nPart, leptonIndex, protonIndex, ";<br> 1686 2117 1687 2118 1688 2119 2120 1689 2121 column += "ITuple track = { int pId, parent, float timeStart, ";<br> 2122 1690 2123 1691 2124 … … 1697 2130 1698 2131 2132 1699 2133 column 1700 2134 += … … 1703 2137 1704 2138 2139 1705 2140 column 1706 2141 += … … 1709 2144 1710 2145 2146 1711 2147 column 1712 2148 += … … 1715 2151 1716 2152 2153 1717 2154 column 1718 2155 += … … 1721 2158 1722 2159 2160 1723 2161 column 1724 2162 += … … 1727 2165 1728 2166 2167 1729 2168 column += "}, ";<br> 1730 2169 1731 2170 1732 2171 2172 1733 2173 column += "int nHits, ITuple hit = { int tubeId, int totalPE, ITuple pe = { float time} }, ";<br> 1734 2174 1735 2175 1736 2176 2177 1737 2178 column += "int nDigits, double sumPE, ";<br> 1738 2179 1739 2180 1740 2181 2182 1741 2183 column += "ITuple digit = { int tubeId, double pe, time }";</td> 1742 2184 1743 2185 1744 2186 1745 </tr> 1746 1747 1748 2187 2188 </tr> 2189 2190 2191 2192 2193 1749 2194 1750 2195 … … 1755 2200 1756 2201 2202 1757 2203 <br> 1758 2204 1759 2205 1760 2206 2207 1761 2208 <br> 1762 2209 … … 1764 2211 1765 2212 1766 </body></html> 2213 2214 </body> 2215 </html>
Note: See TracChangeset
for help on using the changeset viewer.