gdata
gdataConventions.h
Go to the documentation of this file.
1 #pragma once
2 
21 constexpr int ERR_GSDETECTORNOTFOUND = 601;
22 constexpr int ERR_VARIABLENOTFOUND = 602;
23 constexpr int ERR_WRONGPAYLOAD = 603;
24 
25 constexpr const char* CRATESTRINGID = "crate";
26 constexpr const char* SLOTSTRINGID = "slot";
27 constexpr const char* CHANNELSTRINGID = "channel";
28 constexpr const char* CHARGEATELECTRONICS = "chargeAtElectronics";
29 constexpr const char* TIMEATELECTRONICS = "timeAtElectronics";
30 constexpr int TIMEATELECTRONICSNOTDEFINED = -123456;
31 
constexpr const char * TIMEATELECTRONICS
Identifier for time at electronics.
constexpr int ERR_WRONGPAYLOAD
Exit code when a payload is of the wrong size.
constexpr const char * CRATESTRINGID
Identifier for crate.
constexpr const char * CHANNELSTRINGID
Identifier for channel.
constexpr int ERR_GSDETECTORNOTFOUND
Exit code when a detector is not found.
constexpr int ERR_VARIABLENOTFOUND
Exit code when a variable is not found.
constexpr const char * SLOTSTRINGID
Identifier for slot.
constexpr int TIMEATELECTRONICSNOTDEFINED
Default value for undefined time at electronics.
constexpr const char * CHARGEATELECTRONICS
Identifier for charge at electronics.