Ignore:
Timestamp:
03/04/07 10:59:17 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.cc

    r8339 r8359  
    285285      MRawEvtPixelIter pixel(fRawEvt);
    286286      pixel.Jump(blindpixIdx);
    287      
     287/*
    288288      if (sig > fSPheCut)
    289289        hist.FillSinglePheFADCSlices(pixel);
    290290      else
    291291        hist.FillPedestalFADCSlices(pixel);
    292 
     292  */
    293293    }
    294294
     
    390390  }
    391391
    392   hist.FinalizeSinglePheSpectrum();
     392  //hist.FinalizeSinglePheSpectrum();
    393393 
    394394  hist.FitPedestal();
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.cc

    r8019 r8359  
    122122    fTitle = title ? title : "Statistics of the FADC sums of Blind Pixel calibration events";
    123123
    124     fASinglePheFADCSlices.ResizeTo(1);
    125     fAPedestalFADCSlices.ResizeTo(1);
     124    //fASinglePheFADCSlices.ResizeTo(1);
     125    //fAPedestalFADCSlices.ResizeTo(1);
    126126
    127127    SetNumSinglePheLimit();
     
    298298    return TESTBIT(fFlags,kPedestalFitOK);
    299299}
    300  
     300
     301/*
    301302// --------------------------------------------------------------------------
    302303//
    303304// Normalizes fASinglePheFADCSlices and fAPedestalFADCSlices
    304 // 
     305//
    305306void MHCalibrationChargeBlindPix::FinalizeSinglePheSpectrum()
    306307{
     
    370371  fNumPedestals++;
    371372}
    372 
     373*/
    373374
    374375// --------------------------------------------------------------------------
     
    902903  if (option.Contains("datacheck"))
    903904    return;
    904 
     905/*
    905906  pad->cd(3);
    906 
    907907  if (fASinglePheFADCSlices.GetNrows()!=1)
    908908    {
     
    956956      fHPedestalFADCSlices->Draw("same");
    957957    }
    958  
     958  */
    959959  if (win < 2)
    960960  return;
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.h

    r6680 r8359  
    3333  Float_t fNumSinglePheLimit;                // Minimum number of single-phe events
    3434
    35   TVector fASinglePheFADCSlices;             //! Averaged FADC slice entries supposed single-phe events
    36   TVector fAPedestalFADCSlices;              //! Averaged FADC slice entries supposed pedestal   events
     35//  TVector fASinglePheFADCSlices;             //! Averaged FADC slice entries supposed single-phe events
     36//  TVector fAPedestalFADCSlices;              //! Averaged FADC slice entries supposed pedestal   events
    3737 
    3838  TF1 *fSinglePheFit;                        // Single Phe Fit (Gaussians convoluted with Poisson)
     
    103103  const Float_t  GetSinglePheCut  ()  const { return fSinglePheCut;   }
    104104 
    105   TVector &GetASinglePheFADCSlices()             { return fASinglePheFADCSlices;  }
    106   const TVector &GetASinglePheFADCSlices() const { return fASinglePheFADCSlices;  }
    107 
    108   TVector &GetAPedestalFADCSlices()              { return fAPedestalFADCSlices;  } 
    109   const TVector &GetAPedestalFADCSlices()  const { return fAPedestalFADCSlices;  } 
     105//  TVector &GetASinglePheFADCSlices()             { return fASinglePheFADCSlices;  }
     106//  const TVector &GetASinglePheFADCSlices() const { return fASinglePheFADCSlices;  }
     107
     108//  TVector &GetAPedestalFADCSlices()              { return fAPedestalFADCSlices;  }
     109//  const TVector &GetAPedestalFADCSlices()  const { return fAPedestalFADCSlices;  }
    110110
    111111  const Bool_t  IsSinglePheFitOK()         const;
     
    121121 
    122122  // Fill histos
    123   void  FillSinglePheFADCSlices(const MRawEvtPixelIter &iter);
    124   void  FillPedestalFADCSlices( const MRawEvtPixelIter &iter);
    125   void  FinalizeSinglePheSpectrum();
     123//  void  FillSinglePheFADCSlices(const MRawEvtPixelIter &iter);
     124//  void  FillPedestalFADCSlices( const MRawEvtPixelIter &iter);
     125//  void  FinalizeSinglePheSpectrum();
    126126 
    127127  // Draws
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc

    r8356 r8359  
    1717!
    1818!   Author(s): Markus Gaug   02/2004 <mailto:markus@ifae.es>
     19!   Author(s): Thomas Bretz <mailto:tbretz@astro.uni-wuerzburg.de>
    1920!             
    20 !   Copyright: MAGIC Software Development, 2000-2004
     21!   Copyright: MAGIC Software Development, 2000-2007
    2122!
    2223!
     
    544545                  MBadPixelsPix::kRelTimeNotFitted,
    545546                  MBadPixelsPix::kRelTimeOscillating);
    546  
     547
    547548  if (IsLoGain())       
    548549    FitLoGainArrays(*relcam,*badcam,
Note: See TracChangeset for help on using the changeset viewer.