Changeset 6206 for trunk/MagicSoft


Ignore:
Timestamp:
02/02/05 16:33:29 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r6135 r6206  
    161161const Axis_t  MHCalibrationChargeCam::fgChargeLoGainFirst = -100.25;
    162162const Axis_t  MHCalibrationChargeCam::fgChargeLoGainLast  =  899.75;
    163 const Float_t MHCalibrationChargeCam::fgProbLimit         = 0.00001;
     163const Float_t MHCalibrationChargeCam::fgProbLimit         = 0.00000001;
    164164const TString MHCalibrationChargeCam::gsHistName          = "Charge";
    165165const TString MHCalibrationChargeCam::gsHistTitle         = "Signals";
  • trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc

    r6200 r6206  
    6464#include "MHCamEvent.h"
    6565#include "MHCalibrationTestCam.h"
     66#include "MHCalibrationTestTimeCam.h"
     67#include "MHCalibrationPix.h"
    6668
    6769#include "MReadMarsFile.h"
     
    125127 
    126128  // Create histograms to display
    127   MHCamera disp1 (geomcam, "Test;Photons",           "Mean of calibrated Photons");
    128   MHCamera disp2 (geomcam, "Test;SigmaPhotons",      "Sigma of calibrated photons");
    129   MHCamera disp3 (geomcam, "Test;PhotonsPerArea",    "Equiv. Cherenkov Photons per Area");
    130   MHCamera disp4 (geomcam, "Test;SigmaPhotPerArea",  "Sigma equiv. Cher. Photons per Area");
    131   MHCamera disp5 (geomcam, "Test;Phot",              "Calibrated Photons from Fit");
    132   MHCamera disp6 (geomcam, "Test;PhotPerArea",       "Calibrated Photons per Area from Fit");
     129  MHCamera disp1 (geomcam, "Test;PhotoElectrons",    "Mean equiv. phes");
     130  MHCamera disp2 (geomcam, "Test;SigmaPhes",         "Sigma equiv.phes");
     131  MHCamera disp3 (geomcam, "Test;PhesPerArea",       "Equiv. Phes per Area");
     132  MHCamera disp4 (geomcam, "Test;SigmaPhotPerArea",  "Sigma equiv. Phes per Area");
     133  MHCamera disp5 (geomcam, "Test;Phot",              "Calibrated Phes from Fit");
     134  MHCamera disp6 (geomcam, "Test;PhotPerArea",       "Calibrated Phes per Area from Fit");
    133135  MHCamera disp7 (geomcam, "Test;NotInterpolate",    "Not interpolated pixels");
    134   MHCamera disp8 (geomcam, "Test;DeviatingPhots",    "Deviating Number Photons");
     136  MHCamera disp8 (geomcam, "Test;DeviatingPhots",    "Deviating Number Phes");
    135137  MHCamera disp9 (geomcam, "Test;Arr.Times",         "Mean of calibrated Arr.Times");
    136138  MHCamera disp10(geomcam, "Test;SigmaArr.Times",    "Sigma of calibrated Arr.Times");
    137 
    138139
    139140  // Fitted charge means and sigmas
     
    161162
    162163
    163   disp1.SetYTitle("Photons");
    164   disp2.SetYTitle("\\sigma_{phot}");
    165   disp3.SetYTitle("Photons per Area [mm^{-2}]");
    166   disp4.SetYTitle("\\sigma_{phot} per Area [mm^{-2}]");
    167 
    168   disp5.SetYTitle("Photons");
    169   disp6.SetYTitle("Photons per Area [mm^{-2}]");
     164  disp1.SetYTitle("Phes");
     165  disp2.SetYTitle("\\sigma_{phe}");
     166  disp3.SetYTitle("Phes per area [mm^{-2}]");
     167  disp4.SetYTitle("\\sigma_{phe} per area [mm^{-2}]");
     168
     169  disp5.SetYTitle("Phes");
     170  disp6.SetYTitle("Phes per area [mm^{-2}]");
    170171  disp7.SetYTitle("[1]");
    171172  disp8.SetYTitle("[1]");
     
    516517 
    517518  MHCamEvent evt0(0,"Signal", "Un-Calibrated Signal;;S [FADC cnts]" );
    518   MHCamEvent evt1(3,"CalSig", "Calibrated and Interpolated Signal;;S [\\gamma]");
     519  MHCamEvent evt1(0,"CalSig", "Calibrated and Interpolated Signal;;S [phe]");
    519520  MHCamEvent evt2(0,"Times" , "Arrival Time;;T [slice]");
    520521
     
    568569  tlist.PrintStatistics();
    569570 
     571  /*
     572    MHCalibrationTestCam *hcam = (MHCalibrationTestCam*)plist.FindObject("MHCalibrationTestCam");
     573    MHCalibrationPix &pix1 = (*hcam)(100);
     574    pix1.DrawClone("");
     575    gPad->SaveAs("test_test_100.ps");
     576
     577    MHCalibrationTestTimeCam *hccam = (MHCalibrationTestTimeCam*)plist.FindObject("MHCalibrationTestTimeCam");
     578    MHCalibrationPix &pix11 = (*hccam)(100);
     579    pix11.DrawClone("");
     580    gPad->SaveAs("test_testtime_100.ps");
     581  */
     582   
     583
    570584  DisplayResult(plist);
    571585
Note: See TracChangeset for help on using the changeset viewer.