Changeset 8720


Ignore:
Timestamp:
08/30/07 21:32:53 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8719 r8720  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2007/08/30 Thomas Bretz
     21
     22   * sponde.cc:
     23     - changed window name from sequence to ganymed-file
     24
     25   * mdata/MDataMember.cc, mpointing/MSrcPosCorrect.cc:
     26     - fixed a typo in the comment
     27
     28   * mfilter/MFEvtNumber.cc:
     29     - call TTree::SetEstimate as suggested by the class description
     30
     31   * mhflux/MMcSpectrumWeight.cc:
     32     - fixed some comments
     33     - further improved  Print-output
     34
     35   * mjobs/MJCut.cc:
     36     - fixed a typo in the output
     37
     38   * mpointing/MPointing.cc:
     39     - added possibility to add comments starting with #
     40
     41   * mraw/MRawRunHeader.cc:
     42     - fixed a small problem in the Print-output
     43
     44
     45
    2046 2007/08/28 Thomas Bretz
    2147
  • trunk/MagicSoft/Mars/mdata/MDataMember.cc

    r8704 r8720  
    9393// --------------------------------------------------------------------------
    9494//
    95 // returns the value you requested
     95// Returns the value you requested
    9696//
    9797Double_t MDataMember::GetValue() const
  • trunk/MagicSoft/Mars/mfilter/MFEvtNumber.cc

    r8419 r8720  
    109109    }
    110110
     111    t->SetEstimate(t->GetEntries());
     112
    111113    if (t->Draw("RunNumber.fVal:EvtNumber.fVal", fSelector, "goff")<0)
    112114    {
  • trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc

    r8719 r8720  
    3333//  pass to this class in different ways:
    3434//
    35 //    1. Is the new spectrum will be a power law, just introduce the slope
     35//    1. If the new spectrum will be a power law, just introduce the slope
    3636//       of this power law.
    37 //    2. Is the new spectrum will have a general shape:
     37//    2. If the new spectrum will have a general shape:
    3838//       The new spectrum is passed as a char* (SetFormula())
    3939//
     
    493493    if (hasold)
    494494    {
    495         *fLog << " Old Spectrum:             " << GetFormulaSpecOldX();
     495        *fLog << " Old Spectrum:             ";
     496        if (fNewSlope==-99)
     497            *fLog << "undefined";
     498        else
     499            *fLog << GetFormulaSpecOldX();
    496500        if (fEnergyMin>=0 && fEnergyMax>0)
    497501            *fLog << "   (I=" << GetSpecOldIntegral() << ")";
     
    500504    if (hasnew)
    501505    {
    502         *fLog << " New Spectrum:             " << GetFormulaSpecNewX();
     506        *fLog << " New Spectrum:             ";
     507        if (fNewSlope==-99 && fFormula.IsNull())
     508            *fLog << "undefined/no change";
     509        else
     510            *fLog << GetFormulaSpecNewX();
    503511        if (fEnergyMin>=0 && fEnergyMax>0)
    504512            *fLog << "   (I=" << GetSpecNewIntegral() << ")";
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r8719 r8720  
    560560    if (!set.IsWobbleMode() && fNumOffSourcePos!=1)
    561561    {
    562         *fLog << inf << "No wobble mode but NumOffSoucePos!=1 (" << fNumOffSourcePos << ")... reset to 1." << endl;
     562        *fLog << inf << "No wobble mode, but NumOffSoucePos!=1 (" << fNumOffSourcePos << ")... reset to 1." << endl;
    563563        fNumOffSourcePos = 1;
    564564    }
  • trunk/MagicSoft/Mars/mpointing/MPointing.cc

    r8600 r8720  
    208208        }
    209209
     210        str = str.Strip(TString::kBoth);
     211
    210212        if (str=="END")
    211213            break;
     214
     215        if (str[0]=='#')
     216            continue;
    212217
    213218        if (str[0]=='&')
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCorrect.cc

    r8719 r8720  
    4747//    We discovered that the procedure we used yester day for Roque Lamp
    4848//    light source was producing a very non-uniform light
    49 //    We did some studies to produce an uniformly illuminated li ght from
     49//    We did some studies to produce an uniformly illuminated light from
    5050//    the Roque Lamp Then we moved the telescope to the Roque Lamp position
    5151//    and did a Laser adjust for the Roque position. We put the telescope to
     
    5656//    camer a, we saw a clear offset from the centre. Then we calculated this
    5757//    offset and put the correct numbers in the AMC code. Then we redid the
    58 //    laser adjustment and fou nd the spot to be nicely centred.  Our
     58//    laser adjustment and found the spot to be nicely centered.  Our
    5959//    calculations showed that the offset was 0.048 deg in X direction and
    6060//    0.032 deg in Y direction.
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc

    r8704 r8720  
    573573        *fLog << "Telescope:    " << fTelescopeNumber << endl;
    574574    if (fFormatVersion>7)
     575    {
    575576        *fLog << "FadcType:     " << fFadcType << " (";
    576     switch (fFadcType)
    577     {
    578     case 1: *fLog << "Siegen"; break;
    579     case 2: *fLog << "MUX"; break;
    580     default: *fLog << "unknown";
    581     }
    582     *fLog << ")" << endl;
     577        switch (fFadcType)
     578        {
     579        case 1: *fLog << "Siegen"; break;
     580        case 2: *fLog << "MUX"; break;
     581        default: *fLog << "unknown";
     582        }
     583        *fLog << ")" << endl;
     584    }
    583585    *fLog << "RunNumber:    " << fRunNumber << " (Type=" << GetRunTypeStr() << ")" << endl;
    584586    *fLog << "ProjectName: '" << fProjectName << "'" << endl;
  • trunk/MagicSoft/Mars/sponde.cc

    r8719 r8720  
    217217    }
    218218
    219     MJSpectrum job(Form("Spectrum - %s", seq.GetName()));
     219    MJSpectrum job(Form("Spectrum - %s", kInfile.Data()));
    220220    job.SetEnv(&env);
    221221    job.SetEnvDebug(kDebugEnv);
Note: See TracChangeset for help on using the changeset viewer.