Changeset 4339 for trunk/MagicSoft


Ignore:
Timestamp:
06/23/04 01:48:35 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc

    r4337 r4339  
    156156const Float_t MHCalibrationChargeCam::fgTimeLowerLimit           = 1.;
    157157const Float_t MHCalibrationChargeCam::fgTimeUpperLimit           = 2.;
    158 const Int_t   MHCalibrationChargeCam::gkNumRefColours            = 6;
     158const Int_t   MHCalibrationChargeCam::gkNumRefColours            = 7;
    159159// --------------------------------------------------------------------------
    160160//
     
    186186  gkLoGainOuterRefLines.Set(gkNumRefColours);
    187187
     188  // 1 LED green
    188189  gkHiGainInnerRefLines.AddAt(245. ,0);
    189190  gkHiGainOuterRefLines.AddAt(217. ,0);
     
    191192  gkLoGainOuterRefLines.AddAt(18.9 ,0);
    192193
     194  // 1 LED blue
    193195  gkHiGainInnerRefLines.AddAt(323. ,1);
    194196  gkHiGainOuterRefLines.AddAt(307.5,1);
     
    196198  gkLoGainOuterRefLines.AddAt(26.0 ,1);
    197199
     200  // 5 LEDs blue
    198201  gkHiGainInnerRefLines.AddAt(1065.,2);
    199202  gkHiGainOuterRefLines.AddAt(932. ,2);
     
    201204  gkLoGainOuterRefLines.AddAt(108.3,2);
    202205
     206  // 10 LEDs blue
    203207  gkHiGainInnerRefLines.AddAt(1467.,3);
    204208  gkHiGainOuterRefLines.AddAt(1405.,3);
     
    206210  gkLoGainOuterRefLines.AddAt(198. ,3);
    207211
     212  // 10 LEDs UV
    208213  gkHiGainInnerRefLines.AddAt(180.,4);
    209214  gkHiGainOuterRefLines.AddAt(167.,4);
     
    211216  gkLoGainOuterRefLines.AddAt(14.0,4);
    212217
     218  // CT1
    213219  gkHiGainInnerRefLines.AddAt(211.,5);
    214220  gkHiGainOuterRefLines.AddAt(183.5,5);
    215221  gkLoGainInnerRefLines.AddAt(13.5,5);
    216222  gkLoGainOuterRefLines.AddAt(11.,5);
     223
     224  // 5 LEDs green
     225  gkHiGainInnerRefLines.AddAt(533.5,6);
     226  gkHiGainOuterRefLines.AddAt(405.5,6);
     227  gkLoGainInnerRefLines.AddAt(41.7,6);
     228  gkLoGainOuterRefLines.AddAt(42.,6);
     229
    217230}
    218231
     
    10471060  green1->Draw();
    10481061
     1062  TLine *green5 = new TLine(refline.At(6),0.,refline.At(6),hist->GetYaxis()->GetXmax());
     1063  green5->SetBit(kCanDelete);
     1064  green5->SetLineColor(8);
     1065  green5->SetLineStyle(2);
     1066  green5->SetLineWidth(3);
     1067  green5->Draw();
     1068
    10491069  TLine *blue1   = new TLine(refline.At(1),0.,refline.At(1),hist->GetYaxis()->GetXmax());
    10501070  blue1->SetBit(kCanDelete);
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r4047 r4339  
    4747    Byte_t  fSaturationLimit;
    4848
    49     virtual void FindSignalHiGain(Byte_t *firstused, Byte_t *lowgain, Int_t &sum, Byte_t &sat) const;
    50     virtual void FindSignalLoGain(Byte_t *firstused, Int_t &sum, Byte_t &sat) const;
     49    virtual void FindSignalHiGain(Byte_t *firstused, Byte_t *lowgain, Float_t &sum, Byte_t &sat) const;
     50    virtual void FindSignalLoGain(Byte_t *firstused, Float_t &sum, Byte_t &sat) const;
    5151
    5252    virtual Int_t  PreProcess(MParList *pList);
Note: See TracChangeset for help on using the changeset viewer.