ATLAS Offline Software
Functions
TriggerRPC Namespace Reference

Functions

unsigned short int moreThan2 (unsigned long int slword)
 
unsigned short int ROI1 (unsigned long int slword)
 
unsigned short int OVL1 (unsigned long int slword)
 
unsigned short int ROI2 (unsigned long int slword)
 
unsigned short int OVL2 (unsigned long int slword)
 
unsigned short int PT1 (unsigned long int slword)
 
unsigned short int PT2 (unsigned long int slword)
 
unsigned short moreThan1_1 (unsigned long int slword)
 
unsigned short moreThan1_2 (unsigned long int slword)
 
unsigned short BunchXID (unsigned long int slword)
 

Function Documentation

◆ BunchXID()

unsigned short int TriggerRPC::BunchXID ( unsigned long int  slword)

Definition at line 120 of file decodeSL.cxx.

120  {
121 //
122 // returns the Bunch Crossing identifier of this trigger
123 //
124  unsigned short int field=0x7;
125  unsigned short int posit=27;
126  return code(slword, field, posit);
127 }

◆ moreThan1_1()

unsigned short int TriggerRPC::moreThan1_1 ( unsigned long int  slword)

Definition at line 100 of file decodeSL.cxx.

100  {
101 //
102 // returns 1 if there is more than 1 candidate in ROI1
103 // returns 0 otherwise
104 //
105  unsigned short int field=0x1;
106  unsigned short int posit=25;
107  return code(slword, field, posit);
108 }

◆ moreThan1_2()

unsigned short int TriggerRPC::moreThan1_2 ( unsigned long int  slword)

Definition at line 110 of file decodeSL.cxx.

110  {
111 //
112 // returns 1 if there is more than 1 candidate in ROI2
113 // returns 0 otherwise
114 //
115  unsigned short int field=0x1;
116  unsigned short int posit=26;
117  return code(slword, field, posit);
118 }

◆ moreThan2()

unsigned short int TriggerRPC::moreThan2 ( unsigned long int  slword)

Definition at line 24 of file decodeSL.cxx.

24  {
25 //
26 // returns 1 if there are more than 2 candidates in a sector
27 // returns 0 otherwise
28 //
29  unsigned short int field=0x1;
30  unsigned short int posit=0;
31  return code(slword, field, posit);
32 }

◆ OVL1()

unsigned short int TriggerRPC::OVL1 ( unsigned long int  slword)

Definition at line 43 of file decodeSL.cxx.

43  {
44 //
45 // returns the Overlap Flag of the highest pT ROI
46 //
47  unsigned short int field=0x3;
48  unsigned short int posit=8;
49  return code(slword, field, posit);
50 }

◆ OVL2()

unsigned short int TriggerRPC::OVL2 ( unsigned long int  slword)

Definition at line 61 of file decodeSL.cxx.

61  {
62 //
63 // returns the Overlap Flag of the second highest pT ROI
64 //
65  unsigned short int field=0x3;
66  unsigned short int posit=17;
67  return code(slword, field, posit);
68 }

◆ PT1()

unsigned short int TriggerRPC::PT1 ( unsigned long int  slword)

Definition at line 70 of file decodeSL.cxx.

70  {
71 //
72 // returns the highest pt code
73 //
74  unsigned short int field=0x7;
75  unsigned short int posit=19;
76  unsigned short int ptcode = code(slword, field, posit);
77  if(!ptcode) {
78  return 0;
79  } else {
80  if(ptcode==7) ptcode=0;
81  }
82  return ptcode;
83 }

◆ PT2()

unsigned short int TriggerRPC::PT2 ( unsigned long int  slword)

Definition at line 85 of file decodeSL.cxx.

85  {
86 //
87 // returns the second highest pt code
88 //
89  unsigned short int field=0x7;
90  unsigned short int posit=22;
91  unsigned short int ptcode = code(slword, field, posit);
92  if(!ptcode) {
93  return 0;
94  } else {
95  if(ptcode==7) ptcode=0;
96  }
97  return ptcode;
98 }

◆ ROI1()

unsigned short int TriggerRPC::ROI1 ( unsigned long int  slword)

Definition at line 34 of file decodeSL.cxx.

34  {
35 //
36 // returns the ROI identifier of the highest pT ROI
37 //
38  unsigned short int field=0x1f;
39  unsigned short int posit=1;
40  return code(slword, field, posit);
41 }

◆ ROI2()

unsigned short int TriggerRPC::ROI2 ( unsigned long int  slword)

Definition at line 52 of file decodeSL.cxx.

52  {
53 //
54 // returns the ROI identifier of the second highest pT ROI
55 //
56  unsigned short int field=0x1f;
57  unsigned short int posit=10;
58  return code(slword, field, posit);
59 }
ReadOfcFromCool.field
field
Definition: ReadOfcFromCool.py:48
histSizes.code
code
Definition: histSizes.py:129