# # ChangeLog for trunk/FACT++/src # # Generated by Trac 1.5.2 # 11/22/24 12:15:51 Tue, 28 May 2013 12:50:50 GMT tbretz [16382] * trunk/FACT++/src/EventBuilder.cc (modified) Some more performance improvements (e.g. emplace instead of post, ... Tue, 28 May 2013 12:48:41 GMT tbretz [16381] * trunk/FACT++/src/EventBuilderWrapper.h (modified) There is no need to copy shared_ptrs when the pointer is kept valid ... Tue, 28 May 2013 12:45:31 GMT tbretz [16380] * trunk/FACT++/src/EventBuilder.h (modified) Added more kRequest enums; moved the request form the run-ctrl (where ... Tue, 28 May 2013 12:42:50 GMT tbretz [16379] * trunk/FACT++/src/makedata.cc (modified) * trunk/FACT++/src/makeplots.cc (modified) The closing paranthesis was missing Tue, 28 May 2013 12:41:47 GMT tbretz [16378] * trunk/FACT++/src/makedata.cc (modified) * trunk/FACT++/src/makeplots.cc (modified) The argument for cos() must be float Tue, 28 May 2013 12:40:12 GMT tbretz [16377] * trunk/FACT++/src/makedata.cc (modified) * trunk/FACT++/src/makeplots.cc (modified) Added the updated formula for the decrease of energy threshold with ... Tue, 28 May 2013 12:39:26 GMT tbretz [16376] * trunk/FACT++/src/Time.cc (modified) * trunk/FACT++/src/Time.h (modified) Fixed a problem with one of the constructors. We should keep the ... Tue, 28 May 2013 12:37:10 GMT tbretz [16375] * trunk/FACT++/src/mcp.cc (modified) First make sure that the ratecontrol is switched off before starting ... Mon, 27 May 2013 00:27:43 GMT lyard [16285] * trunk/FACT++/src/fitsCompressor.cc (added) * trunk/Mars/mcore/factfits.h (added) * trunk/Mars/mcore/zfits.h (added) added new files for fitsCompressor and compressed files read headers Sun, 26 May 2013 20:19:13 GMT tbretz [16283] * trunk/FACT++/src/queue.h (modified) In analogy to the container functions, added post and emplace Sun, 26 May 2013 20:18:21 GMT tbretz [16282] * trunk/FACT++/src/Description.cc (modified) * trunk/FACT++/src/DimState.h (modified) * trunk/FACT++/src/State.cc (modified) * trunk/FACT++/src/StateMachineDimControl.cc (modified) * trunk/FACT++/src/StateMachineImp.cc (modified) * trunk/FACT++/src/datalogger.cc (modified) * trunk/FACT++/src/feedback.cc (modified) * trunk/FACT++/src/makedata.cc (modified) * trunk/FACT++/src/makeplots.cc (modified) * trunk/FACT++/src/ratecontrol.cc (modified) * trunk/FACT++/src/smartfact.cc (modified) Replaced push_back by emplac_back were reasonable. Fri, 24 May 2013 20:37:52 GMT tbretz [16197] * trunk/FACT++/src/mcp.cc (modified) Also stop configuration of ratecontrol when a configuration is reset. Fri, 24 May 2013 20:37:09 GMT tbretz [16196] * trunk/FACT++/src/Time.cc (modified) * trunk/FACT++/src/Time.h (modified) Added a constructor with a timeval... fixed a problem with the time_t ... Fri, 24 May 2013 13:04:48 GMT tbretz [16108] * trunk/FACT++/src/EventBuilder.cc (modified) * trunk/FACT++/src/EventBuilder.h (modified) * trunk/FACT++/src/EventBuilderWrapper.h (modified) Added a new run-close condition for the case an invalid event was ... Fri, 24 May 2013 13:00:44 GMT tbretz [16107] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Removed the C-interface and added the C++-interface to the event ... Fri, 24 May 2013 12:56:21 GMT tbretz [16106] * trunk/FACT++/src/fadctrl.cc (modified) Removed a lot of debug code which was never used anyway; improved ... Fri, 24 May 2013 12:54:56 GMT tbretz [16105] * trunk/FACT++/src/EventBuilder.h (modified) Added the new structures EVT_CTRL2 and RUN_CTRL2 Fri, 24 May 2013 12:54:27 GMT tbretz [16104] * trunk/FACT++/src/FAD.h (modified) Removed some obsolete old structs; some imporvement to the ... Fri, 24 May 2013 12:53:35 GMT tbretz [16103] * trunk/FACT++/src/EventBuilder.cc (modified) some imporvements of the output; some improvements to the statistics; ... Fri, 24 May 2013 12:36:21 GMT tbretz [16102] * trunk/FACT++/scripts/doc/Thread.js (modified) * trunk/FACT++/scripts/doc/v8.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a user supplied 'this' argument to v8.timeout and the Thread class. Thu, 23 May 2013 18:14:03 GMT tbretz [16097] * trunk/FACT++/src/DataWriteFits2.cc (modified) Fixed handling of fTstart/fTstop; the start time is now available in ... Thu, 23 May 2013 18:13:14 GMT tbretz [16096] * trunk/FACT++/src/DimServiceInfoList.cc (modified) Replaces size() by empty() where possible Thu, 23 May 2013 18:12:31 GMT tbretz [16095] * trunk/FACT++/src/InterpreterV8.cc (modified) Replaced size() by empty() Thu, 23 May 2013 18:12:13 GMT tbretz [16094] * trunk/FACT++/src/queue.h (modified) Improved performance; renamed functions; added fSize; improved ... Thu, 23 May 2013 18:11:21 GMT tbretz [16093] * trunk/FACT++/src/Main.h (modified) Replaced size() by empty() where possible Thu, 23 May 2013 18:11:00 GMT tbretz [16092] * trunk/FACT++/src/DataProcessorImp.cc (modified) Display correct run type in dummy mode Thu, 23 May 2013 18:10:39 GMT tbretz [16091] * trunk/FACT++/src/Configuration.cc (modified) Replaced size() by empty() where possible Thu, 23 May 2013 18:10:14 GMT tbretz [16090] * trunk/FACT++/src/Connection.h (modified) * trunk/FACT++/src/ConnectionUSB.h (modified) Replaced queue by list; added Connection::IsTxQueueEmpty Thu, 23 May 2013 18:09:19 GMT tbretz [16089] * trunk/FACT++/src/StateMachineImp.cc (modified) * trunk/FACT++/src/StateMachineImp.h (modified) Use empty() instead of size() where possible; replaced queues by list ... Thu, 23 May 2013 18:08:42 GMT tbretz [16088] * trunk/FACT++/src/datalogger.cc (modified) * trunk/FACT++/src/fitsdump.cc (modified) * trunk/FACT++/src/ftmctrl.cc (modified) * trunk/FACT++/src/ratecontrol.cc (modified) Use empty() instead of size() where possible; replaced queues by list ... Thu, 23 May 2013 18:08:06 GMT tbretz [16087] * trunk/FACT++/src/smartfact.cc (modified) Use empty() instead of size() where possible; replaced queues by list ... Thu, 23 May 2013 13:02:15 GMT tbretz [16081] * trunk/FACT++/src/ratecontrol.cc (modified) Some deque can also be lists Thu, 23 May 2013 13:01:58 GMT tbretz [16080] * trunk/FACT++/src/smartfact.cc (modified) EventHist can be a list and must not be a deque. Thu, 23 May 2013 10:10:05 GMT tbretz [16073] * trunk/FACT++/src/StateMachineImp.cc (modified) Minor change of unintentionally wrong indentation. Thu, 23 May 2013 10:09:15 GMT tbretz [16072] * trunk/FACT++/src/DataWriteRaw.cc (modified) The new version of the event builder currently does not supper the ... Thu, 23 May 2013 10:08:38 GMT tbretz [16071] * trunk/FACT++/scripts/doc/console.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added console.warn to print a highlighted message to the ocnsole. Wed, 22 May 2013 21:43:43 GMT tbretz [16059] * trunk/FACT++/src/Time.cc (modified) Specified the return type of NightAsInt more accurately. Wed, 22 May 2013 21:43:29 GMT tbretz [16058] * trunk/FACT++/src/Time.h (modified) Specified the return type of NightAsInt more accurately. Wed, 22 May 2013 21:42:58 GMT tbretz [16057] * trunk/FACT++/src/smartfact.cc (modified) Added the CoolingFailure to the alarm messages Wed, 22 May 2013 21:40:52 GMT tbretz [16056] * trunk/FACT++/src/HeadersFAD.h (modified) Added the night to the FadConfiguration. Wed, 22 May 2013 21:40:10 GMT tbretz [16055] * trunk/FACT++/src/DataCalib.cc (modified) * trunk/FACT++/src/DataCalib.h (modified) * trunk/FACT++/src/DataProcessorImp.cc (modified) * trunk/FACT++/src/DataProcessorImp.h (modified) * trunk/FACT++/src/DataWriteFits.cc (modified) * trunk/FACT++/src/DataWriteFits.h (modified) * trunk/FACT++/src/DataWriteFits2.cc (modified) * trunk/FACT++/src/DataWriteFits2.h (modified) * trunk/FACT++/src/DataWriteRaw.cc (modified) * trunk/FACT++/src/DataWriteRaw.h (modified) Replaced the pointer argument when opening a file or writing an event ... Wed, 22 May 2013 21:39:04 GMT tbretz [16054] * trunk/FACT++/src/pwrctrl.cc (modified) Print a red warning in case of Cooling failure. Wed, 22 May 2013 17:28:01 GMT tbretz [16040] * trunk/FACT++/src/EventBuilder.cc (modified) First working version of the event builder in C++ Fri, 17 May 2013 12:18:40 GMT tbretz [15633] * trunk/FACT++/src/pwrctrl.cc (modified) Issue an error on the console in case there is a cooling failre. Fri, 17 May 2013 10:40:30 GMT tbretz [15628] * trunk/FACT++/src/DataCalib.cc (modified) * trunk/FACT++/src/DataCalib.h (modified) * trunk/FACT++/src/DataProcessorImp.cc (modified) * trunk/FACT++/src/DataProcessorImp.h (modified) * trunk/FACT++/src/DataWriteFits.cc (modified) * trunk/FACT++/src/DataWriteFits.h (modified) * trunk/FACT++/src/DataWriteFits2.cc (modified) * trunk/FACT++/src/DataWriteFits2.h (modified) * trunk/FACT++/src/DataWriteRaw.cc (modified) * trunk/FACT++/src/DataWriteRaw.h (modified) Changed argument for writing event data and tail to const Thu, 16 May 2013 15:09:35 GMT tbretz [15625] * trunk/FACT++/src/queue.h (modified) Secure fThread.join() against joining a thread which was already stopped. Thu, 16 May 2013 14:16:01 GMT tbretz [15610] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Decoupled updating ROI from eventCheck. Wed, 15 May 2013 12:41:46 GMT tbretz [15606] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Fixed some typos in the new code. Wed, 15 May 2013 12:31:02 GMT tbretz [15605] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Decoupled updating event number from writing data to ensure that a ... Mon, 06 May 2013 19:10:43 GMT tbretz [15514] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Moved updating of dim-services which were previously emitted in ... Mon, 06 May 2013 19:08:04 GMT tbretz [15512] * trunk/FACT++/src/EventBuilder.cc (added) First draft of a C++ version of the event builder. Mon, 06 May 2013 19:07:23 GMT tbretz [15511] * trunk/FACT++/src/queue.h (added) Processing queue in another thread. Mon, 06 May 2013 18:01:18 GMT tbretz [15510] * trunk/FACT++/src/EventBuilder.c (modified) Sanity check for mem==NULL in TGB_free; make sure that for each event ... Sat, 04 May 2013 10:25:30 GMT tbretz [15495] * trunk/FACT++/src/EventBuilder.c (modified) Removed some more obsolete code; improved the logic of the processing ... Sat, 04 May 2013 10:22:54 GMT tbretz [15494] * trunk/FACT++/src/EventBuilder.c (modified) Reverting to last revision. Sat, 04 May 2013 10:22:21 GMT tbretz [15493] * trunk/FACT++/src/feedback.cc (modified) Reverting to last revision. Sat, 04 May 2013 10:21:35 GMT tbretz [15490] * trunk/FACT++/aclocal.m4 (modified) * trunk/FACT++/configure (modified) * trunk/FACT++/src/EventBuilder.c (modified) * trunk/FACT++/src/FAD.h (modified) * trunk/FACT++/src/feedback.cc (modified) Let the event buffer store the index of the corresponding runCtrl entry. Fri, 03 May 2013 21:30:18 GMT tbretz [15483] * trunk/FACT++/src/EventBuilder.c (modified) * trunk/FACT++/src/FAD.h (modified) Replaced MAX_EVT*MAX_RUN by just MAX_EVT; simplified evtStat to have ... Wed, 01 May 2013 17:03:04 GMT tbretz [15477] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Moved all Dim emitting services called from the event builder#s main ... Wed, 01 May 2013 17:01:59 GMT tbretz [15476] * trunk/FACT++/src/EventBuilder.c (modified) When a new start flag is searched, the one byte was missed -- i am ... Wed, 01 May 2013 12:06:36 GMT tbretz [15474] * trunk/FACT++/src/FAD.h (modified) Removed MAX_SOCK Wed, 01 May 2013 12:06:18 GMT tbretz [15473] * trunk/FACT++/src/EventBuilder.h (modified) Removed all obsolete definitions. Wed, 01 May 2013 12:05:59 GMT tbretz [15472] * trunk/FACT++/src/EventBuilder.c (modified) Made rd (the read buffer) a local variable to readFAD; replaced some ... Wed, 01 May 2013 10:22:54 GMT tbretz [15471] * trunk/FACT++/src/EventBuilder.c (modified) Make sure that if processing is terminated, also empty buffers ... Wed, 01 May 2013 10:08:01 GMT tbretz [15470] * trunk/FACT++/src/EventBuilder.c (modified) Some more renaming; some values can already be initialized as soon as ... Wed, 01 May 2013 09:57:07 GMT tbretz [15469] * trunk/FACT++/src/EventBuilder.c (modified) Replaced all previosuly assigned IDs (previosly pointing to the entry ... Wed, 01 May 2013 09:52:21 GMT tbretz [15468] * trunk/FACT++/src/EventBuilder.c (modified) Cleaned up the file removing some old style memory allocation schemes Wed, 01 May 2013 09:50:29 GMT tbretz [15467] * trunk/FACT++/src/EventBuilder.c (modified) * trunk/FACT++/src/FAD.h (modified) Unified mBuffer and evtCtrl, there is no need to keep those two ... Wed, 01 May 2013 08:48:15 GMT tbretz [15465] * trunk/FACT++/src/FAD.h (modified) Removed some obsolete structure members; renamed some for easier ... Wed, 01 May 2013 08:47:05 GMT tbretz [15464] * trunk/FACT++/src/DataWriteRaw.cc (modified) Added the missing const qualifier to a cast Wed, 01 May 2013 08:46:42 GMT tbretz [15463] * trunk/FACT++/src/EventBuilder.c (modified) Moved the index to an array of elements instead of arrays of ... Tue, 30 Apr 2013 20:25:03 GMT tbretz [15462] * trunk/FACT++/src/FAD.h (modified) No need to dynamically allocate the header in RUN_HEAD, we know the ... Tue, 30 Apr 2013 20:24:21 GMT tbretz [15461] * trunk/FACT++/src/EventBuilder.c (modified) Missed replaces an rd by rs in GetSock; fixed a typo in one of the ... Tue, 30 Apr 2013 14:46:40 GMT tbretz [15460] * trunk/FACT++/src/EventBuilder.c (modified) Made RUN_HEAD local; first process 'header' and then 'data' so that ... Tue, 30 Apr 2013 09:47:46 GMT tbretz [15459] * trunk/FACT++/src/EventBuilder.c (modified) Some little more restructuring; flag a file to be closed as soon as ... Tue, 30 Apr 2013 09:25:50 GMT tbretz [15458] * trunk/FACT++/src/drivectrl.cc (modified) Connection can only be closed by cosy not the FTM ;) Tue, 30 Apr 2013 09:14:31 GMT tbretz [15457] * trunk/FACT++/src/Readline.cc (modified) Make java.his go to the same path as other 'log'-files Thu, 25 Apr 2013 21:26:27 GMT tbretz [15443] * trunk/FACT++/src/fscctrl.cc (modified) Fixed a typo in a warning message Thu, 25 Apr 2013 18:49:57 GMT tbretz [15441] * trunk/FACT++/src/EventBuilder.c (modified) Fixed a problem when flushing buffers, events still in use could be ... Wed, 24 Apr 2013 21:40:45 GMT tbretz [15430] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) * trunk/FACT++/src/StateMachineDimControl.cc (modified) * trunk/FACT++/src/StateMachineDimControl.h (modified) * trunk/FACT++/src/dimctrl.cc (modified) Implemented the possibility to send an interrupt request (irq) to a ... Wed, 24 Apr 2013 20:58:51 GMT tbretz [15428] * trunk/FACT++/src/EventBuilder.c (modified) Fixed some minor bugs introduced with the previous commit Wed, 24 Apr 2013 13:01:52 GMT tbretz [15415] * trunk/FACT++/src/FAD.h (modified) Added a second array element to pcTime to allow saving of start time ... Wed, 24 Apr 2013 13:01:15 GMT tbretz [15414] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Removes a compiler wrning about an unused argument. Wed, 24 Apr 2013 13:00:40 GMT tbretz [15413] * trunk/FACT++/src/EventBuilder.c (modified) Some more structural changes mainly around the allocation of memory ... Mon, 22 Apr 2013 07:38:19 GMT lyard [15407] * trunk/FACT++/src/datalogger.cc (modified) fixed not-resetting increment number bug Fri, 19 Apr 2013 13:20:33 GMT tbretz [15379] * trunk/FACT++/src/EventBuilder.c (modified) * trunk/FACT++/src/EventBuilderWrapper.h (modified) * trunk/FACT++/src/FAD.h (modified) Removed STATISTICS2 dim service; shortened STATISTICS1 a bit Thu, 18 Apr 2013 13:19:42 GMT tbretz [15366] * trunk/FACT++/src/makedata.cc (modified) Fixed a crash when the source was not found. Thu, 18 Apr 2013 09:21:36 GMT tbretz [15363] * trunk/FACT++/src/drivectrl.cc (modified) Shift sunrise in a way that it does not consume 100% CPU at day time; ... Thu, 18 Apr 2013 09:18:44 GMT tbretz [15361] * trunk/FACT++/src/ratecontrol.cc (modified) Implemented the latest results from the ratescan fits and ... Wed, 17 Apr 2013 15:29:13 GMT tbretz [15360] * trunk/FACT++/src/EventBuilder.c (modified) Some more structure changes; moved some code to functions to get a ... Tue, 16 Apr 2013 09:25:58 GMT tbretz [15356] * trunk/FACT++/src/EventBuilder.c (modified) Send gotNewRun as soon as possible (after the header from the first ... Tue, 16 Apr 2013 09:25:13 GMT tbretz [15355] * trunk/FACT++/src/EventBuilderWrapper.h (modified) Improved the order in runClose to make sure that during DRS ... Tue, 16 Apr 2013 09:12:12 GMT tbretz [15351] * trunk/FACT++/src/magiclidar.cc (modified) Skip empty reports. Mon, 15 Apr 2013 20:00:55 GMT tbretz [15350] * trunk/FACT++/src/InterpreterV8.cc (modified) Forgot to add a check for a valid size Mon, 15 Apr 2013 19:57:20 GMT tbretz [15349] * trunk/FACT++/src/InterpreterV8.cc (modified) Added Shebang (#!) support Mon, 15 Apr 2013 16:37:47 GMT tbretz [15348] * trunk/FACT++/src/EventBuilder.c (modified) Another local variable and a logic fixed, a mistake introduced with ... Mon, 15 Apr 2013 16:02:29 GMT tbretz [15347] * trunk/FACT++/src/EventBuilder.c (modified) More structural improvements; more local variables; simplified the ... Mon, 15 Apr 2013 14:33:10 GMT tbretz [15346] * trunk/FACT++/src/EventBuilder.c (modified) Restructured all the loops from firstPtr to lastPtr for a better ... Mon, 15 Apr 2013 12:19:00 GMT tbretz [15345] * trunk/FACT++/src/EventBuilder.c (modified) Replaced some stray %ud by %u Mon, 15 Apr 2013 12:15:48 GMT tbretz [15344] * trunk/FACT++/src/EventBuilder.c (modified) More unification of code to close run.