Ignore:
Timestamp:
02/19/03 13:47:29 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
4 added
3 edited

Legend:

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

    r1542 r1762  
    8484    }
    8585
    86     fHillas = (MHillas*)pList->FindCreateObj(fHilName);
     86    fHillas = (MHillas*)pList->FindCreateObj("MHillas",fHilName);
    8787    if (!fHillas)
    8888        return kFALSE;
  • trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc

    r1542 r1762  
    5656// The default is "MHillasSrc"
    5757//
     58//MHillasSrcCalc::MHillasSrcCalc(const char *src, const char *hil,
     59//                               const char *name, const char *title)
     60//    : fHillas(NULL), fSrcPos(NULL), fHillasSrc(NULL)
     61//{
     62//    fName  = name  ? name  : gsDefName.Data();
     63//    fTitle = title ? title : gsDefTitle.Data();
     64
     65//    fSrcName    = src;
     66//    fHillasName = hil;
     67//    fHillasInput = "MHillas";
     68//}
     69// -------------------------------------------------------------------------
     70//
    5871MHillasSrcCalc::MHillasSrcCalc(const char *src, const char *hil,
    59                                const char *name, const char *title)
     72                               const char *name, const char *title,
     73                               const char *hilinput)
    6074    : fHillas(NULL), fSrcPos(NULL), fHillasSrc(NULL)
    6175{
     
    6579    fSrcName    = src;
    6680    fHillasName = hil;
     81    fHillasInput = hilinput;
    6782}
    6883
     
    7186Bool_t MHillasSrcCalc::PreProcess(MParList *pList)
    7287{
    73     fHillas = (MHillas*)pList->FindObject("MHillas");
     88    fHillas = (MHillas*)pList->FindObject(fHillasInput);
    7489    if (!fHillas)
    7590    {
  • trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h

    r1540 r1762  
    1919    TString     fSrcName;
    2020    TString     fHillasName;
     21    TString     fHillasInput;
    2122
    2223    Int_t       fErrors;
     
    2930
    3031public:
     32    //    MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc",
     33    //               const char *name=NULL, const char *title=NULL);
     34
    3135    MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc",
    32                    const char *name=NULL, const char *title=NULL);
     36                   const char *name=NULL, const char *title=NULL,
     37                   const char *hilinput="MHillas");
    3338
    3439    ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters
Note: See TracChangeset for help on using the changeset viewer.