2 #ifndef HcalDCCHeader_H
3 #define HcalDCCHeader_H
98 return (nspigot >= 15) ? (0) : (
spigotInfo[nspigot] & 0x3ff);
103 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x8000);
107 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x4000);
111 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x2000);
115 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x1000);
119 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x0800);
123 return (nspigot >= 15) ? (
false) : (
spigotInfo[nspigot] & 0x0400);
127 return (nspigot >= 15) ? (0) : ((
unsigned char)(
spigotInfo[nspigot] >> 24));
131 return (nspigot >= 15) ? (0) : ((
unsigned char)(
spigotInfo[nspigot] >> 16));
144 unsigned char LRB_error_word = 0);
149 void setHeader(
int sourceid,
int bcn,
int l1aN,
int orbN);