/[PAMELA software]/PamelaDigitizer/HOW-TO-DIGIT.TXT
ViewVC logotype

Diff of /PamelaDigitizer/HOW-TO-DIGIT.TXT

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by orsi, Wed Oct 31 18:17:59 2007 UTC revision 1.3 by pamelats, Wed May 21 09:50:45 2008 UTC
# Line 15  export PAM_DBHOST=mysql://nameofmachine/ Line 15  export PAM_DBHOST=mysql://nameofmachine/
15  export PAM_DBUSER=root  export PAM_DBUSER=root
16  export PAM_DBPSW=pameladb  export PAM_DBPSW=pameladb
17    
18  2) Create the database for simulation with the script install_GPAMELADB.sh, which is in Profiler directory under docs (you must run it in the dierectory itself or copy in the directory where the sql files are present ). The script will create the database and fill it with the approprate reference to the calibrations files for the simulation.  2) Create the database for simulation with the script install_GPAMELADB.sh, which is in Profiler
19  (This is possible only for CVS version after 9/10/2007 , when the calibration files and their link have been put on the repository.)  directory under docs (you must run it in the dierectory itself or copy in the directory where the sql
20    files are present ). The script will create the database and fill it with the approprate reference to
21    the calibrations files for the simulation.
22    (This is possible only for CVS version after 9/10/2007 , when the calibration files and their link have
23    been put on the repository.)
24    
25  3) Fill the GL_TLE table with "YodaProfiler -tle tle.txt" where the tle.txt file can be found in the Profiler directory under docs  3) Fill the GL_TLE table with "YodaProfiler -tle tle.txt" where the tle.txt file can be found in the
26    Profiler directory under docs
27    
28  4) Run the digitizer :  4) Run the digitizer :
29    
# Line 47  Some examples of usage: Line 52  Some examples of usage:
52  DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk ] +TRK +TOF +AC +TRG +ND  DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk ] +TRK +TOF +AC +TRG +ND
53  DarthVader -zerofill -idRun 1 +CAL [ --no-crosstalk ] -S4  DarthVader -zerofill -idRun 1 +CAL [ --no-crosstalk ] -S4
54    
55  The previous 2 commands have the same output, i.e. all detectors are included except S4 (the default behaviour includes the option "+ALL").  The previous 2 commands have the same output, i.e. all detectors are included except S4 (the default
56    behaviour includes the option "+ALL").
57  If the TRK is not present the option --no-tracker must be specified:  If the TRK is not present the option --no-tracker must be specified:
58  c) DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk --no-tracker] +AC  c) DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk --no-tracker] +AC
59    
60  It is recommended to run DarthVader specifying as output the file namegpamelafile.gp.root (file created by the digitizer, containing the gpamela data in root [see above]).  It is recommended to run DarthVader specifying as output the file namegpamelafile.gp.root (file created
61    by the digitizer, containing the gpamela data in root [see above]).
62  The option "--no-crosstalk" (and "--no-tracker") can be omitted in this case  The option "--no-crosstalk" (and "--no-tracker") can be omitted in this case
63    
64  DarthVader -zerofill -idRun 1 -ALL +RUN +CAL +TRK ... -processFile namegpamelafile.gp.root  DarthVader -zerofill -idRun 1 -ALL +RUN +CAL +TRK ... -processFile namegpamelafile.gp.root
65    
66  In this way all gpamela info and Level2 info are contained in the same file (namegpamelafile.gp.root).  In this way all gpamela info and Level2 info are contained in the same file (namegpamelafile.gp.root).
67    
68  With the latest DarthVader you can also include S4 and ORB without errors (but S4 data will be empty until fully implemented in the Digitizer code).  With the latest DarthVader you can also include S4 and ORB without errors (but S4 data will be empty
69    until fully implemented in the Digitizer code).
70    
71  9) Default parameters for simulation are included in DarthVader since 9/10/2007.  9) Default parameters for simulation are included in DarthVader since 9/10/2007.
72  In case is not possible to use the CVS version after 9/10/2007 you must force DarthVader to use alignment and eta parameters needed by the tracker.  In case is not possible to use the CVS version after 9/10/2007 you must force DarthVader to use
73    alignment and eta parameters needed by the tracker.
74  This is also possible if for some reason you want to test other sets of parameters.  This is also possible if for some reason you want to test other sets of parameters.
75  To do this simply write :  To do this simply write :
76    
77  DarthVader -zerofill -idRun 1 -ALL +RUN +TRK [ -4 /path-to-eta-parameter-for-simulation/ -5 /path-to-] ...  DarthVader -zerofill -idRun 1 -ALL +RUN +TRK [ -4 /path-to-eta-parameter-for-simulation/ -5 /path-to-]
78    ...
79    
80  To load different parameter types you have to use different numbers, according to the same notation of the DB:  To load different parameter types you have to use different numbers, according to the same notation of
81    the DB:
82    
83  1 field map  1 field map
84  2 adc-to-mip  2 adc-to-mip
# Line 83  DarthVader/param/trk-param/eta_param_GP- Line 94  DarthVader/param/trk-param/eta_param_GP-
94    
95    
96          ********* NB: **********          ********* NB: **********
97  On the machines pamelatov in Roma2 the flags "-lmathlib -lpacklib -lkernlib" must be present in the Make file:  On the machines pamelatov in Roma2 the flags "-lmathlib -lpacklib -lkernlib" must be present in the
98    Make file:
99  LDFLAGS = -g -lmathlib -lpacklib -lkernlib -llapack -lg2c -lm -lnsl -lcrypt -L/cern/2005/lib  LDFLAGS = -g -lmathlib -lpacklib -lkernlib -llapack -lg2c -lm -lnsl -lcrypt -L/cern/2005/lib
100  On other machines (for example pamelaws02 in Naples) the digitizer does not compile if the same flags are speficied, so they should be removed.  On other machines (for example pamelaws02 in Naples) the digitizer does not compile if the same flags
101    are speficied, so they should be removed.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23