Anchor |
---|
| _pdsdata.xtc.DetInfo |
---|
| _pdsdata.xtc.DetInfo |
---|
|
Class _pdsdata.xtc.DetInfoPython wrapper for pdsdata/xtc/DetInfo class. Unlike C++ this class does not inherit from Src class (Src class does not exist in this module) but uses dynamic Python features to implement the same interface as in Src class. In addition to methods described here the class also defines __hash__ and __cmp__ methods based on the content of the object and can be used as a key in the dictionaries. Anchor |
---|
| _pdsdata.xtc.DetInfo.Detector |
---|
| _pdsdata.xtc.DetInfo.Detector |
---|
|
Enum DetectorThis enum is an embedded type of DetInfo class. Following enum members are defined currently: DetInfo.Detector.NoDetector DetInfo.Detector.AmoIms DetInfo.Detector.AmoGasdet DetInfo.Detector.AmoETof DetInfo.Detector.AmoITof DetInfo.Detector.AmoMbes DetInfo.Detector.AmoVmi DetInfo.Detector.AmoBps DetInfo.Detector.Camp DetInfo.Detector.EpicsArch DetInfo.Detector.BldEb DetInfo.Detector.SxrBeamline DetInfo.Detector.SxrEndstation DetInfo.Detector.XppSb1Ipm DetInfo.Detector.XppSb1Pim DetInfo.Detector.XppMonPim DetInfo.Detector.XppSb2Ipm DetInfo.Detector.XppSb3Ipm DetInfo.Detector.XppSb3Pim DetInfo.Detector.XppSb4Pim DetInfo.Detector.XppGon DetInfo.Detector.XppLas DetInfo.Detector.XppEndstation DetInfo.Detector.AmoEndstation DetInfo.Detector.CxiEndstation DetInfo.Detector.XcsEndstation DetInfo.Detector.MecEndstation DetInfo.Detector.NumDetector Anchor |
---|
| _pdsdata.xtc.DetInfo.Device |
---|
| _pdsdata.xtc.DetInfo.Device |
---|
|
Enum DeviceThis enum is an embedded type of DetInfo class. Following enum members are defined currently: DetInfo.Device.NoDevice DetInfo.Device.Evr DetInfo.Device.Acqiris DetInfo.Device.Opal1000 DetInfo.Device.TM6740 DetInfo.Device.pnCCD DetInfo.Device.Princeton DetInfo.Device.Fccd DetInfo.Device.Ipimb DetInfo.Device.Encoder DetInfo.Device.Cspad DetInfo.Device.NumDevice ConstructionUsage: det = xtc.DetInfo(processId, detector, detId, device, devId) Arguments: - processId – integer number
- detector – one of the
DetInfo.Detector enum values - detId – detector ID as integer number
- device – one of the
DetInfo.Device enum values - devId – device ID as integer number
Method level()Usage: lvl = det.level() Returns enum value of type xtc.Level which defines source level. Method log()Usage: log = det.log() Returns logical address of data source as integer number. Method phy()Usage: phy = det.phy() Returns physical address of data source as integer number. Method processId()Usage: processId = det.processId() Returns process ID as integer number. Method detector()Usage: detector = det.detector() Returns detector enum which is a value of DetInfo.Detector . Method device()Usage: device = det.device() Returns device enum which is a value of DetInfo.Device . Method detId()Usage: detId = det.detId() Returns detector ID as integer number. Method devId()Usage: devId = det.devId() Returns device ID as integer number. |