Changeset 5415


Ignore:
Timestamp:
11/17/04 09:38:19 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5414 r5415  
    3535       Next will follow an interleaved pedestal event and finally an
    3636       interleaved data event.
     37
     38   * mhcalib/MHCalibrationChargeCam.cc
     39     - adapt the histogram ranges slightly because I have found high
     40       intensity calibration events creating non desired overflows.
    3741
    3842
  • trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc

    r5056 r5415  
    123123    }
    124124 
     125  //
     126  // Consider the case that a pedestal run is interleaved in the calibration run sequence ... prepare
     127  // to skip this run.
     128  //
     129  const UShort_t runtype = header->GetRunType();
     130
     131  if (runtype == 1)
     132    {
     133      *fLog << warn << "New run is a pedestal run... need intensity calibration to treat this case!" << endl;
     134      fPattern = 0;
     135      fIsValid = kTRUE;     
     136      return kTRUE;
     137    }
     138
    125139  enum { kNONE, kGREEN, kBLUE, kUV, kCT1 };
    126140 
     
    192206    case 22246:
    193207    case 22253:
     208    case 25792:
     209    case 35415:
     210      //    case 31756:
    194211      color = kBLUE;
    195212      break;
     
    387404
    388405  if (fIsValid)
    389     fHeader->SetCalibrationPattern(fPattern);
     406    {
     407      if (fPattern == 0)
     408        {
     409          *fLog << err << "CONTINUE " << endl;
     410          return kCONTINUE;
     411        }
     412      fHeader->SetCalibrationPattern(fPattern);
     413    }
     414 
    390415  return kTRUE;
    391416}
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r5156 r5415  
    155155using namespace std;
    156156
    157 const Int_t   MHCalibrationChargeCam::fgChargeHiGainNbins =  550;
     157const Int_t   MHCalibrationChargeCam::fgChargeHiGainNbins =  500;
    158158const Axis_t  MHCalibrationChargeCam::fgChargeHiGainFirst = -100.5;
    159 const Axis_t  MHCalibrationChargeCam::fgChargeHiGainLast  =  999.5;
    160 const Int_t   MHCalibrationChargeCam::fgChargeLoGainNbins =  525;
    161 const Axis_t  MHCalibrationChargeCam::fgChargeLoGainFirst = -150.5;
    162 const Axis_t  MHCalibrationChargeCam::fgChargeLoGainLast  =  899.5;
     159const Axis_t  MHCalibrationChargeCam::fgChargeHiGainLast  =  1899.5;
     160const Int_t   MHCalibrationChargeCam::fgChargeLoGainNbins =  620;
     161const Axis_t  MHCalibrationChargeCam::fgChargeLoGainFirst = -350.5;
     162const Axis_t  MHCalibrationChargeCam::fgChargeLoGainLast  =  2049.5;
    163163const TString MHCalibrationChargeCam::gsHistName          = "Charge";
    164164const TString MHCalibrationChargeCam::gsHistTitle         = "Signals";
     
    10821082                    MBadPixelsPix::kLoGainOscillating);
    10831083
     1084
    10841085  return kTRUE;
    10851086}
     
    11091110    {
    11101111      *fLog << warn
    1111             << Form("%s%3.1f%s%2.1f%s%s","Mean ArrivalTime=",mean," < ",fTimeLowerLimit,
    1112                     " slices from lower edge in pixel ",hist.GetName()) << endl;
     1112            << Form("%s%3.1f%s%2.1f%s%2.0f%s%s","Mean ArrivalTime: ",mean," < ",fTimeLowerLimit,
     1113                    " slices from lower edge: ",lowerlimit," in pixel ",hist.GetName()) << endl;
    11131114      bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInFirstBin );
    11141115    }
     
    11171118    {
    11181119      *fLog << warn
    1119             << Form("%s%3.1f%s%2.1f%s%s","Mean ArrivalTime=",mean," > ",fTimeUpperLimit,
    1120                     " slices from upper edge in pixel ",hist.GetName()) << endl;
     1120            << Form("%s%3.1f%s%2.1f%s%2.0f%s%s","Mean ArrivalTime: ",mean," > ",fTimeUpperLimit,
     1121                    " slices from upper edge: ",upperlimit," in pixel ",hist.GetName()) << endl;
    11211122      bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInLast2Bins );
    11221123    }
Note: See TracChangeset for help on using the changeset viewer.