Changeset 8954 for trunk


Ignore:
Timestamp:
06/14/08 11:16:05 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8952 r8954  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22 2008/06/14 Thomas Bretz
     23
     24   * mtrigger/MFTriggerPattern.cc:
     25     - improved documentation
     26
     27   * mars.cc, mbase/MStatusDisplay.cc:
     28     - changed the M in MARS to "Modular"
     29     - rpelaced year in copyright by current year
     30
     31   * datacenter/macros/plotdb.C:
     32     - increased range for the rate of the calibration events
     33
     34   * mastro/MAstro.cc:
     35     - included math.h for darwin
     36
     37   * mjobs/MJCalibrateSignal.cc:
     38     - changed the named of the MFTriggerPattern
     39
     40
    2041
    2142
  • trunk/MagicSoft/Mars/datacenter/macros/plotdb.C

    r8947 r8954  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.41 2008-06-12 17:35:26 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.42 2008-06-14 10:16:04 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    564564    //plot.Plot("100*Calibration.fRateSumEvts/Calibration.fRateTrigEvts", 0, 500, 1);
    565565    plot.SetDescription("Average rate of events with calibration trigger;R [Hz]", "RateCal");
    566     plot.Plot("Calibration.fRateCalEvts", 0, 50, 1);
     566    plot.Plot("Calibration.fRateCalEvts", 0, 75, 1);
    567567    plot.SetDescription("Average rate of events with pedestal trigger;R [Hz]", "RatePed");
    568568    plot.Plot("Calibration.fRatePedEvts", 0, 50, 1);
  • trunk/MagicSoft/Mars/mars.cc

    r8907 r8954  
    3636    gLog << "==================================================" << endl;
    3737    gLog << "                    MARS V" << MARSVER              << endl;
    38     gLog << "    Magic Analysis and Reconstruction Software"     << endl;
     38    gLog << "   Modular Analysis and Reconstruction Software"    << endl;
    3939    gLog << "   Compiled with ROOT v" << ROOT_RELEASE << " on <" << __DATE__ << ">" << endl;
    4040    gLog << "==================================================" << endl;
  • trunk/MagicSoft/Mars/mastro/MAstro.cc

    r8907 r8954  
    3030////////////////////////////////////////////////////////////////////////////
    3131#include "MAstro.h"
     32
     33#include <math.h>     // fmod on darwin
    3234
    3335#include <iostream>
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r8938 r8954  
    478478
    479479    // Add copyright notice
    480     l = new TGLabel(f, "(c) MAGIC Software Development, 2000-2007");
     480    l = new TGLabel(f, Form("(c) MARS Software Development, 2000-%d", MTime(-1).Year());
    481481    fList->Add(l);
    482482    f->AddFrame(l, layb);
     
    26072607        PSToolsTextNDC(*ps, 0, 1.015, TString("  ")+n->GetName());
    26082608        ps->SetTextAlign(21); // cent top
    2609         PSToolsTextNDC(*ps, 0.5, 1.015, TString("MARS - Magic Analysis and Reconstruction Software - ")+d.AsString());
     2609        PSToolsTextNDC(*ps, 0.5, 1.015, TString("MARS V"MARSVER" - Modular Analysis and Reconstruction Software - ")+d.AsString());
    26102610        ps->SetTextAlign(31); // right top
    26112611        PSToolsTextNDC(*ps, 1, 1.015, MString::Format("Page No.%i (%i)  ", page++, i));
     
    26192619            PSToolsTextNDC(*ps, 0, -0.015, TString("  ")+txt);
    26202620            ps->SetTextAlign(31); // right top
    2621             PSToolsTextNDC(*ps, 1, -0.015, "(c) 2000-2007, Thomas Bretz  ");
     2621            PSToolsTextNDC(*ps, 1, -0.015, Form("(c) 2000-%d, Thomas Bretz  ", MTime(-1).Year()));
    26222622        }
    26232623
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r8952 r8954  
    440440    // calibration events in such data, so this is fine.
    441441    // We allow only cosmics triggered events to pass (before prescaling)
    442     MFTriggerPattern fcalped;
     442    MFTriggerPattern fcalped("SelectTrigEvts");
    443443    fcalped.SetInverted();
    444444    fcalped.SetDefault(kTRUE);
     
    449449
    450450    // This will skip interleaved events with a cal- or ped-trigger
    451     MContinue contcalped(&fcalped, "ContTrigPattern");
     451    MContinue contcalped(&fcalped, "ContNonTrigger");
    452452
    453453    // Create the pedestal subtracted raw-data
     
    576576    // trigger pattern is available do not execute it
    577577    // The selection is done before prescaling.
    578     MFTriggerPattern        fcalib("CalibFilter");
     578    MFTriggerPattern        fcalib("SelectCalEvts");
    579579    fcalib.SetDefault(kFALSE);
    580580    fcalib.DenyAll();
Note: See TracChangeset for help on using the changeset viewer.