|
ATLAS Offline Software
|
Go to the documentation of this file.
10 unsigned short int moreThan2(
unsigned long int slword) {
15 unsigned short int field=0x1;
16 unsigned short int posit=0;
17 return ((slword&((
unsigned short int)
field<<posit))>>posit);
20 unsigned short int ROI1(
unsigned long int slword) {
24 unsigned short int field=0x1f;
25 unsigned short int posit=1;
26 return ((slword&((
unsigned short int)
field<<posit))>>posit);
29 unsigned short int OVL1(
unsigned long int slword) {
33 unsigned short int field=0x3;
34 unsigned short int posit=8;
35 return ((slword&((
unsigned short int)
field<<posit))>>posit);
38 unsigned short int ROI2(
unsigned long int slword) {
42 unsigned short int field=0x1f;
43 unsigned short int posit=10;
44 return ((slword&((
unsigned short int)
field<<posit))>>posit);
47 unsigned short int OVL2(
unsigned long int slword) {
51 unsigned short int field=0x3;
52 unsigned short int posit=17;
53 return ((slword&((
unsigned short int)
field<<posit))>>posit);
56 unsigned short int PT1(
unsigned long int slword) {
60 unsigned short int field=0x7;
61 unsigned short int posit=19;
62 unsigned short int ptcode=((slword&((
unsigned short int)
field<<posit))>>posit);
66 if(ptcode==7) ptcode=0;
71 unsigned short int PT2(
unsigned long int slword) {
75 unsigned short int field=0x7;
76 unsigned short int posit=22;
77 unsigned short int ptcode=((slword&((
unsigned short int)
field<<posit))>>posit);
81 if(ptcode==7) ptcode=0;
91 unsigned short int field=0x1;
92 unsigned short int posit=25;
93 return ((slword&((
unsigned short int)
field<<posit))>>posit);
101 unsigned short int field=0x1;
102 unsigned short int posit=26;
103 return ((slword&((
unsigned short int)
field<<posit))>>posit);
106 unsigned short BunchXID(
unsigned long int slword) {
110 unsigned short int field=0x7;
111 unsigned short int posit=27;
112 return ((slword&((
unsigned short int)
field<<posit))>>posit);
unsigned short BunchXID(unsigned long int slword)
unsigned short int ROI1(unsigned long int slword)
unsigned short moreThan1_2(unsigned long int slword)
unsigned short int OVL2(unsigned long int slword)
unsigned short int ROI2(unsigned long int slword)
unsigned short int PT2(unsigned long int slword)
unsigned short int PT1(unsigned long int slword)
unsigned short int moreThan2(unsigned long int slword)
unsigned short moreThan1_1(unsigned long int slword)
unsigned short int OVL1(unsigned long int slword)