ICP
1
|
#include <isiscrpt.h>
Classes | |
struct | Monitoring |
Public Member Functions | |
void | markInitialised () |
void | markUninitialised () |
bool | isInitialised () |
ISISCRPT_STRUCT (ISISDAE::DAEType dae_type_, const std::string &comp_name) | |
bool | isRunning () const |
const char * | runStatusName () const |
int | setDAESpecificParameters () |
int | getCharItem (const char *item_name, std::string &cvalue, DAEstatus &status) const |
int | getIntItem (const char *item_name, long &lVal, DAEstatus &status) const |
int | getRealItem (const char *item_name, double &dblVal, DAEstatus &status) const |
int | getIntArrayItemSize (const char *item_name, int *dims_array, int &ndims, DAEstatus &status) const |
int | getIntArrayItemSize (const char *item_name, const long *spec_array, int nspec, int *dims_array, int &ndims, DAEstatus &status) const |
int | getIntArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, long *larray, DAEstatus &status) const |
int | getRealArrayItemSize (const char *item_name, int *dims_array, int &ndims, DAEstatus &status) const |
int | getRealArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, double *darray, DAEstatus &status) const |
int | getRealArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, float *farray, DAEstatus &status) const |
int | getCharItem (const char *item_name, long spec, std::string &cvalue, DAEstatus &status) const |
int | getIntItem (const char *item_name, const long *spec_array, int nspec, long *lVal, DAEstatus &status) const |
int | getRealItem (const char *item_name, const long *spec_array, int nspec, double *dblVal, DAEstatus &status) const |
int | getIntArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, const long *spec_array, int nspec, long *larray, DAEstatus &status) const |
int | getRealArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, const long *spec_array, int nspec, double *darray, DAEstatus &status) const |
int | getRealArrayItem (const isisU32_t *raw_data, int raw_data_size, const char *item_name, const long *spec_array, int nspec, float *farray, DAEstatus &status) const |
bool | checkCRPT () const |
int | crptTR (int tr) const |
int | fileTR (int tr) const |
file_tr same as crpt_tr for now More... | |
int | fullTR (int index) const |
bool | isEventTR (int tr) const |
bool | isEventSpectrum (int spec) const |
int | daeTR (int tr) const |
int | spectrumCRPTTR (int spec) const |
int | spectrumDAETR (int spec) const |
int | spectrumNTC (int spec) const |
int | getNumSpectra (bool include_spectrum_zero=false) const |
int | getNumSpectra (int tr, bool include_spectrum_zero=false) const |
int | getHighestSpectrumNumber () const |
uint32_t | spectrumCRPTOffsetImpl (int spec, int daq_period) const |
uint32_t | spectrumCRPTOffsetImpl (int spec, int daq_period, int raw_data_size) const |
uint32_t | trCRPTOffset (int tr, int daq_period, int raw_data_size) const |
int | getPeriodSize () const |
int | monitorNumberToSpectrum (int monitor_number) const |
monitor numbers start at 1, indexes in mdet also start at 1 for historical (i.e fortran and old raw file format) reasons More... | |
int | spectrumToMonitorNumber (int spec) const |
return monitor number, or 0 if not monitor More... | |
bool | saveMonitorEvents (int monitor_number) const |
bool | isMonitorSpectrum (int spec) const |
void | calculateCRPTOffsets () |
int | dae1SpecForCard (int pos, int dae2_spec) const |
if spectrum is out of range, returns -1 More... | |
int | dae1SpecForCardIndex (int index, int dae2_spec) const |
int | daeTRForCard (int pos) const |
int | cardIndexFromPos (int pos) const |
int | spectrumCardPos (int spec) const |
int | spectrumGroup (int spec) const |
int | udetFromSpec (int spec) const |
int | buildTimeRegimeMap () |
int | simpleChannelRebin (int from_chan, int from_tr, int to_tr) const |
int | randomisedChannelRebin (int from_chan, int from_tr, int to_tr) const |
int | channelLookup (int from_chan, int from_tr, int to_tr, float tof_val) const |
void | setInstName (const std::string &comp_name) |
bool | usingEventMode () const |
void | eventModeCards (int &ndetcard_event, int &ndetcard_used) const |
double | eventModeCardFraction () const |
Private Member Functions | |
template<typename T > | |
int | getRealArrayItemHelper (const isisU32_t *raw_data, int raw_data_size, const char *item_name, T *darray, DAEstatus &status) const |
template<typename T > | |
int | getRealArrayItemHelper (const isisU32_t *raw_data, int raw_data_size, const char *item_name, const long *spec_array, int nspec, T *darray, DAEstatus &status) const |
ISISCRPT_STRUCT () | |
int | makeEventTRValue (int dae_tr, int crpt_tr, int file_tr) const |
file_tr ignored for now More... | |
Static Private Member Functions | |
static void | splitItemName (const std::string &sitem_name, SplitItem &split_item) |
Definition at line 236 of file isiscrpt.h.
ISISCRPT_STRUCT::ISISCRPT_STRUCT | ( | ISISDAE::DAEType | dae_type_, |
const std::string & | comp_name | ||
) |
Definition at line 54 of file isiscrpt.cpp.
References auto_save_value, crpt_rcsid, crpt_size, dae_type, g_icp_clock, ICPClock::getParameters(), icp_clock, ISISCRPT_STRUCT(), ISISCRPT_VERSION, log_nlines, long_title, magic, markUninitialised(), monitoring, ISISCRPT_STRUCT::Monitoring::n, nper, nper_daq, nperseq, nsp, ntc, ntrg, NULL_TERMINATE, period_output_delay, persize, rcsid, run_number, run_status, RUNSTATUS_SETUP, se_status, SESTATUS_INRANGE, setDAESpecificParameters(), setInstName(), software_period, spacePadCopy(), tcb_maxdelay, tcb_maxtime, time_scaler, timr_crpt, timr_dae, timr_file, uamp_scale, update_poll_time, and version.
|
inlineprivate |
Definition at line 571 of file isiscrpt.h.
Referenced by checkCRPT(), and ISISCRPT_STRUCT().
int ISISCRPT_STRUCT::buildTimeRegimeMap | ( | ) |
Definition at line 968 of file isiscrpt.cpp.
References ntc, ntrg, simpleChannelRebin(), and tcb_map.
Referenced by ISISinstrumentControl::tcbcalc().
|
inline |
these offsets depend on tcbs so need to be recalculated when they change also calculates period size (persize) for use by getPeriodSize() and elsewhere
Definition at line 665 of file isiscrpt.h.
References getHighestSpectrumNumber(), nsp, ntc, ntrg, persize, spec_to_crpt_offset, and spectrumNTC().
Referenced by ISISinstrumentControl::readSpectraTable(), and ISISinstrumentControl::tcbcalc().
|
inline |
Definition at line 727 of file isiscrpt.h.
References cardpos2index.
Referenced by TCPEventStreamConnection::allEventCallback(), and CRPTProxy::histogramEventsToCRPT().
int ISISCRPT_STRUCT::channelLookup | ( | int | from_chan, |
int | from_tr, | ||
int | to_tr, | ||
float | tof_val | ||
) | const |
lookup tof_val in to_tr and return channel tof_val is in from_chan and this information is used to provide a fast lookup
Definition at line 985 of file isiscrpt.cpp.
References ntc, rtcb, and tcb_map.
Referenced by randomisedChannelRebin().
|
inline |
Definition at line 528 of file isiscrpt.h.
References crpt_size, ISISCRPT_STRUCT(), and magic.
Referenced by CRPTProxy::loadOrCreateCRPT().
|
inline |
Definition at line 756 of file isiscrpt.h.
References TR_EVENT_MOD.
Referenced by fileTR(), ISISinstrumentControl::readWiringTable(), and trCRPTOffset().
|
inline |
if spectrum is out of range, returns -1
Definition at line 684 of file isiscrpt.h.
References cardpos2index, and dae1SpecForCardIndex().
Referenced by NeXusEventCallback::getSpectrum().
|
inline |
Definition at line 701 of file isiscrpt.h.
References dae2highspec, dae2specmap, and ISISCRPT_MAX_DC_DETECTOR.
Referenced by TCPEventStreamConnection::allEventCallback(), dae1SpecForCard(), and CRPTProxy::histogramEventsToCRPT().
|
inline |
Definition at line 749 of file isiscrpt.h.
References TR_EVENT_MOD.
Referenced by NeXusEventCallback::processDataDae(), ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateSpecmapsFromDAE().
|
inline |
Definition at line 710 of file isiscrpt.h.
References cardpos2index, and dae2cardtr.
|
inline |
Definition at line 844 of file isiscrpt.h.
References eventModeCards().
Referenced by RootHandler::handleRequest(), ISISinstrumentControl::updateStatusXML(), usingEventMode(), and ISISinstrumentControl::writeJournal().
|
inline |
Definition at line 826 of file isiscrpt.h.
References dae2cardmode, and ndetcard.
Referenced by eventModeCardFraction().
|
inline |
file_tr same as crpt_tr for now
Definition at line 762 of file isiscrpt.h.
References crptTR().
Referenced by ISISinstrumentControl::readWiringTable().
|
inline |
Definition at line 778 of file isiscrpt.h.
References det_mode, makeEventTRValue(), timr_crpt, timr_dae, and timr_file.
Referenced by ISISinstrumentControl::setupDAE().
int ISISCRPT_STRUCT::getCharItem | ( | const char * | item_name, |
std::string & | cvalue, | ||
DAEstatus & | status | ||
) | const |
Definition at line 228 of file isiscrpt.cpp.
Referenced by ISISinstrumentControl::getCharItem(), and ISISDSRequest::processCommand().
int ISISCRPT_STRUCT::getCharItem | ( | const char * | item_name, |
long | spec, | ||
std::string & | cvalue, | ||
DAEstatus & | status | ||
) | const |
Definition at line 178 of file isiscrpt.cpp.
References char_items, DAEstatus::Failure, inst_abrv, long_title, run_number, stop_time, DAEstatus::Success, update_good_uamph, user_name, char_item::val, VMS_RUN_MASK, and ISISRAW::vmstime().
int ISISCRPT_STRUCT::getHighestSpectrumNumber | ( | ) | const |
Definition at line 957 of file isiscrpt.cpp.
Referenced by calculateCRPTOffsets(), ISISinstrumentControl::getMEventsPeriod(), ISISinstrumentControl::readSpectraTable(), and ISISinstrumentControl::sumAllSpectra().
int ISISCRPT_STRUCT::getIntArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
long * | larray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 755 of file isiscrpt.cpp.
Referenced by CRPTProxy::getIntArrayItem().
int ISISCRPT_STRUCT::getIntArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
const long * | spec_array, | ||
int | nspec, | ||
long * | larray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 581 of file isiscrpt.cpp.
References int_array_item::dim0, DAEstatus::Failure, FrameSyncInternalTest, getNumSpectra(), int_array_items, nper, nper_daq, nsp, ntc, ntrg, parseSpectraRange(), int_array_item::pi, spectrumCRPTOffsetImpl(), spectrumCRPTTR(), spectrumNTC(), splitItemName(), DAEstatus::Success, tcb, tcb_delay, tcb_sync, tcb_trdelay, trCRPTOffset(), update_duration, update_good_frames, update_good_ppp_high, update_good_ppp_low, update_raw_frames, update_total_ppp_high, and update_total_ppp_low.
int ISISCRPT_STRUCT::getIntArrayItemSize | ( | const char * | item_name, |
int * | dims_array, | ||
int & | ndims, | ||
DAEstatus & | status | ||
) | const |
Definition at line 432 of file isiscrpt.cpp.
References int_array_item::dim0, int_array_item::dim1, DAEstatus::Failure, getNumSpectra(), int_array_items, nper, ntc, ntrg, SplitItem::number, parseSpectraRange(), spectrumNTC(), splitItemName(), and DAEstatus::Success.
Referenced by ISISinstrumentControl::getIntArrayItemSize(), and ISISDSRequest::processCommand().
int ISISCRPT_STRUCT::getIntArrayItemSize | ( | const char * | item_name, |
const long * | spec_array, | ||
int | nspec, | ||
int * | dims_array, | ||
int & | ndims, | ||
DAEstatus & | status | ||
) | const |
Definition at line 415 of file isiscrpt.cpp.
References DAEstatus::Failure, ntc, spectrumNTC(), and DAEstatus::Success.
int ISISCRPT_STRUCT::getIntItem | ( | const char * | item_name, |
long & | lVal, | ||
DAEstatus & | status | ||
) | const |
Definition at line 233 of file isiscrpt.cpp.
Referenced by ISISinstrumentControl::getIntItem(), and ISISDSRequest::processCommand().
int ISISCRPT_STRUCT::getIntItem | ( | const char * | item_name, |
const long * | spec_array, | ||
int | nspec, | ||
long * | lVal, | ||
DAEstatus & | status | ||
) | const |
Definition at line 257 of file isiscrpt.cpp.
References int_array_item::dim0, DAEstatus::Failure, int_array_items, int_items, int_array_item::name, ndet, int_item::pi, int_array_item::pi, spec, and DAEstatus::Success.
int ISISCRPT_STRUCT::getNumSpectra | ( | bool | include_spectrum_zero = false | ) | const |
Definition at line 926 of file isiscrpt.cpp.
Referenced by ISISinstrumentControl::getCRPTSpectrumIntegral(), getIntArrayItem(), getIntArrayItemSize(), ISISinstrumentControl::getNumberOfSpectra(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getSpectrumIntegral(), NeXusEventCallback::NeXusEventCallback(), spectrumCRPTOffsetImpl(), ISISinstrumentControl::updateCRPTSpectra(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and CRPTProxy::zeroEventRawData().
int ISISCRPT_STRUCT::getNumSpectra | ( | int | tr, |
bool | include_spectrum_zero = false |
||
) | const |
Definition at line 941 of file isiscrpt.cpp.
References nsp, ntrg, and spectrumCRPTTR().
|
inline |
size of period in 32bit words this is updated by calculateCRPTOffsets()
Definition at line 658 of file isiscrpt.h.
References persize.
Referenced by ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::endRunTask(), CRPTProxy::rawDataSizeUsed(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::sumAllSpectra(), ISISinstrumentControl::updateCRPTSpectra(), ISISinstrumentControl::updateCRPTSpectraAllPeriods(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::getRealArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
double * | darray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 775 of file isiscrpt.cpp.
Referenced by CRPTProxy::getRealArrayItem().
int ISISCRPT_STRUCT::getRealArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
float * | farray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 780 of file isiscrpt.cpp.
int ISISCRPT_STRUCT::getRealArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
const long * | spec_array, | ||
int | nspec, | ||
double * | darray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 785 of file isiscrpt.cpp.
int ISISCRPT_STRUCT::getRealArrayItem | ( | const isisU32_t * | raw_data, |
int | raw_data_size, | ||
const char * | item_name, | ||
const long * | spec_array, | ||
int | nspec, | ||
float * | farray, | ||
DAEstatus & | status | ||
) | const |
Definition at line 790 of file isiscrpt.cpp.
|
private |
Definition at line 796 of file isiscrpt.cpp.
|
private |
Definition at line 817 of file isiscrpt.cpp.
References real_array_item::dim0, DAEstatus::Failure, ntc, real_array_item::pf, real_array_items, rtcb, spectrumCRPTOffsetImpl(), spectrumCRPTTR(), spectrumNTC(), DAEstatus::Success, update_good_uamph, and update_raw_uamph.
int ISISCRPT_STRUCT::getRealArrayItemSize | ( | const char * | item_name, |
int * | dims_array, | ||
int & | ndims, | ||
DAEstatus & | status | ||
) | const |
Definition at line 519 of file isiscrpt.cpp.
References real_array_item::dim0, real_array_item::dim1, DAEstatus::Failure, ntc, SplitItem::number, real_array_items, spectrumNTC(), splitItemName(), and DAEstatus::Success.
Referenced by ISISinstrumentControl::getRealArrayItemSize(), and ISISDSRequest::processCommand().
int ISISCRPT_STRUCT::getRealItem | ( | const char * | item_name, |
double & | dblVal, | ||
DAEstatus & | status | ||
) | const |
Definition at line 391 of file isiscrpt.cpp.
Referenced by ISISinstrumentControl::getRealItem(), and ISISDSRequest::processCommand().
int ISISCRPT_STRUCT::getRealItem | ( | const char * | item_name, |
const long * | spec_array, | ||
int | nspec, | ||
double * | dblVal, | ||
DAEstatus & | status | ||
) | const |
Definition at line 324 of file isiscrpt.cpp.
References real_array_item::dim0, DAEstatus::Failure, real_array_item::name, ndet, real_item::pf, real_array_item::pf, real_array_items, real_items, spec, and DAEstatus::Success.
|
inline |
Definition at line 821 of file isiscrpt.h.
References det_mode, and spec_to_index.
Referenced by ISISinstrumentControl::getCRPTSpectrumIntegral(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getSpectrumIntegral(), NeXusEventCallback::NeXusEventCallback(), ISISinstrumentControl::updateCRPTSpectra(), and CRPTProxy::zeroEventRawData().
|
inline |
Definition at line 767 of file isiscrpt.h.
References TR_EVENT_MOD.
Referenced by ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateSpecmapsFromDAE().
|
inline |
Definition at line 501 of file isiscrpt.h.
References initialised.
Referenced by ISISinstrumentControl::beginRunMainEx().
|
inline |
Definition at line 619 of file isiscrpt.h.
References spectrumToMonitorNumber().
Referenced by NeXusWriter::writeISISNeXus().
|
inline |
Definition at line 507 of file isiscrpt.h.
References run_status, and RUNSTATUS_RUNNING.
Referenced by ISISinstrumentControl::isRunning(), and ISISinstrumentControl::updateCRPTWithDAE().
|
inlineprivate |
file_tr ignored for now
Definition at line 773 of file isiscrpt.h.
References TR_EVENT_MOD.
Referenced by fullTR().
|
inline |
Definition at line 499 of file isiscrpt.h.
References initialised.
Referenced by ISISinstrumentControl::readRecoveryFile(), and ISISinstrumentControl::updateDAEsettingsXML().
|
inline |
|
inline |
monitor numbers start at 1, indexes in mdet also start at 1 for historical (i.e fortran and old raw file format) reasons
Definition at line 577 of file isiscrpt.h.
References mdet, nmon, and spec.
Referenced by addMonitors(), and spectrumToMonitorNumber().
int ISISCRPT_STRUCT::randomisedChannelRebin | ( | int | from_chan, |
int | from_tr, | ||
int | to_tr | ||
) | const |
shift an event from one TR to another channel 0 is a dummy channel meaning value outside tcb range
Definition at line 1045 of file isiscrpt.cpp.
References channelLookup(), ntc, and rtcb.
Referenced by CRPTProxy::histogramEventsToCRPT().
|
inline |
Definition at line 508 of file isiscrpt.h.
References run_status, and runstatus_names.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
|
inline |
Definition at line 589 of file isiscrpt.h.
References nmon, and save_monitor_events.
Referenced by NeXusEventCallback::allEventCallback().
int ISISCRPT_STRUCT::setDAESpecificParameters | ( | ) |
Definition at line 102 of file isiscrpt.cpp.
References clock_frequency, dae_type, electronics_delay, ISISDAE::MuonDAE2, ISISDAE::MuonDAE3, tcb_mintime, and tcb_minwidth.
Referenced by ISISCRPT_STRUCT(), and ISISinstrumentControl::ISISinstrumentControl().
void ISISCRPT_STRUCT::setInstName | ( | const std::string & | comp_name | ) |
Definition at line 1068 of file isiscrpt.cpp.
References getInstAbrv(), inst_abrv, inst_name, and NULL_TERMINATE.
Referenced by ISISCRPT_STRUCT(), and ISISinstrumentControl::ISISinstrumentControl().
int ISISCRPT_STRUCT::simpleChannelRebin | ( | int | from_chan, |
int | from_tr, | ||
int | to_tr | ||
) | const |
shift an event from one TR to another very simple - only accurate for fine bin -> course bin channel 0 is a dummy channel meaning value outside tcb range
Definition at line 1015 of file isiscrpt.cpp.
Referenced by buildTimeRegimeMap().
|
inline |
Definition at line 810 of file isiscrpt.h.
References crat, spec, and spec_to_index.
|
inline |
Definition at line 624 of file isiscrpt.h.
References getNumSpectra(), nper_daq, persize, and spec_to_crpt_offset.
Referenced by addMonitors(), getIntArrayItem(), getRealArrayItemHelper(), CRPTProxy::histogramEventsToCRPT(), CRPTProxy::spectrumCRPTOffset(), spectrumCRPTOffsetImpl(), trCRPTOffset(), and NeXusWriter::writeISISNeXus().
|
inline |
<
Definition at line 638 of file isiscrpt.h.
References spectrumCRPTOffsetImpl().
|
inline |
Definition at line 794 of file isiscrpt.h.
References spec, spec_to_index, and timr_crpt.
Referenced by addMonitors(), ISISinstrumentControl::getCRPTSpectrumIntegral(), getIntArrayItem(), getNumSpectra(), getRealArrayItemHelper(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getSpectrumIntegral(), CRPTProxy::histogramEventsToCRPT(), ISISinstrumentControl::readSpectraTable(), spectrumGroup(), and spectrumNTC().
|
inline |
Definition at line 799 of file isiscrpt.h.
References spec, spec_to_index, and timr_dae.
Referenced by NeXusEventCallback::allEventCallback(), TCPEventStreamConnection::allEventCallback(), CRPTProxy::histogramEventsToCRPT(), and NeXusEventCallback::NeXusEventCallback().
|
inline |
Definition at line 815 of file isiscrpt.h.
References spectrumCRPTTR().
Referenced by NeXusEventCallback::makeDetName(), and NeXusWriter::writeISISNeXus().
|
inline |
Definition at line 804 of file isiscrpt.h.
References ntc, and spectrumCRPTTR().
Referenced by addMonitors(), calculateCRPTOffsets(), getIntArrayItem(), getIntArrayItemSize(), ISISinstrumentControl::getNumberOfTimeChannels(), ISISinstrumentControl::getRealArrayItem(), getRealArrayItemHelper(), getRealArrayItemSize(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::updateCRPTSpectra(), and CRPTProxy::zeroEventRawData().
|
inline |
return monitor number, or 0 if not monitor
Definition at line 607 of file isiscrpt.h.
References monitorNumberToSpectrum(), and nmon.
Referenced by NeXusEventCallback::allEventCallback(), isMonitorSpectrum(), and NeXusEventCallback::makeDetName().
|
staticprivate |
Definition at line 908 of file isiscrpt.cpp.
References SplitItem::item, and SplitItem::number.
Referenced by getIntArrayItem(), getIntArrayItemSize(), and getRealArrayItemSize().
|
inline |
Definition at line 651 of file isiscrpt.h.
References crptTR(), spec_min, and spectrumCRPTOffsetImpl().
Referenced by getIntArrayItem().
|
inline |
Definition at line 601 of file isiscrpt.h.
References spec, spec_to_index, and udet.
|
inline |
Definition at line 858 of file isiscrpt.h.
References eventModeCardFraction().
Referenced by ISISinstrumentControl::updateFunc().
char ISISCRPT_STRUCT::alert_email[1024] |
Definition at line 478 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::ISISinstrumentControl(), and ISISinstrumentControl::updateFunc().
float ISISCRPT_STRUCT::angle_of_incidence |
Definition at line 421 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and ISISinstrumentControl::updateSampleParameters().
float ISISCRPT_STRUCT::aperture1 |
Definition at line 408 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
float ISISCRPT_STRUCT::aperture2 |
Definition at line 409 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
int ISISCRPT_STRUCT::auto_save_count |
Definition at line 289 of file isiscrpt.h.
Referenced by ISISinstrumentControl::writeAutosaveFile().
int ISISCRPT_STRUCT::auto_save_last |
Definition at line 288 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::updateFunc().
int ISISCRPT_STRUCT::auto_save_type |
Definition at line 286 of file isiscrpt.h.
Referenced by ISISinstrumentControl::changeUpdateSettingsXML(), ISISinstrumentControl::getUpdateSettingsXML(), and ISISinstrumentControl::updateFunc().
int ISISCRPT_STRUCT::auto_save_value |
Definition at line 287 of file isiscrpt.h.
Referenced by ISISinstrumentControl::changeUpdateSettingsXML(), ISISinstrumentControl::getUpdateSettingsXML(), ISISCRPT_STRUCT(), and ISISinstrumentControl::updateFunc().
float ISISCRPT_STRUCT::beam_centre_x |
Definition at line 406 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
float ISISCRPT_STRUCT::beam_centre_y |
Definition at line 407 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
float ISISCRPT_STRUCT::beam_current |
Definition at line 374 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getBeamCurrent(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
beamlogger_t ISISCRPT_STRUCT::beamlogger |
Definition at line 490 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beamOn(), ISISinstrumentControl::muonKickerOK(), ISISinstrumentControl::readBeamloggerBroadcast(), and ISISinstrumentControl::updateFunc().
char ISISCRPT_STRUCT::beamstop_position[16] |
Definition at line 414 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
boost::array<int,ISISCRPT_MAX_NUM_DAE*100> ISISCRPT_STRUCT::cardpos2index |
reverse of dae2cardpos above - turns position into array index. 100 here is DAE2CardPolicy::CRATE_MOD sparse as positions not contiguous. contains -1 on invalid positions
Definition at line 325 of file isiscrpt.h.
Referenced by cardIndexFromPos(), dae1SpecForCard(), daeTRForCard(), and ISISinstrumentControl::updateSpecmapsFromDAE().
float ISISCRPT_STRUCT::chopper_opening_angle |
Definition at line 415 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
int ISISCRPT_STRUCT::clock_frequency |
Definition at line 261 of file isiscrpt.h.
Referenced by setDAESpecificParameters(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::tcbcalc().
int ISISCRPT_STRUCT::code[ISISCRPT_MAX_DETECTOR] |
Definition at line 304 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
char ISISCRPT_STRUCT::comment[512] |
Definition at line 400 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::comp_name[MAX_COMPUTERNAME_LENGTH+1] |
Definition at line 477 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::ISISinstrumentControl(), and ISISinstrumentControl::updateFunc().
int ISISCRPT_STRUCT::compression_block_size |
Definition at line 481 of file isiscrpt.h.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), ICPEventWriter::start(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::compression_level |
Definition at line 480 of file isiscrpt.h.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), ICPEventWriter::start(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::count_rate |
Definition at line 385 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getCountRate(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
int ISISCRPT_STRUCT::crat[ISISCRPT_MAX_DETECTOR] |
Definition at line 307 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), spectrumCardPos(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
time_t ISISCRPT_STRUCT::crpt_load_time |
time ICP started
Definition at line 245 of file isiscrpt.h.
Referenced by CRPTProxy::loadCRPT(), CRPTProxy::loadOrCreateCRPT(), and CRPTProxy::mapCRPT().
unsigned long ISISCRPT_STRUCT::crpt_size |
Definition at line 243 of file isiscrpt.h.
Referenced by checkCRPT(), and ISISCRPT_STRUCT().
time_t ISISCRPT_STRUCT::crpt_unload_time |
boost::array<int,ISISCRPT_MAX_DC> ISISCRPT_STRUCT::dae2cardmode |
-1 unused, 0 histogram, 1 event. length ndetcard
Definition at line 323 of file isiscrpt.h.
Referenced by eventModeCards(), and ISISinstrumentControl::updateSpecmapsFromDAE().
boost::array<int,ISISCRPT_MAX_DC> ISISCRPT_STRUCT::dae2cardpos |
detector card positions, length ndetcard
Definition at line 324 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSpecmapsFromDAE().
boost::array<int,ISISCRPT_MAX_DC> ISISCRPT_STRUCT::dae2cardtr |
detector card DAE time regime (-1 if card not used), length ndetcard - individual spectra on card may have different CRPT TR
Definition at line 322 of file isiscrpt.h.
Referenced by daeTRForCard(), and ISISinstrumentControl::updateSpecmapsFromDAE().
boost::array<int,ISISCRPT_MAX_DC> ISISCRPT_STRUCT::dae2highspec |
length ndetcard
Definition at line 327 of file isiscrpt.h.
Referenced by dae1SpecForCardIndex(), and ISISinstrumentControl::updateSpecmapsFromDAE().
int ISISCRPT_STRUCT::dae2specmap[ISISCRPT_MAX_DC][ISISCRPT_MAX_DC_DETECTOR] |
give spectrum number from dae2 card and dae2 spec number
Definition at line 328 of file isiscrpt.h.
Referenced by dae1SpecForCardIndex(), and ISISinstrumentControl::updateSpecmapsFromDAE().
int ISISCRPT_STRUCT::dae_type |
time CRPT unloaded (may not be set if program crashed)
Definition at line 247 of file isiscrpt.h.
Referenced by RootHandler::handleRequest(), ISISCRPT_STRUCT(), CRPTProxy::loadOrCreateCRPT(), ISISRAW::sendToCRPT(), setDAESpecificParameters(), ISISinstrumentControl::updateFunc(), and NeXusWriter::writeISISNeXus().
md5checksum_t ISISCRPT_STRUCT::dae_xml_checksum |
Definition at line 387 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateDAEsettingsXML().
data_dae_t ISISCRPT_STRUCT::data_dae[ISISCRPT_MAX_DATADAE] |
Definition at line 474 of file isiscrpt.h.
Referenced by NeXusEventCallback::allEventCallback(), NeXusEventCallback::finish(), NeXusEventCallback::processDataDae(), ISISinstrumentControl::readDataDaeTable(), and ISISinstrumentControl::setupDAE().
RUNTABLE ISISCRPT_STRUCT::data_dae_table |
Definition at line 276 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::readDataDaeTable().
float ISISCRPT_STRUCT::delt[ISISCRPT_MAX_DETECTOR] |
Definition at line 302 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
boost::array<int,ISISCRPT_MAX_DETECTOR> ISISCRPT_STRUCT::det_group |
0 = monitor, else logical det number
Definition at line 318 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readWiringTable(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::det_group_max |
Definition at line 319 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readWiringTable().
boost::array<int,ISISCRPT_MAX_DETECTOR> ISISCRPT_STRUCT::det_mode |
Definition at line 310 of file isiscrpt.h.
Referenced by fullTR(), isEventSpectrum(), ISISinstrumentControl::readWiringTable(), and ISISinstrumentControl::setupDAE().
RUNTABLE ISISCRPT_STRUCT::detector_table |
Definition at line 273 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readWiringTable(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
time_t ISISCRPT_STRUCT::duration |
Definition at line 257 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::electronics_delay |
Definition at line 263 of file isiscrpt.h.
Referenced by setDAESpecificParameters(), and ISISinstrumentControl::setupDAE().
char ISISCRPT_STRUCT::epics_lastread_iso[64] |
Definition at line 492 of file isiscrpt.h.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
unsigned ISISCRPT_STRUCT::epics_lastread_nano |
Definition at line 493 of file isiscrpt.h.
Referenced by ISISinstrumentControl::ISISinstrumentControl().
boost::array<int,ISISCRPT_NUM_FC_VETO> ISISCRPT_STRUCT::fermi_chopper_delay |
in 20ns
Definition at line 390 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateDAEsettingsXML().
boost::array<int,ISISCRPT_NUM_FC_VETO> ISISCRPT_STRUCT::fermi_chopper_width |
in 20ns
Definition at line 391 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateDAEsettingsXML().
char ISISCRPT_STRUCT::field_label[256] |
Definition at line 398 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
FILETIME ISISCRPT_STRUCT::filetime |
Definition at line 487 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::ISISinstrumentControl().
float ISISCRPT_STRUCT::foe_mirror_angle |
Definition at line 413 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), and ISISRAW::updateFromCRPT().
unsigned ISISCRPT_STRUCT::good_frames |
Definition at line 278 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
isisU32_t ISISCRPT_STRUCT::good_ppp_high |
Definition at line 283 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), and ISISRAW::updateFromCRPT().
isisU32_t ISISCRPT_STRUCT::good_ppp_low |
Definition at line 282 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), and ISISRAW::updateFromCRPT().
float ISISCRPT_STRUCT::good_uamph |
Definition at line 280 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::getUAmpHAllPeriods(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
float ISISCRPT_STRUCT::i_l1 |
Definition at line 359 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
struct { ... } ISISCRPT_STRUCT::icp_clock |
time_t ISISCRPT_STRUCT::icp_start_time |
Definition at line 244 of file isiscrpt.h.
Referenced by ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), RootHandler::handleRequest(), and CRPTProxy::setICPStartTime().
char ISISCRPT_STRUCT::icp_version[ICP_NAME_LEN] |
Definition at line 241 of file isiscrpt.h.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
int ISISCRPT_STRUCT::initialised |
Definition at line 242 of file isiscrpt.h.
Referenced by isInitialised(), markInitialised(), and markUninitialised().
char ISISCRPT_STRUCT::inst_abrv[ISISCRPT_INST_ABRV_LEN+1] |
Definition at line 352 of file isiscrpt.h.
Referenced by CRPTProxy::assignLogFiles(), ISISinstrumentControl::createLastrunFile(), ISISinstrumentControl::endRunTask(), getCharItem(), ISISRAW::sendToCRPT(), setInstName(), ISISinstrumentControl::storeCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::writeAutosaveFile(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
char ISISCRPT_STRUCT::inst_name[ISISCRPT_INST_LEN+1] |
Definition at line 351 of file isiscrpt.h.
Referenced by CRPTProxy::assignLogFiles(), ISISinstrumentControl::createLastrunFile(), ISISinstrumentControl::endRunTask(), RootHandler::handleRequest(), ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::readBeamloggerBroadcast(), ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), setInstName(), ISISinstrumentControl::storeCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateStatusXML(), ISISinstrumentControl::writeAutosaveFile(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::institute[ISISCRPT_INSTITUTE_NAME_LEN+1] |
Definition at line 354 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::setUserParameters(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateUserDetailsFromFile(), ISISinstrumentControl::updateUserXML(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
char ISISCRPT_STRUCT::instrument_geometry[5] |
Definition at line 401 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateBeamlineParameters(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::instrument_parameter_map_file[ISISCRPT_MAX_FNAMELEN] |
Definition at line 446 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable().
char ISISCRPT_STRUCT::instrument_xml_file[ISISCRPT_MAX_FNAMELEN] |
Definition at line 445 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), and NeXusWriter::writeISISNeXus().
char ISISCRPT_STRUCT::isis_cycle[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 444 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateCycle(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
char ISISCRPT_STRUCT::journal_blocks[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 443 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateBeamlineParameters(), and ISISinstrumentControl::writeJournal().
float ISISCRPT_STRUCT::len2[ISISCRPT_MAX_DETECTOR] |
Definition at line 303 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
char ISISCRPT_STRUCT::local_contact[ISISCRPT_USER_NAME_LEN+1] |
Definition at line 358 of file isiscrpt.h.
Referenced by ISISinstrumentControl::setUserParameters(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::writeJournal().
char ISISCRPT_STRUCT::log_data[ISISCRPT_LOG_MAXLINES][ISISCRPT_LOG_LINELEN] |
Definition at line 429 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), and ISISRAW::updateFromCRPT().
long ISISCRPT_STRUCT::log_nlines |
Definition at line 428 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), ISISRAW::sendToCRPT(), and ISISRAW::updateFromCRPT().
char ISISCRPT_STRUCT::long_title[ISISCRPT_TITLE_LEN+1] |
Definition at line 350 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), getCharItem(), RootHandler::handleRequest(), ISISCRPT_STRUCT(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::lvxml_dae[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 431 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::updateDAEsettingsXML(), and ISISinstrumentControl::writeRecoveryFile().
char ISISCRPT_STRUCT::lvxml_monitoring[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 435 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getMonitoringXML(), ISISinstrumentControl::updateMonitoringXML(), and ISISinstrumentControl::writeRecoveryFile().
char ISISCRPT_STRUCT::lvxml_periods[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 434 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getHardwarePeriodsXML(), ISISinstrumentControl::updateHardwarePeriodsXML(), and ISISinstrumentControl::writeRecoveryFile().
char ISISCRPT_STRUCT::lvxml_tcb[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 432 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getTCBXML(), ISISinstrumentControl::updateTCBXML(), and ISISinstrumentControl::writeRecoveryFile().
char ISISCRPT_STRUCT::lvxml_update[ISISCRPT_MAX_LVXML_SIZE] |
Definition at line 433 of file isiscrpt.h.
Referenced by ISISinstrumentControl::changeUpdateSettingsXML(), ISISinstrumentControl::getUpdateSettingsXML(), and ISISinstrumentControl::writeRecoveryFile().
unsigned ISISCRPT_STRUCT::magic |
Definition at line 495 of file isiscrpt.h.
Referenced by checkCRPT(), and ISISCRPT_STRUCT().
boost::array<int,ISISCRPT_MAX_MONITOR> ISISCRPT_STRUCT::mdet |
Definition at line 295 of file isiscrpt.h.
Referenced by addMonitors(), ISISinstrumentControl::getMonitorIntegral(), monitorNumberToSpectrum(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), and ISISRAW::updateFromCRPT().
char ISISCRPT_STRUCT::measurement_id[ICP_NAME_LEN] |
Definition at line 437 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and writeSummaryNeXus().
char ISISCRPT_STRUCT::measurement_subid[ICP_NAME_LEN] |
Definition at line 438 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and writeSummaryNeXus().
char ISISCRPT_STRUCT::measurement_type[ICP_NAME_LEN] |
Definition at line 439 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and writeSummaryNeXus().
int ISISCRPT_STRUCT::modn[ISISCRPT_MAX_DETECTOR] |
Definition at line 308 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::monitor_range[ISISCRPT_MAX_MONITOR][2] |
Definition at line 299 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
int ISISCRPT_STRUCT::monitor_spectrum |
Definition at line 298 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::writeJournal().
boost::array<unsigned,ISISCRPT_MAX_MONITOR> ISISCRPT_STRUCT::monitor_sum |
Definition at line 300 of file isiscrpt.h.
Referenced by RootHandler::handleRequest(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::writeJournal().
Monitoring ISISCRPT_STRUCT::monitoring |
Definition at line 472 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::getMonitoringXML(), ISISCRPT_STRUCT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateMonitoringLog(), and ISISinstrumentControl::updateMonitoringXML().
boost::array<int,ISISCRPT_MAX_MONITOR> ISISCRPT_STRUCT::monp |
Definition at line 296 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), and ISISRAW::updateFromCRPT().
int ISISCRPT_STRUCT::mpos[ISISCRPT_MAX_DETECTOR] |
Definition at line 309 of file isiscrpt.h.
Referenced by ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::muon_cerenkov_pulse |
Definition at line 402 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::updateDAEsettingsXML(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::n_data_dae |
Definition at line 475 of file isiscrpt.h.
Referenced by NeXusEventCallback::allEventCallback(), NeXusEventCallback::finish(), RootHandler::handleRequest(), NeXusEventCallback::processDataDae(), ISISinstrumentControl::readDataDaeTable(), ISISinstrumentControl::readTables(), and ISISinstrumentControl::setupDAE().
nagios_t ISISCRPT_STRUCT::nagios |
Definition at line 491 of file isiscrpt.h.
Referenced by RootHandler::handleRequest(), DataHandler::handleRequest(), and ISISinstrumentControl::updateFunc().
int ISISCRPT_STRUCT::ndet |
Definition at line 292 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), getIntItem(), getRealItem(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISRAW::updateFromCRPT(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::ndetcard |
Definition at line 321 of file isiscrpt.h.
Referenced by eventModeCards(), and ISISinstrumentControl::updateSpecmapsFromDAE().
int ISISCRPT_STRUCT::nmon |
Definition at line 293 of file isiscrpt.h.
Referenced by addMonitors(), monitorNumberToSpectrum(), ISISinstrumentControl::readWiringTable(), saveMonitorEvents(), ISISRAW::sendToCRPT(), spectrumToMonitorNumber(), and ISISRAW::updateFromCRPT().
int ISISCRPT_STRUCT::nper |
Definition at line 331 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISinstrumentControl::getDAQPeriod(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::getHardwarePeriodsXML(), getIntArrayItem(), getIntArrayItemSize(), ISISinstrumentControl::getNumberOfPeriods(), ISISinstrumentControl::getUAmpHAllPeriods(), RootHandler::handleRequest(), ISISCRPT_STRUCT(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::nper_daq |
Definition at line 332 of file isiscrpt.h.
Referenced by addMonitors(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::getCurrentPeriodNumber(), getIntArrayItem(), CRPTProxy::histogramEventsToCRPT(), ISISCRPT_STRUCT(), CRPTProxy::rawDataSizeUsed(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), spectrumCRPTOffsetImpl(), ISISinstrumentControl::sumAllSpectra(), ISISinstrumentControl::updateCRPTSpectraAllPeriods(), ISISinstrumentControl::updateCRPTWithDAE(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and CRPTProxy::zeroEventRawData().
int ISISCRPT_STRUCT::nperseq |
Definition at line 259 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISCRPT_STRUCT(), ISISinstrumentControl::stopDataCollection(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::nperseq_request |
Definition at line 260 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getHardwarePeriodsXML(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateHardwarePeriodsXML().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::nsp |
number of spectra per CRPT time regime
Definition at line 334 of file isiscrpt.h.
Referenced by calculateCRPTOffsets(), getHighestSpectrumNumber(), getIntArrayItem(), getNumSpectra(), ISISCRPT_STRUCT(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::readSpectraTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeMuonFile().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::ntc |
number of time channels per CRPT time regime
Definition at line 346 of file isiscrpt.h.
Referenced by buildTimeRegimeMap(), calculateCRPTOffsets(), channelLookup(), NeXusEventCallback::createEmptyFileStructure(), ISISinstrumentControl::getCRPTSpectrumIntegral(), getIntArrayItem(), getIntArrayItemSize(), getRealArrayItemHelper(), getRealArrayItemSize(), ISISinstrumentControl::getSpectrumIntegral(), ISISCRPT_STRUCT(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), randomisedChannelRebin(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), simpleChannelRebin(), spectrumNTC(), ISISinstrumentControl::tcbcalc(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::ntcr |
Definition at line 339 of file isiscrpt.h.
Referenced by ISISinstrumentControl::setTimeChannelRange(), ISISinstrumentControl::tcbcalc(), ISISinstrumentControl::updateTCBXML(), and ISISinstrumentControl::writeJournal().
int ISISCRPT_STRUCT::ntrg |
Definition at line 330 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), buildTimeRegimeMap(), calculateCRPTOffsets(), NeXusEventCallback::createEmptyFileStructure(), getHighestSpectrumNumber(), getIntArrayItem(), getIntArrayItemSize(), getNumSpectra(), ISISCRPT_STRUCT(), ISISinstrumentControl::readSpectraTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setTimeChannelRange(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::tcbcalc(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateTCBXML(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
int ISISCRPT_STRUCT::nuse |
Definition at line 294 of file isiscrpt.h.
Referenced by ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
LONGLONG ISISCRPT_STRUCT::perf_counter |
Definition at line 485 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::ISISinstrumentControl().
boost::array<PERIOD,ISISCRPT_MAX_PERIOD> ISISCRPT_STRUCT::period |
Definition at line 258 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISinstrumentControl::getDAQPeriod(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::getHardwarePeriodsXML(), ISISinstrumentControl::getUAmpHAllPeriods(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::startDataCollection(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::period_file[ICP_NAME_LEN] |
Definition at line 253 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getHardwarePeriodsXML(), and ISISinstrumentControl::updateHardwarePeriodsXML().
int ISISCRPT_STRUCT::period_output_delay |
Definition at line 403 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getHardwarePeriodsXML(), ISISCRPT_STRUCT(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateHardwarePeriodsXML().
int ISISCRPT_STRUCT::period_source |
Definition at line 252 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getHardwarePeriodsXML(), and ISISinstrumentControl::updateHardwarePeriodsXML().
int ISISCRPT_STRUCT::period_type |
Definition at line 251 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::getHardwarePeriodsXML(), ISISinstrumentControl::getUAmpHAllPeriods(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), and ISISinstrumentControl::updateStatusXML().
int ISISCRPT_STRUCT::persize |
size of a period in 32bit words
Definition at line 348 of file isiscrpt.h.
Referenced by calculateCRPTOffsets(), getPeriodSize(), ISISCRPT_STRUCT(), and spectrumCRPTOffsetImpl().
LONGLONG ISISCRPT_STRUCT::proc_freq |
Definition at line 486 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::ISISinstrumentControl().
int ISISCRPT_STRUCT::rb_number |
Definition at line 291 of file isiscrpt.h.
Referenced by RootHandler::handleRequest(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setUserParameters(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateStatusXML(), ISISinstrumentControl::updateUserDetailsFromFile(), ISISinstrumentControl::updateUserXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::rcsid[ISISCRPT_MAX_RCSID+1] |
Definition at line 239 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and CRPTProxy::loadOrCreateCRPT().
time_t ISISCRPT_STRUCT::resume_time |
Definition at line 255 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), RootHandler::handleRequest(), ISISinstrumentControl::startDataCollection(), ISISinstrumentControl::stopDataCollection(), and ISISinstrumentControl::updateFunc().
float ISISCRPT_STRUCT::rtcb[ISISCRPT_MAX_NTRG][ISISCRPT_MAX_TIMECHANB] |
Definition at line 344 of file isiscrpt.h.
Referenced by channelLookup(), NeXusEventCallback::createEmptyFileStructure(), ISISinstrumentControl::getCRPTSpectrumIntegral(), getRealArrayItemHelper(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getSpectrumIntegral(), NeXusEventCallback::getTimeOffset(), randomisedChannelRebin(), ISISRAW::sendToCRPT(), simpleChannelRebin(), ISISinstrumentControl::tcbcalc(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::run_number |
Definition at line 290 of file isiscrpt.h.
Referenced by ISISinstrumentControl::abortRun(), ISISinstrumentControl::allReportFuncMain(), CRPTProxy::assignLogFiles(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::createLastrunFile(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ICPEventWriter::filename(), getCharItem(), ISISinstrumentControl::getRunNumber(), ISISinstrumentControl::getSE(), RootHandler::handleRequest(), ISISCRPT_STRUCT(), ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::loadCRPTWithHistogrammedEvents(), ISISinstrumentControl::logEvent(), ISISinstrumentControl::pauseRunMain(), ISISinstrumentControl::readRecoveryFile(), ISISinstrumentControl::rerunFailedEnds(), ISISinstrumentControl::resumeRun(), TCPEventStreamConnection::run(), ISISinstrumentControl::saveCRPTToFile(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setRunNumber(), ISISinstrumentControl::setRunStatusImp(), NeXusEventWriter::start(), ISISinstrumentControl::startDataCollection(), ISISinstrumentControl::storeCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateICPTimeDiffLog(), ISISinstrumentControl::updateMonitoringLog(), ISISinstrumentControl::updateStatusLog(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
int ISISCRPT_STRUCT::run_status |
Definition at line 248 of file isiscrpt.h.
Referenced by ISISinstrumentControl::abortRun(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::changePeriodWhileRunning(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::getRunState(), RootHandler::handleRequest(), ISISCRPT_STRUCT(), ISISinstrumentControl::ISISinstrumentControl(), isRunning(), ISISinstrumentControl::isWaiting(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISinstrumentControl::pauseRunMain(), ISISinstrumentControl::resumeRun(), runStatusName(), ISISinstrumentControl::setRunStatusImp(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateMonitoringXML(), ISISinstrumentControl::updateStatusLog(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::updateTCBXML().
char ISISCRPT_STRUCT::sample_geometry[80] |
Definition at line 416 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::sample_height |
Definition at line 411 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), and NeXusWriter::writeISISNeXus().
char ISISCRPT_STRUCT::sample_id[ICP_NAME_LEN] |
Definition at line 440 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and writeSummaryNeXus().
char ISISCRPT_STRUCT::sample_name[256] |
Definition at line 397 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::sample_orientation[256] |
Definition at line 396 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
float ISISCRPT_STRUCT::sample_phi_angle |
Definition at line 422 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and ISISinstrumentControl::updateSampleParameters().
float ISISCRPT_STRUCT::sample_thickness |
Definition at line 412 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), and NeXusWriter::writeISISNeXus().
char ISISCRPT_STRUCT::sample_type[80] |
Definition at line 417 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::sample_width |
Definition at line 410 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateSampleParameters(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::sav_file_count |
Definition at line 363 of file isiscrpt.h.
Referenced by ISISinstrumentControl::createLastrunFile(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::readRecoveryFile(), ISISinstrumentControl::storeCRPT(), and ISISinstrumentControl::writeRecoveryFile().
boost::array<int,ISISCRPT_MAX_MONITOR> ISISCRPT_STRUCT::save_monitor_events |
whether to save monitor events in event mode (size NMON)
Definition at line 297 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readWiringTable(), and saveMonitorEvents().
char ISISCRPT_STRUCT::script_name[ICP_NAME_LEN] |
Definition at line 441 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
float ISISCRPT_STRUCT::sdd |
Definition at line 418 of file isiscrpt.h.
Referenced by ISISRAW::sendToCRPT(), ISISinstrumentControl::updateBeamlineParameters(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::se_status |
Definition at line 249 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::endSEWait(), RootHandler::handleRequest(), ISISCRPT_STRUCT(), ISISinstrumentControl::resumeRun(), and ISISinstrumentControl::startSEWait().
int ISISCRPT_STRUCT::software_period |
Definition at line 250 of file isiscrpt.h.
Referenced by ISISinstrumentControl::abortRun(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISCRPT_STRUCT(), ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::setupDAE(), and ISISinstrumentControl::updateFunc().
int ISISCRPT_STRUCT::spec[ISISCRPT_MAX_DETECTOR] |
Definition at line 301 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), getIntItem(), ISISinstrumentControl::getMonitorIntegral(), getRealItem(), ISISinstrumentControl::loadDAEWithNeXusData(), monitorNumberToSpectrum(), ISISinstrumentControl::readSpectraTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), spectrumCardPos(), spectrumCRPTTR(), spectrumDAETR(), udetFromSpec(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::spec_max |
range of spectrum numbers in CRPT time regime
Definition at line 336 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getSpectrumNumbersForTimeRegime(), and ISISinstrumentControl::readSpectraTable().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::spec_min |
range of spectrum numbers in CRPT time regime
Definition at line 335 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getSpectrumNumbersForTimeRegime(), ISISinstrumentControl::readSpectraTable(), trCRPTOffset(), and NeXusWriter::writeISISNeXus().
boost::array<int,ISISCRPT_MAX_DETECTOR> ISISCRPT_STRUCT::spec_to_crpt_offset |
maps spectrum number to offset in raw data of crpt
Definition at line 317 of file isiscrpt.h.
Referenced by calculateCRPTOffsets(), spectrumCRPTOffsetImpl(), ISISinstrumentControl::updateCRPTSpectra(), ISISinstrumentControl::updateCRPTSpectraAllPeriods(), and ISISinstrumentControl::updateCRPTWithDAE().
boost::array<int,ISISCRPT_MAX_DETECTOR> ISISCRPT_STRUCT::spec_to_index |
maps spectrum number to index into spec,udet,timr etc arrays in crpt
Definition at line 316 of file isiscrpt.h.
Referenced by isEventSpectrum(), ISISinstrumentControl::readSpectraTable(), spectrumCardPos(), spectrumCRPTTR(), spectrumDAETR(), and udetFromSpec().
RUNTABLE ISISCRPT_STRUCT::spectra_table |
Definition at line 275 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().
time_t ISISCRPT_STRUCT::start_time |
Definition at line 254 of file isiscrpt.h.
Referenced by TCPEventStreamConnection::allEventCallback(), NeXusEventCallback::allFrameCallback(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), NeXusEventCallback::finish(), ISISinstrumentControl::getSE(), RootHandler::handleRequest(), CRPTProxy::isRawDataCacheValid(), NeXusEventCallback::processDataDae(), TCPEventStreamConnection::run(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
time_t ISISCRPT_STRUCT::stop_time |
Definition at line 256 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::endRunMain(), getCharItem(), RootHandler::handleRequest(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::tables_valid |
Definition at line 277 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::readTables().
int ISISCRPT_STRUCT::tcb[ISISCRPT_MAX_NTRG][ISISCRPT_MAX_TIMECHANB] |
Definition at line 343 of file isiscrpt.h.
Referenced by NeXusEventCallback::createEmptyFileStructure(), getIntArrayItem(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::tcbcalc(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::tcb_delay |
Definition at line 269 of file isiscrpt.h.
Referenced by getIntArrayItem(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::tcbcalc(), and ISISRAW::updateFromCRPT().
int ISISCRPT_STRUCT::tcb_map[ISISCRPT_MAX_NTRG][ISISCRPT_MAX_NTRG][ISISCRPT_MAX_TIMECHANB] |
Definition at line 345 of file isiscrpt.h.
Referenced by buildTimeRegimeMap(), channelLookup(), and CRPTProxy::histogramEventsToCRPT().
int ISISCRPT_STRUCT::tcb_maxdelay |
Definition at line 268 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and ISISinstrumentControl::tcbcalc().
float ISISCRPT_STRUCT::tcb_maxtime |
Definition at line 267 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and ISISinstrumentControl::tcbcalc().
float ISISCRPT_STRUCT::tcb_mintime |
Definition at line 266 of file isiscrpt.h.
Referenced by setDAESpecificParameters(), and ISISinstrumentControl::tcbcalc().
float ISISCRPT_STRUCT::tcb_minwidth |
Definition at line 265 of file isiscrpt.h.
Referenced by setDAESpecificParameters(), and ISISinstrumentControl::tcbcalc().
int ISISCRPT_STRUCT::tcb_pulse_generator |
Definition at line 272 of file isiscrpt.h.
Referenced by ISISinstrumentControl::setupDAE().
FrameSync ISISCRPT_STRUCT::tcb_sync |
Definition at line 271 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getDAEsettingsXML(), getIntArrayItem(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::updateDAEsettingsXML(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::writeJournal().
boost::array<int,ISISCRPT_MAX_NTRG> ISISCRPT_STRUCT::tcb_trdelay |
Definition at line 270 of file isiscrpt.h.
Referenced by getIntArrayItem(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::tcbcalc(), and ISISRAW::updateFromCRPT().
md5checksum_t ISISCRPT_STRUCT::tcb_xml_checksum |
Definition at line 388 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateTCBXML().
TCBRANGE ISISCRPT_STRUCT::tcr[ISISCRPT_MAX_NTRG][ISISCRPT_MAX_TCR] |
Definition at line 338 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getSpectrum(), ISISinstrumentControl::getTCBXML(), ISISinstrumentControl::setTimeChannelRange(), ISISinstrumentControl::tcbcalc(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateTCBXML(), and ISISinstrumentControl::writeJournal().
char ISISCRPT_STRUCT::temperature_label[256] |
Definition at line 399 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
int ISISCRPT_STRUCT::time_scaler |
Definition at line 264 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and ISISRAW::sendToCRPT().
int ISISCRPT_STRUCT::timr_crpt[ISISCRPT_MAX_DETECTOR] |
Definition at line 313 of file isiscrpt.h.
Referenced by fullTR(), ISISCRPT_STRUCT(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), spectrumCRPTTR(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::timr_dae[ISISCRPT_MAX_DETECTOR] |
Definition at line 312 of file isiscrpt.h.
Referenced by fullTR(), ISISCRPT_STRUCT(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), and spectrumDAETR().
int ISISCRPT_STRUCT::timr_file[ISISCRPT_MAX_DETECTOR] |
Definition at line 314 of file isiscrpt.h.
Referenced by fullTR(), ISISCRPT_STRUCT(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), and ISISinstrumentControl::setupDAE().
unsigned ISISCRPT_STRUCT::total_frames |
Definition at line 279 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getFramesAllPeriods(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
isisU32_t ISISCRPT_STRUCT::total_ppp_high |
Definition at line 285 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), and ISISRAW::updateFromCRPT().
isisU32_t ISISCRPT_STRUCT::total_ppp_low |
Definition at line 284 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), and ISISRAW::updateFromCRPT().
float ISISCRPT_STRUCT::total_uamph |
Definition at line 281 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getUAmpHAllPeriods(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISRAW::sendToCRPT(), ISISinstrumentControl::stopDataCollection(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::tthe[ISISCRPT_MAX_DETECTOR] |
Definition at line 305 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
float ISISCRPT_STRUCT::uamp_scale |
Definition at line 479 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and ISISinstrumentControl::ISISinstrumentControl().
int ISISCRPT_STRUCT::udet[ISISCRPT_MAX_DETECTOR] |
Definition at line 315 of file isiscrpt.h.
Referenced by ISISinstrumentControl::checkForNoncountingDetectors(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), udetFromSpec(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
long ISISCRPT_STRUCT::update_duration |
Definition at line 382 of file isiscrpt.h.
Referenced by getIntArrayItem(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
long ISISCRPT_STRUCT::update_duration_period |
Definition at line 383 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
long ISISCRPT_STRUCT::update_good_frames |
Definition at line 376 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), getIntArrayItem(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
isisU32_t ISISCRPT_STRUCT::update_good_frames_period |
Definition at line 380 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
isisU32_t ISISCRPT_STRUCT::update_good_ppp_high |
Definition at line 368 of file isiscrpt.h.
Referenced by getIntArrayItem(), and ISISinstrumentControl::updateFunc().
isisU32_t ISISCRPT_STRUCT::update_good_ppp_low |
Definition at line 367 of file isiscrpt.h.
Referenced by getIntArrayItem(), and ISISinstrumentControl::updateFunc().
float ISISCRPT_STRUCT::update_good_uamph |
Definition at line 372 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), getCharItem(), getRealArrayItemHelper(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
float ISISCRPT_STRUCT::update_npratio_average |
Definition at line 425 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getNPRatio(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::writeJournal().
float ISISCRPT_STRUCT::update_npratio_current |
Definition at line 424 of file isiscrpt.h.
Referenced by ISISinstrumentControl::getNPRatio(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateMonitoringLog(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
int ISISCRPT_STRUCT::update_num_polls |
Definition at line 373 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), and ISISinstrumentControl::updateFunc().
long ISISCRPT_STRUCT::update_period |
Definition at line 378 of file isiscrpt.h.
Referenced by RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
long ISISCRPT_STRUCT::update_period_sequence |
Definition at line 379 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
int ISISCRPT_STRUCT::update_poll_time |
Definition at line 366 of file isiscrpt.h.
Referenced by ISISinstrumentControl::changeUpdateSettingsXML(), ISISinstrumentControl::getPollTime(), ISISinstrumentControl::getUpdateSettingsXML(), ISISCRPT_STRUCT(), and ISISinstrumentControl::updateStatusXML().
long ISISCRPT_STRUCT::update_raw_frames |
Definition at line 377 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), getIntArrayItem(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), and ISISinstrumentControl::updateStatusXML().
isisU32_t ISISCRPT_STRUCT::update_raw_frames_period |
Definition at line 381 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
float ISISCRPT_STRUCT::update_raw_uamph |
Definition at line 371 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), getRealArrayItemHelper(), ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusLog().
struct timeb ISISCRPT_STRUCT::update_time |
Definition at line 365 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateFunc(), and ISISinstrumentControl::updateStatusXML().
int64_t ISISCRPT_STRUCT::update_total_counts |
Definition at line 375 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), RootHandler::handleRequest(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateStatusLog(), ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::writeJournal().
isisU32_t ISISCRPT_STRUCT::update_total_ppp_high |
Definition at line 370 of file isiscrpt.h.
Referenced by getIntArrayItem(), and ISISinstrumentControl::updateFunc().
isisU32_t ISISCRPT_STRUCT::update_total_ppp_low |
Definition at line 369 of file isiscrpt.h.
Referenced by getIntArrayItem(), and ISISinstrumentControl::updateFunc().
char ISISCRPT_STRUCT::user_email[128] |
Definition at line 355 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateUserXML().
char ISISCRPT_STRUCT::user_id[128] |
Definition at line 357 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateUserXML().
char ISISCRPT_STRUCT::user_name[ISISCRPT_USER_NAME_LEN+1] |
Definition at line 353 of file isiscrpt.h.
Referenced by getCharItem(), RootHandler::handleRequest(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setUserParameters(), ISISRAW::updateFromCRPT(), ISISinstrumentControl::updateStatusXML(), ISISinstrumentControl::updateUserDetailsFromFile(), ISISinstrumentControl::updateUserXML(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeJournal(), and NeXusWriter::writeMuonFile().
char ISISCRPT_STRUCT::user_telephone[128] |
Definition at line 356 of file isiscrpt.h.
Referenced by ISISinstrumentControl::updateStatusXML(), and ISISinstrumentControl::updateUserXML().
float ISISCRPT_STRUCT::ut[ISISCRPT_MAX_USER *ISISCRPT_MAX_DETECTOR] |
Definition at line 306 of file isiscrpt.h.
Referenced by ISISinstrumentControl::readDetectorTable(), ISISRAW::sendToCRPT(), ISISRAW::updateFromCRPT(), and NeXusWriter::writeISISNeXus().
int ISISCRPT_STRUCT::version |
Definition at line 240 of file isiscrpt.h.
Referenced by ISISCRPT_STRUCT(), and CRPTProxy::loadOrCreateCRPT().
boost::array<VETO,ISISCRPT_NUM_VETOS> ISISCRPT_STRUCT::vetos |
Definition at line 360 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getDAEsettingsXML(), ISISRAW::sendToCRPT(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::updateDAEsettingsXML(), ISISRAW::updateFromCRPT(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
RUNTABLE ISISCRPT_STRUCT::wiring_table |
Definition at line 274 of file isiscrpt.h.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::getDAEsettingsXML(), ISISinstrumentControl::readWiringTable(), NeXusWriter::writeISISNeXus(), and ISISinstrumentControl::writeJournal().