Changeset 8218 for trunk/MagicSoft


Ignore:
Timestamp:
12/11/06 11:43:32 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8217 r8218  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2006/12/11 Thomas Bretz
     21
     22   * mbase/MParContainer.cc, mbase/MParList.cc:
     23     - some improvements to log-output
     24
     25   * mextralgo/MExtralgoDigitalFilter.cc:
     26     - default for "out-of-range" is now -2
     27
     28   * mpedestal/MHPedestalCor.cc:
     29     - small fix (the used range was one slice to brought)
     30
     31
     32
    2033 2006/12/04 Thomas Bretz
    2134
  • trunk/MagicSoft/Mars/mbase/MParContainer.cc

    r7887 r8218  
    572572    {
    573573        *fLog << err;
    574         *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': ";
    575         *fLog << " - Class " << cls->GetName() << " doesn't inherit from " << base << endl;
     574        *fLog << dbginf << GetDescriptor() << "Cannot create new instance of class '" << name << "': " << endl;
     575        *fLog << "Class " << cls->GetName() << " doesn't inherit from " << base << endl;
    576576        return NULL;
    577577    }
     
    584584    {
    585585        *fLog << err;
    586         *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': ";
     586        *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': " << endl;
    587587        *fLog << " - Class " << cls->GetName() << " has no default constructor." << endl;
    588588        *fLog << " - An abstract member functions of a base class is not overwritten." << endl;
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r7808 r8218  
    594594    if (!cls->InheritsFrom(MParContainer::Class()))
    595595    {
    596         *fLog << " - Class doesn't inherit from MParContainer." << endl;
     596        *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl;
     597        *fLog << "Class doesn't inherit from MParContainer." << endl;
    597598        return NULL;
    598599    }
     
    604605    if (!pcont)
    605606    {
     607        *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl;
    606608        *fLog << " - Class has no default constructor." << endl;
    607609        *fLog << " - An abstract member functions of a base class is not overwritten." << endl;
  • trunk/MagicSoft/Mars/mextralgo/MExtralgoDigitalFilter.cc

    r8165 r8218  
    138138{
    139139    fSignal    =  0; // default is: no pulse found
    140     fTime      = -1; // default is: out if range (--> random)
     140    fTime      = -2; // default is: out if range (--> random)
    141141    fSignalDev =  0; // default is: valid
    142142    fTimeDev   =  0; // default is: valid
  • trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc

    r8152 r8218  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.1 2006-10-24 08:09:26 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.2 2006-12-11 11:43:32 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    9696
    9797    MBinning binsx(15, -0.5, 14.5);
    98     MH::SetBinning(&fProf,  &binsx);
     98    MH::SetBinning(&fProf, &binsx);
    9999}
    100100
     
    119119
    120120    Int_t fCheckWinFirst = 0;
    121     Int_t fCheckWinLast  = (ns-1)+1;
     121    Int_t fCheckWinLast  = ns;
    122122
    123123    Int_t fExtractWinFirst = 17;
    124     Int_t fExtractWinLast  = (ns-1)+1;
     124    Int_t fExtractWinLast  = ns;
    125125
    126126    Float_t fMaxSignalVar = 40;
     
    135135
    136136        // Find the maximum and minimum signal per slice in the high gain window
    137         for (Byte_t *slice=slices+fCheckWinFirst; slice<=slices+fCheckWinLast; slice++)
     137        for (Byte_t *slice=slices+fCheckWinFirst; slice<slices+fCheckWinLast; slice++)
    138138        {
    139139            if (*slice > max)
     
    227227    pad->SetFrameBorderMode(0);
    228228
    229     pad->Divide(2, 2, 0.001, 0.001);
     229    //pad->Divide(2, 2, 0.001, 0.001);
    230230
    231231    AppendPad();
     
    253253
    254254    pad->cd(4);*/
     255
    255256    gPad->SetBorderMode(0);
    256257    gPad->SetFrameBorderMode(0);
Note: See TracChangeset for help on using the changeset viewer.