Changeset 959 for trunk/MagicSoft/Mars/mhist/MHFadcPix.cc
- Timestamp:
- 10/02/01 14:46:56 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHFadcPix.cc
r859 r959 46 46 { 47 47 // FIXME! Set the right axis titles and ... and ... 48 Char_t tmp1[40] ="hi";49 Char_t tmp2[40] ="hi gain Pixel";48 Char_t tmp1[40]; 49 Char_t tmp2[40]; 50 50 51 if (pixid)52 {53 sprintf(tmp1, "%s%d", tmp1, pixid);54 sprintf(tmp2, "%s %d", tmp2, pixid);55 }51 // if (pixid) 52 // { 53 sprintf(tmp1, "HiGain%03d", pixid); 54 sprintf(tmp2, "Hi Gain Pixel #%d", pixid); 55 // } 56 56 fHistHi = new TH1F(tmp1, tmp2, 256, 0, 255); 57 57 58 59 Char_t tmp3[40]="lo"; 60 Char_t tmp4[40]="lo gain Pixel"; 61 62 if (pixid) 63 { 64 sprintf(tmp3, "%s%d", tmp3, pixid); 65 sprintf(tmp4, "%s %d", tmp4, pixid); 66 } 67 fHistLo = new TH1F(tmp3, tmp4, 256, 0, 255); 58 // if (pixid) 59 // { 60 sprintf(tmp1, "LoGain%03d", pixid); 61 sprintf(tmp2, "Lo Gain Pixel #%d", pixid); 62 // } 63 fHistLo = new TH1F(tmp2, tmp2, 256, 0, 255); 68 64 } 69 65
Note:
See TracChangeset
for help on using the changeset viewer.