2 #ifndef CastorCTDCHeader_H
3 #define CastorCTDCHeader_H
87 return (nspigot >= 3) ? (0) : (
spigotInfo[nspigot] & 0x3ff);
92 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x8000);
96 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x4000);
100 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x2000);
104 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x1000);
108 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x0800);
112 return (nspigot >= 3) ? (
false) : (
spigotInfo[nspigot] & 0x0400);
116 return (nspigot >= 3) ? (0) : ((
unsigned char)(
spigotInfo[nspigot] >> 24));
120 return (nspigot >= 3) ? (0) : ((
unsigned char)(
spigotInfo[nspigot] >> 16));
133 unsigned char LRB_error_word = 0);
140 void setHeader(
int sourceid,
int bcn,
int l1aN,
int orbN);