Ignore:
Timestamp:
06/22/04 09:39:29 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc

    r4277 r4317  
    124124// - fExtractLoGainSlices to 0.
    125125// - the event frequency to 1200 Hz.
     126// - the fRenorm flag to kTRUE
    126127//
    127128MHPedestalCam::MHPedestalCam(const char *name, const char *title)
     
    132133
    133134    SetPulserFrequency(1200);
     135    SetRenorm();
    134136}
    135137
     
    240242         
    241243          if ((*fBadPixels)[i].IsBad())
    242             {
    243               (*this)[i].SetExcluded();
    244             }
     244            (*this)[i].SetExcluded();
     245
    245246          (*fPedestals)[i].InitUseHists();
    246247      }
     
    353354  hist.ChangeHistId(i);
    354355  hist.SetEventFrequency(fPulserFrequency);
    355   hist.SetNSlices(nslices);
     356
     357  if (fRenorm)
     358    hist.SetNSlices(nslices);
     359
    356360  hist.SetProbLimit(0.);
    357361
  • trunk/MagicSoft/Mars/manalysis/MHPedestalCam.h

    r3643 r4317  
    2323  Float_t fExtractLoGainSlices;           // Number of FADC slices used for low  gain signal extraction
    2424
     25  Bool_t  fRenorm;
     26
    2527  MPedestalCam *fPedestals;               //! Pedestal Cam filled by MPedCalcPedRun
    2628 
     
    3234  void DrawPixelContent(Int_t idx) const;
    3335 
     36  void SetRenorm( const Bool_t b=kTRUE )  {  fRenorm = b; }
     37
    3438  ClassDef(MHPedestalCam, 1)    // Histogram class for Charge Camera Pedestals
    3539};
  • trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc

    r4277 r4317  
    7474//
    7575MHPedestalPix::MHPedestalPix(const char *name, const char *title)
    76     : fNSlices(1)
     76    : fNSlices(1.)
    7777{
    7878
Note: See TracChangeset for help on using the changeset viewer.