Changeset 3072


Ignore:
Timestamp:
02/09/04 16:13:36 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3071 r3072  
    1010      single and double phe events
    1111
     12  * mcalib/MCalibrationCalc.cc
     13    - fill histograms of single-phe events with higain and logain
     14      sampls
    1215
    1316
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc

    r3065 r3072  
    8787
    8888#include <TSystem.h>
     89#include <TH1.h>
    8990
    9091#include "MLog.h"
     
    527528                  "Overflow or Underflow occurred filling Blind Pixel sum = " << blindpixelsumhi << endl;
    528529             
     530              Byte_t *hiptr = pixel.GetHiGainSamples();
     531              Byte_t *loptr = pixel.GetHiGainSamples();
     532             
     533              TH1I *hist = blindpixel.GetSinglePheFADCSlices();
     534
     535              if (blindpixelsumhi > 100.)
     536                {
     537                  for (Int_t i=0;i<15;i++)
     538                    hist->Fill(i,*hiptr++);
     539                  for (Int_t i=15;i<30;i++)
     540                    hist->Fill(i,*loptr++);
     541                }
     542             
    529543            } /* if use blind pixel */
    530544         
Note: See TracChangeset for help on using the changeset viewer.