/[PAMELA software]/PamelaDigitizer/Pamelagp2Digits.cxx
ViewVC logotype

Diff of /PamelaDigitizer/Pamelagp2Digits.cxx

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

revision 1.2 by orsi, Fri Sep 28 10:46:27 2007 UTC revision 1.7 by silvio, Wed Nov 28 18:54:31 2007 UTC
# Line 4  Line 4 
4  //      The conversion is done using a slightly patched version of  //      The conversion is done using a slightly patched version of
5  //      Rene Brun's h2root.  //      Rene Brun's h2root.
6  //  //
7  //      Created : Jan Conrad (conrad@particle.kth.se)  //      Created : 2006 Jan Conrad  (conrad@particle.kth.se)
8  //      Modified: Silvio Orsi (silvio.orsi@roma2.infn.it)  //      Modified: 2007 Silvio Orsi (silvio.orsi@roma2.infn.it)
9  //  //
10  //  //
11  //  HOWTO (RECOMMENDED):  //  HOWTO (RECOMMENDED):
12  //  ./ Pamelagp2Digits filename.his  //  ./ Pamelagp2Digits filename.his
13  //  It generates filename.pam (PAMELA raw data) and filename.gp.root (sim info)  //  It generates filename.pam (PAMELA raw data) and filename.gp.root (sim info)
14  //    //  
15  //  HOWTO (EXPERT, only for testing purposes)  //  NB: more details are present in the file HOW-TO-DIGIT.TXT
16    //
17    //  HOWTO (only for testing purposes)
18  //  Pamelagp2Digits hbook_filename root_filename  raw_filename compress tolower  //  Pamelagp2Digits hbook_filename root_filename  raw_filename compress tolower
19  //  - If the 2nd and 3rd parameters are missing the names are generated from the hbook file name.  //  - If the 2nd and 3rd parameters are missing the names are generated from the hbook file name.
20  //  - The following flags are from h2root and default values are used:  //  - The following flags are from h2root and default values are used:
# Line 25  Line 27 
27  //  //
28  //  MODIFICATIONS:  //  MODIFICATIONS:
29  //  //
30  //  v. 1.01 (S.Orsi, Roma2, 28 September 2007)  //  rev. 1.7 (S.Orsi, Roma2, 28 November 2007)
31    //  - TOF: + mapping S21 corrected (WM)
32    //         + time resolution increased to 425ps (WM)
33    //         + new scale factors (WM)
34    //         + various corrections
35    //  - file README removed (usage and install information are present in the file HOW-TO-DIGIT.TXT)
36    //  - Makefile: option "install" added
37    //
38    //  rev. 1.6 (S.Orsi, Roma2, 31 October 2007)
39    //  - TOF: (Campana, Menn, Orsi)
40    //         + bugs fixed
41    //         + crc included
42    //         + introduction of 3 control bits in the ADC and TDC words before writing fDataTof
43    //         + channel map corrected (correspondence between PMT# and TDC channel)
44    //         + new conversion pC to ADC
45    //         + scaling factors to tune MC data to real ones
46    //  - HOW-TO-DIGIT.TXT file updated (E.Vannuccini)
47    //
48    //  v. 1.5 (S.Orsi, Roma2, 11 October 2007)
49    //  - file HOW-TO-DIGIT.TXT written (mainly by S.Bottai): contains information on how to run the chain from the DB creation to DarthVader through Digitizer, yoda and YodaProfiler
50    //
51    //  v. 1.4 (S.Orsi, Roma2, 11 October 2007)
52    //  - similar to v. 1.3  
53    //
54    //  v. 1.3 (S.Orsi, Roma2, 11 October 2007)
55    //  - TOF: + changes and major corrections in ADC and TDC (W.Menn, D.Campana, S.Orsi)
56    //         + flag DEBUG added (default: DEBUG=false; if true, print on screem some messages to debug)
57    //  - AC: + shift register filled;
58    //        + minor bugs fixed
59    //        + counters increment by 1 at each event (they were constant before)
60    //  - S4: + minor bugs fixed (S.Borisov)
61    //        + the routine DigitizeS4() is now inserted in the code. For DV versions earlier than October 2007, the option "-S4" is still needed because S4 calibration is not present
62    //  - corrected severe bug that caused yoda to process only part of large data files (file.pam). S4 data were written to file even if the DigitizeS4() routine was not called. Previous versions of the digitizer should have crashed always, but unexpectedly worked on small files.
63    //  - file HOW-TO-DIGIT.TXT written (mainly by S.Bottai): contains information on how to run the chain from the DB creation to DarthVader through Digitizer, yoda and YodaProfiler. The file is included only from release 1.5
64    //  - digitizer version numbers modified according to CVS repository (v1.00->v1.1, v1.01->v1.2)
65    //  - some flags (LDFLAGS) in the Makefile have been changed; they are needed on some machines (e.g. pamelatov.roma2.infn.it), but give errors on others (e.g. pamelaws02.na.infn.it). See Makefile for details if the compilation fails due to library errors)
66    //
67    //  v. 1.2 (S.Orsi, Roma2, 28 September 2007)
68  //  - TOF TDC inserted (to be tuned)  //  - TOF TDC inserted (to be tuned)
69  //  - improved tracker dEdx, tracker saturation inserted (S.Bottai)  //  - improved tracker dEdx, tracker saturation inserted (S.Bottai)
70  //  - S4 routine inserted in code (not in read-out)  //  - S4 routine inserted in code (not in read-out)
71  //  - bugs with packet length corrected  //  - bugs with packet length corrected
72  //  - small bugs fixed  //  - small bugs fixed
73  //  - NB: Run DarthVader with the options: "DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk ] +TRK +TOF +AC +TRG +ND", i.e. without S4  //  - NB: Run DarthVader with the options: "DarthVader -zerofill -idRun 1 -ALL +RUN +CAL [ --no-crosstalk ] +TRK +TOF +AC +TRG +ND" or  "DarthVader -zerofill -idRun 1 +CAL [ --no-crosstalk ] -S4", i.e. without S4
74  //  //
75  //  v. 1.00 (S.Orsi, Roma2, 13 September 2007)  //  v. 1.1 (S.Orsi, Roma2, 13 September 2007)
76  //  - trigger (dummy), tof (preliminary, adc only), ND (preliminary) inserted  //  - trigger (dummy), tof (preliminary, adc only), ND (preliminary) inserted
77  //  - various changes and bug fixes  //  - various changes and bug fixes
78  //  - padding increased (fPADbuffer=64, fPadding = padbytes+64)  //  - padding increased (fPADbuffer=64, fPadding = padbytes+64)
79  //  //
80  //  v. beta (J.Conrad, KTH, 2006)  //  v. beta (J.Conrad, KTH, 2006)
81  //  - compiles; includes pscu, calo, trk, ac  //  - compiles; includes pscu, calo, trk, ac; not present on cvs
82  //  //
83  /////////////////////////////////////////////////////////////////////////  /////////////////////////////////////////////////////////////////////////
84    

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

  ViewVC Help
Powered by ViewVC 1.1.23