Returns a dictionary which represents a shift of a zebra connector
    Parameters:
        side (string) identifies the wheel: possible values "A" and "C"
        sector (int) identifies the sector counting from 1 to 16
        layer (int) identifies the detector layer whithin a given sector. Counts from 1 to 8
        zebra (int) identifies the zebra connector number within a layer. Counting from 0 to 31
        shift (int) indicates by how much and in which direction the channels in a given connector should be moved
    
    Returns:
        dictionary with the fields that the NSW cabling alg will use to apply the shift
 
Definition at line 49 of file zebraShift.py.
   49 def addZebra(side, sector, layer, zebra, shift):
 
   51     Returns a dictionary which represents a shift of a zebra connector 
   54             side (string) identifies the wheel: possible values "A" and "C" 
   55             sector (int) identifies the sector counting from 1 to 16 
   56             layer (int) identifies the detector layer whithin a given sector. Counts from 1 to 8 
   57             zebra (int) identifies the zebra connector number within a layer. Counting from 0 to 31 
   58             shift (int) indicates by how much and in which direction the channels in a given connector should be moved 
   61             dictionary with the fields that the NSW cabling alg will use to apply the shift 
   64     ret[
"station"] = (
"MML" if sector%2==1 
else "MMS") 
 
   65     ret[
"eta"] = (-1 
if side == 
"C" else 1) * (1 
if zebra < 20  
else 2) 
 
   66     ret[
"phi"] = (sector-1)//2 + 1
 
   67     ret[
"multilayer"] = (1 
if layer <=4 
else 2) 
 
   68     ret[
"gasgap"] = ((layer-1)%4) +1 
 
   70     ret[
"ZebraShift"] = shift