Changeset 6032 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/27/05 09:52:24 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6028 r6032  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22 2005/01/27 Thomas Bretz
     23
     24   * callisto.cc:
     25     - don't display starting pedestals when calibrating the signal
     26
     27   * callisto.rc:
     28     - added some comments
     29
     30   * star.rc:
     31     - according to Daniel M. we have agreed to chenge the default
     32       cleaning level to adapt it roughly to the new pedestal
     33
     34   * manalysis/MCerPhotPix.[h,cc], mpedestal/MPedPhotPix.h:
     35     - as agreed in the current calibration meeting we truncate the
     36       precision of the stored floating point values to roughly 0.5%
     37       to gain storage space in the calibrated data (the gzip
     38       algorithm compresses this stuff nicely - we gain roughly 15%)
     39
     40   * mhflux/MHFalseSource.cc, mjobs/MJCalibration.cc, mjobs/MJStar.cc:
     41     - added a comment
     42
     43   * mjobs/MJCalibrateSignal.cc:
     44     - changed title of unsuitable plot
     45     - removed plot for calibrated fundamental pedestal as agreed in the
     46       current calibration meeting (we may change this to an option)
     47
     48   * mjobs/MJPedestal.[h,cc]:
     49     - changed the name of the "PedDiff" plot to be consistent with the
     50       other tab-name
     51     - changed the options for the display
     52     - removed the dependancy of fDisplayType and the SetDataCheck
     53       option
     54     - added option kDisplayNone
     55     - renamed enums from k*Display to kDisplay*
     56
     57   * mhist/MHCamEvent.cc:
     58     - trying to get rid of the Err_%p workaround.
     59
     60
     61
    2262 2005/01/26 Abelardo Moralejo
    2363
     
    4080     - added missing container MImagePar. Added possibility to set the
    4181       source position on the camera (for the wobble mode).
     82
    4283
    4384
  • trunk/MagicSoft/Mars/mhist/MHCamEvent.cc

    r5701 r6032  
    236236
    237237    pad->cd(2);
    238     if (gPad->FindObject(Form("Proj_%p", this)))
    239     {
    240         TH1 *h=fSum->Projection(Form("Proj_%p", this));
     238    if (gPad->FindObject(Form("%s;proj", fName.Data())))
     239    {
     240        TH1 *h=fSum->Projection(Form("%s;proj", fName.Data()));
    241241        if (h->GetMaximum()>0)
    242242            gPad->SetLogy();
     
    244244
    245245    pad->cd(5);
    246     if (gPad->FindObject(Form("ProfR_%p", this)))
    247         fSum->RadialProfile(Form("ProfR_%p", this));
     246    if (gPad->FindObject(Form("%s;rad", fName.Data())))
     247        fSum->RadialProfile(Form("%s;rad", fName.Data()));
    248248
    249249    pad->cd(6);
    250     if (gPad->FindObject(Form("ProfA_%p", this)))
    251         fSum->AzimuthProfile(Form("ProfA_%p", this));
     250    if (gPad->FindObject(Form("%s;az", fName.Data())))
     251        fSum->AzimuthProfile(Form("%s;az", fName.Data()));
    252252
    253253    pad->cd(4);
    254254    gPad->cd(1);
    255     MHCamera *cam = (MHCamera*)gPad->FindObject(Form("Err_%p", this));
     255    MHCamera *cam = (MHCamera*)gPad->FindObject(Form("%s;err", fName.Data()));
    256256    if (cam)
    257257        cam->SetCamContent(*fSum, 1);
     
    285285    gPad->SetBorderMode(0);
    286286    gPad->SetPad(0.66, 0.5, 0.99, 0.99);
    287     TH1 *h = fSum->Projection(Form("Proj_%p", this), 50);
     287    TH1 *h = fSum->Projection(Form("%s;proj", fName.Data()), 50);
    288288    h->SetTitle("Projection");
    289289    h->SetBit(kCanDelete);
     
    300300
    301301    MHCamera *cam = new MHCamera(*fSum->GetGeometry());
    302     cam->SetName(Form("Err_%p", this));
     302    cam->SetName(Form("%s;err", fName.Data()));
    303303    cam->SetTitle(fSum->TestBit(MHCamera::kVariance)?"Variance":"Root Mean Squared (rms)");
    304304    cam->SetYTitle(fSum->GetYaxis()->GetTitle());
     
    308308
    309309    pad->cd(5);
    310     h = (TH1*)fSum->RadialProfile(Form("ProfR_%p", this), 20);
     310    h = (TH1*)fSum->RadialProfile(Form("%s;rad", fName.Data()), 20);
    311311    h->SetTitle("Radial Profile");
    312312    h->SetBit(kCanDelete|TH1::kNoStats);
     
    314314
    315315    pad->cd(6);
    316     h = (TH1*)fSum->AzimuthProfile(Form("ProfA_%p", this), 30);
     316    h = (TH1*)fSum->AzimuthProfile(Form("%s;az", fName.Data()), 30);
    317317    h->SetTitle("Azimuth Profile");
    318318    h->SetBit(kCanDelete|TH1::kNoStats);
Note: See TracChangeset for help on using the changeset viewer.