Changeset 9224 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/16/09 13:24:04 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9223 r9224  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2009/01/15 Thomas Bretz
     22
     23   * callisto.cc:
     24     - cosmetics to output
     25
     26   * mcorsika/MCorsikaRunHeader.cc:
     27     - cosmetics (removed a ;;)
     28
     29   * mhist/MHEvent.[h,cc]:
     30     - ReInit to allow the change of the camera geoemtry in ReInit
     31
     32   * mpedestal/MPedestalSubtract.[h,cc]:
     33     - added Print function
     34
     35
    2036
    2137 2009/01/15 Stefan Ruegamer
  • trunk/MagicSoft/Mars/callisto.cc

    r9141 r9224  
    6161    gLog << "   --debug-env[=1]           Display untouched resources after program execution" << endl;
    6262    gLog << "   --debug-env=2             Display untouched resources after eventloop setup" << endl;
    63     gLog << "   --debug-env=3             Debug setting resources from resource file and command line" << endl;
     63    gLog << "   --debug-env=3             Debug setting resources from resource file and" << endl;
     64    gLog << "                             command line" << endl;
    6465    gLog << "   --debug-mem               Debug memory usage" << endl << endl;
    6566    gLog << "   --rc=Name:option          Set or overwrite a resource of the resource file." << endl;
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.cc

    r9212 r9224  
    236236    fViewConeOuterAngle = g[152];
    237237
    238     return kTRUE;;
     238    return kTRUE;
    239239}
    240240
  • trunk/MagicSoft/Mars/mhist/MHEvent.cc

    r9153 r9224  
    187187        break;
    188188    }
     189
     190    return kTRUE;
     191}
     192
     193// --------------------------------------------------------------------------
     194//
     195// The geometry read from the RunHeaders might have changed. This does not
     196// effect anything in PreProcess. So we set a new geometry. We don't move
     197// this away from PreProcess to support also loops without calling ReInit.
     198//
     199Bool_t MHEvent::ReInit(MParList *plist)
     200{
     201    MGeomCam *cam = (MGeomCam*)plist->FindObject("MGeomCam");
     202    if (!cam)
     203    {
     204        *fLog << err << GetDescriptor() << ": No MGeomCam found... aborting." << endl;
     205        return kFALSE;
     206    }
     207
     208    fHist->SetGeometry(*cam);
    189209
    190210    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHEvent.h

    r9153 r9224  
    5353    Bool_t SetupFill(const MParList *plist);
    5454    Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
     55    Bool_t ReInit(MParList *par);
    5556
    5657public:
  • trunk/MagicSoft/Mars/mpedestal/MPedestalSubtract.cc

    r8907 r9224  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1.12 2008-06-02 08:46:54 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1.13 2009-01-16 13:24:04 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
Note: See TracChangeset for help on using the changeset viewer.