Advertisement
aironman

output dataframes schema CERN

May 11th, 2019
188
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. scala> dfMuons.printSchema
  3. root
  4. |-- runNumber: integer (nullable = true)
  5. |-- eventNumber: integer (nullable = true)
  6. |-- channelNumber: integer (nullable = true)
  7. |-- mcWeight: float (nullable = true)
  8. |-- pvxp_n: integer (nullable = true)
  9. |-- vxp_z: float (nullable = true)
  10. |-- scaleFactor_PILEUP: float (nullable = true)
  11. |-- scaleFactor_ELE: float (nullable = true)
  12. |-- scaleFactor_MUON: float (nullable = true)
  13. |-- scaleFactor_BTAG: float (nullable = true)
  14. |-- scaleFactor_TRIGGER: float (nullable = true)
  15. |-- scaleFactor_JVFSF: float (nullable = true)
  16. |-- scaleFactor_ZVERTEX: float (nullable = true)
  17. |-- trigE: boolean (nullable = true)
  18. |-- trigM: boolean (nullable = true)
  19. |-- passGRL: boolean (nullable = true)
  20. |-- hasGoodVertex: boolean (nullable = true)
  21. |-- lep_n: integer (nullable = true)
  22. |-- lep_truthMatched: array (nullable = true)
  23. | |-- element: boolean (containsNull = true)
  24. |-- lep_trigMatched: array (nullable = true)
  25. | |-- element: short (containsNull = true)
  26. |-- lep_pt: array (nullable = true)
  27. | |-- element: float (containsNull = true)
  28. |-- lep_eta: array (nullable = true)
  29. | |-- element: float (containsNull = true)
  30. |-- lep_phi: array (nullable = true)
  31. | |-- element: float (containsNull = true)
  32. |-- lep_E: array (nullable = true)
  33. | |-- element: float (containsNull = true)
  34. |-- lep_z0: array (nullable = true)
  35. | |-- element: float (containsNull = true)
  36. |-- lep_charge: array (nullable = true)
  37. | |-- element: float (containsNull = true)
  38. |-- lep_type: array (nullable = true)
  39. | |-- element: integer (containsNull = true)
  40. |-- lep_flag: array (nullable = true)
  41. | |-- element: integer (containsNull = true)
  42. |-- lep_ptcone30: array (nullable = true)
  43. | |-- element: float (containsNull = true)
  44. |-- lep_etcone20: array (nullable = true)
  45. | |-- element: float (containsNull = true)
  46. |-- lep_trackd0pvunbiased: array (nullable = true)
  47. | |-- element: float (containsNull = true)
  48. |-- lep_tracksigd0pvunbiased: array (nullable = true)
  49. | |-- element: float (containsNull = true)
  50. |-- met_et: float (nullable = true)
  51. |-- met_phi: float (nullable = true)
  52. |-- jet_n: integer (nullable = true)
  53. |-- alljet_n: integer (nullable = true)
  54. |-- jet_pt: array (nullable = true)
  55. | |-- element: float (containsNull = true)
  56. |-- jet_eta: array (nullable = true)
  57. | |-- element: float (containsNull = true)
  58. |-- jet_phi: array (nullable = true)
  59. | |-- element: float (containsNull = true)
  60. |-- jet_E: array (nullable = true)
  61. | |-- element: float (containsNull = true)
  62. |-- jet_m: array (nullable = true)
  63. | |-- element: float (containsNull = true)
  64. |-- jet_jvf: array (nullable = true)
  65. | |-- element: float (containsNull = true)
  66. |-- jet_trueflav: array (nullable = true)
  67. | |-- element: integer (containsNull = true)
  68. |-- jet_truthMatched: array (nullable = true)
  69. | |-- element: integer (containsNull = true)
  70. |-- jet_SV0: array (nullable = true)
  71. | |-- element: float (containsNull = true)
  72. |-- jet_MV1: array (nullable = true)
  73. | |-- element: float (containsNull = true)
  74.  
  75.  
  76.  
  77. scala> dfGamma.printSchema
  78. root
  79. |-- runNumber: integer (nullable = true)
  80. |-- eventNumber: integer (nullable = true)
  81. |-- channelNumber: integer (nullable = true)
  82. |-- mcWeight: float (nullable = true)
  83. |-- pvxp_n: integer (nullable = true)
  84. |-- vxp_z: float (nullable = true)
  85. |-- scaleFactor_PILEUP: float (nullable = true)
  86. |-- scaleFactor_ELE: float (nullable = true)
  87. |-- scaleFactor_MUON: float (nullable = true)
  88. |-- scaleFactor_BTAG: float (nullable = true)
  89. |-- scaleFactor_TRIGGER: float (nullable = true)
  90. |-- scaleFactor_JVFSF: float (nullable = true)
  91. |-- scaleFactor_ZVERTEX: float (nullable = true)
  92. |-- trigE: boolean (nullable = true)
  93. |-- trigM: boolean (nullable = true)
  94. |-- passGRL: boolean (nullable = true)
  95. |-- hasGoodVertex: boolean (nullable = true)
  96. |-- lep_n: integer (nullable = true)
  97. |-- lep_truthMatched: array (nullable = true)
  98. | |-- element: boolean (containsNull = true)
  99. |-- lep_trigMatched: array (nullable = true)
  100. | |-- element: short (containsNull = true)
  101. |-- lep_pt: array (nullable = true)
  102. | |-- element: float (containsNull = true)
  103. |-- lep_eta: array (nullable = true)
  104. | |-- element: float (containsNull = true)
  105. |-- lep_phi: array (nullable = true)
  106. | |-- element: float (containsNull = true)
  107. |-- lep_E: array (nullable = true)
  108. | |-- element: float (containsNull = true)
  109. |-- lep_z0: array (nullable = true)
  110. | |-- element: float (containsNull = true)
  111. |-- lep_charge: array (nullable = true)
  112. | |-- element: float (containsNull = true)
  113. |-- lep_type: array (nullable = true)
  114. | |-- element: integer (containsNull = true)
  115. |-- lep_flag: array (nullable = true)
  116. | |-- element: integer (containsNull = true)
  117. |-- lep_ptcone30: array (nullable = true)
  118. | |-- element: float (containsNull = true)
  119. |-- lep_etcone20: array (nullable = true)
  120. | |-- element: float (containsNull = true)
  121. |-- lep_trackd0pvunbiased: array (nullable = true)
  122. | |-- element: float (containsNull = true)
  123. |-- lep_tracksigd0pvunbiased: array (nullable = true)
  124. | |-- element: float (containsNull = true)
  125. |-- met_et: float (nullable = true)
  126. |-- met_phi: float (nullable = true)
  127. |-- jet_n: integer (nullable = true)
  128. |-- alljet_n: integer (nullable = true)
  129. |-- jet_pt: array (nullable = true)
  130. | |-- element: float (containsNull = true)
  131. |-- jet_eta: array (nullable = true)
  132. | |-- element: float (containsNull = true)
  133. |-- jet_phi: array (nullable = true)
  134. | |-- element: float (containsNull = true)
  135. |-- jet_E: array (nullable = true)
  136. | |-- element: float (containsNull = true)
  137. |-- jet_m: array (nullable = true)
  138. | |-- element: float (containsNull = true)
  139. |-- jet_jvf: array (nullable = true)
  140. | |-- element: float (containsNull = true)
  141. |-- jet_trueflav: array (nullable = true)
  142. | |-- element: integer (containsNull = true)
  143. |-- jet_truthMatched: array (nullable = true)
  144. | |-- element: integer (containsNull = true)
  145. |-- jet_SV0: array (nullable = true)
  146. | |-- element: float (containsNull = true)
  147. |-- jet_MV1: array (nullable = true)
  148. | |-- element: float (containsNull = true)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement