Ignore:
Timestamp:
08/17/04 16:26:31 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
8 edited

Legend:

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

    r4609 r4658  
    10051005      const Int_t   aidx  = (*fGeom)[i].GetAidx();
    10061006
    1007       camphes.Fill(i,nphe);
    1008       camphes.SetUsed(i);
    10091007
    10101008      areaphes    [aidx] += nphe;
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc

    r4603 r4658  
    158158}
    159159
    160 // -------------------------------------------------------------------
    161 //
    162 // Calls:
    163 // - MCalibrationCam::Init()
    164 //
    165 void MCalibrationChargeCam::Init(const MGeomCam &geom)
    166 {
    167   MCalibrationCam::Init(geom);
    168 }
    169 
    170160// -----------------------------------------------
    171161//
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h

    r4338 r4658  
    4646  Bool_t  IsFFactorMethodValid            () const;
    4747
    48   // Inits
    49   void  Init                   ( const MGeomCam &geom         );
    50  
    5148  // Prints
    5249  void   Print(Option_t *o="")         const;
  • trunk/MagicSoft/Mars/mcalib/MCalibrationTestCalc.cc

    r4649 r4658  
    121121    }
    122122 
    123   fCam = (MCalibrationTestCam*)pList->FindCreateObj(AddSerialNumber("MCalibrationTestCam"));
     123  fCam = (MCalibrationTestCam*)pList->FindCreateObj("MCalibrationTestCam");
    124124  if (!fCam)
    125125    {
     
    411411          bad.SetUncalibrated( MBadPixelsPix::kDeviatingNumPhots );
    412412          bad.SetUnsuitable  ( MBadPixelsPix::kUnsuitableRun     );
    413           pix.SetExcluded();
    414413          continue;
    415414        }
     
    561560{
    562561
    563   const TArrayI &arr = fTestCam->GetNotInterpolateablePixels();
    564   const Int_t   size = arr.GetSize();
     562  TArrayI arr(0);
     563 
     564  for (Int_t i=0; i<fCam->GetSize(); i++)
     565    if ((*fCam)[i].IsExcluded())
     566      {
     567        const Int_t s = arr.GetSize();
     568        arr.Set(s+1);
     569        arr[s] = i;
     570      }
     571
     572  const Int_t size = arr.GetSize();
    565573 
    566574  if (size == 0)
  • trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.h

    r4649 r4658  
    6464  void  SetNumUninterpolated            ( const UInt_t i, const Int_t aidx );
    6565  void  SetNumUninterpolatedInMaxCluster( const UInt_t i ) { fNumUninterpolatedInMaxCluster = i; }
     66
     67  // Draw
     68  void DrawPixelContent( Int_t num) const {}
    6669 
    6770  ClassDef(MCalibrationTestCam, 1) // Container Test Calibration Results Camera
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc

    r4636 r4658  
    243243{
    244244
    245   MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject("MExtractedSignalCam");
     245  MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam"));
    246246  if (!signal)
    247247  {
     
    250250  }
    251251
    252   fCam = (MCalibrationCam*)pList->FindObject("MCalibrationChargeCam");
     252  fCam = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam"));
    253253  if (!fCam)
    254254    {
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc

    r4572 r4658  
    9090#include "MParList.h"
    9191
     92#include "MCalibrationTestCam.h"
     93
    9294#include "MCalibrationCam.h"
    9395#include "MCalibrationPix.h"
     
    117119  SetAverageNbins(5000);
    118120
    119   fNotInterpolateablePixels.Set(0);
    120121}
    121122
     
    157158  }
    158159
     160
    159161  const Int_t npixels  = fGeom->GetNumPixels();
    160162  const Int_t nsectors = fGeom->GetNumSectors();
     
    378380     
    379381      if (hist.IsEmpty())
    380         {
    381           const Int_t size = fNotInterpolateablePixels.GetSize();
    382           fNotInterpolateablePixels.Set(size+1);
    383           fNotInterpolateablePixels[size] = i;
    384           continue;
    385         }
     382        continue;
    386383
    387384      if (!hist.FitGaus())
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.h

    r4542 r4658  
    1212#endif
    1313
     14
    1415class MGeomCam;
    1516class MHCalibrationTestCam : public MHCalibrationCam
     
    2324  TArrayF fRmsSigmaPhotPerArea   ;
    2425
    25   TArrayI fNotInterpolateablePixels;
    26  
    2726  Bool_t ReInitHists(MParList *pList);
    2827  Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
     
    4241  const Float_t  GetRmsSigmaPhotPerArea  ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea  [aidx]; }
    4342
    44   const TArrayI &GetNotInterpolateablePixels ()               const { return fNotInterpolateablePixels;    }
    45  
    4643  void CalcAverageSigma();
    4744 
Note: See TracChangeset for help on using the changeset viewer.