You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

809 lines
34 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
10 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago
8 months ago
10 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
8 months ago
8 months ago
10 months ago
8 months ago
10 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago
  1. # flake8: noqa
  2. from collections import defaultdict
  3. def efficiencyHistoDict():
  4. basedict = {
  5. "eta": {},
  6. "p": {},
  7. "pt": {},
  8. "phi": {},
  9. "nPV": {},
  10. "docaz": {},
  11. "z": {},
  12. }
  13. basedict["eta"]["xTitle"] = "#eta"
  14. basedict["eta"]["variable"] = "Eta"
  15. basedict["eta"]["range"] = [2, 5]
  16. basedict["p"]["xTitle"] = "p [MeV]"
  17. basedict["p"]["variable"] = "P"
  18. basedict["p"]["range"] = [0, 50001]
  19. basedict["pt"]["xTitle"] = "p_{T} [MeV]"
  20. basedict["pt"]["variable"] = "Pt"
  21. basedict["pt"]["range"] = [0, 5001]
  22. basedict["phi"]["xTitle"] = "#phi [rad]"
  23. basedict["phi"]["variable"] = "Phi"
  24. basedict["phi"]["range"] = [-3.15, 3.15]
  25. basedict["nPV"]["xTitle"] = "# of PVs"
  26. basedict["nPV"]["variable"] = "nPV"
  27. basedict["nPV"]["range"] = [0, 15]
  28. basedict["docaz"]["xTitle"] = "docaz [mm]"
  29. basedict["docaz"]["variable"] = "docaz"
  30. basedict["docaz"]["range"] = [0, 10]
  31. basedict["z"]["xTitle"] = "PV z coordinate [mm]"
  32. basedict["z"]["variable"] = "z"
  33. basedict["z"]["range"] = [-200, 200]
  34. return basedict
  35. def ghostHistoDict():
  36. basedict = {
  37. "eta": {},
  38. "nPV": {},
  39. "pt": {},
  40. "p": {},
  41. }
  42. basedict["eta"]["xTitle"] = "#eta"
  43. basedict["eta"]["variable"] = "Eta"
  44. basedict["eta"]["range"] = [1.9, 5.1]
  45. basedict["nPV"]["xTitle"] = "# of PVs"
  46. basedict["nPV"]["variable"] = "nPV"
  47. basedict["nPV"]["range"] = [0, 16.5]
  48. basedict["pt"]["xTitle"] = "p_{T} [MeV]"
  49. basedict["pt"]["variable"] = "Pt"
  50. basedict["pt"]["range"] = [0, 5000]
  51. basedict["p"]["xTitle"] = "p [MeV]"
  52. basedict["p"]["variable"] = "P"
  53. basedict["p"]["range"] = [0, 50000]
  54. return basedict
  55. def getCuts():
  56. basedict = {
  57. "Velo": {},
  58. "Upstream": {},
  59. "Forward": {},
  60. "MuonMatch": {},
  61. "Match": {},
  62. "MergedMatch": {},
  63. "DefaultMatch": {},
  64. "Seed": {},
  65. "Downstream": {},
  66. "BestLong": {},
  67. "BestDownstream": {},
  68. "LongGhostFiltered": {},
  69. "DownstreamGhostFiltered": {},
  70. }
  71. basedict["Velo"] = [
  72. "01_velo",
  73. "02_long",
  74. "03_long_P>5GeV",
  75. "04_long_strange",
  76. "05_long_strange_P>5GeV",
  77. "06_long_fromB",
  78. "07_long_fromB_P>5GeV",
  79. "11_long_fromB_P>3GeV_Pt>0.5GeV",
  80. "12_UT_long_fromB_P>3GeV_Pt>0.5GeV",
  81. ]
  82. basedict["Upstream"] = [
  83. "01_velo",
  84. "02_velo+UT",
  85. "03_velo+UT_P>5GeV",
  86. "07_long",
  87. "08_long_P>5GeV",
  88. "09_long_fromB",
  89. "10_long_fromB_P>5GeV",
  90. "14_long_fromB_P>3GeV_Pt>0.5GeV",
  91. "15_UT_long_fromB_P>3GeV_Pt>0.5GeV",
  92. ]
  93. basedict["Forward"] = [
  94. "01_long",
  95. "02_long_P>5GeV",
  96. "03_long_strange",
  97. "04_long_strange_P>5GeV",
  98. "05_long_fromB",
  99. "06_long_fromB_P>5GeV",
  100. "10_long_fromB_P>3GeV_Pt>0.5GeV",
  101. "11_UT_long_fromB_P>3GeV_Pt>0.5GeV",
  102. ]
  103. basedict["MuonMatch"] = ["01_long", "02_long_muon", "04_long_pion"]
  104. basedict["Match"] = [
  105. "01_long",
  106. "02_long_P>5GeV",
  107. "03_long_strange",
  108. "04_long_strange_P>5GeV",
  109. "05_long_fromB",
  110. "06_long_fromB_P>5GeV",
  111. "10_long_fromB_P>3GeV_Pt>0.5GeV",
  112. "11_UT_long_fromB_P>3GeV_Pt>0.5GeV",
  113. ]
  114. basedict["MergedMatch"] = basedict["Match"]
  115. basedict["DefaultMatch"] = basedict["Match"]
  116. basedict["Seed"] = [
  117. "01_hasT",
  118. "02_long",
  119. "03_long_P>5GeV",
  120. "04_long_fromB",
  121. "05_long_fromB_P>5GeV",
  122. # "08_noVelo+UT+T_strange",
  123. # "09_noVelo+UT+T_strange_P>5GeV",
  124. # "12_noVelo+UT+T_SfromDB_P>5GeV",
  125. ]
  126. basedict["Downstream"] = [
  127. "01_UT+T",
  128. "05_noVelo+UT+T_strange",
  129. "06_noVelo+UT+T_strange_P>5GeV",
  130. "13_noVelo+UT+T_SfromDB",
  131. "14_noVelo+UT+T_SfromDB_P>5GeV",
  132. ]
  133. basedict["BestLong"] = [
  134. "01_long",
  135. "02_long_P>5GeV",
  136. "03_long_strange",
  137. "04_long_strange_P>5GeV",
  138. "05_long_fromB",
  139. "06_long_fromB_P>5GeV",
  140. "10_long_fromB_P>3GeV_Pt>0.5GeV",
  141. ]
  142. basedict["BestDownstream"] = [
  143. "01_UT+T",
  144. "05_noVelo+UT+T_strange",
  145. "06_noVelo+UT+T_strange_P>5GeV",
  146. "13_noVelo+UT+T_SfromDB",
  147. "14_noVelo+UT+T_SfromDB_P>5GeV",
  148. ]
  149. basedict["LongGhostFiltered"] = [
  150. "01_long",
  151. "02_long_P>5GeV",
  152. "03_long_strange",
  153. "04_long_strange_P>5GeV",
  154. "05_long_fromB",
  155. "06_long_fromB_P>5GeV",
  156. "10_long_fromB_P>3GeV_Pt>0.5GeV",
  157. ]
  158. basedict["DownstreamGhostFiltered"] = [
  159. "01_UT+T",
  160. "05_noVelo+UT+T_strange",
  161. "06_noVelo+UT+T_strange_P>5GeV",
  162. "13_noVelo+UT+T_SfromDB",
  163. "14_noVelo+UT+T_SfromDB_P>5GeV",
  164. ]
  165. return basedict
  166. def categoriesDict():
  167. basedict = defaultdict(lambda: defaultdict(dict))
  168. # VELO
  169. basedict["Velo"]["01_velo"]["title"] = "Velo, 2 <#eta< 5"
  170. basedict["Velo"]["02_long"]["title"] = "Long, 2 <#eta< 5"
  171. basedict["Velo"]["03_long_P>5GeV"]["title"] = "Long, p>5GeV, 2<#eta< 5"
  172. basedict["Velo"]["04_long_strange"]["title"] = "Long, from Strange, 2 <#eta < 5"
  173. basedict["Velo"]["05_long_strange_P>5GeV"][
  174. "title"
  175. ] = "Long, from Strange, p>5GeV, 2 <#eta < 5"
  176. basedict["Velo"]["06_long_fromB"]["title"] = "Long from B, 2<#eta<5"
  177. basedict["Velo"]["07_long_fromB_P>5GeV"]["title"] = "Long from B, p>5GeV, 2<#eta<5"
  178. basedict["Velo"]["11_long_fromB_P>3GeV_Pt>0.5GeV"][
  179. "title"
  180. ] = "Long from B, p>3GeV, pt>0.5GeV, 2<#eta<5"
  181. basedict["Velo"]["11_long_strange_P>3GeV_Pt>0.5GeV"][
  182. "title"
  183. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2<#eta<5"
  184. basedict["Velo"]["12_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  185. "title"
  186. ] = "UT Long, from B, p>3GeV, pt>0.5GeV, 2<#eta<5"
  187. basedict["Velo"]["01_velo"]["plotElectrons"] = False
  188. basedict["Velo"]["02_long"]["plotElectrons"] = True
  189. basedict["Velo"]["03_long_P>5GeV"]["plotElectrons"] = False
  190. basedict["Velo"]["04_long_strange"]["plotElectrons"] = False
  191. basedict["Velo"]["05_long_strange_P>5GeV"]["plotElectrons"] = False
  192. basedict["Velo"]["06_long_fromB"]["plotElectrons"] = True
  193. basedict["Velo"]["07_long_fromB_P>5GeV"]["plotElectrons"] = True
  194. basedict["Velo"]["11_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = True
  195. basedict["Velo"]["11_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  196. basedict["Velo"]["12_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  197. basedict["Velo"]["02_long"]["Electrons"] = "08_long_electrons"
  198. basedict["Velo"]["06_long_fromB"]["Electrons"] = "09_long_fromB_electrons"
  199. basedict["Velo"]["07_long_fromB_P>5GeV"][
  200. "Electrons"
  201. ] = "10_long_fromB_electrons_P>5GeV"
  202. basedict["Velo"]["11_long_fromB_P>3GeV_Pt>0.5GeV"][
  203. "Electrons"
  204. ] = "11_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  205. basedict["Velo"]["01_velo"]["plotEndVelo"] = False
  206. basedict["Velo"]["02_long"]["plotEndVelo"] = True
  207. basedict["Velo"]["03_long_P>5GeV"]["plotEndVelo"] = False
  208. basedict["Velo"]["06_long_fromB"]["plotEndVelo"] = True
  209. basedict["Velo"]["07_long_fromB_P>5GeV"]["plotEndVelo"] = True
  210. basedict["Velo"]["11_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = True
  211. basedict["Velo"]["02_long"]["EndVelo"] = "08_long_electrons_EndVelo"
  212. basedict["Velo"]["06_long_fromB"]["EndVelo"] = "09_long_fromB_electrons_EndVelo"
  213. basedict["Velo"]["07_long_fromB_P>5GeV"][
  214. "EndVelo"
  215. ] = "10_long_fromB_electrons_P>5GeV_EndVelo"
  216. basedict["Velo"]["11_long_fromB_P>3GeV_Pt>0.5GeV"][
  217. "EndVelo"
  218. ] = "11_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
  219. # UPSTREAM
  220. basedict["Upstream"]["01_velo"]["title"] = "Velo, 2 <#eta < 5"
  221. basedict["Upstream"]["02_velo+UT"]["title"] = "VeloUT, 2 <#eta < 5"
  222. basedict["Upstream"]["03_velo+UT_P>5GeV"]["title"] = "VeloUT, p>5GeV, 2 <#eta < 5"
  223. basedict["Upstream"]["07_long"]["title"] = "Long, 2 <#eta < 5"
  224. basedict["Upstream"]["08_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  225. basedict["Upstream"]["09_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  226. basedict["Upstream"]["10_long_fromB_P>5GeV"][
  227. "title"
  228. ] = "Long from B, p>5GeV, 2 <#eta < 5"
  229. basedict["Upstream"]["14_long_fromB_P>3GeV_Pt>0.5GeV"][
  230. "title"
  231. ] = "Long, from B, p>3GeV, pt>0.5GeV"
  232. basedict["Upstream"]["14_long_strange_P>3GeV_Pt>0.5GeV"][
  233. "title"
  234. ] = "Long, from strange, p>3GeV, pt>0.5GeV"
  235. basedict["Upstream"]["15_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  236. "title"
  237. ] = "Long, from B, p>3GeV, pt>0.5GeV"
  238. basedict["Upstream"]["01_velo"]["plotElectrons"] = False
  239. basedict["Upstream"]["02_velo+UT"]["plotElectrons"] = False
  240. basedict["Upstream"]["03_velo+UT_P>5GeV"]["plotElectrons"] = False
  241. basedict["Upstream"]["07_long"]["plotElectrons"] = True
  242. basedict["Upstream"]["08_long_P>5GeV"]["plotElectrons"] = False
  243. basedict["Upstream"]["09_long_fromB"]["plotElectrons"] = True
  244. basedict["Upstream"]["10_long_fromB_P>5GeV"]["plotElectrons"] = True
  245. basedict["Upstream"]["14_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  246. basedict["Upstream"]["14_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  247. basedict["Upstream"]["15_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  248. basedict["Upstream"]["07_long"]["Electrons"] = "11_long_electrons"
  249. basedict["Upstream"]["09_long_fromB"]["Electrons"] = "12_long_fromB_electrons"
  250. basedict["Upstream"]["10_long_fromB_P>5GeV"][
  251. "Electrons"
  252. ] = "13_long_fromB_electrons_P>5GeV"
  253. basedict["Upstream"]["14_long_fromB_P>3GeV_Pt>0.5GeV"][
  254. "Electrons"
  255. ] = "14_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  256. # FORwARD
  257. basedict["Forward"]["01_long"]["Electrons"] = "07_long_electrons"
  258. basedict["Forward"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
  259. basedict["Forward"]["06_long_fromB_P>5GeV"][
  260. "Electrons"
  261. ] = "09_long_fromB_electrons_P>5GeV"
  262. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  263. "Electrons"
  264. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  265. basedict["Forward"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  266. basedict["Forward"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  267. basedict["Forward"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
  268. basedict["Forward"]["04_long_strange_P>5GeV"][
  269. "title"
  270. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  271. basedict["Forward"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  272. basedict["Forward"]["06_long_fromB_P>5GeV"][
  273. "title"
  274. ] = "Long from B, p>5GeV 2 <#eta < 5"
  275. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  276. "title"
  277. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  278. basedict["Forward"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  279. "title"
  280. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  281. basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  282. "title"
  283. ] = "UT Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  284. basedict["Forward"]["01_long"]["plotElectrons"] = True
  285. basedict["Forward"]["02_long_P>5GeV"]["plotElectrons"] = False
  286. basedict["Forward"]["03_long_strange"]["plotElectrons"] = False
  287. basedict["Forward"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  288. basedict["Forward"]["05_long_fromB"]["plotElectrons"] = True
  289. basedict["Forward"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  290. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = True
  291. basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  292. basedict["Forward"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
  293. basedict["Forward"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
  294. basedict["Forward"]["06_long_fromB_P>5GeV"][
  295. "EndVelo"
  296. ] = "09_long_fromB_electrons_P>5GeV_EndVelo"
  297. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  298. "EndVelo"
  299. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
  300. basedict["Forward"]["01_long"]["plotEndVelo"] = True
  301. basedict["Forward"]["02_long_P>5GeV"]["plotEndVelo"] = False
  302. basedict["Forward"]["03_long_strange"]["plotEndVelo"] = False
  303. basedict["Forward"]["04_long_strange_P>5GeV"]["plotEndVelo"] = False
  304. basedict["Forward"]["05_long_fromB"]["plotEndVelo"] = True
  305. basedict["Forward"]["06_long_fromB_P>5GeV"]["plotEndVelo"] = True
  306. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = True
  307. basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
  308. basedict["Forward"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
  309. basedict["Forward"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
  310. basedict["Forward"]["06_long_fromB_P>5GeV"][
  311. "EndUT"
  312. ] = "09_long_fromB_electrons_P>5GeV_EndUT"
  313. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  314. "EndUT"
  315. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
  316. basedict["Forward"]["01_long"]["plotEndUT"] = True
  317. basedict["Forward"]["02_long_P>5GeV"]["plotEndUT"] = False
  318. basedict["Forward"]["03_long_strange"]["plotEndUT"] = False
  319. basedict["Forward"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
  320. basedict["Forward"]["05_long_fromB"]["plotEndUT"] = True
  321. basedict["Forward"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
  322. basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  323. basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  324. # MUONMATCH
  325. basedict["MuonMatch"]["01_long"]["title"] = "Long, forward track, 2 <#eta< 5"
  326. basedict["MuonMatch"]["02_long_muon"][
  327. "title"
  328. ] = "Long, #mu, forward track, 2 <#eta< 5"
  329. basedict["MuonMatch"]["04_long_pion"][
  330. "title"
  331. ] = "Long, #pi, forward track, 2 <#eta< 5"
  332. # MATCH
  333. basedict["Match"]["01_long"]["Electrons"] = "07_long_electrons"
  334. basedict["Match"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
  335. basedict["Match"]["06_long_fromB_P>5GeV"][
  336. "Electrons"
  337. ] = "09_long_fromB_electrons_P>5GeV"
  338. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  339. "Electrons"
  340. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  341. basedict["Match"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  342. basedict["Match"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  343. basedict["Match"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
  344. basedict["Match"]["04_long_strange_P>5GeV"][
  345. "title"
  346. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  347. basedict["Match"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  348. basedict["Match"]["06_long_fromB_P>5GeV"][
  349. "title"
  350. ] = "Long from B, p>5GeV 2 <#eta < 5"
  351. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  352. "title"
  353. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  354. basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  355. "title"
  356. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  357. basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  358. "title"
  359. ] = "UT Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  360. basedict["Match"]["01_long"]["plotElectrons"] = True
  361. basedict["Match"]["02_long_P>5GeV"]["plotElectrons"] = False
  362. basedict["Match"]["03_long_strange"]["plotElectrons"] = False
  363. basedict["Match"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  364. basedict["Match"]["05_long_fromB"]["plotElectrons"] = True
  365. basedict["Match"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  366. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = True
  367. basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  368. basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  369. basedict["Match"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
  370. basedict["Match"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
  371. basedict["Match"]["06_long_fromB_P>5GeV"][
  372. "EndVelo"
  373. ] = "09_long_fromB_electrons_P>5GeV_EndVelo"
  374. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  375. "EndVelo"
  376. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
  377. basedict["Match"]["01_long"]["plotEndVelo"] = True
  378. basedict["Match"]["02_long_P>5GeV"]["plotEndVelo"] = False
  379. basedict["Match"]["03_long_strange"]["plotEndVelo"] = False
  380. basedict["Match"]["04_long_strange_P>5GeV"]["plotEndVelo"] = False
  381. basedict["Match"]["05_long_fromB"]["plotEndVelo"] = True
  382. basedict["Match"]["06_long_fromB_P>5GeV"]["plotEndVelo"] = True
  383. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = True
  384. basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
  385. basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
  386. basedict["Match"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
  387. basedict["Match"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
  388. basedict["Match"]["06_long_fromB_P>5GeV"][
  389. "EndUT"
  390. ] = "09_long_fromB_electrons_P>5GeV_EndUT"
  391. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  392. "EndUT"
  393. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
  394. basedict["Match"]["01_long"]["plotEndUT"] = True
  395. basedict["Match"]["02_long_P>5GeV"]["plotEndUT"] = False
  396. basedict["Match"]["03_long_strange"]["plotEndUT"] = False
  397. basedict["Match"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
  398. basedict["Match"]["05_long_fromB"]["plotEndUT"] = True
  399. basedict["Match"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
  400. basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  401. basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  402. basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  403. # MergedMatch
  404. basedict["MergedMatch"]["01_long"]["Electrons"] = "07_long_electrons"
  405. basedict["MergedMatch"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
  406. basedict["MergedMatch"]["06_long_fromB_P>5GeV"][
  407. "Electrons"
  408. ] = "09_long_fromB_electrons_P>5GeV"
  409. basedict["MergedMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  410. "Electrons"
  411. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  412. basedict["MergedMatch"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  413. basedict["MergedMatch"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  414. basedict["MergedMatch"]["03_long_strange"][
  415. "title"
  416. ] = "Long, from strange, 2 <#eta < 5"
  417. basedict["MergedMatch"]["04_long_strange_P>5GeV"][
  418. "title"
  419. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  420. basedict["MergedMatch"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  421. basedict["MergedMatch"]["06_long_fromB_P>5GeV"][
  422. "title"
  423. ] = "Long from B, p>5GeV 2 <#eta < 5"
  424. basedict["MergedMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  425. "title"
  426. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  427. basedict["MergedMatch"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  428. "title"
  429. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  430. basedict["MergedMatch"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  431. "title"
  432. ] = "UT Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  433. basedict["MergedMatch"]["01_long"]["plotElectrons"] = True
  434. basedict["MergedMatch"]["02_long_P>5GeV"]["plotElectrons"] = False
  435. basedict["MergedMatch"]["03_long_strange"]["plotElectrons"] = False
  436. basedict["MergedMatch"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  437. basedict["MergedMatch"]["05_long_fromB"]["plotElectrons"] = True
  438. basedict["MergedMatch"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  439. basedict["MergedMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  440. basedict["MergedMatch"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  441. basedict["MergedMatch"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  442. "plotElectrons"
  443. ] = False
  444. # DefaultMatch
  445. basedict["DefaultMatch"]["01_long"]["Electrons"] = "07_long_electrons"
  446. basedict["DefaultMatch"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
  447. basedict["DefaultMatch"]["06_long_fromB_P>5GeV"][
  448. "Electrons"
  449. ] = "09_long_fromB_electrons_P>5GeV"
  450. basedict["DefaultMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  451. "Electrons"
  452. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  453. basedict["DefaultMatch"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  454. basedict["DefaultMatch"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  455. basedict["DefaultMatch"]["03_long_strange"][
  456. "title"
  457. ] = "Long, from strange, 2 <#eta < 5"
  458. basedict["DefaultMatch"]["04_long_strange_P>5GeV"][
  459. "title"
  460. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  461. basedict["DefaultMatch"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  462. basedict["DefaultMatch"]["06_long_fromB_P>5GeV"][
  463. "title"
  464. ] = "Long from B, p>5GeV 2 <#eta < 5"
  465. basedict["DefaultMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  466. "title"
  467. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  468. basedict["DefaultMatch"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  469. "title"
  470. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  471. basedict["DefaultMatch"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  472. "title"
  473. ] = "UT Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  474. basedict["DefaultMatch"]["01_long"]["plotElectrons"] = True
  475. basedict["DefaultMatch"]["02_long_P>5GeV"]["plotElectrons"] = False
  476. basedict["DefaultMatch"]["03_long_strange"]["plotElectrons"] = False
  477. basedict["DefaultMatch"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  478. basedict["DefaultMatch"]["05_long_fromB"]["plotElectrons"] = True
  479. basedict["DefaultMatch"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  480. basedict["DefaultMatch"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  481. basedict["DefaultMatch"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  482. "plotElectrons"
  483. ] = False
  484. basedict["DefaultMatch"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"][
  485. "plotElectrons"
  486. ] = False
  487. # SEED
  488. basedict["Seed"]["01_hasT"]["Electrons"] = "13_hasT_electrons"
  489. basedict["Seed"]["02_long"]["Electrons"] = "14_long_electrons"
  490. basedict["Seed"]["03_long_P>5GeV"]["Electrons"] = "16_long_electrons_P>5GeV"
  491. basedict["Seed"]["04_long_fromB"]["Electrons"] = "15_long_fromB_electrons"
  492. basedict["Seed"]["05_long_fromB_P>5GeV"][
  493. "Electrons"
  494. ] = "17_long_fromB_electrons_P>5GeV"
  495. basedict["Seed"]["01_hasT"]["title"] = "T, 2 <#eta < 5"
  496. basedict["Seed"]["02_long"]["title"] = "Long, 2 <#eta < 5"
  497. basedict["Seed"]["03_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  498. basedict["Seed"]["04_long_fromB"]["title"] = "Long, from B, 2 <#eta < 5"
  499. basedict["Seed"]["05_long_fromB_P>5GeV"][
  500. "title"
  501. ] = "Long from B, p>5GeV, 2 <#eta < 5"
  502. basedict["Seed"]["08_noVelo+UT+T_strange"][
  503. "title"
  504. ] = "Down from strange, 2 <#eta < 5"
  505. basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"][
  506. "title"
  507. ] = "Down from strange, p>5GeV, 2 <#eta < 5"
  508. basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"][
  509. "title"
  510. ] = "Down from strange from B/D, p>5GeV, 2 <#eta < 5"
  511. basedict["Seed"]["01_hasT"]["plotElectrons"] = False
  512. basedict["Seed"]["02_long"]["plotElectrons"] = True
  513. basedict["Seed"]["03_long_P>5GeV"]["plotElectrons"] = False
  514. basedict["Seed"]["04_long_fromB"]["plotElectrons"] = True
  515. basedict["Seed"]["05_long_fromB_P>5GeV"]["plotElectrons"] = True
  516. ##################################
  517. basedict["Seed"]["08_noVelo+UT+T_strange"]["plotElectrons"] = False
  518. basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotElectrons"] = False
  519. basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotElectrons"] = False
  520. basedict["Seed"]["01_hasT"]["EndVelo"] = "13_hasT_electrons_EndVelo"
  521. basedict["Seed"]["02_long"]["EndVelo"] = "14_long_electrons_EndVelo"
  522. basedict["Seed"]["03_long_P>5GeV"]["EndVelo"] = "16_long_electrons_P>5GeV_EndVelo"
  523. basedict["Seed"]["04_long_fromB"]["EndVelo"] = "15_long_fromB_electrons_EndVelo"
  524. basedict["Seed"]["05_long_fromB_P>5GeV"][
  525. "EndVelo"
  526. ] = "17_long_fromB_electrons_P>5GeV_EndVelo"
  527. basedict["Seed"]["01_hasT"]["plotEndVelo"] = False
  528. basedict["Seed"]["02_long"]["plotEndVelo"] = True
  529. basedict["Seed"]["03_long_P>5GeV"]["plotEndVelo"] = False
  530. basedict["Seed"]["04_long_fromB"]["plotEndVelo"] = True
  531. basedict["Seed"]["05_long_fromB_P>5GeV"]["plotEndVelo"] = True
  532. ###
  533. basedict["Seed"]["08_noVelo+UT+T_strange"]["plotEndVelo"] = False
  534. basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotEndVelo"] = False
  535. basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotEndVelo"] = False
  536. basedict["Seed"]["01_hasT"]["EndUT"] = "13_hasT_electrons_EndUT"
  537. basedict["Seed"]["02_long"]["EndUT"] = "14_long_electrons_EndUT"
  538. basedict["Seed"]["03_long_P>5GeV"]["EndUT"] = "16_long_electrons_P>5GeV_EndUT"
  539. basedict["Seed"]["04_long_fromB"]["EndUT"] = "15_long_fromB_electrons_EndUT"
  540. basedict["Seed"]["05_long_fromB_P>5GeV"][
  541. "EndUT"
  542. ] = "17_long_fromB_electrons_P>5GeV_EndUT"
  543. basedict["Seed"]["01_hasT"]["plotEndUT"] = False
  544. basedict["Seed"]["02_long"]["plotEndUT"] = True
  545. basedict["Seed"]["03_long_P>5GeV"]["plotEndUT"] = False
  546. basedict["Seed"]["04_long_fromB"]["plotEndUT"] = True
  547. basedict["Seed"]["05_long_fromB_P>5GeV"]["plotEndUT"] = True
  548. ###
  549. basedict["Seed"]["08_noVelo+UT+T_strange"]["plotEndUT"] = False
  550. basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotEndUT"] = False
  551. basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotEndUT"] = False
  552. # DOWNSTREAM
  553. basedict["Downstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
  554. basedict["Downstream"]["05_noVelo+UT+T_strange"][
  555. "title"
  556. ] = "Down from strange, 2 <#eta < 5"
  557. basedict["Downstream"]["06_noVelo+UT+T_strange_P>5GeV"][
  558. "title"
  559. ] = "Down from strange, p>5GeV, 2 <#eta < 5"
  560. basedict["Downstream"]["13_noVelo+UT+T_SfromDB"][
  561. "title"
  562. ] = "Down from strange from B/D, 2 <#eta < 5"
  563. basedict["Downstream"]["14_noVelo+UT+T_SfromDB_P>5GeV"][
  564. "title"
  565. ] = "Down from strange from B/D, p>5GeV, 2 <#eta < 5"
  566. basedict["Downstream"]["01_UT+T"]["plotElectrons"] = False
  567. basedict["Downstream"]["05_noVelo+UT+T_strange"]["plotElectrons"] = False
  568. basedict["Downstream"]["06_noVelo+UT+T_strange_P>5GeV"]["plotElectrons"] = False
  569. basedict["Downstream"]["13_noVelo+UT+T_SfromDB"]["plotElectrons"] = False
  570. basedict["Downstream"]["14_noVelo+UT+T_SfromDB_P>5GeV"]["plotElectrons"] = False
  571. # BESTLONG
  572. basedict["BestLong"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  573. basedict["BestLong"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
  574. basedict["BestLong"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
  575. basedict["BestLong"]["04_long_strange_P>5GeV"][
  576. "title"
  577. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  578. basedict["BestLong"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  579. basedict["BestLong"]["06_long_fromB_P>5GeV"][
  580. "title"
  581. ] = "Long from B, p>5GeV 2 <#eta < 5"
  582. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  583. "title"
  584. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  585. basedict["BestLong"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  586. "title"
  587. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  588. basedict["BestLong"]["01_long"]["plotElectrons"] = True
  589. basedict["BestLong"]["02_long_P>5GeV"]["plotElectrons"] = False
  590. basedict["BestLong"]["03_long_strange"]["plotElectrons"] = False
  591. basedict["BestLong"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  592. basedict["BestLong"]["05_long_fromB"]["plotElectrons"] = True
  593. basedict["BestLong"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  594. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = True
  595. basedict["BestLong"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
  596. basedict["BestLong"]["01_long"]["Electrons"] = "07_long_electrons"
  597. basedict["BestLong"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
  598. basedict["BestLong"]["06_long_fromB_P>5GeV"][
  599. "Electrons"
  600. ] = "09_long_fromB_electrons_P>5GeV"
  601. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  602. "Electrons"
  603. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  604. basedict["BestLong"]["01_long"]["plotEndVelo"] = True
  605. basedict["BestLong"]["02_long_P>5GeV"]["plotEndVelo"] = False
  606. basedict["BestLong"]["03_long_strange"]["plotEndVelo"] = False
  607. basedict["BestLong"]["04_long_strange_P>5GeV"]["plotEndVelo"] = False
  608. basedict["BestLong"]["05_long_fromB"]["plotEndVelo"] = True
  609. basedict["BestLong"]["06_long_fromB_P>5GeV"]["plotEndVelo"] = True
  610. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = True
  611. basedict["BestLong"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
  612. basedict["BestLong"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
  613. basedict["BestLong"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
  614. basedict["BestLong"]["06_long_fromB_P>5GeV"][
  615. "EndVelo"
  616. ] = "09_long_fromB_electrons_P>5GeV_EndVelo"
  617. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  618. "EndVelo"
  619. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
  620. basedict["BestLong"]["01_long"]["plotEndUT"] = True
  621. basedict["BestLong"]["02_long_P>5GeV"]["plotEndUT"] = False
  622. basedict["BestLong"]["03_long_strange"]["plotEndUT"] = False
  623. basedict["BestLong"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
  624. basedict["BestLong"]["05_long_fromB"]["plotEndUT"] = True
  625. basedict["BestLong"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
  626. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  627. basedict["BestLong"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
  628. basedict["BestLong"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
  629. basedict["BestLong"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
  630. basedict["BestLong"]["06_long_fromB_P>5GeV"][
  631. "EndUT"
  632. ] = "09_long_fromB_electrons_P>5GeV_EndUT"
  633. basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  634. "EndUT"
  635. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
  636. #
  637. # BESTDOWNSTREAM
  638. basedict["BestDownstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
  639. basedict["BestDownstream"]["05_noVelo+UT+T_strange"][
  640. "title"
  641. ] = "Down from strange, 2 <#eta < 5"
  642. basedict["BestDownstream"]["06_noVelo+UT+T_strange_P>5GeV"][
  643. "title"
  644. ] = "Down from strange, p>5GeV, 2 <#eta < 5"
  645. basedict["BestDownstream"]["13_noVelo+UT+T_SfromDB"][
  646. "title"
  647. ] = "Down from strange from B/D, 2 <#eta < 5"
  648. basedict["BestDownstream"]["14_noVelo+UT+T_SfromDB_P>5GeV"][
  649. "title"
  650. ] = "Down from strange from B/D, p>5GeV, 2 <#eta < 5"
  651. basedict["BestDownstream"]["01_UT+T"]["plotElectrons"] = False
  652. basedict["BestDownstream"]["05_noVelo+UT+T_strange"]["plotElectrons"] = False
  653. basedict["BestDownstream"]["06_noVelo+UT+T_strange_P>5GeV"]["plotElectrons"] = False
  654. basedict["BestDownstream"]["13_noVelo+UT+T_SfromDB"]["plotElectrons"] = False
  655. basedict["BestDownstream"]["14_noVelo+UT+T_SfromDB_P>5GeV"]["plotElectrons"] = False
  656. #
  657. # LONGGHOSTFILTERED
  658. basedict["LongGhostFiltered"]["01_long"]["title"] = "Long, 2 <#eta < 5"
  659. basedict["LongGhostFiltered"]["02_long_P>5GeV"][
  660. "title"
  661. ] = "Long, p>5GeV, 2 <#eta < 5"
  662. basedict["LongGhostFiltered"]["03_long_strange"][
  663. "title"
  664. ] = "Long, from strange, 2 <#eta < 5"
  665. basedict["LongGhostFiltered"]["04_long_strange_P>5GeV"][
  666. "title"
  667. ] = "Long, from strange, p>5GeV, 2 <#eta < 5"
  668. basedict["LongGhostFiltered"]["05_long_fromB"]["title"] = "Long from B, 2 <#eta < 5"
  669. basedict["LongGhostFiltered"]["06_long_fromB_P>5GeV"][
  670. "title"
  671. ] = "Long from B, p>5GeV 2 <#eta < 5"
  672. basedict["LongGhostFiltered"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  673. "title"
  674. ] = "Long from B, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  675. basedict["LongGhostFiltered"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  676. "title"
  677. ] = "Long from strange, p>3GeV, pt>0.5GeV, 2 <#eta < 5"
  678. basedict["LongGhostFiltered"]["01_long"]["plotElectrons"] = True
  679. basedict["LongGhostFiltered"]["02_long_P>5GeV"]["plotElectrons"] = False
  680. basedict["LongGhostFiltered"]["03_long_strange"]["plotElectrons"] = False
  681. basedict["LongGhostFiltered"]["04_long_strange_P>5GeV"]["plotElectrons"] = False
  682. basedict["LongGhostFiltered"]["05_long_fromB"]["plotElectrons"] = True
  683. basedict["LongGhostFiltered"]["06_long_fromB_P>5GeV"]["plotElectrons"] = True
  684. basedict["LongGhostFiltered"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  685. "plotElectrons"
  686. ] = False
  687. basedict["LongGhostFiltered"]["10_long_strange_P>3GeV_Pt>0.5GeV"][
  688. "plotElectrons"
  689. ] = False
  690. basedict["LongGhostFiltered"]["01_long"]["Electrons"] = "07_long_electrons"
  691. basedict["LongGhostFiltered"]["05_long_fromB"][
  692. "Electrons"
  693. ] = "08_long_fromB_electrons"
  694. basedict["LongGhostFiltered"]["06_long_fromB_P>5GeV"][
  695. "Electrons"
  696. ] = "09_long_fromB_electrons_P>5GeV"
  697. basedict["LongGhostFiltered"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
  698. "Electrons"
  699. ] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
  700. # DOWNSTREAMGHOSTFILTERED
  701. basedict["DownstreamGhostFiltered"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
  702. basedict["DownstreamGhostFiltered"]["05_noVelo+UT+T_strange"][
  703. "title"
  704. ] = "Down from strange, 2 <#eta < 5"
  705. basedict["DownstreamGhostFiltered"]["06_noVelo+UT+T_strange_P>5GeV"][
  706. "title"
  707. ] = "Down from strange, p>5GeV, 2 <#eta < 5"
  708. basedict["DownstreamGhostFiltered"]["13_noVelo+UT+T_SfromDB"][
  709. "title"
  710. ] = "Down from strange from B/D, 2 <#eta < 5"
  711. basedict["DownstreamGhostFiltered"]["14_noVelo+UT+T_SfromDB_P>5GeV"][
  712. "title"
  713. ] = "Down from strange from B/D, p>5GeV, 2 <#eta < 5"
  714. basedict["DownstreamGhostFiltered"]["01_UT+T"]["plotElectrons"] = False
  715. basedict["DownstreamGhostFiltered"]["05_noVelo+UT+T_strange"][
  716. "plotElectrons"
  717. ] = False
  718. basedict["DownstreamGhostFiltered"]["06_noVelo+UT+T_strange_P>5GeV"][
  719. "plotElectrons"
  720. ] = False
  721. basedict["DownstreamGhostFiltered"]["13_noVelo+UT+T_SfromDB"][
  722. "plotElectrons"
  723. ] = False
  724. basedict["DownstreamGhostFiltered"]["14_noVelo+UT+T_SfromDB_P>5GeV"][
  725. "plotElectrons"
  726. ] = False
  727. return basedict