ICP  1
Todo List
Member CRPTProxy::histogramEventsToCRPT (const ISISCRPT_STRUCT *crpt1, const ISISCRPT_STRUCT *crpt2, ISISCRPT_DATA *crpt_data1, ISISCRPT_DATA *crpt_data2, const DAEEventHeader *head, const DetectorEvent32 *ev, int n, int event_source_id)
clarify period - think this will always be DAQ as from DC this may get called by multiple threads, hence mutex
Member CRPTProxy::loadCRPT (const char *crpt_file, const char *crpt_name, const char *crpt_data_file, const char *crpt_data_name, int crpt_data_size, bool read_only, DAEstatus &status)
use file_attributes ?
Member DAE2DetCardPolicy::DCTOTCNTS
0x001C as well
Member DAE3DetCardPolicy::DCTOTCNTS
0x001C as well
Member DAEEventList::getCompleteFramesLen (const isisU32_t *buffer, uint32_t len, DAEstatus &status)

need to adjust for 64bit events len in words, returns words

need to adjust for 64bit events

Member DetectorCard< DetCardPolicy >::isClearHistogramMemoryComplete (DAEstatus &status)
fix
Member EnvPeriodCard< EnvPeriodPolicy >::updateOptions (DAEstatus &status)
only temporary
Member EventModeRegister< DetCardPolicy >::NormalEventHeader
user defined
Member EventStoreCard::setOutputFileName (int run_number, bool new_run, DAEstatus &status)
should check last_address in DAE - also newFile() in clearOutputFile set last_address_read
Member ISISCRPT_STRUCT::getNumSpectra (bool include_spectrum_zero=false) const
need to decide about one spectrum 0 per time regime
Member ISISCRPT_STRUCT::getNumSpectra (int tr, bool include_spectrum_zero=false) const
need to decide about one spectrum 0 per time regime
Member ISISCRPT_STRUCT::spectrumCRPTOffsetImpl (int spec, int daq_period, int raw_data_size) const
should add ntc to offset in this check as well
Member ISISCRPT_STRUCT::splitItemName (const std::string &sitem_name, SplitItem &split_item)
need to decide about one spectrum 0 per time regime
Member ISISDAE::readDAE1Spectrum (int dae1_spectrum, isisU32_t *buffer, int nbuffer, DAEstatus &status)
spectrum 0 may vary in size on each card
Member ISISDAE::stopRun (StopRunMode mode, DAEstatus &status)

use (mode == StopRunDiscard) instead?

loop over all external vetos?

loop over all fc vetos?

Member ISISinstrumentControl::endRunTask (Poco::SharedPtr< CRPTProxy > crpt, NeXusWriter &nxwriter, bool keep_raw_events, bool keep_crpt, const std::string events_nxfile, DAEstatus &status)
look at closing file in EventStoreCard::stop()
Member ISISinstrumentControl::getCRPTSpectrumIntegral (long spec_start, int nspectra, long period, long integral[], DAEstatus &status)
not ready yet? called on sans2d with histograms, so need to be careful
Member ISISinstrumentControl::getTCBXML (const std::string &tcb_xml_in, std::string &tcb_xml_out, DAEstatus &status)
handle multiple TCB files
Member ISISinstrumentControl::loadDAEWithData (const std::string &file_name, long options, DAEstatus &status)
this only works for a raw file with 1 DAE dur to handiliong of maxcrate
Member ISISinstrumentControl::readSpectraTable (const char *filename, DAEstatus &status)
needs to be appripriate spectrum zero for TR?
Member ISISinstrumentControl::storeCRPT (CRPTProxy &crpt, DAEstatus &status)
check for overflow of sav file count: 99 for vms raw, 999 for nexus
Member ISISinstrumentControl::updateCRPTWithDAE (CRPTProxy &crpt, bool pause_collection, DAEstatus &status)
hardware periods do not get frame counts updated etc. maybe safe to read period card now
Member ISISinstrumentControl::writeJournal (const CRPTProxy &crpt, seblock_map_t &blocks, DAEstatus &status)
would be nice to add <?xml-stylesheet type="text/xsl" href="journal.xsl" ?> to file
Member IXNeXusFile::writeData (const char *data_name, long value)
should not case away sign!
Member IXNeXusFile::writeData (const char *data_name, float value)
should not case away sign!
Member NeXusEventCallback::writeEvents (const DAEEventHeader *head, int event_source_id, int nev, const int_map_t &event_id, const float_map_t &event_time_offset)
data arrived too late
Member NeXusWriter::writeISISNeXus (const char *filename, bool logs_only, const ISISCRPT_STRUCT *crpt, const isisU32_t *raw_data, isisU32_t raw_data_size, const ISISRAW *iraw, const seblock_map_t &blocks, const std::string &inst_xml_file, const std::string &inst_parameter_map_file, DAEstatus &dstatus, bool update=false)

update if extra spectra 0 in other TR

handle both software and hardware periods

Member se_get_block_details (const char *block_name, SEBLOCK_DETAILS &details)
limit(500)
Member se_get_block_details (const char *block_name, SEBLOCK_DETAILS &details)
limit(500)
Member se_get_values (long run_number, const char *source, const char *block_name, std::vector< std::string > &iso_times, std::vector< std::string > &block_values)
limit(500)
Member seblock_rows_callback (void *arg, int argc, char **argv, char **)
adjust for current period? This is overwridden in se_get_blocks, but used in se_get_block_values