Changeset 6727 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
03/03/05 19:17:02 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r6722 r6727  
    6262
    6363// Other basic classes
    64 #include "MExtractTimeAndCharge.h"
     64#include "MExtractTimeAndChargeSlidingWindow.h"
    6565
    6666// parameter containers
     
    7373#include "MHPedestalPix.h"
    7474#include "MHCalibrationPulseTimeCam.h"
     75#include "MCalibrationPulseTimeCam.h"
    7576
    7677// tasks
     
    995996      }
    996997
     998    MExtractTimeAndChargeSlidingWindow exttest;
     999
     1000    if (fPulsePosCheck && fExtractionType != kFundamental)
     1001      {
     1002        exttest.SetRange(0,25,0,0);
     1003        exttest.SetPedestals(&fPedestalCamIn);
     1004        tlist.AddToList(&exttest);
     1005        tlist.AddToList(&fillpul);
     1006      }
     1007
    9971008    if (!fPathIn.IsNull())
    9981009    {
     
    11631174    tlist.PrintStatistics();
    11641175
     1176    fExtractor->SetFilter(0);
     1177
     1178    if (fPixelCheck)
     1179      {
     1180        MHPedestalCam *hcam = (MHPedestalCam*)plist.FindObject("MHPedestalCam");
     1181        if (hcam)
     1182          {
     1183            MHPedestalPix &pix1 = (MHPedestalPix&)(*hcam)[fCheckedPixId];
     1184            pix1.DrawClone("");
     1185          }
     1186      }
     1187   
     1188    if (fPulsePosCheck && fExtractionType != kFundamental)
     1189      {
     1190        MCalibrationPulseTimeCam *cam = (MCalibrationPulseTimeCam*)plist.FindObject("MCalibrationPulseTimeCam");
     1191        if (cam)
     1192          {
     1193            const Float_t meanpulsetime = cam->GetAverageArea(0).GetHiGainMean();
     1194            const Float_t sigmapulsetime = cam->GetAverageArea(0).GetHiGainSigma();
     1195            *fLog << inf << "Mean pulse time (cosmics): " << meanpulsetime << "+-" << sigmapulsetime << endl;
     1196          }
     1197      }
     1198   
     1199
    11651200    if (fDisplayType!=kDisplayNone)
    11661201        DisplayResult(plist);
Note: See TracChangeset for help on using the changeset viewer.