Changeset 3955


Ignore:
Timestamp:
05/04/04 11:24:53 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3952 r3955  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2004/05/04: Markus Gaug
     22 
     23   * mcalib/MHCalibrationChargeBlindPix.cc
     24     - intialized the 2 vectors differently, now they don't give
     25       warnings any more.
     26
    2027
    2128 2004/05/03: Thomas Bretz
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc

    r3953 r3955  
    128128MHCalibrationChargeBlindPix::MHCalibrationChargeBlindPix(const char *name, const char *title)
    129129    :  fBlindPix(NULL), fSignal(NULL), fRawEvt(NULL),
     130       fASinglePheFADCSlices(1), fAPedestalFADCSlices(1),
    130131       fSinglePheFit(NULL),
    131132       fFitLegend(NULL),
     
    149150    fHGausHist.SetXTitle("Sum FADC Slices");
    150151    fHGausHist.SetYTitle("Nr. of events");
    151 
    152     fASinglePheFADCSlices(0);
    153     fAPedestalFADCSlices(0);
    154152 
    155153    Clear();
     
    361359
    362360  const Int_t samples = (Int_t)fRawEvt->GetNumHiGainSamples()+(Int_t)fRawEvt->GetNumLoGainSamples();
     361
     362  if (!fASinglePheFADCSlices.IsValid())
     363    {
     364      fASinglePheFADCSlices.ResizeTo(samples);
     365      fAPedestalFADCSlices.ResizeTo(samples);
     366    }
    363367
    364368  if (fASinglePheFADCSlices.GetNrows() != samples)
     
    984988  pad->cd(3);
    985989
    986   if (fASinglePheFADCSlices.GetNrows() != 0)
     990  if (fASinglePheFADCSlices.GetNrows()!=1)
    987991    {
    988992      if (fHSinglePheFADCSlices)
     
    9971001 
    9981002  pad->cd(4);
    999   if (fAPedestalFADCSlices.GetNrows() != 0)
     1003  if (fAPedestalFADCSlices.GetNrows()!=1)
    10001004    {
    10011005
Note: See TracChangeset for help on using the changeset viewer.