Changeset 9473 for trunk


Ignore:
Timestamp:
07/02/09 10:31:39 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9472 r9473  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2009/07/02 Thomas Bretz
     22
     23   * manalysis/MGeomApply.cc:
     24     - cosmetics to a comment
     25
     26   * melectronics/ElectronicsLinkDef.h, melectronics/Makefile:
     27     - removed MPulseShape
     28
     29   * mhbase/MHMatrix.cc:
     30     - improved memeory managment when matrix size is growing
     31
     32   * mjobs/MJCalibrateSignal.cc:
     33     - added MCorsikaRunHeader and MCorsikaEvtHeader to output
     34       for completeness
     35
     36   * mjobs/MJCalibration.cc:
     37     - improved the filter for the trigger pattern
     38
     39
    2040
    2141 2009/07/01 Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MGeomApply.cc

    r9195 r9473  
    204204    }
    205205
    206     // FIXME, workaround: this call to CalcPixRatio is here just to allow
     206    // FIXME (workaround): this call to CalcPixRatio is here just to allow
    207207    // the use of some MC camera files from the 0.7 beta version in which the
    208208    // array containing pixel ratios is not initialized.
  • trunk/MagicSoft/Mars/melectronics/ElectronicsLinkDef.h

    r9274 r9473  
    66
    77#pragma link C++ class APD+;
    8 #pragma link C++ class MPulseShape+;
    98#pragma link C++ class MAnalogSignal+;
    109#pragma link C++ class MDigitalSignal+;
  • trunk/MagicSoft/Mars/melectronics/Makefile

    r9274 r9473  
    2424           MAnalogSignal.cc \
    2525           MAnalogChannels.cc \
    26            MDigitalSignal.cc  \
    27            MPulseShape.cc
     26           MDigitalSignal.cc
    2827
    2928############################################################
  • trunk/MagicSoft/Mars/mhbase/MHMatrix.cc

    r9369 r9473  
    255255    TMatrix m(fM);
    256256#endif
    257     fM.ResizeTo(fM.GetNrows()*2, fData->GetNumEntries());
     257
     258    // If we exceed ~50MB of memory we start growing slower
     259    const Int_t n = fM.GetNrows()>10000000/fM.GetNcols() ? TMath::Nint(fM.GetNrows()*1.2) : fM.GetNrows()*2;
     260    fM.ResizeTo(n, fData->GetNumEntries());
    258261
    259262#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07)
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r9410 r9473  
    725725    write.AddContainer("MMcConfigRunHeader",        "RunHeaders", kFALSE);
    726726    write.AddContainer("MMcCorsikaRunHeader",       "RunHeaders", kFALSE);
     727    write.AddContainer("MCorsikaRunHeader",         "RunHeaders", kFALSE);
    727728    // Monte Carlo
    728729    write.AddContainer("MMcEvt",                    "Events",     kFALSE);
    729730    write.AddContainer("MMcTrig",                   "Events",     kFALSE);
     731    write.AddContainer("MCorsikaEvtHeader",         "Events",     kFALSE);
    730732    // Data tree
    731733    write.AddContainer("MSignalCam",                "Events");
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r9317 r9473  
    14011401    MFTriggerPattern          fcalib("CalibFilter");
    14021402    fcalib.SetDefault(kFALSE);
    1403     fcalib.DenyCalibration(MFTriggerPattern::kPrescaled);
    1404     fcalib.DenyAll();
    1405     fcalib.AllowCalibration();
    1406 
    1407     MContinue                 ccalib(&fcalib,"ContTrigPattern");
     1403    fcalib.AllowAll(MFTriggerPattern::kPrescaled);
     1404    fcalib.AllowAll(MFTriggerPattern::kUnPrescaled);
     1405    fcalib.DenyTriggerLvl1(MFTriggerPattern::kUnPrescaled);
     1406    fcalib.DenyTriggerLvl1(MFTriggerPattern::kPrescaled);
     1407    fcalib.DenyTriggerLvl2(MFTriggerPattern::kUnPrescaled);
     1408    fcalib.DenyTriggerLvl2(MFTriggerPattern::kPrescaled);
     1409    fcalib.DenySumTrigger(MFTriggerPattern::kUnPrescaled);
     1410    fcalib.DenySumTrigger(MFTriggerPattern::kPrescaled);
     1411    fcalib.RequireCalibration(MFTriggerPattern::kPrescaled);
     1412    fcalib.RequireCalibration(MFTriggerPattern::kUnPrescaled);
     1413
     1414    MContinue                 ccalib(&fcalib, "ContTrigPattern");
     1415    ccalib.SetInverted();
    14081416
    14091417    MCalibrationPatternDecode decode;
Note: See TracChangeset for help on using the changeset viewer.