Page History
...
- Constructors (ClockTime has no destructor)
Code Block ClockTime(); ClockTime(const ClockTime& t); ClockTime(unsigned sec, unsigned nsec);
- Accessors:
Code Block unsigned seconds () const {return _high;} unsigned nanoseconds() const {return _low;}
- Operators
Code Block ClockTime& operator=(const ClockTime&); bool operator> (const ClockTime&) const; bool operator==(const ClockTime&) const;
Class Damage
Defined in pdsdata/xtc/Damage.hh
, inline implementation.
Public Types:
Code Block |
---|
enum Value {
DroppedContribution = 1,
OutOfOrder = 12,
OutOfSynch = 13,
UserDefined = 14,
IncompleteContribution = 15,
ContainsIncomplete = 16
};
// reserve the top byte to augment user defined errors
enum {NotUserBitsMask=0x00FFFFFF, UserBitsShift = 24};
|
Public Member Functions:
Code Block |
---|
// Constructor
Damage(uint32_t v) : _damage(v) {}
uint32_t value() const { return _damage; }
void increase(Damage::Value v) { _damage |= ((1<<v) & NotUserBitsMask); }
void increase(uint32_t v) { _damage |= v & NotUserBitsMask; }
uint32_t bits() const { return _damage & NotUserBitsMask;}
uint32_t userBits() const { return _damage >> UserBitsShift; }
void userBits(uint32_t v) {
_damage &= NotUserBitsMask;
_damage |= (v << UserBitsShift);
}
|
Class DetInfo
Detector information. Inherits from Src. Defined in pdsdata/xtc/DetInfo.hh
and implemented in pdsdata/xtc/src/DetInfo.cc
.
Public Types:
Code Block |
---|
enum Detector {
NoDetector = 0,
AmoIms = 1, // AMO Ion Momentum Spectrometer
AmoGasdet = 2, // AMO Gas Detector (in FrontEnd Enclosure)
AmoETof = 3, // AMO Electron Time-of-flight
AmoITof = 4, // AMO Ion Time-of-flight
AmoMbes = 5, // AMO Magnetic bottle electron spectrometer
AmoVmi = 6, // AMO Velocity map imaging
AmoBps = 7, // AMO Beam position screen
Camp = 8, // CFel-ASG-Multi-Purpose EndStation
EpicsArch = 9, //
BldEb = 10,
SxrBeamline = 11,
SxrEndstation = 12,
XppSb1Ipm = 13,
XppSb1Pim = 14,
XppMonPim = 15,
XppSb2Ipm = 16,
XppSb3Ipm = 17,
XppSb3Pim = 18,
XppSb4Pim = 19,
XppGon = 20,
XppLas = 21,
XppEndstation = 22,
AmoEndstation = 23,
CxiEndstation = 24,
XcsEndstation = 25,
MecEndstation = 26,
NumDetector = 27
};
enum Device {
NoDevice = 0,
Evr = 1,
Acqiris = 2,
Opal1000 = 3,
TM6740 = 4,
pnCCD = 5,
Princeton = 6,
Fccd = 7,
Ipimb = 8,
Encoder = 9,
Cspad = 10,
NumDevice = 11
};
|
Public Member Functions
Code Block |
---|
// Constructors
DetInfo() {}
DetInfo(uint32_t processId, //
Detector det, //
uint32_t detId, //
Device dev, //
uint32_t devId); //
bool operator==(const DetInfo &) const;
uint32_t processId() const;
Detector detector() const;
Device device() const;
uint32_t detId() const;
uint32_t devId() const;
|
Static Public Member Functions
Code Block |
---|
static const char *name(Detector);
static const char *name(Device);
static const char *name(const DetInfo &);
|
Overview
Content Tools