Changeset 3738 for trunk


Ignore:
Timestamp:
04/14/04 18:33:39 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.cc

    r3669 r3738  
    182182      for (Int_t i=0; i<npixels; i++)
    183183      {
    184           (*fHiGainArray)[i] = new MHCalibrationRelTimePix;
     184          (*fHiGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixHiGain",
     185                                                          "Relative Arrival Time High Gain Pixel");
    185186          InitHists((*this)[i],(*fBadPixels)[i],i);
    186187      }
     
    192193      for (Int_t i=0; i<npixels; i++)
    193194      {
    194           (*fLoGainArray)[i] = new MHCalibrationRelTimePix;
     195          (*fLoGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixLoGain",
     196                                                          "Relative Arrival Time Low Gain Pixel");
    195197          InitHists((*this)(i),(*fBadPixels)[i],i);
    196198      }
     
    204206      {
    205207        (*fAverageHiGainAreas)[j] =
    206           new MHCalibrationRelTimePix("AverageHiGainArea",
    207                                       "Average Relative Arrival Times area idx ");
     208          new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageAreaHiGain",
     209                                      "Average Relative Arrival Times High Gain Area Idx ");
     210
     211        GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times HiGain Area Idx ");
     212        GetAverageHiGainArea(j).SetNbins(fAverageNbins);
    208213
    209214        InitHists(GetAverageHiGainArea(j),fCam->GetAverageBadArea(j),j);
    210 
    211         GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times average Area Idx ");
    212         GetAverageHiGainArea(j).SetNbins(fAverageNbins);
    213215      }
    214216  }
     
    221223      {
    222224        (*fAverageLoGainAreas)[j] =
    223           new MHCalibrationRelTimePix("AverageLoGainArea",
    224                                       "Relative Arrival Times average Area idx ");
     225          new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageAreaLoGain",
     226                                      "Average Relative Arrival Times Low Gain Area Idx ");
     227
     228        GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times LoGain Area Idx ");
     229        GetAverageLoGainArea(j).SetNbins(fAverageNbins);
    225230
    226231        InitHists(GetAverageLoGainArea(j),fCam->GetAverageBadArea(j),j);
    227 
    228         GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times average Area Idx ");
    229         GetAverageLoGainArea(j).SetNbins(fAverageNbins);
    230232      }
    231233  }
     
    238240      {
    239241          (*fAverageHiGainSectors)[j] =
    240             new MHCalibrationRelTimePix("AverageHiGainSector",
    241                                         "Relative Arrival Times average sector ");
     242            new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageSectorHiGain",
     243                                        "Average Relative Arrival Times High Gain Sector ");
     244
     245          GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times HiGain Sector ");
     246          GetAverageHiGainSector(j).SetNbins(fAverageNbins);
    242247
    243248          InitHists(GetAverageHiGainSector(j),fCam->GetAverageBadSector(j),j);
    244 
    245           GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times average Sector ");
    246           GetAverageHiGainSector(j).SetNbins(fAverageNbins);
    247249      }
    248250  }
     
    255257      {
    256258          (*fAverageLoGainSectors)[j] =
    257             new MHCalibrationRelTimePix("AverageLoGainSector",
    258                                         "Relative Arrival Times average sector ");
     259            new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageSectorLoGain",
     260                                        "Average Relative Arrival Times Low Gain Sector ");
     261
     262          GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times LoGain Sector ");
     263          GetAverageLoGainSector(j).SetNbins(fAverageNbins);
    259264
    260265          InitHists(GetAverageLoGainSector(j),fCam->GetAverageBadSector(j),j);
    261266         
    262           GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times average Sector ");
    263           GetAverageLoGainSector(j).SetNbins(fAverageNbins);
    264267      }
    265268  }
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r3737 r3738  
    641641            for (Int_t aidx=0;aidx<cam->GetAverageAreas();aidx++)
    642642              {
    643                 cam->GetAverageHiGainArea(aidx).DrawClone("all");
    644                 cam->GetAverageLoGainArea(aidx).DrawClone("all");
     643                cam->GetAverageHiGainArea(aidx).DrawClone("fourierevents");
     644                cam->GetAverageLoGainArea(aidx).DrawClone("fourierevents");
    645645              }
    646646           
    647647            for (Int_t sector=1;sector<cam->GetAverageSectors();sector++)
    648648              {
    649                 cam->GetAverageHiGainSector(sector).DrawClone("all");
    650                 cam->GetAverageLoGainSector(sector).DrawClone("all");
     649                cam->GetAverageHiGainSector(sector).DrawClone("fourierevents");
     650                cam->GetAverageLoGainSector(sector).DrawClone("fourierevents");
    651651              }
    652652           
Note: See TracChangeset for help on using the changeset viewer.