37 DQMfile=TFile(inputFile)
43 RocMap=DQMfile.FindObjectAny(hname)
45 for j
in range(1,RocMap.GetNbinsY()+1):
47 lad=minlad[l-1] +
int(j-1)/2
50 for i
in range(1,RocMap.GetNbinsX()+1):
54 bin=RocMap.GetBin(i,j)
55 digi=RocMap.GetBinContent(bin)
57 if (digi!=0):
continue 61 if (lad==0
or mod==0):
continue 63 if (lad < 0
and mod < 0) :
68 if (j%2==1): roc=(i-1)%8
69 if (j%2==0): roc= 15-(i-1)%8
72 if (j%2 ==0): roc=(i-1)%8
73 if (j%2 ==1): roc= 15-(i-1)%8
75 if (lad > 0
and mod < 0):
80 if (j%2 ==0): roc=(i-1)%8
81 if (j%2 ==1): roc= 15-(i-1)%8
84 if (j%2 ==1): roc=(i-1)%8
85 if (j%2 ==0): roc= 15-(i-1)%8
87 if (lad > 0
and mod > 0):
92 if (j%2 ==1): roc=7-(i-1)%8
93 if (j%2 ==0): roc=8+(i-1)%8
96 if (j%2 ==0): roc=7-(i-1)%8
97 if (j%2 ==1): roc=8+(i-1)%8
99 if (lad < 0
and mod > 0):
103 if (j%2 ==0): roc=7-(i-1)%8
104 if (j%2 ==1): roc=8+(i-1)%8
107 if (j%2 ==1): roc=7-(i-1)%8
108 if (j%2 ==0): roc=8+(i-1)%8
110 f1=open(
getFileInPath(
'DQM/SiStripMonitorClient/data/detids.dat'))
112 Mod_check =
"LYR"+
str(l) +
"_LDR" +
str(
abs(lad)) +
"F_MOD" +
str(
abs(mod))
113 shell_check =
"BPix_" +
str(shell)
116 refName=line.split(
" ")[1]
118 shell_ref =
str(refName[:8]).
strip()
119 module_ref =
str(refName[14:]).
strip()
121 if (Mod_check == module_ref)
and (shell_check == shell_ref):
123 ModuleName_BPIX = refName.strip()+
"_ROC " 124 BmLYR1_check = ModuleName_BPIX.split(
'_')
125 if ((BmLYR1_check[1] ==
"BmI" or BmLYR1_check[1] ==
"BmO")
and (BmLYR1_check[3] ==
"LYR1")):
131 BPix_Name = ModuleName_BPIX +
str(roc)
132 BPIXCounter_v0.append(BPix_Name)
133 BPIXCounter =
list(set(BPIXCounter_v0))
141 hnameF=
"digi_occupancy_per_SignedDiskCoord_per_SignedBladePanelCoord_PXRing_"
Abs< T >::type abs(const T &t)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run