Changeset 7553


Ignore:
Timestamp:
03/01/06 17:20:33 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7551 r7553  
    2828     - added new function IsInitialized()
    2929
     30   * mjtrain/MJTrain*.[h,cc]:
     31     - added data members to change RF setup
     32
     33   * mpointing/MPointingDevCalc.h, mpointing/MPointingPosCalc.h:
     34     - added missing AddToBranchList
     35
     36   * mpointing/MHSrcPosCam.[h,cc]:
     37     - added
     38
     39   * mpointing/Makefile, mpointing/PointingLinkDef.h:
     40     - added MHSrcPosCam
     41
    3042
    3143
  • trunk/MagicSoft/Mars/mbase/MTask.cc

    r7179 r7553  
    115115MTask::MTask(const char *name, const char *title)
    116116    : fFilter(NULL), fSerialNumber(0), fIsPreprocessed(kFALSE),
    117     fStopwatch(0), fNumExec0(0)
     117    fStopwatch(0), fNumExec0(0), fAccelerator(0)
    118118{
    119119    fName  = name  ? name  : "MTask";
     
    257257    //
    258258    const Bool_t exec = fFilter ? fFilter->IsConditionTrue() : kTRUE;
    259 
    260259    if (!exec)
    261260        return kTRUE;
    262261
    263     fStopwatch->Start(kFALSE);
     262    if (!HasAccelerator(kAccDontCount|kAccDontTime))
     263        fStopwatch->Start(kFALSE);
    264264    const Int_t rc = Process();
    265     fStopwatch->Stop();
     265    if (!HasAccelerator(kAccDontTime))
     266        fStopwatch->Stop();
    266267
    267268    return rc;
     
    428429    *fLog << all << setfill(' ') << setw(lvl) << " ";
    429430
    430     if (GetCpuTime()>0 && time>0 && GetCpuTime()>=0.001*time)
     431    if (GetCpuTime()>0 && time>0 && GetCpuTime()>=0.001*time && !HasAccelerator(kAccDontTime))
    431432        *fLog << Form("%5.1f", GetCpuTime()/time*100) << "% ";
    432433    else
     
    436437        *fLog << GetStreamId() << ":";
    437438    *fLog << GetDescriptor() << "\t";
    438     *fLog << dec << GetNumExecutions();
     439
     440    if (HasAccelerator(kAccDontCount))
     441        *fLog << "-/-";
     442    else
     443        *fLog << dec << GetNumExecutions();
     444
    439445    if (fFilter)
    440446        *fLog << " <" << fFilter->GetName() << ">";
  • trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.h

    r7206 r7553  
    5151        fName  = "MPointingDevCalc";
    5252        fTitle = "Task calculating the pointing deviation";
     53
     54        AddToBranchList("MReportStarguider.*");
    5355    }
    5456
  • trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.h

    r7205 r7553  
    1717    MPointingPos *fPosition; //! Output container to store pointing position
    1818
    19     UShort_t fRunType;            //! Run Type to decide where to get pointing position from
     19    UShort_t fRunType;       //! Run Type to decide where to get pointing position from
    2020
    2121    Bool_t ReInit(MParList *plist);
     
    2828        fName  = "MPointingPosCalc";
    2929        fTitle = "Task calculating the pointing position";
     30
     31        AddToBranchList("MReportDrive.*");
     32        AddToBranchList("MMcEvt.*");
    3033    }
    3134
  • trunk/MagicSoft/Mars/mpointing/Makefile

    r7202 r7553  
    2929           MPointingPosInterpolate.cc \
    3030           MHPointing.cc \
     31           MHSrcPosCam.cc \
    3132           MSrcPosCam.cc \
    3233           MSrcPosCalc.cc \
  • trunk/MagicSoft/Mars/mpointing/PointingLinkDef.h

    r7202 r7553  
    1515
    1616#pragma link C++ class MHPointing+;
     17#pragma link C++ class MHSrcPosCam+;
    1718
    1819#pragma link C++ class MSrcPosCam+;
Note: See TracChangeset for help on using the changeset viewer.