Changeset 7553
- Timestamp:
- 03/01/06 17:20:33 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7551 r7553 28 28 - added new function IsInitialized() 29 29 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 30 42 31 43 -
trunk/MagicSoft/Mars/mbase/MTask.cc
r7179 r7553 115 115 MTask::MTask(const char *name, const char *title) 116 116 : fFilter(NULL), fSerialNumber(0), fIsPreprocessed(kFALSE), 117 fStopwatch(0), fNumExec0(0) 117 fStopwatch(0), fNumExec0(0), fAccelerator(0) 118 118 { 119 119 fName = name ? name : "MTask"; … … 257 257 // 258 258 const Bool_t exec = fFilter ? fFilter->IsConditionTrue() : kTRUE; 259 260 259 if (!exec) 261 260 return kTRUE; 262 261 263 fStopwatch->Start(kFALSE); 262 if (!HasAccelerator(kAccDontCount|kAccDontTime)) 263 fStopwatch->Start(kFALSE); 264 264 const Int_t rc = Process(); 265 fStopwatch->Stop(); 265 if (!HasAccelerator(kAccDontTime)) 266 fStopwatch->Stop(); 266 267 267 268 return rc; … … 428 429 *fLog << all << setfill(' ') << setw(lvl) << " "; 429 430 430 if (GetCpuTime()>0 && time>0 && GetCpuTime()>=0.001*time )431 if (GetCpuTime()>0 && time>0 && GetCpuTime()>=0.001*time && !HasAccelerator(kAccDontTime)) 431 432 *fLog << Form("%5.1f", GetCpuTime()/time*100) << "% "; 432 433 else … … 436 437 *fLog << GetStreamId() << ":"; 437 438 *fLog << GetDescriptor() << "\t"; 438 *fLog << dec << GetNumExecutions(); 439 440 if (HasAccelerator(kAccDontCount)) 441 *fLog << "-/-"; 442 else 443 *fLog << dec << GetNumExecutions(); 444 439 445 if (fFilter) 440 446 *fLog << " <" << fFilter->GetName() << ">"; -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.h
r7206 r7553 51 51 fName = "MPointingDevCalc"; 52 52 fTitle = "Task calculating the pointing deviation"; 53 54 AddToBranchList("MReportStarguider.*"); 53 55 } 54 56 -
trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.h
r7205 r7553 17 17 MPointingPos *fPosition; //! Output container to store pointing position 18 18 19 UShort_t fRunType; 19 UShort_t fRunType; //! Run Type to decide where to get pointing position from 20 20 21 21 Bool_t ReInit(MParList *plist); … … 28 28 fName = "MPointingPosCalc"; 29 29 fTitle = "Task calculating the pointing position"; 30 31 AddToBranchList("MReportDrive.*"); 32 AddToBranchList("MMcEvt.*"); 30 33 } 31 34 -
trunk/MagicSoft/Mars/mpointing/Makefile
r7202 r7553 29 29 MPointingPosInterpolate.cc \ 30 30 MHPointing.cc \ 31 MHSrcPosCam.cc \ 31 32 MSrcPosCam.cc \ 32 33 MSrcPosCalc.cc \ -
trunk/MagicSoft/Mars/mpointing/PointingLinkDef.h
r7202 r7553 15 15 16 16 #pragma link C++ class MHPointing+; 17 #pragma link C++ class MHSrcPosCam+; 17 18 18 19 #pragma link C++ class MSrcPosCam+;
Note:
See TracChangeset
for help on using the changeset viewer.