Changeset 274 for MEMPHYS/HEAD


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

Legend:

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

    r272 r274  
    11<!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 
    69 
    710 
     
    1114
    1215
    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>
    2128
    2229<body>
     
    2431
    2532
     33
    2634<h1 style="text-align: center; color: rgb(0, 0, 153);"><a class="mozTocH1" name="mozTocId909942"></a>Install and run MEMPHYS software&nbsp;</h1>
    2735
    2836
    2937
     38
    3039<h1 style="text-align: center; color: rgb(0, 0, 153);">and the associate toolkits</h1>
     40
    3141
    3242
     
    3747
    3848
     49
    3950<ul id="mozToc">
    4051
    4152
     53
    4254<!--mozToc h2 2 h3 3 h4 4 h5 5 h6 6--><li><a href="#mozTocId102030">Table of Contents</a>
    4355   
    4456   
     57   
    4558    <ul>
    4659
    4760
     61
    4862      <li><a href="#mozTocId791206">What the user have to know?</a></li>
     63
    4964
    5065
     
    5267       
    5368       
     69       
    5470        <ul>
    5571
    5672
     73
    5774          <li><a href="#mozTocId129835">The OpenScientist toolkit</a></li>
    5875
    5976
     77
    6078          <li><a href="#mozTocId109209">The MEMPHYS package</a></li>
    6179
    6280
     81
     82       
    6383       
    6484       
     
    6686
    6787
     88
    6889      </li>
     90
    6991
    7092
     
    7294       
    7395       
     96       
    7497        <ul>
    7598
    7699
     100
    77101          <li><a href="#mozTocId327975">Interactive session</a></li>
    78102
    79103
     104
    80105          <li><a href="#mozTocId967005">Batch mode</a></li>
    81106
    82107
     108
     109       
    83110       
    84111       
     
    86113
    87114
     115
    88116      </li>
    89117
    90118
     119
     120   
    91121   
    92122   
     
    94124
    95125
     126
    96127  </li>
    97128
    98129
     130
    99131</ul>
    100132
    101133
    102134
     135
    103136<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId791206"></a>What the user have to know?</h2>
    104137
    105138
    106139
     140
    107141The user is supposed to know how to practice more or less: <br>
    108142
    109143
    110144
     145
    111146<ul>
    112147
    113148
    114149
    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
    116153
    117154
     
    121158
    122159
     160
    123161  <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>
    124162
    125163
    126164
     165
    127166  <li>the <a href="http://www.cs.uregina.ca/Dept/manuals/Manuals/7Language/7_18C++/c++.htm">C++</a> language,</li>
    128167
    129168
    130169
     170
    131171  <li>the <a href="http://geant4.web.cern.ch/geant4/">Geant 4</a> simulation tool,&nbsp;</li>
     172
    132173
    133174
     
    139180
    140181
     182
    141183  <li>the <a href="http://root.cern.ch/">ROOT</a> toolkit if one wants to make analysis/ploting using this package.</li>
    142184
    143185
    144186
     187
    145188</ul>
    146189
    147190
    148191
     192
    149193<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId474404"></a>Installation of the Plug-ins and the MEMPHYS package&nbsp;</h2>
     194
    150195
    151196
     
    160205
    161206
     207
    162208<h3><a class="mozTocH3" name="mozTocId129835"></a>The OpenScientist toolkit</h3>
     209
    163210
    164211
     
    171218
    172219
     220
    173221<br>
    174222
    175223
    176224
     225
    177226<a name="OpenScientistInstall"></a>So, the user proceeds as followed (UNIX):<br>
    178227
    179228
    180229
     230
    181231<ol>
    182232
    183233
    184234
     235
    185236  <li>download the zip file</li>
    186237
    187238
    188239
     240
    189241  <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>
    190242
    191243
    192244
     245
    193246  <li>cd OpenScientist/v16r0</li>
    194247
    195248
    196249
     250
    197251  <li>chmod &nbsp;a+x install</li>
    198252
    199253
    200254
     255
    201256  <li>./install</li>
    202257
    203258
    204259
     260
    205261</ol>
     262
    206263
    207264
     
    213270
    214271
     272
    215273&nbsp;csh&gt; source &lt;path&gt;/OpenScientist/v16r0/aida-setup.csh<br>
    216274
    217275
    218276
     277
    219278(&nbsp; sh&gt; . &lt;path&gt;/OpenScientist/v16r0/aida-setup.sh )<br>
     279
    220280
    221281
     
    226286
    227287
     288
    228289  <li>UNIX&gt;&nbsp; aida-config</li>
    229290
    230291
    231292
     293
    232294  <li>UNIX&gt; onxlab</li>
    233295
    234296
    235297
     298
    236299</ul>
    237300
    238301
    239302
     303
    240304The user may see the famous gaussian distribution and the associate fit....<br>
    241305
    242306
    243307
     308
    244309<div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/onxlab.jpg"><br>
    245310
    246311
    247312
     313
    248314</div>
    249315
    250316
    251317
     318
    252319<br>
     320
    253321
    254322
     
    260328
    261329
     330
    262331<ul>
    263332
    264333
    265334
     335
    266336  <li>&nbsp;UNIX&gt; G4Simple_session</li>
    267337
    268338
    269339
     340
    270341  <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
    271343
    272344
     
    278350
    279351
     352
    280353</ul>
    281354
    282355
    283356
     357
    284358<div style="text-align: center;"><img style="width: 858px; height: 734px;" alt="Image" src="Images/G4Simple.jpg"><br>
    285359
    286360
    287361
     362
    288363</div>
    289364
    290365
    291366
     367
    292368<h3><a class="mozTocH3" name="mozTocId109209"></a>The MEMPHYS package</h3>
    293369
    294370
    295371
     372
    296373To install the MEMPHYS package, one may adopt a directory hierarchy as followed (UNIX):<br>
    297374
    298375
    299376
     377
    300378<ul>
    301379
    302380
    303381
     382
    304383  <li>define at the&nbsp;login phase the <a name="CMTPROJECTPATH"></a>CMTPROJECTPATH environment variable:&nbsp;</li>
    305384
    306385
    307386
     387
    308388</ul>
    309389
    310390
    311391
     392
    312393<table style="width: 100%;" border="1" cellpadding="2" cellspacing="2">
    313394
     
    315396
    316397
     398
    317399  <tbody>
    318400
    319401
    320402
    321     <tr>
     403
     404    <tr>
     405
    322406
    323407
     
    327411
    328412
    329     </tr>
    330 
    331 
    332 
    333 
     413
     414    </tr>
     415
     416
     417
     418
     419
     420 
    334421 
    335422 
     
    340427
    341428
     429
    342430<ul>
    343431
    344432
    345433
     434
    346435  <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>
    347436
    348437
    349438
     439
    350440  <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;</li>
    351441
    352442
    353443
     444
     445 
    354446 
    355447 
     
    359451
    360452
     453
    361454    <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>
    362455
    363456
    364457
     458
     459 
    365460 
    366461 
     
    370465
    371466
     467
    372468</ul>
    373469
    374470
    375471
     472
    376473<table style="background-color: rgb(192, 192, 192); width: 100%;" border="1" cellpadding="2" cellspacing="2">
    377474
     
    379476
    380477
     478
    381479  <tbody>
    382480
    383481
    384482
    385     <tr>
     483
     484    <tr>
     485
    386486
    387487
     
    391491
    392492
    393     </tr>
    394 
    395 
    396 
    397 
     493
     494    </tr>
     495
     496
     497
     498
     499
     500 
    398501 
    399502 
     
    404507
    405508
     509
    406510<ul>
    407511
    408512
    409513
     514
     515 
    410516 
    411517 
     
    415521
    416522
     523
    417524    <li><a name="to_install_the_OpenScientist-CMT_"></a>to install the OpenScientist-CMT&nbsp; Interfaces for OpenScientist toolkit and the ROOT toolkit</li>
    418525
    419526
    420527
     528
     529 
    421530 
    422531 
     
    426535
    427536
     537
     538 
    428539 
    429540 
     
    433544
    434545
     546
     547   
    435548   
    436549   
     
    440553
    441554
     555
    442556      <li>download the Interfaces here (<span style="color: rgb(255, 0, 0); font-weight: bold;">TBD</span>)&nbsp;</li>
    443557
    444558
    445559
     560
     561   
    446562   
    447563   
     
    451567
    452568
     569
     570   
    453571   
    454572   
     
    458576
    459577
     578
    460579      <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>
    461580
    462581
    463582
     583
     584   
    464585   
    465586   
     
    469590
    470591
     592
     593 
    471594 
    472595 
     
    476599
    477600
     601
    478602</ul>
    479603
    480604
    481605
     606
    482607<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    483608
    484609
    485610
     611
    486612  <tbody>
    487613
    488614
    489615
    490     <tr>
     616
     617    <tr>
     618
    491619
    492620
     
    496624
    497625
     626
    498627macro OSC_home "/home/campagne/kits/OpenScientist/v16r0/"</td>
    499628
    500629
    501630
    502     </tr>
    503 
    504 
    505 
     631
     632    </tr>
     633
     634
     635
     636
     637 
    506638 
    507639 
     
    512644
    513645
     646
    514647<ul>
    515648
    516649
    517650
     651
     652 
    518653 
    519654 
     
    523658
    524659
     660
     661   
    525662   
    526663   
     
    530667
    531668
     669
    532670      <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>
    533671
    534672
    535673
     674
     675   
    536676   
    537677   
     
    541681
    542682
     683
     684 
    543685 
    544686 
     
    548690
    549691
     692
    550693</ul>
    551694
    552695
    553696
     697
    554698<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    555699
    556700
    557701
     702
    558703  <tbody>
    559704
    560705
    561706
    562     <tr>
     707
     708    <tr>
     709
    563710
    564711
     
    568715
    569716
     717
    570718macro ROOT_native_version "4.03.02"<br>
    571719
    572720
    573721
     722
    574723      <br>
    575724
    576725
    577726
     727
    578728macro ROOT_home "/home/campagne/kits/root-${ROOT_native_version}" </td>
    579729
    580730
    581731
    582     </tr>
    583 
    584 
    585 
     732
     733    </tr>
     734
     735
     736
     737
     738 
    586739 
    587740 
     
    592745
    593746
     747
    594748<ul>
    595749
    596750
    597751
     752
    598753  <li>create a <span style="color: rgb(255, 0, 0);">&lt;personal-area&gt;/OSArea</span> area :</li>
    599754
    600755
    601756
     757
     758 
    602759 
    603760 
     
    607764
    608765
     766
    609767    <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>
    610768
    611769
    612770
     771
     772 
    613773 
    614774 
     
    618778
    619779
     780
    620781</ul>
    621782
    622783
    623784
     785
    624786<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    625787
    626788
    627789
     790
    628791  <tbody>
    629792
    630793
    631794
    632     <tr>
     795
     796    <tr>
     797
    633798
    634799
     
    638803
    639804
     805
    640806      <br>
    641807
    642808
    643809
     810
    644811use OpenScientist v16r0<br>
    645812
    646813
    647814
     815
    648816use CMTI</td>
    649817
    650818
    651819
    652     </tr>
    653 
    654 
    655 
     820
     821    </tr>
     822
     823
     824
     825
     826 
    656827 
    657828 
     
    662833
    663834
     835
    664836<ul>
    665837
    666838
    667839
     840
     841 
    668842 
    669843 
     
    673847
    674848
     849
    675850    <li>download the MEMPHYS package using&nbsp;</li>
    676851
    677852
    678853
     854
     855   
    679856   
    680857   
     
    684861
    685862
     863
    686864      <li>either a tarball at the following link: <span style="font-weight: bold; color: rgb(255, 0, 0);">TBD if possible</span></li>
    687865
    688866
    689867
     868
    690869      <li>either the SVN software:</li>
    691870
    692871
    693872
     873
     874     
    694875     
    695876     
     
    699880
    700881
     882
    701883        <li>define the environment variable:</li>
    702884
    703885
    704886
     887
     888     
    705889     
    706890     
     
    710894
    711895
     896
     897   
    712898   
    713899   
     
    717903
    718904
     905
     906 
    719907 
    720908 
     
    724912
    725913
     914
    726915</ul>
    727916
    728917
    729918
     919
    730920<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    731921
    732922
    733923
     924
    734925  <tbody>
    735926
    736927
    737928
    738     <tr>
     929
     930    <tr>
     931
    739932
    740933
     
    744937
    745938
    746     </tr>
    747 
    748 
    749 
     939
     940    </tr>
     941
     942
     943
     944
     945 
    750946 
    751947 
     
    756952
    757953
     954
    758955<ul>
    759956
    760957
    761958
     959
     960 
    762961 
    763962 
     
    767966
    768967
     968
     969   
    769970   
    770971   
     
    774975
    775976
     977
     978     
    776979     
    777980     
    778981     
    779982      <ul>
     983
    780984
    781985
     
    787991
    788992
     993
     994     
    789995     
    790996     
     
    7941000
    7951001
     1002
     1003   
    7961004   
    7971005   
     
    8011009
    8021010
     1011
     1012 
    8031013 
    8041014 
     
    8081018
    8091019
     1020
    8101021</ul>
    8111022
    8121023
    8131024
     1025
    8141026<table style="width: 100%;" border="1" cellpadding="2" cellspacing="2">
    8151027
     
    8171029
    8181030
     1031
    8191032  <tbody>
    8201033
    8211034
    8221035
    823     <tr>
     1036
     1037    <tr>
     1038
    8241039
    8251040
     
    8291044
    8301045
    831     </tr>
    832 
    833 
    834 
    835 
     1046
     1047    </tr>
     1048
     1049
     1050
     1051
     1052
     1053 
    8361054 
    8371055 
     
    8421060
    8431061
     1062
    8441063<br>
     1064
    8451065
    8461066
     
    8561076
    8571077
     1078
    8581079</div>
    8591080
    8601081
    8611082
     1083
    8621084<ul>
    8631085
    8641086
    8651087
     1088
     1089 
    8661090 
    8671091 
     
    8711095
    8721096
     1097
     1098   
    8731099   
    8741100   
     
    8781104
    8791105
     1106
     1107     
    8801108     
    8811109     
     
    8851113
    8861114
     1115
    8871116        <li>execute the CMT setup:</li>
    8881117
    8891118
    8901119
     1120
     1121     
    8911122     
    8921123     
     
    8961127
    8971128
     1129
     1130   
    8981131   
    8991132   
     
    9031136
    9041137
     1138
     1139 
    9051140 
    9061141 
     
    9101145
    9111146
     1147
    9121148</ul>
    9131149
    9141150
    9151151
     1152
    9161153<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    9171154
    9181155
    9191156
     1157
    9201158  <tbody>
    9211159
    9221160
    9231161
    924     <tr>
     1162
     1163    <tr>
     1164
    9251165
    9261166
     
    9301170
    9311171
    932     </tr>
    933 
    934 
    935 
     1172
     1173    </tr>
     1174
     1175
     1176
     1177
     1178 
    9361179 
    9371180 
     
    9421185
    9431186
     1187
    9441188<ul>
    9451189
    9461190
    9471191
     1192
     1193 
    9481194 
    9491195 
     
    9531199
    9541200
     1201
     1202   
    9551203   
    9561204   
     
    9601208
    9611209
     1210
     1211     
    9621212     
    9631213     
     
    9671217
    9681218
     1219
    9691220        <li>&nbsp;Then, one needs to reconfigure the MEMPHYS environment using the CMT ad hoc command</li>
    9701221
    9711222
    9721223
     1224
     1225     
    9731226     
    9741227     
     
    9781231
    9791232
     1233
     1234   
    9801235   
    9811236   
     
    9851240
    9861241
     1242
     1243 
    9871244 
    9881245 
     
    9921249
    9931250
     1251
    9941252</ul>
    9951253
    9961254
    9971255
     1256
    9981257<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    9991258
    10001259
    10011260
     1261
    10021262  <tbody>
    10031263
    10041264
    10051265
    1006     <tr>
     1266
     1267    <tr>
     1268
    10071269
    10081270
     
    10121274
    10131275
     1276
    10141277UNIX&gt; cmt config<br>
    10151278
    10161279
    10171280
     1281
    10181282UNIX&gt; source setup.csh</td>
    10191283
    10201284
    10211285
    1022     </tr>
    1023 
    1024 
    1025 
     1286
     1287    </tr>
     1288
     1289
     1290
     1291
     1292 
    10261293 
    10271294 
     
    10321299
    10331300
     1301
    10341302<br>
     1303
    10351304
    10361305
     
    10421311
    10431312
     1313
    10441314<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    10451315
    10461316
    10471317
     1318
    10481319  <tbody>
    10491320
    10501321
    10511322
    1052     <tr>
     1323
     1324    <tr>
     1325
    10531326
    10541327
     
    10581331
    10591332
     1333
    10601334UNIX&gt; cmt show path<br>
    10611335
    10621336
    10631337
     1338
    10641339# Add path /home/campagne/projets/OSArea from initialization<br>
    10651340
    10661341
    10671342
     1343
    10681344# Add path /home/campagne/kits/OpenScientist/v16r0 from ProjectPath<br>
    10691345
    10701346
    10711347
     1348
    10721349# Add path /home/campagne/CMTI from ProjectPath<br>
    10731350
    10741351
    10751352
     1353
    10761354# Add path /home/campagne/CMTI from ProjectPath</td>
    10771355
    10781356
    10791357
    1080     </tr>
    1081 
    1082 
    1083 
     1358
     1359    </tr>
     1360
     1361
     1362
     1363
     1364 
    10841365 
    10851366 
     
    10901371
    10911372
     1373
    10921374Here 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>
    10931375
    10941376
    10951377
     1378
    10961379<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    10971380
    10981381
    10991382
     1383
    11001384  <tbody>
    11011385
    11021386
    11031387
    1104     <tr>
     1388
     1389    <tr>
     1390
    11051391
    11061392
     
    11101396
    11111397
     1398
    11121399# use OpenScientist v16r0 Interfaces<br>
    11131400
    11141401
    11151402
     1403
    11161404# use ROOT v1r* Interfaces (native_version=4.03.02)<br>
    11171405
    11181406
    11191407
     1408
    11201409#<br>
    11211410
    11221411
    11231412
     1413
    11241414# Selection :<br>
    11251415
    11261416
    11271417
     1418
    11281419use CMT v1r18p20051108 (/home/campagne/kits)<br>
    11291420
    11301421
    11311422
     1423
    11321424use ROOT v1r51000p0 Interfaces (/home/campagne/CMTI/)<br>
    11331425
    11341426
    11351427
     1428
    11361429use OpenScientist v16r0 Interfaces (/home/campagne/CMTI/)</td>
    11371430
    11381431
    11391432
    1140     </tr>
    1141 
    1142 
    1143 
     1433
     1434    </tr>
     1435
     1436
     1437
     1438
     1439 
    11441440 
    11451441 
     
    11501446
    11511447
     1448
    11521449to 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>
    11531450
    11541451
    11551452
     1453
    11561454<ul>
    11571455
    11581456
    11591457
     1458
     1459 
    11601460 
    11611461 
     
    11651465
    11661466
     1467
     1468   
    11671469   
    11681470   
     
    11721474
    11731475
     1476
     1477     
    11741478     
    11751479     
     
    11791483
    11801484
     1485
    11811486        <li>If the above cross-checks are successfuly passed, then one can proceed to the compilation and the link: &nbsp;</li>
    11821487
    11831488
    11841489
     1490
     1491     
    11851492     
    11861493     
     
    11901497
    11911498
     1499
     1500   
    11921501   
    11931502   
     
    11971506
    11981507
     1508
     1509 
    11991510 
    12001511 
     
    12041515
    12051516
     1517
    12061518</ul>
    12071519
    12081520
    12091521
     1522
    12101523<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    12111524
    12121525
    12131526
     1527
    12141528  <tbody>
    12151529
    12161530
    12171531
    1218     <tr>
     1532
     1533    <tr>
     1534
    12191535
    12201536
     
    12241540
    12251541
     1542
    12261543UNIX&gt; gmake</td>
    12271544
    12281545
    12291546
    1230     </tr>
    1231 
    1232 
    1233 
     1547
     1548    </tr>
     1549
     1550
     1551
     1552
     1553 
    12341554 
    12351555 
     
    12401560
    12411561
     1562
    12421563<br>
    12431564
    12441565
    12451566
     1567
    12461568If the all the process of compilationand link is ok, then one should see the following lines:<br>
    12471569
    12481570
    12491571
     1572
    12501573<br>
    12511574
    12521575
    12531576
     1577
    12541578<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    12551579
    12561580
    12571581
     1582
    12581583  <tbody>
    12591584
    12601585
    12611586
    1262     <tr>
     1587
     1588    <tr>
     1589
    12631590
    12641591
     
    12681595
    12691596
     1597
    12701598------&gt; MEMPHYS_session ok<br>
    12711599
    12721600
    12731601
     1602
    12741603------&gt; (constituents.make) MEMPHYS_session done<br>
    12751604
    12761605
    12771606
     1607
    12781608&nbsp;all ok.</td>
    12791609
    12801610
    12811611
    1282     </tr>
    1283 
    1284 
    1285 
     1612
     1613    </tr>
     1614
     1615
     1616
     1617
     1618 
    12861619 
    12871620 
     
    12921625
    12931626
     1627
    12941628<br>
     1629
    12951630
    12961631
     
    13021637
    13031638
     1639
    13041640<h2 style="color: rgb(51, 51, 255);"><a class="mozTocH2" name="mozTocId3450"></a>Simple runs</h2>
    13051641
    13061642
    13071643
     1644
    13081645Usually the user starts an UNIX session and want to run MEMPHYS. The two things to do are:<br>
    13091646
    13101647
    13111648
     1649
    13121650<br>
    13131651
    13141652
    13151653
     1654
    13161655<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    13171656
    13181657
    13191658
     1659
    13201660  <tbody>
    13211661
    13221662
    13231663
    1324     <tr>
     1664
     1665    <tr>
     1666
    13251667
    13261668
     
    13301672
    13311673
     1674
    133216752) execute the MEMPHYS setup (no more necessary to run "cmt config"):<br>
    13331676
    13341677
    13351678
     1679
    13361680UNIX&gt; cd &lt;personal-area&gt;/OSArea/MEMPHYS/&lt;versioin&gt;/cmt<br>
    13371681
    13381682
    13391683
     1684
    13401685UNIX&gt; source setup.csh</td>
    13411686
    13421687
    13431688
    1344     </tr>
    1345 
    1346 
    1347 
     1689
     1690    </tr>
     1691
     1692
     1693
     1694
     1695 
    13481696 
    13491697 
     
    13541702
    13551703
     1704
    13561705<br>
    13571706
    13581707
    13591708
     1709
    13601710The directory hierarchy of the MEMPHYS package is the following:<br>
    13611711
    13621712
    13631713
     1714
    13641715<br>
    13651716
    13661717
    13671718
     1719
    13681720<table style="text-align: left; background-color: rgb(255, 255, 102); width: 100%;" border="1" cellpadding="2" cellspacing="2">
    13691721
    13701722
    13711723
     1724
    13721725  <tbody>
    13731726
    13741727
    13751728
    1376     <tr>
     1729
     1730    <tr>
     1731
    13771732
    13781733
     
    13821737
    13831738
     1739
    13841740      <td>source Core directory</td>
    13851741
    13861742
    13871743
    1388     </tr>
    1389 
    1390 
    1391 
    1392     <tr>
     1744
     1745    </tr>
     1746
     1747
     1748
     1749
     1750    <tr>
     1751
    13931752
    13941753
     
    13981757
    13991758
     1759
    14001760      <td>source files where the <span style="font-style: italic;">main</span> steering routine is defined</td>
    14011761
    14021762
    14031763
    1404     </tr>
    1405 
    1406 
    1407 
    1408     <tr>
     1764
     1765    </tr>
     1766
     1767
     1768
     1769
     1770    <tr>
     1771
    14091772
    14101773
     
    14141777
    14151778
     1779
    14161780      <td>include files of the Core</td>
    14171781
    14181782
    14191783
    1420     </tr>
    1421 
    1422 
    1423 
    1424     <tr>
     1784
     1785    </tr>
     1786
     1787
     1788
     1789
     1790    <tr>
     1791
    14251792
    14261793
     
    14301797
    14311798
     1799
    14321800      <td>directory where the CMT management files are located (requirements, setup/cleanup)</td>
    14331801
    14341802
    14351803
    1436     </tr>
    1437 
    1438 
    1439 
    1440     <tr>
     1804
     1805    </tr>
     1806
     1807
     1808
     1809
     1810    <tr>
     1811
    14411812
    14421813
     
    14461817
    14471818
     1819
    14481820      <td>event file directory. NUANCE style is used to code the primary vertex particles</td>
    14491821
    14501822
    14511823
    1452     </tr>
    1453 
    1454 
    1455 
    1456     <tr>
     1824
     1825    </tr>
     1826
     1827
     1828
     1829
     1830    <tr>
     1831
    14571832
    14581833
    14591834
    14601835      <td>run</td>
     1836
    14611837
    14621838
     
    14691845
    14701846
    1471     </tr>
    1472 
    1473 
    1474 
    1475     <tr>
     1847
     1848    </tr>
     1849
     1850
     1851
     1852
     1853    <tr>
     1854
    14761855
    14771856
     
    14811860
    14821861
     1862
    14831863      <td>Geant4 and OpenScientist scripts</td>
    14841864
    14851865
    14861866
    1487     </tr>
    1488 
    1489 
    1490 
     1867
     1868    </tr>
     1869
     1870
     1871
     1872
     1873 
    14911874 
    14921875 
     
    14971880
    14981881
     1882
    14991883<br>
    15001884
    15011885
    15021886
     1887
    15031888<h3><a class="mozTocH3" name="mozTocId327975"></a>Interactive session</h3>
    15041889
    15051890
    15061891
     1892
    15071893In an interactive session the tuple generation is desable and one starts as followed:<br>
    15081894
    15091895
    15101896
     1897
    15111898<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    15121899
    15131900
    15141901
     1902
    15151903  <tbody>
    15161904
    15171905
    15181906
    1519     <tr>
     1907
     1908    <tr>
     1909
    15201910
    15211911
     
    15251915
    15261916
     1917
    15271918UNIX&gt; ../$CMTCONFIG/MEMPHYS_session.exe</td>
    15281919
    15291920
    15301921
    1531     </tr>
    1532 
    1533 
    1534 
     1922
     1923    </tr>
     1924
     1925
     1926
     1927
     1928 
    15351929 
    15361930 
     
    15411935
    15421936
     1937
    15431938&nbsp;<br>
     1939
    15441940
    15451941
     
    15521948
    15531949
     1950
    15541951<img style="width: 858px; height: 734px;" alt="image" src="Images/numuEvent.jpg"> <br>
     1952
    15551953<br>
     1954
    15561955One can visualize the "Hits" using the MEMPHYS menu, although it is
    15571956then useful to use the zoom by using CTRL-Shift + drag the mouse in the
    15581957("Hand mode" see right icons).<br>
     1958
    15591959<br>
     1960
    15601961<img style="width: 858px; height: 734px;" alt="Image" src="Images/numuEventHit.jpg"><br>
    15611962
    15621963
    15631964
     1965
    15641966<br>
     1967
    15651968
    15661969
     
    15721975
    15731976
     1977
    15741978<h3><a class="mozTocH3" name="mozTocId967005"></a>Batch mode</h3>
     1979
    15751980
    15761981
     
    15831988
    15841989
     1990
    15851991<ul>
    15861992
    15871993
    15881994
     1995
    15891996  <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>
    15901997
    15911998
    15921999
     2000
    15932001</ul>
    15942002
    15952003
    15962004
     2005
    15972006<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    15982007
    15992008
    16002009
     2010
    16012011  <tbody>
    16022012
    16032013
    16042014
    1605     <tr>
     2015
     2016    <tr>
     2017
    16062018
    16072019
     
    16112023
    16122024
     2025
    16132026UNIX&gt; (cd ../cmt ; gmake ROOT)</td>
    16142027
    16152028
    16162029
    1617     </tr>
    1618 
    1619 
    1620 
     2030
     2031    </tr>
     2032
     2033
     2034
     2035
     2036 
    16212037 
    16222038 
     
    16272043
    16282044
     2045
    16292046&nbsp;&nbsp; <br>
    16302047
    16312048
    16322049
     2050
    16332051&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; The difference between the two applications are XXX &nbsp;&nbsp;&nbsp; <br>
    16342052
    16352053
    16362054
     2055
    16372056<ul>
    16382057
    16392058
    16402059
     2060
    16412061  <li>either using interactive OnX session ()</li>
    16422062
    16432063
    16442064
     2065
    16452066</ul>
    16462067
    16472068
    16482069
     2070
    16492071<ul>
    16502072
    16512073
    16522074
     2075
    16532076  <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>
    16542077
    16552078
    16562079
     2080
    16572081</ul>
    16582082
    16592083
    16602084
     2085
    16612086The structure of the tuple for the moment is the following:<br>
    16622087
    16632088
    16642089
     2090
    16652091<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
    16662092
    16672093
    16682094
     2095
    16692096  <tbody>
    16702097
    16712098
    16722099
    1673     <tr>
     2100
     2101    <tr>
     2102
    16742103
    16752104
     
    16792108
    16802109
     2110
    16812111&nbsp; column += "ITuple vtxPos = { double x, y, z }, ";<br>
    16822112
    16832113
    16842114
     2115
    16852116&nbsp; column += "int nPart, leptonIndex, protonIndex, ";<br>
    16862117
    16872118
    16882119
     2120
    16892121&nbsp; column += "ITuple track = { int pId, parent, float timeStart, ";<br>
     2122
    16902123
    16912124
     
    16972130
    16982131
     2132
    16992133&nbsp; column
    17002134+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    17032137
    17042138
     2139
    17052140&nbsp; column
    17062141+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    17092144
    17102145
     2146
    17112147&nbsp; column
    17122148+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    17152151
    17162152
     2153
    17172154&nbsp; column
    17182155+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    17212158
    17222159
     2160
    17232161&nbsp; column
    17242162+=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    17272165
    17282166
     2167
    17292168&nbsp; column +=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "}, ";<br>
    17302169
    17312170
    17322171
     2172
    17332173&nbsp; column += "int nHits, ITuple hit = { int tubeId, int totalPE, ITuple pe = { float time} }, ";<br>
    17342174
    17352175
    17362176
     2177
    17372178&nbsp; column += "int nDigits, double sumPE, ";<br>
    17382179
    17392180
    17402181
     2182
    17412183&nbsp; column += "ITuple digit = { int tubeId, double pe, time }";</td>
    17422184
    17432185
    17442186
    1745     </tr>
    1746 
    1747 
    1748 
     2187
     2188    </tr>
     2189
     2190
     2191
     2192
     2193 
    17492194 
    17502195 
     
    17552200
    17562201
     2202
    17572203<br>
    17582204
    17592205
    17602206
     2207
    17612208<br>
    17622209
     
    17642211
    17652212
    1766 </body></html>
     2213
     2214</body>
     2215</html>
Note: See TracChangeset for help on using the changeset viewer.