Changeset 276 for MEMPHYS/HEAD


Ignore:
Timestamp:
Jan 31, 2007, 2:56:45 PM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/doc/MEMPHYS.html

    r275 r276  
    11<!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 
    710 
    811 
     
    1417
    1518
    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
    2634<body>
    2735
     
    2937
    3038
     39
    3140<h1 style="text-align: center; color: rgb(0, 0, 153);"><a class="mozTocH1" name="mozTocId909942"></a>Install and run MEMPHYS software&nbsp;</h1>
    3241
     
    3443
    3544
     45
    3646<h1 style="text-align: center; color: rgb(0, 0, 153);">and the associate toolkits</h1>
     47
    3748
    3849
     
    4556
    4657
     58
    4759<ul id="mozToc">
    4860
    4961
    5062
     63
    5164<!--mozToc h2 2 h3 3 h4 4 h5 5 h6 6--><li><a href="#mozTocId102030">Table of Contents</a>
    5265   
    5366   
    5467   
     68   
    5569    <ul>
    5670
    5771
    5872
     73
    5974      <li><a href="#mozTocId791206">What the user have to know?</a></li>
     75
    6076
    6177
     
    6581       
    6682       
     83       
    6784        <ul>
    6885
    6986
    7087
     88
    7189          <li><a href="#mozTocId129835">The OpenScientist toolkit</a></li>
    7290
    7391
    7492
     93
    7594          <li><a href="#mozTocId109209">The MEMPHYS package</a></li>
    7695
    7796
    7897
     98
     99       
    79100       
    80101       
     
    84105
    85106
     107
    86108      </li>
     109
    87110
    88111
     
    92115       
    93116       
     117       
    94118        <ul>
    95119
    96120
    97121
     122
    98123          <li><a href="#mozTocId327975">Interactive session</a></li>
    99124
    100125
    101126
     127
    102128          <li><a href="#mozTocId967005">Batch mode</a></li>
    103129
    104130
    105131
     132
     133       
    106134       
    107135       
     
    111139
    112140
     141
    113142      </li>
    114143
    115144
    116145
     146
     147   
    117148   
    118149   
     
    122153
    123154
     155
    124156  </li>
    125157
    126158
    127159
     160
    128161</ul>
    129162
     
    131164
    132165
     166
    133167<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId791206"></a>What the user have to know?</h2>
    134168
     
    136170
    137171
     172
    138173The user is supposed to know how to practice more or less: <br>
    139174
     
    141176
    142177
     178
    143179<ul>
    144180
     
    146182
    147183
    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
    149187
    150188
     
    156194
    157195
     196
    158197  <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>
    159198
     
    161200
    162201
     202
    163203  <li>the <a href="http://www.cs.uregina.ca/Dept/manuals/Manuals/7Language/7_18C++/c++.htm">C++</a> language,</li>
    164204
     
    166206
    167207
     208
    168209  <li>the <a href="http://geant4.web.cern.ch/geant4/">Geant 4</a> simulation tool,&nbsp;</li>
     210
    169211
    170212
     
    178220
    179221
     222
    180223  <li>the <a href="http://root.cern.ch/">ROOT</a> toolkit if one wants to make analysis/ploting using this package.</li>
    181224
     
    183226
    184227
     228
    185229</ul>
    186230
     
    188232
    189233
     234
    190235<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId474404"></a>Installation of the Plug-ins and the MEMPHYS package&nbsp;</h2>
     236
    191237
    192238
     
    203249
    204250
     251
    205252<h3><a class="mozTocH3" name="mozTocId129835"></a>The OpenScientist toolkit</h3>
     253
    206254
    207255
     
    216264
    217265
     266
    218267<br>
    219268
     
    221270
    222271
     272
    223273<a name="OpenScientistInstall"></a>So, the user proceeds as followed (UNIX):<br>
    224274
     
    226276
    227277
     278
    228279<ol>
    229280
     
    231282
    232283
     284
    233285  <li>download the zip file</li>
    234286
     
    236288
    237289
     290
    238291  <li>unzip on a <span style="font-style: italic;">kits</span> area (see the <a href="#CMTIandKits">Kits &amp; CMT hierarchy</a>) that may be different of his/her <span style="font-style: italic;">work</span> area</li>
    239292
     
    241294
    242295
     296
    243297  <li>cd OpenScientist/v16r0</li>
    244298
     
    246300
    247301
     302
    248303  <li>chmod &nbsp;a+x install</li>
    249304
     
    251306
    252307
     308
    253309  <li>./install</li>
    254310
     
    256312
    257313
     314
    258315</ol>
     316
    259317
    260318
     
    268326
    269327
     328
    270329&nbsp;csh&gt; source &lt;path&gt;/OpenScientist/v16r0/aida-setup.csh<br>
    271330
     
    273332
    274333
     334
    275335(&nbsp; sh&gt; . &lt;path&gt;/OpenScientist/v16r0/aida-setup.sh )<br>
     336
    276337
    277338
     
    284345
    285346
     347
    286348  <li>UNIX&gt;&nbsp; aida-config</li>
    287349
     
    289351
    290352
     353
    291354  <li>UNIX&gt; onxlab</li>
    292355
     
    294357
    295358
     359
    296360</ul>
    297361
     
    299363
    300364
     365
    301366The user may see the famous gaussian distribution and the associate fit....<br>
    302367
     
    304369
    305370
     371
    306372<div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/onxlab.jpg">
    307373
     
    314380
    315381
     382
    316383<br>
     384
    317385
    318386
     
    326394
    327395
     396
    328397<ul>
    329398
     
    331400
    332401
     402
    333403  <li>&nbsp;UNIX&gt; G4Simple_session</li>
    334404
     
    336406
    337407
     408
    338409  <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
    339411
    340412
     
    348420
    349421
     422
    350423</ul>
    351424
     
    353426
    354427
     428
    355429<div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/G4Simple.jpg">
    356430
     
    363437
    364438
     439
    365440<h3><a class="mozTocH3" name="mozTocId109209"></a>The MEMPHYS package</h3>
    366441
     
    368443
    369444
     445
    370446To install the MEMPHYS package, one may adopt a directory hierarchy as followed (UNIX):<br>
    371447
     
    373449
    374450
     451
    375452<ul>
    376453
     
    378455
    379456
     457
    380458  <li>define at the&nbsp;login phase the <a name="CMTPROJECTPATH"></a>CMTPROJECTPATH environment variable:&nbsp;</li>
    381459
     
    383461
    384462
     463
    385464</ul>
    386465
     
    388467
    389468
     469
    390470<table style="width: 100%;" border="1" cellpadding="2" cellspacing="2">
    391471
     
    394474
    395475
     476
    396477  <tbody>
    397478
     
    399480
    400481
     482
    401483    <tr>
    402484
     
    404486
    405487
     488
    406489      <td style="background-color: rgb(204, 204, 204);">setenv CMTPROJECTPATH "&lt;common-area-path&gt;/kits:&lt;personal-area&gt;"</td>
    407490
     
    409492
    410493
     494
    411495    </tr>
    412496
     
    415499
    416500
     501
     502 
    417503 
    418504 
     
    425511
    426512
     513
    427514<ul>
    428515
     
    430517
    431518
     519
    432520  <li><a name="CMTIandKits"></a>create if not already done the <span style="color: rgb(255, 0, 0);">&lt;common-area-path&gt;/kits</span> area for the OpenScientist toolkit as described <a href="#OpenScientistInstall">above</a>, but also the ROOT toolkit, CMT tool ...</li>
    433521
     
    435523
    436524
    437   <li>create the <span style="color: rgb(255, 0, 0);">&lt;common-area-path&gt;/CMTI/ <span style="color: rgb(0, 0, 0);">area</span></span>:&nbsp;<ul>
     525
     526  <li>create the <span style="color: rgb(255, 0, 0);">&lt;common-area-path&gt;/CMTI/ <span style="color: rgb(0, 0, 0);">area</span></span>:&nbsp;
     527    <ul>
     528
    438529
    439530
     
    445536
    446537
    447  
    448  
    449  
    450  
    451   </ul></li>
     538
     539 
     540 
     541 
     542 
     543 
     544    </ul>
     545  </li>
     546
    452547
    453548
     
    468563
    469564
     565
    470566<table style="background-color: rgb(192, 192, 192); width: 100%;" border="1" cellpadding="2" cellspacing="2">
    471567
     
    474570
    475571
     572
    476573  <tbody>
    477574
     
    479576
    480577
     578
    481579    <tr>
    482580
     
    484582
    485583
     584
    486585      <td>project CMTI</td>
    487586
     
    489588
    490589
     590
    491591    </tr>
    492592
     
    495595
    496596
     597
     598 
    497599 
    498600 
     
    505607
    506608
     609
    507610<ul>
    508611
     
    510613
    511614
     615
     616 
    512617 
    513618 
     
    519624
    520625
     626
    521627    <li><a name="to_install_the_OpenScientist-CMT_"></a>to install the OpenScientist-CMT&nbsp; Interfaces for OpenScientist toolkit and the ROOT toolkit</li>
    522628
     
    524630
    525631
     632
     633 
    526634 
    527635 
     
    533641
    534642
     643
     644 
    535645 
    536646 
     
    542652
    543653
     654
     655   
    544656   
    545657   
     
    551663
    552664
     665
    553666      <li>download the Interfaces here (<span style="color: rgb(255, 0, 0); font-weight: bold;">TBD</span>)&nbsp;</li>
    554667
     
    556669
    557670
     671
     672   
    558673   
    559674   
     
    565680
    566681
     682
     683   
    567684   
    568685   
     
    574691
    575692
     693
    576694      <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>
    577695
     
    579697
    580698
     699
     700   
    581701   
    582702   
     
    588708
    589709
     710
     711 
    590712 
    591713 
     
    597719
    598720
     721
    599722</ul>
    600723
     
    602725
    603726
     727
    604728<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    605729
     
    607731
    608732
     733
    609734  <tbody>
    610735
     
    612737
    613738
     739
    614740    <tr>
    615741
     
    617743
    618744
     745
    619746      <td style="background-color: rgb(192, 192, 192);">#macro OSC_home "/usr/local/OpenScientist/v16r0"<br>
    620747
     
    622749
    623750
     751
    624752macro OSC_home "/home/campagne/kits/OpenScientist/v16r0/"</td>
    625753
     
    627755
    628756
     757
    629758    </tr>
    630759
     
    632761
    633762
     763
     764 
    634765 
    635766 
     
    642773
    643774
     775
    644776<ul>
    645777
     
    647779
    648780
     781
     782 
    649783 
    650784 
     
    656790
    657791
     792
     793   
    658794   
    659795   
     
    665801
    666802
     803
    667804      <li>edit in the same spirit, edit the <span style="color: rgb(255, 0, 0);">ROOT/&lt;version&gt;/cmt/requiement</span> file to change the ROOT_native_version and the ROOT_home macros, as for instance</li>
    668805
     
    670807
    671808
     809
     810   
    672811   
    673812   
     
    679818
    680819
     820
     821 
    681822 
    682823 
     
    688829
    689830
     831
    690832</ul>
    691833
     
    693835
    694836
     837
    695838<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    696839
     
    698841
    699842
     843
    700844  <tbody>
    701845
     
    703847
    704848
     849
    705850    <tr>
    706851
     
    708853
    709854
     855
    710856      <td style="background-color: rgb(192, 192, 192);">#macro ROOT_native_version "v5-13-04b"<br>
    711857
     
    713859
    714860
     861
    715862macro ROOT_native_version "4.03.02"<br>
    716863
     
    718865
    719866
     867
    720868      <br>
    721869
     
    723871
    724872
     873
    725874macro ROOT_home "/home/campagne/kits/root-${ROOT_native_version}" </td>
    726875
     
    728877
    729878
     879
    730880    </tr>
    731881
     
    733883
    734884
     885
     886 
    735887 
    736888 
     
    743895
    744896
     897
    745898<ul>
    746899
     
    748901
    749902
    750   <li>create a <span style="color: rgb(255, 0, 0);">&lt;personal-area&gt;/OSArea</span> area :<ul>
     903
     904  <li>create a <span style="color: rgb(255, 0, 0);">&lt;personal-area&gt;/OSArea</span> area :
     905    <ul>
     906
    751907
    752908
     
    758914
    759915
    760  
    761  
    762  
    763  
    764   </ul></li>
     916
     917 
     918 
     919 
     920 
     921 
     922    </ul>
     923  </li>
     924
    765925
    766926
     
    781941
    782942
     943
    783944<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    784945
     
    786947
    787948
     949
    788950  <tbody>
    789951
     
    791953
    792954
     955
    793956    <tr>
    794957
     
    796959
    797960
     961
    798962      <td style="background-color: rgb(192, 192, 192);">project OSArea<br>
    799963
     
    801965
    802966
     967
    803968      <br>
    804969
     
    806971
    807972
     973
    808974use OpenScientist v16r0<br>
    809975
     
    811977
    812978
     979
    813980use CMTI</td>
    814981
     
    816983
    817984
     985
    818986    </tr>
    819987
     
    821989
    822990
     991
     992 
    823993 
    824994 
     
    8311001
    8321002
     1003
    8331004<ul>
    8341005
     
    8361007
    8371008
     1009
     1010 
    8381011 
    8391012 
     
    8451018
    8461019
    847     <li>download the MEMPHYS package using&nbsp;<ul>
     1020
     1021    <li>download the MEMPHYS package using&nbsp;
     1022      <ul>
     1023
    8481024
    8491025
     
    8551031
    8561032
    857       <li>either the SVN software:<ul>
     1033
     1034      <li>either the SVN software:
     1035          <ul>
     1036
    8581037
    8591038
     
    8651044
    8661045
    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 
    9031090 
    9041091 
     
    9101097
    9111098
     1099
    9121100</ul>
    9131101
     
    9151103
    9161104
     1105
    9171106<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    9181107
     
    9201109
    9211110
     1111
    9221112  <tbody>
    9231113
     
    9251115
    9261116
     1117
    9271118    <tr>
    9281119
     
    9301121
    9311122
     1123
    9321124      <td style="background-color: rgb(192, 192, 192);">setenv SVNURL "https://svn.lal.in2p3.fr/Opera/Glob"</td>
    9331125
     
    9351127
    9361128
     1129
    9371130    </tr>
    9381131
     
    9401133
    9411134
     1135
     1136 
    9421137 
    9431138 
     
    9501145
    9511146
     1147
    9521148<ul>
    9531149
     
    9551151
    9561152
     1153
     1154 
    9571155 
    9581156 
     
    9641162
    9651163
     1164
     1165   
    9661166   
    9671167   
     
    9731173
    9741174
     1175
     1176     
    9751177     
    9761178     
     
    9781180     
    9791181      <ul>
     1182
    9801183
    9811184
     
    9891192
    9901193
     1194
     1195     
    9911196     
    9921197     
     
    9981203
    9991204
     1205
     1206   
    10001207   
    10011208   
     
    10071214
    10081215
     1216
     1217 
    10091218 
    10101219 
     
    10161225
    10171226
     1227
    10181228</ul>
    10191229
     
    10211231
    10221232
     1233
    10231234<table style="width: 100%;" border="1" cellpadding="2" cellspacing="2">
    10241235
     
    10271238
    10281239
     1240
    10291241  <tbody>
    10301242
     
    10321244
    10331245
     1246
    10341247    <tr>
    10351248
     
    10371250
    10381251
     1252
    10391253      <td style="background-color: rgb(204, 204, 204);">svn co ${SVNURL}/MEMPHYS/HEAD MEMPHYS/&lt;new-version&gt;</td>
    10401254
     
    10421256
    10431257
     1258
    10441259    </tr>
    10451260
     
    10481263
    10491264
     1265
     1266 
    10501267 
    10511268 
     
    10581275
    10591276
     1277
    10601278<br>
     1279
    10611280
    10621281
     
    10791298
    10801299
     1300
    10811301<ul>
    10821302
     
    10841304
    10851305
     1306
     1307 
    10861308 
    10871309 
     
    10931315
    10941316
     1317
     1318   
    10951319   
    10961320   
     
    11021326
    11031327
     1328
     1329     
    11041330     
    11051331     
     
    11111337
    11121338
     1339
    11131340        <li>execute the CMT setup:</li>
    11141341
     
    11161343
    11171344
     1345
     1346     
    11181347     
    11191348     
     
    11251354
    11261355
     1356
     1357   
    11271358   
    11281359   
     
    11341365
    11351366
     1367
     1368 
    11361369 
    11371370 
     
    11431376
    11441377
     1378
    11451379</ul>
    11461380
     
    11481382
    11491383
     1384
    11501385<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    11511386
     
    11531388
    11541389
     1390
    11551391  <tbody>
    11561392
     
    11581394
    11591395
     1396
    11601397    <tr>
    11611398
     
    11631400
    11641401
     1402
    11651403      <td style="background-color: rgb(204, 204, 204);">source &lt;common-area-path&gt;/kits/CMT/&lt;version&gt;/mgr/setup.csh</td>
    11661404
     
    11681406
    11691407
     1408
    11701409    </tr>
    11711410
     
    11731412
    11741413
     1414
     1415 
    11751416 
    11761417 
     
    11831424
    11841425
     1426
    11851427<ul>
    11861428
     
    11881430
    11891431
     1432
     1433 
    11901434 
    11911435 
     
    11971441
    11981442
     1443
     1444   
    11991445   
    12001446   
     
    12061452
    12071453
     1454
     1455     
    12081456     
    12091457     
     
    12151463
    12161464
     1465
    12171466        <li>&nbsp;Then, one needs to reconfigure the MEMPHYS environment using the CMT ad hoc command</li>
    12181467
     
    12201469
    12211470
     1471
     1472     
    12221473     
    12231474     
     
    12291480
    12301481
     1482
     1483   
    12311484   
    12321485   
     
    12381491
    12391492
     1493
     1494 
    12401495 
    12411496 
     
    12471502
    12481503
     1504
    12491505</ul>
    12501506
     
    12521508
    12531509
     1510
    12541511<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    12551512
     
    12571514
    12581515
     1516
    12591517  <tbody>
    12601518
     
    12621520
    12631521
     1522
    12641523    <tr>
    12651524
     
    12671526
    12681527
     1528
    12691529      <td style="background-color: rgb(204, 204, 204);">UNIX&gt; cd MEMPHYS/&lt;version&gt;/cmt<br>
    12701530
     
    12721532
    12731533
     1534
    12741535UNIX&gt; cmt config<br>
    12751536
     
    12771538
    12781539
     1540
    12791541UNIX&gt; source setup.csh</td>
    12801542
     
    12821544
    12831545
     1546
    12841547    </tr>
    12851548
     
    12871550
    12881551
     1552
     1553 
    12891554 
    12901555 
     
    12971562
    12981563
     1564
    12991565<br>
     1566
    13001567
    13011568
     
    13091576
    13101577
     1578
    13111579<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    13121580
     
    13141582
    13151583
     1584
    13161585  <tbody>
    13171586
     
    13191588
    13201589
     1590
    13211591    <tr>
    13221592
     
    13241594
    13251595
     1596
    13261597      <td style="background-color: rgb(204, 204, 204);">UNIX&gt; cd MEMPHYS/&lt;version&gt;/cmt&gt;<br>
    13271598
     
    13291600
    13301601
     1602
    13311603UNIX&gt; cmt show path<br>
    13321604
     
    13341606
    13351607
     1608
    13361609# Add path /home/campagne/projets/OSArea from initialization<br>
    13371610
     
    13391612
    13401613
     1614
    13411615# Add path /home/campagne/kits/OpenScientist/v16r0 from ProjectPath<br>
    13421616
     
    13441618
    13451619
     1620
    13461621# Add path /home/campagne/CMTI from ProjectPath<br>
    13471622
     
    13491624
    13501625
     1626
    13511627# Add path /home/campagne/CMTI from ProjectPath</td>
    13521628
     
    13541630
    13551631
     1632
    13561633    </tr>
    13571634
     
    13591636
    13601637
     1638
     1639 
    13611640 
    13621641 
     
    13691648
    13701649
     1650
    13711651Here 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>
    13721652
     
    13741654
    13751655
     1656
    13761657<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    13771658
     
    13791660
    13801661
     1662
    13811663  <tbody>
    13821664
     
    13841666
    13851667
     1668
    13861669    <tr>
    13871670
     
    13891672
    13901673
     1674
    13911675      <td style="background-color: rgb(204, 204, 204);">UNIX&gt; cmt show uses<br>
    13921676
     
    13941678
    13951679
     1680
    13961681# use OpenScientist v16r0 Interfaces<br>
    13971682
     
    13991684
    14001685
     1686
    14011687# use ROOT v1r* Interfaces (native_version=4.03.02)<br>
    14021688
     
    14041690
    14051691
     1692
    14061693#<br>
    14071694
     
    14091696
    14101697
     1698
    14111699# Selection :<br>
    14121700
     
    14141702
    14151703
     1704
    14161705use CMT v1r18p20051108 (/home/campagne/kits)<br>
    14171706
     
    14191708
    14201709
     1710
    14211711use ROOT v1r51000p0 Interfaces (/home/campagne/CMTI/)<br>
    14221712
     
    14241714
    14251715
     1716
    14261717use OpenScientist v16r0 Interfaces (/home/campagne/CMTI/)</td>
    14271718
     
    14291720
    14301721
     1722
    14311723    </tr>
    14321724
     
    14341726
    14351727
     1728
     1729 
    14361730 
    14371731 
     
    14441738
    14451739
     1740
    14461741to 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>
    14471742
     
    14491744
    14501745
     1746
    14511747<ul>
    14521748
     
    14541750
    14551751
     1752
     1753 
    14561754 
    14571755 
     
    14631761
    14641762
     1763
     1764   
    14651765   
    14661766   
     
    14721772
    14731773
     1774
     1775     
    14741776     
    14751777     
     
    14811783
    14821784
     1785
    14831786        <li>If the above cross-checks are successfuly passed, then one can proceed to the compilation and the link: &nbsp;</li>
    14841787
     
    14861789
    14871790
     1791
     1792     
    14881793     
    14891794     
     
    14951800
    14961801
     1802
     1803   
    14971804   
    14981805   
     
    15041811
    15051812
     1813
     1814 
    15061815 
    15071816 
     
    15131822
    15141823
     1824
    15151825</ul>
    15161826
     
    15181828
    15191829
     1830
    15201831<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    15211832
     
    15231834
    15241835
     1836
    15251837  <tbody>
    15261838
     
    15281840
    15291841
     1842
    15301843    <tr>
    15311844
     
    15331846
    15341847
     1848
    15351849      <td style="background-color: rgb(204, 204, 204);">UNIX&gt; cd MEMPHYS/&lt;verson&gt;/cmt<br>
    15361850
     
    15381852
    15391853
     1854
    15401855UNIX&gt; gmake</td>
    15411856
     
    15431858
    15441859
     1860
    15451861    </tr>
    15461862
     
    15481864
    15491865
     1866
     1867 
    15501868 
    15511869 
     
    15581876
    15591877
     1878
    15601879<br>
    15611880
     
    15631882
    15641883
     1884
    15651885If the all the process of compilationand link is ok, then one should see the following lines:<br>
    15661886
     
    15681888
    15691889
     1890
    15701891<br>
    15711892
     
    15731894
    15741895
     1896
    15751897<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    15761898
     
    15781900
    15791901
     1902
    15801903  <tbody>
    15811904
     
    15831906
    15841907
     1908
    15851909    <tr>
    15861910
     
    15881912
    15891913
     1914
    15901915      <td style="background-color: rgb(204, 204, 204);">[...]<br>
    15911916
     
    15931918
    15941919
     1920
    15951921------&gt; MEMPHYS_session ok<br>
    15961922
     
    15981924
    15991925
     1926
    16001927------&gt; (constituents.make) MEMPHYS_session done<br>
    16011928
     
    16031930
    16041931
     1932
    16051933&nbsp;all ok.</td>
    16061934
     
    16081936
    16091937
     1938
    16101939    </tr>
    16111940
     
    16131942
    16141943
     1944
     1945 
    16151946 
    16161947 
     
    16231954
    16241955
     1956
    16251957<br>
     1958
    16261959
    16271960
     
    16351968
    16361969
     1970
    16371971<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId3450"></a>Simple runs</h2>
    16381972
     
    16401974
    16411975
     1976
    16421977Usually the user starts an UNIX session and want to run MEMPHYS. The two things to do are:<br>
    16431978
     
    16451980
    16461981
     1982
    16471983<br>
    16481984
     
    16501986
    16511987
     1988
    16521989<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    16531990
     
    16551992
    16561993
     1994
    16571995  <tbody>
    16581996
     
    16601998
    16611999
     2000
    16622001    <tr>
    16632002
     
    16652004
    16662005
     2006
    16672007      <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>
    16682008
     
    16702010
    16712011
     2012
    167220132) execute the MEMPHYS setup (no more necessary to run "cmt config"):<br>
    16732014
     
    16752016
    16762017
     2018
    16772019UNIX&gt; cd &lt;personal-area&gt;/OSArea/MEMPHYS/&lt;versioin&gt;/cmt<br>
    16782020
     
    16802022
    16812023
     2024
    16822025UNIX&gt; source setup.csh</td>
    16832026
     
    16852028
    16862029
     2030
    16872031    </tr>
    16882032
     
    16902034
    16912035
     2036
     2037 
    16922038 
    16932039 
     
    17002046
    17012047
     2048
    17022049<br>
    17032050
     
    17052052
    17062053
     2054
    17072055The directory hierarchy of the MEMPHYS package is the following:<br>
    17082056
     
    17102058
    17112059
     2060
    17122061<br>
    17132062
     
    17152064
    17162065
     2066
    17172067<table style="text-align: left; background-color: rgb(255, 255, 102); width: 100%;" border="1" cellpadding="2" cellspacing="2">
    17182068
     
    17202070
    17212071
     2072
    17222073  <tbody>
    17232074
     
    17252076
    17262077
     2078
    17272079    <tr>
    17282080
     
    17302082
    17312083
     2084
    17322085      <td>source</td>
    17332086
     
    17352088
    17362089
     2090
    17372091      <td>source Core directory</td>
    17382092
     
    17402094
    17412095
     2096
    17422097    </tr>
    17432098
     
    17452100
    17462101
     2102
    17472103    <tr>
    17482104
     
    17502106
    17512107
     2108
    17522109      <td>application</td>
    17532110
     
    17552112
    17562113
     2114
    17572115      <td>source files where the <span style="font-style: italic;">main</span> steering routine is defined</td>
    17582116
     
    17602118
    17612119
     2120
    17622121    </tr>
    17632122
     
    17652124
    17662125
     2126
    17672127    <tr>
    17682128
     
    17702130
    17712131
     2132
    17722133      <td>MEMPHYS</td>
    17732134
     
    17752136
    17762137
     2138
    17772139      <td>include files of the Core</td>
    17782140
     
    17802142
    17812143
     2144
    17822145    </tr>
    17832146
     
    17852148
    17862149
     2150
    17872151    <tr>
    17882152
     
    17902154
    17912155
     2156
    17922157      <td>cmt</td>
    17932158
     
    17952160
    17962161
     2162
    17972163      <td>directory where the CMT management files are located (requirements, setup/cleanup)</td>
    17982164
     
    18002166
    18012167
     2168
    18022169    </tr>
    18032170
     
    18052172
    18062173
     2174
    18072175    <tr>
    18082176
     
    18102178
    18112179
     2180
    18122181      <td>data</td>
    18132182
     
    18152184
    18162185
     2186
    18172187      <td>event file directory. NUANCE style is used to code the primary vertex particles</td>
    18182188
     
    18202190
    18212191
     2192
    18222193    </tr>
    18232194
     
    18252196
    18262197
     2198
    18272199    <tr>
    18282200
     
    18302202
    18312203
     2204
    18322205      <td>run</td>
     2206
    18332207
    18342208
     
    18432217
    18442218
     2219
    18452220    </tr>
    18462221
     
    18482223
    18492224
     2225
    18502226    <tr>
    18512227
     
    18532229
    18542230
     2231
    18552232      <td>scripts</td>
    18562233
     
    18582235
    18592236
     2237
    18602238      <td>Geant4 and OpenScientist scripts</td>
    18612239
     
    18632241
    18642242
     2243
    18652244    </tr>
    18662245
     
    18682247
    18692248
     2249
     2250 
    18702251 
    18712252 
     
    18782259
    18792260
     2261
    18802262<br>
    18812263
     
    18832265
    18842266
     2267
    18852268<h3><a class="mozTocH3" name="mozTocId327975"></a>Interactive session</h3>
    18862269
     
    18882271
    18892272
     2273
    18902274In an interactive session the tuple generation is desable and one starts as followed:<br>
    18912275
     
    18932277
    18942278
     2279
    18952280<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    18962281
     
    18982283
    18992284
     2285
    19002286  <tbody>
    19012287
     
    19032289
    19042290
     2291
    19052292    <tr>
    19062293
     
    19082295
    19092296
     2297
    19102298      <td style="background-color: rgb(192, 192, 192);">UNIX&gt; cd $MEMPHYSROOT/run<br>
    19112299
     
    19132301
    19142302
     2303
    19152304UNIX&gt; ../$CMTCONFIG/MEMPHYS_session.exe</td>
    19162305
     
    19182307
    19192308
     2309
    19202310    </tr>
    19212311
     
    19232313
    19242314
     2315
     2316 
    19252317 
    19262318 
     
    19332325
    19342326
     2327
    19352328&nbsp;<br>
     2329
    19362330
    19372331
     
    19462340
    19472341
     2342
    19482343<img style="width: 858px; height: 734px;" alt="image" src="Images/numuEvent.jpg"> <br>
    19492344
     2345
    19502346<br>
     2347
    19512348
    19522349One can visualize the "Hits" using the MEMPHYS menu, although it is
     
    19542351("Hand mode" see right icons).<br>
    19552352
     2353
    19562354<br>
    19572355
     2356
    19582357<img style="width: 858px; height: 734px;" alt="Image" src="Images/numuEventHit.jpg"><br>
    19592358
     
    19612360
    19622361
     2362
    19632363<br>
     2364
    19642365
    19652366
     
    19732374
    19742375
     2376
    19752377<h3><a class="mozTocH3" name="mozTocId967005"></a>Batch mode</h3>
     2378
    19762379
    19772380
     
    19862389
    19872390
     2391
    19882392<ul>
    19892393
     
    19912395
    19922396
     2397
    19932398  <li>&nbsp;either using &nbsp;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:&nbsp;</li>
    19942399
     
    19962401
    19972402
     2403
    19982404</ul>
    19992405
     
    20012407
    20022408
     2409
    20032410<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    20042411
     
    20062413
    20072414
     2415
    20082416  <tbody>
    20092417
     
    20112419
    20122420
     2421
    20132422    <tr>
    20142423
     
    20162425
    20172426
     2427
    20182428      <td style="background-color: rgb(204, 204, 204);">UNIX&gt; you are in the <span style="font-style: italic;">run</span> directory<br>
    20192429
     
    20212431
    20222432
     2433
    20232434UNIX&gt; (cd ../cmt ; gmake ROOT)</td>
    20242435
     
    20262437
    20272438
     2439
    20282440    </tr>
    20292441
     
    20312443
    20322444
     2445
     2446 
    20332447 
    20342448 
     
    20412455
    20422456
     2457
    20432458&nbsp;&nbsp; <br>
    20442459
     
    20462461
    20472462
     2463
    20482464&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; The difference between the two applications are XXX &nbsp;&nbsp;&nbsp; <br>
    20492465
     
    20512467
    20522468
     2469
    20532470<ul>
    20542471
     
    20562473
    20572474
     2475
    20582476  <li>either using interactive OnX session ()</li>
    20592477
     
    20612479
    20622480
     2481
    20632482</ul>
    20642483
     
    20662485
    20672486
     2487
    20682488<ul>
    20692489
     
    20712491
    20722492
     2493
    20732494  <li>or&nbsp;using the ROOT toolkit using the <span style="font-style: italic; color: rgb(255, 0, 0);">MEMPHYS_xxx.C</span> macros</li>
    20742495
     
    20762497
    20772498
     2499
    20782500</ul>
    20792501
     
    20812503
    20822504
     2505
    20832506The structure of the tuple for the moment is the following:<br>
    20842507
     
    20862509
    20872510
     2511
    20882512<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    20892513
     
    20912515
    20922516
     2517
    20932518  <tbody>
    20942519
     
    20962521
    20972522
     2523
    20982524    <tr>
    20992525
     
    21012527
    21022528
     2529
    21032530      <td style="background-color: rgb(102, 255, 153);">&nbsp; std::string column = "int eventId, inputEvtId, interMode, vtxVol, "; <br>
    21042531
     
    21062533
    21072534
     2535
    21082536&nbsp; column += "ITuple vtxPos = { double x, y, z }, ";<br>
    21092537
     
    21112539
    21122540
     2541
    21132542&nbsp; column += "int nPart, leptonIndex, protonIndex, ";<br>
    21142543
     
    21162545
    21172546
     2547
    21182548&nbsp; column += "ITuple track = { int pId, parent, float timeStart, ";<br>
     2549
    21192550
    21202551
     
    21282559
    21292560
     2561
    21302562&nbsp; column
    21312563+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    21352567
    21362568
     2569
    21372570&nbsp; column
    21382571+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    21422575
    21432576
     2577
    21442578&nbsp; column
    21452579+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    21492583
    21502584
     2585
    21512586&nbsp; column
    21522587+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    21562591
    21572592
     2593
    21582594&nbsp; column
    21592595+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    21632599
    21642600
     2601
    21652602&nbsp; column +=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "}, ";<br>
    21662603
     
    21682605
    21692606
     2607
    21702608&nbsp; column += "int nHits, ITuple hit = { int tubeId, int totalPE, ITuple pe = { float time} }, ";<br>
    21712609
     
    21732611
    21742612
     2613
    21752614&nbsp; column += "int nDigits, double sumPE, ";<br>
    21762615
     
    21782617
    21792618
     2619
    21802620&nbsp; column += "ITuple digit = { int tubeId, double pe, time }";</td>
    21812621
     
    21832623
    21842624
     2625
    21852626    </tr>
    21862627
     
    21882629
    21892630
     2631
     2632 
    21902633 
    21912634 
     
    22092652
    22102653
    2211 </body></html>
     2654
     2655</body>
     2656</html>
Note: See TracChangeset for help on using the changeset viewer.