ICP
1
|
#include <detector_card.h>
Public Types | |
enum | DetectorCardMode { ModeUnknown =0x0, ModeNeutronData =0x1, ModeSEData =0x2 } |
enum | DetectorCardVeto { FrameOverflowVeto =0x1, MemoryFullVeto =0x2, FIFOLateVeto =0x4 } |
Public Types inherited from DAE2CardIntf | |
enum | CardType { EmptySlot = 0, UnknownCard = 1, EnvCard = 2, EnvPeriodCard = 3, NeutronDetectorCard = 4, MuonDetectorCard = 5, MuonPeriodCard = 6 } |
Public Member Functions | |
virtual int | readHistogramMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual bool | readHistogramMemoryWrapped (unsigned long start, isisU32_t *buffer, uint32_t len, DAEstatus &status)=0 |
virtual int | writeHistogramMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual isisU32_t | sumHistogramMemory (DAEstatus &status)=0 |
virtual int | clearHistogramMemoryStart (DAEstatus &status)=0 |
virtual bool | isClearHistogramMemoryComplete (DAEstatus &status)=0 |
virtual int | readPOSLUTMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual int | writePOSLUTMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual int | clearPOSLUTMemory (DAEstatus &status, unsigned long start=0, int len=65536)=0 |
virtual int | readTCGLUTMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual int | writeTCGLUTMemory (unsigned long start, isisU32_t *buffer, int len, DAEstatus &status)=0 |
virtual int | readDescriptorTimeBinLimitRegister (isisU32_t *value, DAEstatus &status)=0 |
virtual int | writeDescriptorTimeBinLimitRegister (isisU32_t value, DAEstatus &status)=0 |
virtual int | readTCGTimeBinLimitRegister (isisU32_t *value, DAEstatus &status)=0 |
virtual int | writeTCGTimeBinLimitRegister (isisU32_t value, DAEstatus &status)=0 |
DetectorCardIntf () | |
virtual int | getNTimeChannels (isisU32_t *ntc, DAEstatus &status)=0 |
virtual int | setNTimeChannels (isisU32_t ntc, DAEstatus &status)=0 |
virtual int | getSpectrumSize (isisU32_t *value, DAEstatus &status)=0 |
virtual int | readSpectrum (int spec, isisU32_t *buffer, int nbuffer, DAEstatus &status)=0 |
virtual int | readDAE1Spectrum (int dae1_spec, isisU32_t *buffer, int nbuffer, DAEstatus &status)=0 |
virtual int | readDAE1Spectra (isisU32_t *buffer, int nbuffer, const int spec_to_crpt_offset[], int spec_start, int nspec, int period, int persize, DAEstatus &status)=0 |
virtual int | setTimeChannels (isisU32_t *tcb, int ntc, DAEstatus &status)=0 |
virtual int | getTimeChannels (isisU32_t *tcb, int ntc, DAEstatus &status)=0 |
virtual | ~DetectorCardIntf () |
virtual int | programDAE1POSLUT (int crat[], int modn[], int mpos[], int spec[], int ndet, int nperiods, int dae1persize, DAEstatus &status)=0 |
virtual int | findDAE1Spectrum (int dae1_spectrum, DAEstatus &) const =0 |
virtual int | findDAE2Spectrum (int dae2_spectrum, DAEstatus &) const =0 |
virtual const int * | getDAE2SpecMap ()=0 |
virtual int | readAllDAE1Spectra (isisU32_t *buffer, int nbuffer, const int spec_to_crpt_offset[], int persize, DAEstatus &status)=0 |
virtual int | programPOSLUT (int cards[], int dims[], int pos_start[], int npos[], int spec[], int spec_step[], int nblocks, int nperiods, int dae1persize, DAEstatus &status)=0 |
virtual int | fillAddmap (Addmap *addmap, int len, DAEstatus &status)=0 |
virtual void | printStatus (std::ostream &os, DAEstatus &status)=0 |
virtual void | printSpecmap (std::ostream &os)=0 |
virtual void | printTimeChannels (std::ostream &os, int start=0, int end=-1)=0 |
virtual void | printPOSLUT (std::ostream &os, DAEstatus &status)=0 |
virtual int | readPOSLUT (DAEstatus &status)=0 |
virtual unsigned long | memorySize ()=0 |
virtual int | loadDAE2SpecmapFromArray (int *array, int len, DAEstatus &status)=0 |
virtual int | saveDAE2SpecmapToArray (int *array, int offset, int len, DAEstatus &status)=0 |
virtual int | changePeriod (int period, DAEstatus &status)=0 |
virtual int | changeNumberOfPeriods (int nperiod, DAEstatus &status)=0 |
virtual int | setPeriodType (bool hardware_periods, bool single_daq_period, DAEstatus &status)=0 |
virtual int | enableDIMVetos (isisU16_t dim_mask, DAEstatus &status)=0 |
virtual int | getDIMVetos (isisU16_t *dim_mask, DAEstatus &status)=0 |
virtual int | disableDIMVetos (DAEstatus &status)=0 |
virtual int | clearVetoOccurredFlag (DAEstatus &status)=0 |
virtual int | readDIMVetoOccurredFlag (isisU16_t *dim_mask, DAEstatus &status)=0 |
virtual int | getCurrentHardwarePeriod (isisU32_t *period, DAEstatus &status)=0 |
virtual int | getTotalCounts (isisU32_t *counts, DAEstatus &status)=0 |
virtual int | clearTotalCountsRegister (DAEstatus &status)=0 |
virtual int | getFrameSyncDelay (isisU32_t *value, DAEstatus &status)=0 |
virtual int | setFrameSyncDelay (isisU32_t value, DAEstatus &status)=0 |
virtual int | fillWithTestPattern (unsigned long pattern, DAEstatus &status)=0 |
virtual int | checkTestPattern (unsigned long pattern, DAEstatus &status)=0 |
virtual int | whichVeto (std::ostream &os, DAEstatus &status)=0 |
virtual int | setEventCollectionMode (bool enable, DAEstatus &status)=0 |
virtual uint32_t | getNewEvents (isisU32_t *buffer, uint32_t maxlen, uint64_t &num_unread, bool &run_ended, DAEstatus &status)=0 |
virtual uint64_t | nNewEventWords (DAEstatus &status)=0 |
virtual void | updateDAEEventLastRead (DAEstatus &status)=0 |
virtual isisU32_t | getLastAddressRead ()=0 |
virtual void | setLastAddressRead (isisU32_t addr)=0 |
virtual int | eventSourceID () const =0 |
virtual int | highspec () const =0 |
virtual int | enableVeto (DetectorCardVeto veto, DAEstatus &status)=0 |
virtual int | disableVeto (DetectorCardVeto veto, DAEstatus &status)=0 |
virtual bool | isVetoEnabled (DetectorCardVeto veto, DAEstatus &status)=0 |
virtual bool | hasVetoOccurred (DetectorCardVeto veto, DAEstatus &status)=0 |
virtual int | printVetoStatus (std::ostream &os, bool triggered_only, DAEstatus &status)=0 |
virtual int | resetCardState (DAEstatus &status)=0 |
virtual void | setCardMode (DetectorCardMode mode)=0 |
Public Member Functions inherited from DAE2CardIntf | |
DAE2CardIntf () | |
virtual | ~DAE2CardIntf () |
virtual int | position () const =0 |
virtual std::string | daeDevice () const =0 |
Static Public Attributes | |
static const int | NOSPECTRUM = -1 |
static const int | SPECTRUM_PLACEHOLDER = -2 |
Definition at line 53 of file detector_card.h.
Enumerator | |
---|---|
ModeUnknown | |
ModeNeutronData | |
ModeSEData |
Definition at line 56 of file detector_card.h.
Enumerator | |
---|---|
FrameOverflowVeto | |
MemoryFullVeto | |
FIFOLateVeto |
Definition at line 131 of file detector_card.h.
|
inline |
Definition at line 72 of file detector_card.h.
|
inlinevirtual |
Definition at line 81 of file detector_card.h.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::checkTestPatternThread().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::updateAddmap().
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::getDCFrameSyncDelay().
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
Referenced by ISISDAE::getNTimeChannels().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::getSpectrumSize().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
Referenced by ISISDAE::getTimeChannels().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::updateAddmap().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ReadAllDAE1SpectraTask::runTask().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::readDCHistogramThread(), and ISISDAE::readHistogramMemory().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Referenced by ISISDAE::setDCCardMode().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::clearDCEventMode(), and ISISDAE::setDCEventMode().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::setDCFrameSyncDelay().
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, DetectorCard< DAE2DetCardPolicy >, and MuonDetectorCard.
Referenced by ISISDAE::setTimeChannels().
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implements DAEEventSource.
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::writeHistogramMemory().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
Referenced by ISISDAE::writePOSLUTMemory().
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
pure virtual |
Implemented in DetectorCard< DetCardPolicy >, and DetectorCard< DAE2DetCardPolicy >.
|
static |
Definition at line 128 of file detector_card.h.
Referenced by DetectorCard< DetCardPolicy >::DetectorCard(), MuonDetectorCard::programDAE1POSLUT(), MuonDetectorCard::readPOSLUT(), and ISISDAE::updateAddmap().
|
static |
Definition at line 129 of file detector_card.h.
Referenced by MuonDetectorCard::programDAE1POSLUT().