Ignore:
Timestamp:
04/28/03 16:19:37 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.cc

    r2028 r2029  
    1616!
    1717!
    18 !   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@uni-sw.gwdg.de>
    19 !   Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de)
     18!   Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
     19!   Author(s): Harald Kornmayer, 1/2001
    2020!
    21 !   Copyright: MAGIC Software Development, 2000-2002
     21!   Copyright: MAGIC Software Development, 2000-2003
    2222!
    2323!
     
    5454//
    5555/////////////////////////////////////////////////////////////////////////////
    56 
    5756#include "MHillasCalc.h"
    5857
     
    7574//
    7675MHillasCalc::MHillasCalc(const char *name, const char *title)
     76    : fHilName("MHillas"), fHilExtName("MHillasExt"),
     77    fImgParName("MNewImagePar"), fFlags(0xff)
    7778{
    7879    fName  = name  ? name  : "MHillasCalc";
    7980    fTitle = title ? title : "Calculate Hillas parameters";
    80 
    81     fHilName    = "MHillas";
    82     fHilExtName = "MHillasExt";
    83     fImgParName = "MNewImagePar";
    84 
    85     fFlags = 0xff;
    8681}
    8782
     
    8984//
    9085// Check for a MCerPhotEvt object from which the Hillas are calculated.
    91 // Try to find the Geometry conatiner. And try to find the output
    92 // (Hillas) container or create one.
     86// Try to find the Geometry conatiner. Depending on the flags
     87// try to find (and maybe create) the containers MHillas, MHillasExt,
     88// MNewImagePar, too.
    9389//
    9490Bool_t MHillasCalc::PreProcess(MParList *pList)
     
    110106    }
    111107
    112     // sometimes necessary
     108    // depend on whether MHillas is an in- or output container
    113109    if (TestFlag(kCalcHillas))
    114110        fHillas = (MHillas*)pList->FindCreateObj("MHillas", fHilName);
     
    121117        return kFALSE;
    122118
     119    // if enabled
    123120    if (TestFlag(kCalcHillasExt))
    124121    {
     
    128125    }
    129126
     127    // if enabled
    130128    if (TestFlag(kCalcNewImagePar))
    131129    {
Note: See TracChangeset for help on using the changeset viewer.