TrackingNtuple928.h 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409
  1. //////////////////////////////////////////////////////////
  2. // This class has been automatically generated on
  3. // Mon Nov 6 15:59:13 2017 by ROOT version 6.10/06
  4. // from TTree tree/tree
  5. // found on file: trackingNtuple.root
  6. //////////////////////////////////////////////////////////
  7. #ifndef TrackingNtuple_h
  8. #define TrackingNtuple_h
  9. #include <TROOT.h>
  10. #include <TChain.h>
  11. #include <TFile.h>
  12. // Header file for the classes stored in the TTree if any.
  13. #include<vector>
  14. class TrackingNtuple {
  15. public :
  16. TTree *fChain; //!pointer to the analyzed TTree or TChain
  17. Int_t fCurrent; //!current Tree number in a TChain
  18. // Fixed size dimensions of array or collections stored in the TTree if any.
  19. // Declaration of leaf types
  20. ULong64_t event;
  21. UInt_t lumi;
  22. UInt_t run;
  23. vector<float> *trk_px;
  24. vector<float> *trk_py;
  25. vector<float> *trk_pz;
  26. vector<float> *trk_pt;
  27. vector<float> *trk_inner_px;
  28. vector<float> *trk_inner_py;
  29. vector<float> *trk_inner_pz;
  30. vector<float> *trk_inner_pt;
  31. vector<float> *trk_outer_px;
  32. vector<float> *trk_outer_py;
  33. vector<float> *trk_outer_pz;
  34. vector<float> *trk_outer_pt;
  35. vector<float> *trk_eta;
  36. vector<float> *trk_lambda;
  37. vector<float> *trk_cotTheta;
  38. vector<float> *trk_phi;
  39. vector<float> *trk_dxy;
  40. vector<float> *trk_dz;
  41. vector<float> *trk_ptErr;
  42. vector<float> *trk_etaErr;
  43. vector<float> *trk_lambdaErr;
  44. vector<float> *trk_phiErr;
  45. vector<float> *trk_dxyErr;
  46. vector<float> *trk_dzErr;
  47. vector<float> *trk_refpoint_x;
  48. vector<float> *trk_refpoint_y;
  49. vector<float> *trk_refpoint_z;
  50. vector<float> *trk_nChi2;
  51. vector<int> *trk_q;
  52. vector<unsigned int> *trk_nValid;
  53. vector<unsigned int> *trk_nInvalid;
  54. vector<unsigned int> *trk_nPixel;
  55. vector<unsigned int> *trk_nStrip;
  56. vector<unsigned int> *trk_nPixelLay;
  57. vector<unsigned int> *trk_nStripLay;
  58. vector<unsigned int> *trk_n3DLay;
  59. vector<unsigned int> *trk_nOuterLost;
  60. vector<unsigned int> *trk_nInnerLost;
  61. vector<unsigned int> *trk_algo;
  62. vector<unsigned int> *trk_originalAlgo;
  63. vector<ULong64_t> *trk_algoMask;
  64. vector<unsigned short> *trk_stopReason;
  65. vector<short> *trk_isHP;
  66. vector<int> *trk_seedIdx;
  67. vector<float> *trk_vtxx;
  68. vector<float> *trk_vtxy;
  69. vector<float> *trk_vtxz;
  70. vector<vector<float> > *trk_shareFrac;
  71. vector<vector<int> > *trk_simTrkIdx;
  72. vector<vector<int> > *trk_hitIdx;
  73. vector<vector<int> > *trk_hitType;
  74. vector<int> *trk_genIdx;
  75. vector<float> *trk_genDR;
  76. vector<int> *sim_event;
  77. vector<int> *sim_bunchCrossing;
  78. vector<int> *sim_pdgId;
  79. vector<vector<int> > *sim_genPdgIds;
  80. vector<int> *sim_isFromBHadron;
  81. vector<float> *sim_px;
  82. vector<float> *sim_py;
  83. vector<float> *sim_pz;
  84. vector<float> *sim_pt;
  85. vector<float> *sim_eta;
  86. vector<float> *sim_phi;
  87. vector<float> *sim_pca_pt;
  88. vector<float> *sim_pca_eta;
  89. vector<float> *sim_pca_lambda;
  90. vector<float> *sim_pca_cotTheta;
  91. vector<float> *sim_pca_phi;
  92. vector<float> *sim_pca_dxy;
  93. vector<float> *sim_pca_dz;
  94. vector<int> *sim_q;
  95. vector<unsigned int> *sim_nValid;
  96. vector<unsigned int> *sim_nPixel;
  97. vector<unsigned int> *sim_nStrip;
  98. vector<unsigned int> *sim_nLay;
  99. vector<unsigned int> *sim_nPixelLay;
  100. vector<unsigned int> *sim_n3DLay;
  101. vector<vector<int> > *sim_trkIdx;
  102. vector<vector<float> > *sim_shareFrac;
  103. vector<vector<int> > *sim_seedIdx;
  104. vector<int> *sim_parentVtxIdx;
  105. vector<vector<int> > *sim_decayVtxIdx;
  106. vector<vector<int> > *sim_simHitIdx;
  107. vector<short> *pix_isBarrel;
  108. vector<unsigned short> *pix_ladder;
  109. vector<unsigned short> *pix_blade;
  110. vector<unsigned short> *pix_panel;
  111. vector<unsigned int> *pix_detId;
  112. vector<unsigned short> *pix_subdet;
  113. vector<unsigned short> *pix_layer;
  114. vector<unsigned short> *pix_side;
  115. vector<unsigned short> *pix_module;
  116. vector<vector<int> > *pix_trkIdx;
  117. vector<vector<int> > *pix_seeIdx;
  118. vector<vector<int> > *pix_simHitIdx;
  119. vector<vector<float> > *pix_chargeFraction;
  120. vector<unsigned short> *pix_simType;
  121. vector<float> *pix_x;
  122. vector<float> *pix_y;
  123. vector<float> *pix_z;
  124. vector<float> *pix_xx;
  125. vector<float> *pix_xy;
  126. vector<float> *pix_yy;
  127. vector<float> *pix_yz;
  128. vector<float> *pix_zz;
  129. vector<float> *pix_zx;
  130. vector<float> *pix_radL;
  131. vector<float> *pix_bbxi;
  132. vector<short> *str_isBarrel;
  133. vector<unsigned short> *str_string;
  134. vector<unsigned short> *str_petalNumber;
  135. vector<unsigned short> *str_isStereo;
  136. vector<unsigned short> *str_isRPhi;
  137. vector<unsigned short> *str_isGlued;
  138. vector<unsigned short> *str_order;
  139. vector<unsigned short> *str_ring;
  140. vector<unsigned short> *str_rod;
  141. vector<unsigned int> *str_detId;
  142. vector<unsigned short> *str_subdet;
  143. vector<unsigned short> *str_layer;
  144. vector<unsigned short> *str_side;
  145. vector<unsigned short> *str_module;
  146. vector<vector<int> > *str_trkIdx;
  147. vector<vector<int> > *str_seeIdx;
  148. vector<vector<int> > *str_simHitIdx;
  149. vector<vector<float> > *str_chargeFraction;
  150. vector<unsigned short> *str_simType;
  151. vector<float> *str_x;
  152. vector<float> *str_y;
  153. vector<float> *str_z;
  154. vector<float> *str_xx;
  155. vector<float> *str_xy;
  156. vector<float> *str_yy;
  157. vector<float> *str_yz;
  158. vector<float> *str_zz;
  159. vector<float> *str_zx;
  160. vector<float> *str_radL;
  161. vector<float> *str_bbxi;
  162. vector<short> *glu_isBarrel;
  163. vector<unsigned short> *glu_string;
  164. vector<unsigned short> *glu_petalNumber;
  165. vector<unsigned short> *glu_isStereo;
  166. vector<unsigned short> *glu_isRPhi;
  167. vector<unsigned short> *glu_isGlued;
  168. vector<unsigned short> *glu_order;
  169. vector<unsigned short> *glu_ring;
  170. vector<unsigned short> *glu_rod;
  171. vector<unsigned int> *glu_detId;
  172. vector<unsigned short> *glu_subdet;
  173. vector<unsigned short> *glu_layer;
  174. vector<unsigned short> *glu_side;
  175. vector<unsigned short> *glu_module;
  176. vector<int> *glu_monoIdx;
  177. vector<int> *glu_stereoIdx;
  178. vector<vector<int> > *glu_seeIdx;
  179. vector<float> *glu_x;
  180. vector<float> *glu_y;
  181. vector<float> *glu_z;
  182. vector<float> *glu_xx;
  183. vector<float> *glu_xy;
  184. vector<float> *glu_yy;
  185. vector<float> *glu_yz;
  186. vector<float> *glu_zz;
  187. vector<float> *glu_zx;
  188. vector<float> *glu_radL;
  189. vector<float> *glu_bbxi;
  190. vector<short> *inv_isBarrel;
  191. vector<unsigned short> *inv_string;
  192. vector<unsigned short> *inv_petalNumber;
  193. vector<unsigned short> *inv_isStereo;
  194. vector<unsigned short> *inv_isRPhi;
  195. vector<unsigned short> *inv_isGlued;
  196. vector<unsigned short> *inv_order;
  197. vector<unsigned short> *inv_ring;
  198. vector<unsigned short> *inv_rod;
  199. vector<unsigned short> *inv_ladder;
  200. vector<unsigned short> *inv_blade;
  201. vector<unsigned short> *inv_panel;
  202. vector<unsigned int> *inv_detId;
  203. vector<unsigned short> *inv_subdet;
  204. vector<unsigned short> *inv_layer;
  205. vector<unsigned short> *inv_side;
  206. vector<unsigned short> *inv_module;
  207. vector<unsigned short> *inv_type;
  208. vector<unsigned short> *simhit_string;
  209. vector<unsigned short> *simhit_petalNumber;
  210. vector<unsigned short> *simhit_isStereo;
  211. vector<unsigned short> *simhit_isRPhi;
  212. vector<unsigned short> *simhit_isGlued;
  213. vector<unsigned short> *simhit_order;
  214. vector<unsigned short> *simhit_ring;
  215. vector<unsigned short> *simhit_rod;
  216. vector<unsigned short> *simhit_ladder;
  217. vector<unsigned short> *simhit_blade;
  218. vector<unsigned short> *simhit_panel;
  219. vector<unsigned int> *simhit_detId;
  220. vector<unsigned short> *simhit_subdet;
  221. vector<unsigned short> *simhit_layer;
  222. vector<unsigned short> *simhit_side;
  223. vector<unsigned short> *simhit_module;
  224. vector<float> *simhit_x;
  225. vector<float> *simhit_y;
  226. vector<float> *simhit_z;
  227. vector<int> *simhit_particle;
  228. vector<short> *simhit_process;
  229. vector<float> *simhit_eloss;
  230. vector<float> *simhit_tof;
  231. vector<int> *simhit_simTrkIdx;
  232. vector<vector<int> > *simhit_hitIdx;
  233. vector<vector<int> > *simhit_hitType;
  234. Float_t bsp_x;
  235. Float_t bsp_y;
  236. Float_t bsp_z;
  237. Float_t bsp_sigmax;
  238. Float_t bsp_sigmay;
  239. Float_t bsp_sigmaz;
  240. vector<short> *see_fitok;
  241. vector<float> *see_px;
  242. vector<float> *see_py;
  243. vector<float> *see_pz;
  244. vector<float> *see_pt;
  245. vector<float> *see_eta;
  246. vector<float> *see_phi;
  247. vector<float> *see_dxy;
  248. vector<float> *see_dz;
  249. vector<float> *see_ptErr;
  250. vector<float> *see_etaErr;
  251. vector<float> *see_phiErr;
  252. vector<float> *see_dxyErr;
  253. vector<float> *see_dzErr;
  254. vector<float> *see_chi2;
  255. vector<float> *see_statePt;
  256. vector<float> *see_stateTrajX;
  257. vector<float> *see_stateTrajY;
  258. vector<float> *see_stateTrajPx;
  259. vector<float> *see_stateTrajPy;
  260. vector<float> *see_stateTrajPz;
  261. vector<int> *see_q;
  262. vector<unsigned int> *see_nValid;
  263. vector<unsigned int> *see_nPixel;
  264. vector<unsigned int> *see_nGlued;
  265. vector<unsigned int> *see_nStrip;
  266. vector<unsigned int> *see_nPhase2OT;
  267. vector<unsigned int> *see_algo;
  268. vector<unsigned short> *see_stopReason;
  269. vector<unsigned int> *see_algoOriginal;
  270. vector<int> *see_trkIdx;
  271. vector<vector<float> > *see_shareFrac;
  272. vector<vector<int> > *see_simTrkIdx;
  273. vector<vector<int> > *see_hitIdx;
  274. vector<vector<int> > *see_hitType;
  275. vector<unsigned int> *see_offset;
  276. vector<unsigned char> *see_hitsMask;
  277. vector<int> *see_subDet2;
  278. vector<float> *see_dRz2;
  279. vector<float> *see_dPhi2;
  280. vector<float> *see_dRz2Pos;
  281. vector<float> *see_dPhi2Pos;
  282. vector<int> *see_subDet1;
  283. vector<float> *see_dRz1;
  284. vector<float> *see_dPhi1;
  285. vector<float> *see_dRz1Pos;
  286. vector<float> *see_dPhi1Pos;
  287. vector<float> *see_superClusterEnergy;
  288. vector<float> *see_superClusterEta;
  289. vector<float> *see_superClusterPhi;
  290. vector<float> *see_superClusterEt;
  291. vector<int> *see_superClusterIdx;
  292. vector<unsigned int> *see_ecalDriven;
  293. vector<unsigned int> *see_trkDriven;
  294. vector<float> *vtx_x;
  295. vector<float> *vtx_y;
  296. vector<float> *vtx_z;
  297. vector<float> *vtx_xErr;
  298. vector<float> *vtx_yErr;
  299. vector<float> *vtx_zErr;
  300. vector<float> *vtx_ndof;
  301. vector<float> *vtx_chi2;
  302. vector<short> *vtx_fake;
  303. vector<short> *vtx_valid;
  304. vector<vector<int> > *vtx_trkIdx;
  305. vector<float> *gen_px;
  306. vector<float> *gen_py;
  307. vector<float> *gen_pz;
  308. vector<float> *gen_charge;
  309. vector<int> *gen_pdgId;
  310. vector<float> *gen_vx;
  311. vector<float> *gen_vy;
  312. vector<float> *gen_vz;
  313. vector<int> *gen_status;
  314. vector<int> *gen_mother;
  315. vector<bool> *gen_isTauDecayProduct;
  316. vector<bool> *gen_isDirectHadronDecayProduct;
  317. vector<bool> *gen_isPrompt;
  318. vector<int> *simvtx_event;
  319. vector<int> *simvtx_bunchCrossing;
  320. vector<unsigned int> *simvtx_processType;
  321. vector<float> *simvtx_x;
  322. vector<float> *simvtx_y;
  323. vector<float> *simvtx_z;
  324. vector<vector<int> > *simvtx_sourceSimIdx;
  325. vector<vector<int> > *simvtx_daughterSimIdx;
  326. vector<int> *simpv_idx;
  327. vector<float> *scl_e;
  328. vector<float> *scl_px;
  329. vector<float> *scl_py;
  330. vector<float> *scl_pz;
  331. vector<float> *scl_x;
  332. vector<float> *scl_y;
  333. vector<float> *scl_z;
  334. vector<vector<int> > *scl_charge;
  335. vector<vector<int> > *scl_subDet1;
  336. vector<vector<int> > *scl_subDet2;
  337. vector<vector<float> > *scl_dRz1;
  338. vector<vector<float> > *scl_dPhi1;
  339. vector<vector<float> > *scl_dRz2;
  340. vector<vector<float> > *scl_dPhi2;
  341. vector<vector<int> > *scl_seedType;
  342. vector<vector<unsigned char> > *scl_hitsMask;
  343. // List of branches
  344. TBranch *b_event; //!
  345. TBranch *b_lumi; //!
  346. TBranch *b_run; //!
  347. TBranch *b_trk_px; //!
  348. TBranch *b_trk_py; //!
  349. TBranch *b_trk_pz; //!
  350. TBranch *b_trk_pt; //!
  351. TBranch *b_trk_inner_px; //!
  352. TBranch *b_trk_inner_py; //!
  353. TBranch *b_trk_inner_pz; //!
  354. TBranch *b_trk_inner_pt; //!
  355. TBranch *b_trk_outer_px; //!
  356. TBranch *b_trk_outer_py; //!
  357. TBranch *b_trk_outer_pz; //!
  358. TBranch *b_trk_outer_pt; //!
  359. TBranch *b_trk_eta; //!
  360. TBranch *b_trk_lambda; //!
  361. TBranch *b_trk_cotTheta; //!
  362. TBranch *b_trk_phi; //!
  363. TBranch *b_trk_dxy; //!
  364. TBranch *b_trk_dz; //!
  365. TBranch *b_trk_ptErr; //!
  366. TBranch *b_trk_etaErr; //!
  367. TBranch *b_trk_lambdaErr; //!
  368. TBranch *b_trk_phiErr; //!
  369. TBranch *b_trk_dxyErr; //!
  370. TBranch *b_trk_dzErr; //!
  371. TBranch *b_trk_refpoint_x; //!
  372. TBranch *b_trk_refpoint_y; //!
  373. TBranch *b_trk_refpoint_z; //!
  374. TBranch *b_trk_nChi2; //!
  375. TBranch *b_trk_q; //!
  376. TBranch *b_trk_nValid; //!
  377. TBranch *b_trk_nInvalid; //!
  378. TBranch *b_trk_nPixel; //!
  379. TBranch *b_trk_nStrip; //!
  380. TBranch *b_trk_nPixelLay; //!
  381. TBranch *b_trk_nStripLay; //!
  382. TBranch *b_trk_n3DLay; //!
  383. TBranch *b_trk_nOuterLost; //!
  384. TBranch *b_trk_nInnerLost; //!
  385. TBranch *b_trk_algo; //!
  386. TBranch *b_trk_originalAlgo; //!
  387. TBranch *b_trk_algoMask; //!
  388. TBranch *b_trk_stopReason; //!
  389. TBranch *b_trk_isHP; //!
  390. TBranch *b_trk_seedIdx; //!
  391. TBranch *b_trk_vtxx; //!
  392. TBranch *b_trk_vtxy; //!
  393. TBranch *b_trk_vtxz; //!
  394. TBranch *b_trk_shareFrac; //!
  395. TBranch *b_trk_simTrkIdx; //!
  396. TBranch *b_trk_hitIdx; //!
  397. TBranch *b_trk_hitType; //!
  398. TBranch *b_trk_genIdx; //!
  399. TBranch *b_trk_genDR; //!
  400. TBranch *b_sim_event; //!
  401. TBranch *b_sim_bunchCrossing; //!
  402. TBranch *b_sim_pdgId; //!
  403. TBranch *b_sim_genPdgIds; //!
  404. TBranch *b_sim_isFromBHadron; //!
  405. TBranch *b_sim_px; //!
  406. TBranch *b_sim_py; //!
  407. TBranch *b_sim_pz; //!
  408. TBranch *b_sim_pt; //!
  409. TBranch *b_sim_eta; //!
  410. TBranch *b_sim_phi; //!
  411. TBranch *b_sim_pca_pt; //!
  412. TBranch *b_sim_pca_eta; //!
  413. TBranch *b_sim_pca_lambda; //!
  414. TBranch *b_sim_pca_cotTheta; //!
  415. TBranch *b_sim_pca_phi; //!
  416. TBranch *b_sim_pca_dxy; //!
  417. TBranch *b_sim_pca_dz; //!
  418. TBranch *b_sim_q; //!
  419. TBranch *b_sim_nValid; //!
  420. TBranch *b_sim_nPixel; //!
  421. TBranch *b_sim_nStrip; //!
  422. TBranch *b_sim_nLay; //!
  423. TBranch *b_sim_nPixelLay; //!
  424. TBranch *b_sim_n3DLay; //!
  425. TBranch *b_sim_trkIdx; //!
  426. TBranch *b_sim_shareFrac; //!
  427. TBranch *b_sim_seedIdx; //!
  428. TBranch *b_sim_parentVtxIdx; //!
  429. TBranch *b_sim_decayVtxIdx; //!
  430. TBranch *b_sim_simHitIdx; //!
  431. TBranch *b_pix_isBarrel; //!
  432. TBranch *b_pix_ladder; //!
  433. TBranch *b_pix_blade; //!
  434. TBranch *b_pix_panel; //!
  435. TBranch *b_pix_detId; //!
  436. TBranch *b_pix_subdet; //!
  437. TBranch *b_pix_layer; //!
  438. TBranch *b_pix_side; //!
  439. TBranch *b_pix_module; //!
  440. TBranch *b_pix_trkIdx; //!
  441. TBranch *b_pix_seeIdx; //!
  442. TBranch *b_pix_simHitIdx; //!
  443. TBranch *b_pix_chargeFraction; //!
  444. TBranch *b_pix_simType; //!
  445. TBranch *b_pix_x; //!
  446. TBranch *b_pix_y; //!
  447. TBranch *b_pix_z; //!
  448. TBranch *b_pix_xx; //!
  449. TBranch *b_pix_xy; //!
  450. TBranch *b_pix_yy; //!
  451. TBranch *b_pix_yz; //!
  452. TBranch *b_pix_zz; //!
  453. TBranch *b_pix_zx; //!
  454. TBranch *b_pix_radL; //!
  455. TBranch *b_pix_bbxi; //!
  456. TBranch *b_str_isBarrel; //!
  457. TBranch *b_str_string; //!
  458. TBranch *b_str_petalNumber; //!
  459. TBranch *b_str_isStereo; //!
  460. TBranch *b_str_isRPhi; //!
  461. TBranch *b_str_isGlued; //!
  462. TBranch *b_str_order; //!
  463. TBranch *b_str_ring; //!
  464. TBranch *b_str_rod; //!
  465. TBranch *b_str_detId; //!
  466. TBranch *b_str_subdet; //!
  467. TBranch *b_str_layer; //!
  468. TBranch *b_str_side; //!
  469. TBranch *b_str_module; //!
  470. TBranch *b_str_trkIdx; //!
  471. TBranch *b_str_seeIdx; //!
  472. TBranch *b_str_simHitIdx; //!
  473. TBranch *b_str_chargeFraction; //!
  474. TBranch *b_str_simType; //!
  475. TBranch *b_str_x; //!
  476. TBranch *b_str_y; //!
  477. TBranch *b_str_z; //!
  478. TBranch *b_str_xx; //!
  479. TBranch *b_str_xy; //!
  480. TBranch *b_str_yy; //!
  481. TBranch *b_str_yz; //!
  482. TBranch *b_str_zz; //!
  483. TBranch *b_str_zx; //!
  484. TBranch *b_str_radL; //!
  485. TBranch *b_str_bbxi; //!
  486. TBranch *b_glu_isBarrel; //!
  487. TBranch *b_glu_string; //!
  488. TBranch *b_glu_petalNumber; //!
  489. TBranch *b_glu_isStereo; //!
  490. TBranch *b_glu_isRPhi; //!
  491. TBranch *b_glu_isGlued; //!
  492. TBranch *b_glu_order; //!
  493. TBranch *b_glu_ring; //!
  494. TBranch *b_glu_rod; //!
  495. TBranch *b_glu_detId; //!
  496. TBranch *b_glu_subdet; //!
  497. TBranch *b_glu_layer; //!
  498. TBranch *b_glu_side; //!
  499. TBranch *b_glu_module; //!
  500. TBranch *b_glu_monoIdx; //!
  501. TBranch *b_glu_stereoIdx; //!
  502. TBranch *b_glu_seeIdx; //!
  503. TBranch *b_glu_x; //!
  504. TBranch *b_glu_y; //!
  505. TBranch *b_glu_z; //!
  506. TBranch *b_glu_xx; //!
  507. TBranch *b_glu_xy; //!
  508. TBranch *b_glu_yy; //!
  509. TBranch *b_glu_yz; //!
  510. TBranch *b_glu_zz; //!
  511. TBranch *b_glu_zx; //!
  512. TBranch *b_glu_radL; //!
  513. TBranch *b_glu_bbxi; //!
  514. TBranch *b_inv_isBarrel; //!
  515. TBranch *b_inv_string; //!
  516. TBranch *b_inv_petalNumber; //!
  517. TBranch *b_inv_isStereo; //!
  518. TBranch *b_inv_isRPhi; //!
  519. TBranch *b_inv_isGlued; //!
  520. TBranch *b_inv_order; //!
  521. TBranch *b_inv_ring; //!
  522. TBranch *b_inv_rod; //!
  523. TBranch *b_inv_ladder; //!
  524. TBranch *b_inv_blade; //!
  525. TBranch *b_inv_panel; //!
  526. TBranch *b_inv_detId; //!
  527. TBranch *b_inv_subdet; //!
  528. TBranch *b_inv_layer; //!
  529. TBranch *b_inv_side; //!
  530. TBranch *b_inv_module; //!
  531. TBranch *b_inv_type; //!
  532. TBranch *b_simhit_string; //!
  533. TBranch *b_simhit_petalNumber; //!
  534. TBranch *b_simhit_isStereo; //!
  535. TBranch *b_simhit_isRPhi; //!
  536. TBranch *b_simhit_isGlued; //!
  537. TBranch *b_simhit_order; //!
  538. TBranch *b_simhit_ring; //!
  539. TBranch *b_simhit_rod; //!
  540. TBranch *b_simhit_ladder; //!
  541. TBranch *b_simhit_blade; //!
  542. TBranch *b_simhit_panel; //!
  543. TBranch *b_simhit_detId; //!
  544. TBranch *b_simhit_subdet; //!
  545. TBranch *b_simhit_layer; //!
  546. TBranch *b_simhit_side; //!
  547. TBranch *b_simhit_module; //!
  548. TBranch *b_simhit_x; //!
  549. TBranch *b_simhit_y; //!
  550. TBranch *b_simhit_z; //!
  551. TBranch *b_simhit_particle; //!
  552. TBranch *b_simhit_process; //!
  553. TBranch *b_simhit_eloss; //!
  554. TBranch *b_simhit_tof; //!
  555. TBranch *b_simhit_simTrkIdx; //!
  556. TBranch *b_simhit_hitIdx; //!
  557. TBranch *b_simhit_hitType; //!
  558. TBranch *b_bsp_x; //!
  559. TBranch *b_bsp_y; //!
  560. TBranch *b_bsp_z; //!
  561. TBranch *b_bsp_sigmax; //!
  562. TBranch *b_bsp_sigmay; //!
  563. TBranch *b_bsp_sigmaz; //!
  564. TBranch *b_see_fitok; //!
  565. TBranch *b_see_px; //!
  566. TBranch *b_see_py; //!
  567. TBranch *b_see_pz; //!
  568. TBranch *b_see_pt; //!
  569. TBranch *b_see_eta; //!
  570. TBranch *b_see_phi; //!
  571. TBranch *b_see_dxy; //!
  572. TBranch *b_see_dz; //!
  573. TBranch *b_see_ptErr; //!
  574. TBranch *b_see_etaErr; //!
  575. TBranch *b_see_phiErr; //!
  576. TBranch *b_see_dxyErr; //!
  577. TBranch *b_see_dzErr; //!
  578. TBranch *b_see_chi2; //!
  579. TBranch *b_see_statePt; //!
  580. TBranch *b_see_stateTrajX; //!
  581. TBranch *b_see_stateTrajY; //!
  582. TBranch *b_see_stateTrajPx; //!
  583. TBranch *b_see_stateTrajPy; //!
  584. TBranch *b_see_stateTrajPz; //!
  585. TBranch *b_see_q; //!
  586. TBranch *b_see_nValid; //!
  587. TBranch *b_see_nPixel; //!
  588. TBranch *b_see_nGlued; //!
  589. TBranch *b_see_nStrip; //!
  590. TBranch *b_see_nPhase2OT; //!
  591. TBranch *b_see_algo; //!
  592. TBranch *b_see_stopReason; //!
  593. TBranch *b_see_algoOriginal; //!
  594. TBranch *b_see_trkIdx; //!
  595. TBranch *b_see_shareFrac; //!
  596. TBranch *b_see_simTrkIdx; //!
  597. TBranch *b_see_hitIdx; //!
  598. TBranch *b_see_hitType; //!
  599. TBranch *b_see_offset; //!
  600. TBranch *b_see_hitsMask; //!
  601. TBranch *b_see_subDet2; //!
  602. TBranch *b_see_dRz2; //!
  603. TBranch *b_see_dPhi2; //!
  604. TBranch *b_see_dRz2Pos; //!
  605. TBranch *b_see_dPhi2Pos; //!
  606. TBranch *b_see_subDet1; //!
  607. TBranch *b_see_dRz1; //!
  608. TBranch *b_see_dPhi1; //!
  609. TBranch *b_see_dRz1Pos; //!
  610. TBranch *b_see_dPhi1Pos; //!
  611. TBranch *b_see_superClusterEnergy; //!
  612. TBranch *b_see_superClusterEta; //!
  613. TBranch *b_see_superClusterPhi; //!
  614. TBranch *b_see_superClusterEt; //!
  615. TBranch *b_see_superClusterIdx; //!
  616. TBranch *b_see_ecalDriven; //!
  617. TBranch *b_see_trkDriven; //!
  618. TBranch *b_vtx_x; //!
  619. TBranch *b_vtx_y; //!
  620. TBranch *b_vtx_z; //!
  621. TBranch *b_vtx_xErr; //!
  622. TBranch *b_vtx_yErr; //!
  623. TBranch *b_vtx_zErr; //!
  624. TBranch *b_vtx_ndof; //!
  625. TBranch *b_vtx_chi2; //!
  626. TBranch *b_vtx_fake; //!
  627. TBranch *b_vtx_valid; //!
  628. TBranch *b_vtx_trkIdx; //!
  629. TBranch *b_gen_px; //!
  630. TBranch *b_gen_py; //!
  631. TBranch *b_gen_pz; //!
  632. TBranch *b_gen_charge; //!
  633. TBranch *b_gen_pdgId; //!
  634. TBranch *b_gen_vx; //!
  635. TBranch *b_gen_vy; //!
  636. TBranch *b_gen_vz; //!
  637. TBranch *b_gen_status; //!
  638. TBranch *b_gen_mother; //!
  639. TBranch *b_gen_isTauDecayProduct; //!
  640. TBranch *b_gen_isDirectHadronDecayProduct; //!
  641. TBranch *b_gen_isPrompt; //!
  642. TBranch *b_simvtx_event; //!
  643. TBranch *b_simvtx_bunchCrossing; //!
  644. TBranch *b_simvtx_processType; //!
  645. TBranch *b_simvtx_x; //!
  646. TBranch *b_simvtx_y; //!
  647. TBranch *b_simvtx_z; //!
  648. TBranch *b_simvtx_sourceSimIdx; //!
  649. TBranch *b_simvtx_daughterSimIdx; //!
  650. TBranch *b_simpv_idx; //!
  651. TBranch *b_scl_e; //!
  652. TBranch *b_scl_px; //!
  653. TBranch *b_scl_py; //!
  654. TBranch *b_scl_pz; //!
  655. TBranch *b_scl_x; //!
  656. TBranch *b_scl_y; //!
  657. TBranch *b_scl_z; //!
  658. TBranch *b_scl_charge; //!
  659. TBranch *b_scl_subDet1; //!
  660. TBranch *b_scl_subDet2; //!
  661. TBranch *b_scl_dRz1; //!
  662. TBranch *b_scl_dPhi1; //!
  663. TBranch *b_scl_dRz2; //!
  664. TBranch *b_scl_dPhi2; //!
  665. TBranch *b_scl_seedType; //!
  666. TBranch *b_scl_hitsMask; //!
  667. TrackingNtuple(TTree *tree=0);
  668. virtual ~TrackingNtuple();
  669. virtual Int_t Cut(Long64_t entry);
  670. virtual Int_t GetEntry(Long64_t entry);
  671. virtual Long64_t LoadTree(Long64_t entry);
  672. virtual void Init(TTree *tree);
  673. virtual Bool_t Notify();
  674. virtual void Show(Long64_t entry = -1);
  675. };
  676. TrackingNtuple::TrackingNtuple(TTree *tree) : fChain(0)
  677. {
  678. // if parameter tree is not specified (or zero), connect the file
  679. // used to generate this class and read the Tree.
  680. if (tree == 0) {
  681. TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("trackingNtuple.root");
  682. if (!f || !f->IsOpen()) {
  683. f = new TFile("trackingNtuple.root");
  684. }
  685. TDirectory * dir = (TDirectory*)f->Get("trackingNtuple.root:/trackingNtuple");
  686. dir->GetObject("tree",tree);
  687. }
  688. Init(tree);
  689. }
  690. TrackingNtuple::~TrackingNtuple()
  691. {
  692. if (!fChain) return;
  693. delete fChain->GetCurrentFile();
  694. }
  695. Int_t TrackingNtuple::GetEntry(Long64_t entry)
  696. {
  697. // Read contents of entry.
  698. if (!fChain) return 0;
  699. return fChain->GetEntry(entry);
  700. }
  701. Long64_t TrackingNtuple::LoadTree(Long64_t entry)
  702. {
  703. // Set the environment to read one entry
  704. if (!fChain) return -5;
  705. Long64_t centry = fChain->LoadTree(entry);
  706. if (centry < 0) return centry;
  707. if (fChain->GetTreeNumber() != fCurrent) {
  708. fCurrent = fChain->GetTreeNumber();
  709. Notify();
  710. }
  711. return centry;
  712. }
  713. void TrackingNtuple::Init(TTree *tree)
  714. {
  715. // The Init() function is called when the selector needs to initialize
  716. // a new tree or chain. Typically here the branch addresses and branch
  717. // pointers of the tree will be set.
  718. // It is normally not necessary to make changes to the generated
  719. // code, but the routine can be extended by the user if needed.
  720. // Init() will be called many times when running on PROOF
  721. // (once per file to be processed).
  722. // Set object pointer
  723. trk_px = 0;
  724. trk_py = 0;
  725. trk_pz = 0;
  726. trk_pt = 0;
  727. trk_inner_px = 0;
  728. trk_inner_py = 0;
  729. trk_inner_pz = 0;
  730. trk_inner_pt = 0;
  731. trk_outer_px = 0;
  732. trk_outer_py = 0;
  733. trk_outer_pz = 0;
  734. trk_outer_pt = 0;
  735. trk_eta = 0;
  736. trk_lambda = 0;
  737. trk_cotTheta = 0;
  738. trk_phi = 0;
  739. trk_dxy = 0;
  740. trk_dz = 0;
  741. trk_ptErr = 0;
  742. trk_etaErr = 0;
  743. trk_lambdaErr = 0;
  744. trk_phiErr = 0;
  745. trk_dxyErr = 0;
  746. trk_dzErr = 0;
  747. trk_refpoint_x = 0;
  748. trk_refpoint_y = 0;
  749. trk_refpoint_z = 0;
  750. trk_nChi2 = 0;
  751. trk_q = 0;
  752. trk_nValid = 0;
  753. trk_nInvalid = 0;
  754. trk_nPixel = 0;
  755. trk_nStrip = 0;
  756. trk_nPixelLay = 0;
  757. trk_nStripLay = 0;
  758. trk_n3DLay = 0;
  759. trk_nOuterLost = 0;
  760. trk_nInnerLost = 0;
  761. trk_algo = 0;
  762. trk_originalAlgo = 0;
  763. trk_algoMask = 0;
  764. trk_stopReason = 0;
  765. trk_isHP = 0;
  766. trk_seedIdx = 0;
  767. trk_vtxx = 0;
  768. trk_vtxy = 0;
  769. trk_vtxz = 0;
  770. trk_shareFrac = 0;
  771. trk_simTrkIdx = 0;
  772. trk_hitIdx = 0;
  773. trk_hitType = 0;
  774. trk_genIdx = 0;
  775. trk_genDR = 0;
  776. sim_event = 0;
  777. sim_bunchCrossing = 0;
  778. sim_pdgId = 0;
  779. sim_genPdgIds = 0;
  780. sim_isFromBHadron = 0;
  781. sim_px = 0;
  782. sim_py = 0;
  783. sim_pz = 0;
  784. sim_pt = 0;
  785. sim_eta = 0;
  786. sim_phi = 0;
  787. sim_pca_pt = 0;
  788. sim_pca_eta = 0;
  789. sim_pca_lambda = 0;
  790. sim_pca_cotTheta = 0;
  791. sim_pca_phi = 0;
  792. sim_pca_dxy = 0;
  793. sim_pca_dz = 0;
  794. sim_q = 0;
  795. sim_nValid = 0;
  796. sim_nPixel = 0;
  797. sim_nStrip = 0;
  798. sim_nLay = 0;
  799. sim_nPixelLay = 0;
  800. sim_n3DLay = 0;
  801. sim_trkIdx = 0;
  802. sim_shareFrac = 0;
  803. sim_seedIdx = 0;
  804. sim_parentVtxIdx = 0;
  805. sim_decayVtxIdx = 0;
  806. sim_simHitIdx = 0;
  807. pix_isBarrel = 0;
  808. pix_ladder = 0;
  809. pix_blade = 0;
  810. pix_panel = 0;
  811. pix_detId = 0;
  812. pix_subdet = 0;
  813. pix_layer = 0;
  814. pix_side = 0;
  815. pix_module = 0;
  816. pix_trkIdx = 0;
  817. pix_seeIdx = 0;
  818. pix_simHitIdx = 0;
  819. pix_chargeFraction = 0;
  820. pix_simType = 0;
  821. pix_x = 0;
  822. pix_y = 0;
  823. pix_z = 0;
  824. pix_xx = 0;
  825. pix_xy = 0;
  826. pix_yy = 0;
  827. pix_yz = 0;
  828. pix_zz = 0;
  829. pix_zx = 0;
  830. pix_radL = 0;
  831. pix_bbxi = 0;
  832. str_isBarrel = 0;
  833. str_string = 0;
  834. str_petalNumber = 0;
  835. str_isStereo = 0;
  836. str_isRPhi = 0;
  837. str_isGlued = 0;
  838. str_order = 0;
  839. str_ring = 0;
  840. str_rod = 0;
  841. str_detId = 0;
  842. str_subdet = 0;
  843. str_layer = 0;
  844. str_side = 0;
  845. str_module = 0;
  846. str_trkIdx = 0;
  847. str_seeIdx = 0;
  848. str_simHitIdx = 0;
  849. str_chargeFraction = 0;
  850. str_simType = 0;
  851. str_x = 0;
  852. str_y = 0;
  853. str_z = 0;
  854. str_xx = 0;
  855. str_xy = 0;
  856. str_yy = 0;
  857. str_yz = 0;
  858. str_zz = 0;
  859. str_zx = 0;
  860. str_radL = 0;
  861. str_bbxi = 0;
  862. glu_isBarrel = 0;
  863. glu_string = 0;
  864. glu_petalNumber = 0;
  865. glu_isStereo = 0;
  866. glu_isRPhi = 0;
  867. glu_isGlued = 0;
  868. glu_order = 0;
  869. glu_ring = 0;
  870. glu_rod = 0;
  871. glu_detId = 0;
  872. glu_subdet = 0;
  873. glu_layer = 0;
  874. glu_side = 0;
  875. glu_module = 0;
  876. glu_monoIdx = 0;
  877. glu_stereoIdx = 0;
  878. glu_seeIdx = 0;
  879. glu_x = 0;
  880. glu_y = 0;
  881. glu_z = 0;
  882. glu_xx = 0;
  883. glu_xy = 0;
  884. glu_yy = 0;
  885. glu_yz = 0;
  886. glu_zz = 0;
  887. glu_zx = 0;
  888. glu_radL = 0;
  889. glu_bbxi = 0;
  890. inv_isBarrel = 0;
  891. inv_string = 0;
  892. inv_petalNumber = 0;
  893. inv_isStereo = 0;
  894. inv_isRPhi = 0;
  895. inv_isGlued = 0;
  896. inv_order = 0;
  897. inv_ring = 0;
  898. inv_rod = 0;
  899. inv_ladder = 0;
  900. inv_blade = 0;
  901. inv_panel = 0;
  902. inv_detId = 0;
  903. inv_subdet = 0;
  904. inv_layer = 0;
  905. inv_side = 0;
  906. inv_module = 0;
  907. inv_type = 0;
  908. simhit_string = 0;
  909. simhit_petalNumber = 0;
  910. simhit_isStereo = 0;
  911. simhit_isRPhi = 0;
  912. simhit_isGlued = 0;
  913. simhit_order = 0;
  914. simhit_ring = 0;
  915. simhit_rod = 0;
  916. simhit_ladder = 0;
  917. simhit_blade = 0;
  918. simhit_panel = 0;
  919. simhit_detId = 0;
  920. simhit_subdet = 0;
  921. simhit_layer = 0;
  922. simhit_side = 0;
  923. simhit_module = 0;
  924. simhit_x = 0;
  925. simhit_y = 0;
  926. simhit_z = 0;
  927. simhit_particle = 0;
  928. simhit_process = 0;
  929. simhit_eloss = 0;
  930. simhit_tof = 0;
  931. simhit_simTrkIdx = 0;
  932. simhit_hitIdx = 0;
  933. simhit_hitType = 0;
  934. see_fitok = 0;
  935. see_px = 0;
  936. see_py = 0;
  937. see_pz = 0;
  938. see_pt = 0;
  939. see_eta = 0;
  940. see_phi = 0;
  941. see_dxy = 0;
  942. see_dz = 0;
  943. see_ptErr = 0;
  944. see_etaErr = 0;
  945. see_phiErr = 0;
  946. see_dxyErr = 0;
  947. see_dzErr = 0;
  948. see_chi2 = 0;
  949. see_statePt = 0;
  950. see_stateTrajX = 0;
  951. see_stateTrajY = 0;
  952. see_stateTrajPx = 0;
  953. see_stateTrajPy = 0;
  954. see_stateTrajPz = 0;
  955. see_q = 0;
  956. see_nValid = 0;
  957. see_nPixel = 0;
  958. see_nGlued = 0;
  959. see_nStrip = 0;
  960. see_nPhase2OT = 0;
  961. see_algo = 0;
  962. see_stopReason = 0;
  963. see_algoOriginal = 0;
  964. see_trkIdx = 0;
  965. see_shareFrac = 0;
  966. see_simTrkIdx = 0;
  967. see_hitIdx = 0;
  968. see_hitType = 0;
  969. see_offset = 0;
  970. see_hitsMask = 0;
  971. see_subDet2 = 0;
  972. see_dRz2 = 0;
  973. see_dPhi2 = 0;
  974. see_dRz2Pos = 0;
  975. see_dPhi2Pos = 0;
  976. see_subDet1 = 0;
  977. see_dRz1 = 0;
  978. see_dPhi1 = 0;
  979. see_dRz1Pos = 0;
  980. see_dPhi1Pos = 0;
  981. see_superClusterEnergy = 0;
  982. see_superClusterEta = 0;
  983. see_superClusterPhi = 0;
  984. see_superClusterEt = 0;
  985. see_superClusterIdx = 0;
  986. see_ecalDriven = 0;
  987. see_trkDriven = 0;
  988. vtx_x = 0;
  989. vtx_y = 0;
  990. vtx_z = 0;
  991. vtx_xErr = 0;
  992. vtx_yErr = 0;
  993. vtx_zErr = 0;
  994. vtx_ndof = 0;
  995. vtx_chi2 = 0;
  996. vtx_fake = 0;
  997. vtx_valid = 0;
  998. vtx_trkIdx = 0;
  999. gen_px = 0;
  1000. gen_py = 0;
  1001. gen_pz = 0;
  1002. gen_charge = 0;
  1003. gen_pdgId = 0;
  1004. gen_vx = 0;
  1005. gen_vy = 0;
  1006. gen_vz = 0;
  1007. gen_status = 0;
  1008. gen_mother = 0;
  1009. gen_isTauDecayProduct = 0;
  1010. gen_isDirectHadronDecayProduct = 0;
  1011. gen_isPrompt = 0;
  1012. simvtx_event = 0;
  1013. simvtx_bunchCrossing = 0;
  1014. simvtx_processType = 0;
  1015. simvtx_x = 0;
  1016. simvtx_y = 0;
  1017. simvtx_z = 0;
  1018. simvtx_sourceSimIdx = 0;
  1019. simvtx_daughterSimIdx = 0;
  1020. simpv_idx = 0;
  1021. scl_e = 0;
  1022. scl_px = 0;
  1023. scl_py = 0;
  1024. scl_pz = 0;
  1025. scl_x = 0;
  1026. scl_y = 0;
  1027. scl_z = 0;
  1028. scl_charge = 0;
  1029. scl_subDet1 = 0;
  1030. scl_subDet2 = 0;
  1031. scl_dRz1 = 0;
  1032. scl_dPhi1 = 0;
  1033. scl_dRz2 = 0;
  1034. scl_dPhi2 = 0;
  1035. scl_seedType = 0;
  1036. scl_hitsMask = 0;
  1037. // Set branch addresses and branch pointers
  1038. if (!tree) return;
  1039. fChain = tree;
  1040. fCurrent = -1;
  1041. fChain->SetMakeClass(1);
  1042. fChain->SetBranchAddress("event", &event, &b_event);
  1043. fChain->SetBranchAddress("lumi", &lumi, &b_lumi);
  1044. fChain->SetBranchAddress("run", &run, &b_run);
  1045. fChain->SetBranchAddress("trk_px", &trk_px, &b_trk_px);
  1046. fChain->SetBranchAddress("trk_py", &trk_py, &b_trk_py);
  1047. fChain->SetBranchAddress("trk_pz", &trk_pz, &b_trk_pz);
  1048. fChain->SetBranchAddress("trk_pt", &trk_pt, &b_trk_pt);
  1049. fChain->SetBranchAddress("trk_inner_px", &trk_inner_px, &b_trk_inner_px);
  1050. fChain->SetBranchAddress("trk_inner_py", &trk_inner_py, &b_trk_inner_py);
  1051. fChain->SetBranchAddress("trk_inner_pz", &trk_inner_pz, &b_trk_inner_pz);
  1052. fChain->SetBranchAddress("trk_inner_pt", &trk_inner_pt, &b_trk_inner_pt);
  1053. fChain->SetBranchAddress("trk_outer_px", &trk_outer_px, &b_trk_outer_px);
  1054. fChain->SetBranchAddress("trk_outer_py", &trk_outer_py, &b_trk_outer_py);
  1055. fChain->SetBranchAddress("trk_outer_pz", &trk_outer_pz, &b_trk_outer_pz);
  1056. fChain->SetBranchAddress("trk_outer_pt", &trk_outer_pt, &b_trk_outer_pt);
  1057. fChain->SetBranchAddress("trk_eta", &trk_eta, &b_trk_eta);
  1058. fChain->SetBranchAddress("trk_lambda", &trk_lambda, &b_trk_lambda);
  1059. fChain->SetBranchAddress("trk_cotTheta", &trk_cotTheta, &b_trk_cotTheta);
  1060. fChain->SetBranchAddress("trk_phi", &trk_phi, &b_trk_phi);
  1061. fChain->SetBranchAddress("trk_dxy", &trk_dxy, &b_trk_dxy);
  1062. fChain->SetBranchAddress("trk_dz", &trk_dz, &b_trk_dz);
  1063. fChain->SetBranchAddress("trk_ptErr", &trk_ptErr, &b_trk_ptErr);
  1064. fChain->SetBranchAddress("trk_etaErr", &trk_etaErr, &b_trk_etaErr);
  1065. fChain->SetBranchAddress("trk_lambdaErr", &trk_lambdaErr, &b_trk_lambdaErr);
  1066. fChain->SetBranchAddress("trk_phiErr", &trk_phiErr, &b_trk_phiErr);
  1067. fChain->SetBranchAddress("trk_dxyErr", &trk_dxyErr, &b_trk_dxyErr);
  1068. fChain->SetBranchAddress("trk_dzErr", &trk_dzErr, &b_trk_dzErr);
  1069. fChain->SetBranchAddress("trk_refpoint_x", &trk_refpoint_x, &b_trk_refpoint_x);
  1070. fChain->SetBranchAddress("trk_refpoint_y", &trk_refpoint_y, &b_trk_refpoint_y);
  1071. fChain->SetBranchAddress("trk_refpoint_z", &trk_refpoint_z, &b_trk_refpoint_z);
  1072. fChain->SetBranchAddress("trk_nChi2", &trk_nChi2, &b_trk_nChi2);
  1073. fChain->SetBranchAddress("trk_q", &trk_q, &b_trk_q);
  1074. fChain->SetBranchAddress("trk_nValid", &trk_nValid, &b_trk_nValid);
  1075. fChain->SetBranchAddress("trk_nInvalid", &trk_nInvalid, &b_trk_nInvalid);
  1076. fChain->SetBranchAddress("trk_nPixel", &trk_nPixel, &b_trk_nPixel);
  1077. fChain->SetBranchAddress("trk_nStrip", &trk_nStrip, &b_trk_nStrip);
  1078. fChain->SetBranchAddress("trk_nPixelLay", &trk_nPixelLay, &b_trk_nPixelLay);
  1079. fChain->SetBranchAddress("trk_nStripLay", &trk_nStripLay, &b_trk_nStripLay);
  1080. fChain->SetBranchAddress("trk_n3DLay", &trk_n3DLay, &b_trk_n3DLay);
  1081. fChain->SetBranchAddress("trk_nOuterLost", &trk_nOuterLost, &b_trk_nOuterLost);
  1082. fChain->SetBranchAddress("trk_nInnerLost", &trk_nInnerLost, &b_trk_nInnerLost);
  1083. fChain->SetBranchAddress("trk_algo", &trk_algo, &b_trk_algo);
  1084. fChain->SetBranchAddress("trk_originalAlgo", &trk_originalAlgo, &b_trk_originalAlgo);
  1085. fChain->SetBranchAddress("trk_algoMask", &trk_algoMask, &b_trk_algoMask);
  1086. fChain->SetBranchAddress("trk_stopReason", &trk_stopReason, &b_trk_stopReason);
  1087. fChain->SetBranchAddress("trk_isHP", &trk_isHP, &b_trk_isHP);
  1088. fChain->SetBranchAddress("trk_seedIdx", &trk_seedIdx, &b_trk_seedIdx);
  1089. fChain->SetBranchAddress("trk_vtxx", &trk_vtxx, &b_trk_vtxx);
  1090. fChain->SetBranchAddress("trk_vtxy", &trk_vtxy, &b_trk_vtxy);
  1091. fChain->SetBranchAddress("trk_vtxz", &trk_vtxz, &b_trk_vtxz);
  1092. fChain->SetBranchAddress("trk_shareFrac", &trk_shareFrac, &b_trk_shareFrac);
  1093. fChain->SetBranchAddress("trk_simTrkIdx", &trk_simTrkIdx, &b_trk_simTrkIdx);
  1094. fChain->SetBranchAddress("trk_hitIdx", &trk_hitIdx, &b_trk_hitIdx);
  1095. fChain->SetBranchAddress("trk_hitType", &trk_hitType, &b_trk_hitType);
  1096. fChain->SetBranchAddress("trk_genIdx", &trk_genIdx, &b_trk_genIdx);
  1097. fChain->SetBranchAddress("trk_genDR", &trk_genDR, &b_trk_genDR);
  1098. fChain->SetBranchAddress("sim_event", &sim_event, &b_sim_event);
  1099. fChain->SetBranchAddress("sim_bunchCrossing", &sim_bunchCrossing, &b_sim_bunchCrossing);
  1100. fChain->SetBranchAddress("sim_pdgId", &sim_pdgId, &b_sim_pdgId);
  1101. fChain->SetBranchAddress("sim_genPdgIds", &sim_genPdgIds, &b_sim_genPdgIds);
  1102. fChain->SetBranchAddress("sim_isFromBHadron", &sim_isFromBHadron, &b_sim_isFromBHadron);
  1103. fChain->SetBranchAddress("sim_px", &sim_px, &b_sim_px);
  1104. fChain->SetBranchAddress("sim_py", &sim_py, &b_sim_py);
  1105. fChain->SetBranchAddress("sim_pz", &sim_pz, &b_sim_pz);
  1106. fChain->SetBranchAddress("sim_pt", &sim_pt, &b_sim_pt);
  1107. fChain->SetBranchAddress("sim_eta", &sim_eta, &b_sim_eta);
  1108. fChain->SetBranchAddress("sim_phi", &sim_phi, &b_sim_phi);
  1109. fChain->SetBranchAddress("sim_pca_pt", &sim_pca_pt, &b_sim_pca_pt);
  1110. fChain->SetBranchAddress("sim_pca_eta", &sim_pca_eta, &b_sim_pca_eta);
  1111. fChain->SetBranchAddress("sim_pca_lambda", &sim_pca_lambda, &b_sim_pca_lambda);
  1112. fChain->SetBranchAddress("sim_pca_cotTheta", &sim_pca_cotTheta, &b_sim_pca_cotTheta);
  1113. fChain->SetBranchAddress("sim_pca_phi", &sim_pca_phi, &b_sim_pca_phi);
  1114. fChain->SetBranchAddress("sim_pca_dxy", &sim_pca_dxy, &b_sim_pca_dxy);
  1115. fChain->SetBranchAddress("sim_pca_dz", &sim_pca_dz, &b_sim_pca_dz);
  1116. fChain->SetBranchAddress("sim_q", &sim_q, &b_sim_q);
  1117. fChain->SetBranchAddress("sim_nValid", &sim_nValid, &b_sim_nValid);
  1118. fChain->SetBranchAddress("sim_nPixel", &sim_nPixel, &b_sim_nPixel);
  1119. fChain->SetBranchAddress("sim_nStrip", &sim_nStrip, &b_sim_nStrip);
  1120. fChain->SetBranchAddress("sim_nLay", &sim_nLay, &b_sim_nLay);
  1121. fChain->SetBranchAddress("sim_nPixelLay", &sim_nPixelLay, &b_sim_nPixelLay);
  1122. fChain->SetBranchAddress("sim_n3DLay", &sim_n3DLay, &b_sim_n3DLay);
  1123. fChain->SetBranchAddress("sim_trkIdx", &sim_trkIdx, &b_sim_trkIdx);
  1124. fChain->SetBranchAddress("sim_shareFrac", &sim_shareFrac, &b_sim_shareFrac);
  1125. fChain->SetBranchAddress("sim_seedIdx", &sim_seedIdx, &b_sim_seedIdx);
  1126. fChain->SetBranchAddress("sim_parentVtxIdx", &sim_parentVtxIdx, &b_sim_parentVtxIdx);
  1127. fChain->SetBranchAddress("sim_decayVtxIdx", &sim_decayVtxIdx, &b_sim_decayVtxIdx);
  1128. fChain->SetBranchAddress("sim_simHitIdx", &sim_simHitIdx, &b_sim_simHitIdx);
  1129. fChain->SetBranchAddress("pix_isBarrel", &pix_isBarrel, &b_pix_isBarrel);
  1130. fChain->SetBranchAddress("pix_ladder", &pix_ladder, &b_pix_ladder);
  1131. fChain->SetBranchAddress("pix_blade", &pix_blade, &b_pix_blade);
  1132. fChain->SetBranchAddress("pix_panel", &pix_panel, &b_pix_panel);
  1133. fChain->SetBranchAddress("pix_detId", &pix_detId, &b_pix_detId);
  1134. fChain->SetBranchAddress("pix_subdet", &pix_subdet, &b_pix_subdet);
  1135. fChain->SetBranchAddress("pix_layer", &pix_layer, &b_pix_layer);
  1136. fChain->SetBranchAddress("pix_side", &pix_side, &b_pix_side);
  1137. fChain->SetBranchAddress("pix_module", &pix_module, &b_pix_module);
  1138. fChain->SetBranchAddress("pix_trkIdx", &pix_trkIdx, &b_pix_trkIdx);
  1139. fChain->SetBranchAddress("pix_seeIdx", &pix_seeIdx, &b_pix_seeIdx);
  1140. fChain->SetBranchAddress("pix_simHitIdx", &pix_simHitIdx, &b_pix_simHitIdx);
  1141. fChain->SetBranchAddress("pix_chargeFraction", &pix_chargeFraction, &b_pix_chargeFraction);
  1142. fChain->SetBranchAddress("pix_simType", &pix_simType, &b_pix_simType);
  1143. fChain->SetBranchAddress("pix_x", &pix_x, &b_pix_x);
  1144. fChain->SetBranchAddress("pix_y", &pix_y, &b_pix_y);
  1145. fChain->SetBranchAddress("pix_z", &pix_z, &b_pix_z);
  1146. fChain->SetBranchAddress("pix_xx", &pix_xx, &b_pix_xx);
  1147. fChain->SetBranchAddress("pix_xy", &pix_xy, &b_pix_xy);
  1148. fChain->SetBranchAddress("pix_yy", &pix_yy, &b_pix_yy);
  1149. fChain->SetBranchAddress("pix_yz", &pix_yz, &b_pix_yz);
  1150. fChain->SetBranchAddress("pix_zz", &pix_zz, &b_pix_zz);
  1151. fChain->SetBranchAddress("pix_zx", &pix_zx, &b_pix_zx);
  1152. fChain->SetBranchAddress("pix_radL", &pix_radL, &b_pix_radL);
  1153. fChain->SetBranchAddress("pix_bbxi", &pix_bbxi, &b_pix_bbxi);
  1154. fChain->SetBranchAddress("str_isBarrel", &str_isBarrel, &b_str_isBarrel);
  1155. fChain->SetBranchAddress("str_string", &str_string, &b_str_string);
  1156. fChain->SetBranchAddress("str_petalNumber", &str_petalNumber, &b_str_petalNumber);
  1157. fChain->SetBranchAddress("str_isStereo", &str_isStereo, &b_str_isStereo);
  1158. fChain->SetBranchAddress("str_isRPhi", &str_isRPhi, &b_str_isRPhi);
  1159. fChain->SetBranchAddress("str_isGlued", &str_isGlued, &b_str_isGlued);
  1160. fChain->SetBranchAddress("str_order", &str_order, &b_str_order);
  1161. fChain->SetBranchAddress("str_ring", &str_ring, &b_str_ring);
  1162. fChain->SetBranchAddress("str_rod", &str_rod, &b_str_rod);
  1163. fChain->SetBranchAddress("str_detId", &str_detId, &b_str_detId);
  1164. fChain->SetBranchAddress("str_subdet", &str_subdet, &b_str_subdet);
  1165. fChain->SetBranchAddress("str_layer", &str_layer, &b_str_layer);
  1166. fChain->SetBranchAddress("str_side", &str_side, &b_str_side);
  1167. fChain->SetBranchAddress("str_module", &str_module, &b_str_module);
  1168. fChain->SetBranchAddress("str_trkIdx", &str_trkIdx, &b_str_trkIdx);
  1169. fChain->SetBranchAddress("str_seeIdx", &str_seeIdx, &b_str_seeIdx);
  1170. fChain->SetBranchAddress("str_simHitIdx", &str_simHitIdx, &b_str_simHitIdx);
  1171. fChain->SetBranchAddress("str_chargeFraction", &str_chargeFraction, &b_str_chargeFraction);
  1172. fChain->SetBranchAddress("str_simType", &str_simType, &b_str_simType);
  1173. fChain->SetBranchAddress("str_x", &str_x, &b_str_x);
  1174. fChain->SetBranchAddress("str_y", &str_y, &b_str_y);
  1175. fChain->SetBranchAddress("str_z", &str_z, &b_str_z);
  1176. fChain->SetBranchAddress("str_xx", &str_xx, &b_str_xx);
  1177. fChain->SetBranchAddress("str_xy", &str_xy, &b_str_xy);
  1178. fChain->SetBranchAddress("str_yy", &str_yy, &b_str_yy);
  1179. fChain->SetBranchAddress("str_yz", &str_yz, &b_str_yz);
  1180. fChain->SetBranchAddress("str_zz", &str_zz, &b_str_zz);
  1181. fChain->SetBranchAddress("str_zx", &str_zx, &b_str_zx);
  1182. fChain->SetBranchAddress("str_radL", &str_radL, &b_str_radL);
  1183. fChain->SetBranchAddress("str_bbxi", &str_bbxi, &b_str_bbxi);
  1184. fChain->SetBranchAddress("glu_isBarrel", &glu_isBarrel, &b_glu_isBarrel);
  1185. fChain->SetBranchAddress("glu_string", &glu_string, &b_glu_string);
  1186. fChain->SetBranchAddress("glu_petalNumber", &glu_petalNumber, &b_glu_petalNumber);
  1187. fChain->SetBranchAddress("glu_isStereo", &glu_isStereo, &b_glu_isStereo);
  1188. fChain->SetBranchAddress("glu_isRPhi", &glu_isRPhi, &b_glu_isRPhi);
  1189. fChain->SetBranchAddress("glu_isGlued", &glu_isGlued, &b_glu_isGlued);
  1190. fChain->SetBranchAddress("glu_order", &glu_order, &b_glu_order);
  1191. fChain->SetBranchAddress("glu_ring", &glu_ring, &b_glu_ring);
  1192. fChain->SetBranchAddress("glu_rod", &glu_rod, &b_glu_rod);
  1193. fChain->SetBranchAddress("glu_detId", &glu_detId, &b_glu_detId);
  1194. fChain->SetBranchAddress("glu_subdet", &glu_subdet, &b_glu_subdet);
  1195. fChain->SetBranchAddress("glu_layer", &glu_layer, &b_glu_layer);
  1196. fChain->SetBranchAddress("glu_side", &glu_side, &b_glu_side);
  1197. fChain->SetBranchAddress("glu_module", &glu_module, &b_glu_module);
  1198. fChain->SetBranchAddress("glu_monoIdx", &glu_monoIdx, &b_glu_monoIdx);
  1199. fChain->SetBranchAddress("glu_stereoIdx", &glu_stereoIdx, &b_glu_stereoIdx);
  1200. fChain->SetBranchAddress("glu_seeIdx", &glu_seeIdx, &b_glu_seeIdx);
  1201. fChain->SetBranchAddress("glu_x", &glu_x, &b_glu_x);
  1202. fChain->SetBranchAddress("glu_y", &glu_y, &b_glu_y);
  1203. fChain->SetBranchAddress("glu_z", &glu_z, &b_glu_z);
  1204. fChain->SetBranchAddress("glu_xx", &glu_xx, &b_glu_xx);
  1205. fChain->SetBranchAddress("glu_xy", &glu_xy, &b_glu_xy);
  1206. fChain->SetBranchAddress("glu_yy", &glu_yy, &b_glu_yy);
  1207. fChain->SetBranchAddress("glu_yz", &glu_yz, &b_glu_yz);
  1208. fChain->SetBranchAddress("glu_zz", &glu_zz, &b_glu_zz);
  1209. fChain->SetBranchAddress("glu_zx", &glu_zx, &b_glu_zx);
  1210. fChain->SetBranchAddress("glu_radL", &glu_radL, &b_glu_radL);
  1211. fChain->SetBranchAddress("glu_bbxi", &glu_bbxi, &b_glu_bbxi);
  1212. fChain->SetBranchAddress("inv_isBarrel", &inv_isBarrel, &b_inv_isBarrel);
  1213. fChain->SetBranchAddress("inv_string", &inv_string, &b_inv_string);
  1214. fChain->SetBranchAddress("inv_petalNumber", &inv_petalNumber, &b_inv_petalNumber);
  1215. fChain->SetBranchAddress("inv_isStereo", &inv_isStereo, &b_inv_isStereo);
  1216. fChain->SetBranchAddress("inv_isRPhi", &inv_isRPhi, &b_inv_isRPhi);
  1217. fChain->SetBranchAddress("inv_isGlued", &inv_isGlued, &b_inv_isGlued);
  1218. fChain->SetBranchAddress("inv_order", &inv_order, &b_inv_order);
  1219. fChain->SetBranchAddress("inv_ring", &inv_ring, &b_inv_ring);
  1220. fChain->SetBranchAddress("inv_rod", &inv_rod, &b_inv_rod);
  1221. fChain->SetBranchAddress("inv_ladder", &inv_ladder, &b_inv_ladder);
  1222. fChain->SetBranchAddress("inv_blade", &inv_blade, &b_inv_blade);
  1223. fChain->SetBranchAddress("inv_panel", &inv_panel, &b_inv_panel);
  1224. fChain->SetBranchAddress("inv_detId", &inv_detId, &b_inv_detId);
  1225. fChain->SetBranchAddress("inv_subdet", &inv_subdet, &b_inv_subdet);
  1226. fChain->SetBranchAddress("inv_layer", &inv_layer, &b_inv_layer);
  1227. fChain->SetBranchAddress("inv_side", &inv_side, &b_inv_side);
  1228. fChain->SetBranchAddress("inv_module", &inv_module, &b_inv_module);
  1229. fChain->SetBranchAddress("inv_type", &inv_type, &b_inv_type);
  1230. fChain->SetBranchAddress("simhit_string", &simhit_string, &b_simhit_string);
  1231. fChain->SetBranchAddress("simhit_petalNumber", &simhit_petalNumber, &b_simhit_petalNumber);
  1232. fChain->SetBranchAddress("simhit_isStereo", &simhit_isStereo, &b_simhit_isStereo);
  1233. fChain->SetBranchAddress("simhit_isRPhi", &simhit_isRPhi, &b_simhit_isRPhi);
  1234. fChain->SetBranchAddress("simhit_isGlued", &simhit_isGlued, &b_simhit_isGlued);
  1235. fChain->SetBranchAddress("simhit_order", &simhit_order, &b_simhit_order);
  1236. fChain->SetBranchAddress("simhit_ring", &simhit_ring, &b_simhit_ring);
  1237. fChain->SetBranchAddress("simhit_rod", &simhit_rod, &b_simhit_rod);
  1238. fChain->SetBranchAddress("simhit_ladder", &simhit_ladder, &b_simhit_ladder);
  1239. fChain->SetBranchAddress("simhit_blade", &simhit_blade, &b_simhit_blade);
  1240. fChain->SetBranchAddress("simhit_panel", &simhit_panel, &b_simhit_panel);
  1241. fChain->SetBranchAddress("simhit_detId", &simhit_detId, &b_simhit_detId);
  1242. fChain->SetBranchAddress("simhit_subdet", &simhit_subdet, &b_simhit_subdet);
  1243. fChain->SetBranchAddress("simhit_layer", &simhit_layer, &b_simhit_layer);
  1244. fChain->SetBranchAddress("simhit_side", &simhit_side, &b_simhit_side);
  1245. fChain->SetBranchAddress("simhit_module", &simhit_module, &b_simhit_module);
  1246. fChain->SetBranchAddress("simhit_x", &simhit_x, &b_simhit_x);
  1247. fChain->SetBranchAddress("simhit_y", &simhit_y, &b_simhit_y);
  1248. fChain->SetBranchAddress("simhit_z", &simhit_z, &b_simhit_z);
  1249. fChain->SetBranchAddress("simhit_particle", &simhit_particle, &b_simhit_particle);
  1250. fChain->SetBranchAddress("simhit_process", &simhit_process, &b_simhit_process);
  1251. fChain->SetBranchAddress("simhit_eloss", &simhit_eloss, &b_simhit_eloss);
  1252. fChain->SetBranchAddress("simhit_tof", &simhit_tof, &b_simhit_tof);
  1253. fChain->SetBranchAddress("simhit_simTrkIdx", &simhit_simTrkIdx, &b_simhit_simTrkIdx);
  1254. fChain->SetBranchAddress("simhit_hitIdx", &simhit_hitIdx, &b_simhit_hitIdx);
  1255. fChain->SetBranchAddress("simhit_hitType", &simhit_hitType, &b_simhit_hitType);
  1256. fChain->SetBranchAddress("bsp_x", &bsp_x, &b_bsp_x);
  1257. fChain->SetBranchAddress("bsp_y", &bsp_y, &b_bsp_y);
  1258. fChain->SetBranchAddress("bsp_z", &bsp_z, &b_bsp_z);
  1259. fChain->SetBranchAddress("bsp_sigmax", &bsp_sigmax, &b_bsp_sigmax);
  1260. fChain->SetBranchAddress("bsp_sigmay", &bsp_sigmay, &b_bsp_sigmay);
  1261. fChain->SetBranchAddress("bsp_sigmaz", &bsp_sigmaz, &b_bsp_sigmaz);
  1262. fChain->SetBranchAddress("see_fitok", &see_fitok, &b_see_fitok);
  1263. fChain->SetBranchAddress("see_px", &see_px, &b_see_px);
  1264. fChain->SetBranchAddress("see_py", &see_py, &b_see_py);
  1265. fChain->SetBranchAddress("see_pz", &see_pz, &b_see_pz);
  1266. fChain->SetBranchAddress("see_pt", &see_pt, &b_see_pt);
  1267. fChain->SetBranchAddress("see_eta", &see_eta, &b_see_eta);
  1268. fChain->SetBranchAddress("see_phi", &see_phi, &b_see_phi);
  1269. fChain->SetBranchAddress("see_dxy", &see_dxy, &b_see_dxy);
  1270. fChain->SetBranchAddress("see_dz", &see_dz, &b_see_dz);
  1271. fChain->SetBranchAddress("see_ptErr", &see_ptErr, &b_see_ptErr);
  1272. fChain->SetBranchAddress("see_etaErr", &see_etaErr, &b_see_etaErr);
  1273. fChain->SetBranchAddress("see_phiErr", &see_phiErr, &b_see_phiErr);
  1274. fChain->SetBranchAddress("see_dxyErr", &see_dxyErr, &b_see_dxyErr);
  1275. fChain->SetBranchAddress("see_dzErr", &see_dzErr, &b_see_dzErr);
  1276. fChain->SetBranchAddress("see_chi2", &see_chi2, &b_see_chi2);
  1277. fChain->SetBranchAddress("see_statePt", &see_statePt, &b_see_statePt);
  1278. fChain->SetBranchAddress("see_stateTrajX", &see_stateTrajX, &b_see_stateTrajX);
  1279. fChain->SetBranchAddress("see_stateTrajY", &see_stateTrajY, &b_see_stateTrajY);
  1280. fChain->SetBranchAddress("see_stateTrajPx", &see_stateTrajPx, &b_see_stateTrajPx);
  1281. fChain->SetBranchAddress("see_stateTrajPy", &see_stateTrajPy, &b_see_stateTrajPy);
  1282. fChain->SetBranchAddress("see_stateTrajPz", &see_stateTrajPz, &b_see_stateTrajPz);
  1283. fChain->SetBranchAddress("see_q", &see_q, &b_see_q);
  1284. fChain->SetBranchAddress("see_nValid", &see_nValid, &b_see_nValid);
  1285. fChain->SetBranchAddress("see_nPixel", &see_nPixel, &b_see_nPixel);
  1286. fChain->SetBranchAddress("see_nGlued", &see_nGlued, &b_see_nGlued);
  1287. fChain->SetBranchAddress("see_nStrip", &see_nStrip, &b_see_nStrip);
  1288. fChain->SetBranchAddress("see_nPhase2OT", &see_nPhase2OT, &b_see_nPhase2OT);
  1289. fChain->SetBranchAddress("see_algo", &see_algo, &b_see_algo);
  1290. fChain->SetBranchAddress("see_stopReason", &see_stopReason, &b_see_stopReason);
  1291. fChain->SetBranchAddress("see_algoOriginal", &see_algoOriginal, &b_see_algoOriginal);
  1292. fChain->SetBranchAddress("see_trkIdx", &see_trkIdx, &b_see_trkIdx);
  1293. fChain->SetBranchAddress("see_shareFrac", &see_shareFrac, &b_see_shareFrac);
  1294. fChain->SetBranchAddress("see_simTrkIdx", &see_simTrkIdx, &b_see_simTrkIdx);
  1295. fChain->SetBranchAddress("see_hitIdx", &see_hitIdx, &b_see_hitIdx);
  1296. fChain->SetBranchAddress("see_hitType", &see_hitType, &b_see_hitType);
  1297. fChain->SetBranchAddress("see_offset", &see_offset, &b_see_offset);
  1298. fChain->SetBranchAddress("see_hitsMask", &see_hitsMask, &b_see_hitsMask);
  1299. fChain->SetBranchAddress("see_subDet2", &see_subDet2, &b_see_subDet2);
  1300. fChain->SetBranchAddress("see_dRz2", &see_dRz2, &b_see_dRz2);
  1301. fChain->SetBranchAddress("see_dPhi2", &see_dPhi2, &b_see_dPhi2);
  1302. fChain->SetBranchAddress("see_dRz2Pos", &see_dRz2Pos, &b_see_dRz2Pos);
  1303. fChain->SetBranchAddress("see_dPhi2Pos", &see_dPhi2Pos, &b_see_dPhi2Pos);
  1304. fChain->SetBranchAddress("see_subDet1", &see_subDet1, &b_see_subDet1);
  1305. fChain->SetBranchAddress("see_dRz1", &see_dRz1, &b_see_dRz1);
  1306. fChain->SetBranchAddress("see_dPhi1", &see_dPhi1, &b_see_dPhi1);
  1307. fChain->SetBranchAddress("see_dRz1Pos", &see_dRz1Pos, &b_see_dRz1Pos);
  1308. fChain->SetBranchAddress("see_dPhi1Pos", &see_dPhi1Pos, &b_see_dPhi1Pos);
  1309. fChain->SetBranchAddress("see_superClusterEnergy", &see_superClusterEnergy, &b_see_superClusterEnergy);
  1310. fChain->SetBranchAddress("see_superClusterEta", &see_superClusterEta, &b_see_superClusterEta);
  1311. fChain->SetBranchAddress("see_superClusterPhi", &see_superClusterPhi, &b_see_superClusterPhi);
  1312. fChain->SetBranchAddress("see_superClusterEt", &see_superClusterEt, &b_see_superClusterEt);
  1313. fChain->SetBranchAddress("see_superClusterIdx", &see_superClusterIdx, &b_see_superClusterIdx);
  1314. fChain->SetBranchAddress("see_ecalDriven", &see_ecalDriven, &b_see_ecalDriven);
  1315. fChain->SetBranchAddress("see_trkDriven", &see_trkDriven, &b_see_trkDriven);
  1316. fChain->SetBranchAddress("vtx_x", &vtx_x, &b_vtx_x);
  1317. fChain->SetBranchAddress("vtx_y", &vtx_y, &b_vtx_y);
  1318. fChain->SetBranchAddress("vtx_z", &vtx_z, &b_vtx_z);
  1319. fChain->SetBranchAddress("vtx_xErr", &vtx_xErr, &b_vtx_xErr);
  1320. fChain->SetBranchAddress("vtx_yErr", &vtx_yErr, &b_vtx_yErr);
  1321. fChain->SetBranchAddress("vtx_zErr", &vtx_zErr, &b_vtx_zErr);
  1322. fChain->SetBranchAddress("vtx_ndof", &vtx_ndof, &b_vtx_ndof);
  1323. fChain->SetBranchAddress("vtx_chi2", &vtx_chi2, &b_vtx_chi2);
  1324. fChain->SetBranchAddress("vtx_fake", &vtx_fake, &b_vtx_fake);
  1325. fChain->SetBranchAddress("vtx_valid", &vtx_valid, &b_vtx_valid);
  1326. fChain->SetBranchAddress("vtx_trkIdx", &vtx_trkIdx, &b_vtx_trkIdx);
  1327. fChain->SetBranchAddress("gen_px", &gen_px, &b_gen_px);
  1328. fChain->SetBranchAddress("gen_py", &gen_py, &b_gen_py);
  1329. fChain->SetBranchAddress("gen_pz", &gen_pz, &b_gen_pz);
  1330. fChain->SetBranchAddress("gen_charge", &gen_charge, &b_gen_charge);
  1331. fChain->SetBranchAddress("gen_pdgId", &gen_pdgId, &b_gen_pdgId);
  1332. fChain->SetBranchAddress("gen_vx", &gen_vx, &b_gen_vx);
  1333. fChain->SetBranchAddress("gen_vy", &gen_vy, &b_gen_vy);
  1334. fChain->SetBranchAddress("gen_vz", &gen_vz, &b_gen_vz);
  1335. fChain->SetBranchAddress("gen_status", &gen_status, &b_gen_status);
  1336. fChain->SetBranchAddress("gen_mother", &gen_mother, &b_gen_mother);
  1337. fChain->SetBranchAddress("gen_isTauDecayProduct", &gen_isTauDecayProduct, &b_gen_isTauDecayProduct);
  1338. fChain->SetBranchAddress("gen_isDirectHadronDecayProduct", &gen_isDirectHadronDecayProduct, &b_gen_isDirectHadronDecayProduct);
  1339. fChain->SetBranchAddress("gen_isPrompt", &gen_isPrompt, &b_gen_isPrompt);
  1340. fChain->SetBranchAddress("simvtx_event", &simvtx_event, &b_simvtx_event);
  1341. fChain->SetBranchAddress("simvtx_bunchCrossing", &simvtx_bunchCrossing, &b_simvtx_bunchCrossing);
  1342. fChain->SetBranchAddress("simvtx_processType", &simvtx_processType, &b_simvtx_processType);
  1343. fChain->SetBranchAddress("simvtx_x", &simvtx_x, &b_simvtx_x);
  1344. fChain->SetBranchAddress("simvtx_y", &simvtx_y, &b_simvtx_y);
  1345. fChain->SetBranchAddress("simvtx_z", &simvtx_z, &b_simvtx_z);
  1346. fChain->SetBranchAddress("simvtx_sourceSimIdx", &simvtx_sourceSimIdx, &b_simvtx_sourceSimIdx);
  1347. fChain->SetBranchAddress("simvtx_daughterSimIdx", &simvtx_daughterSimIdx, &b_simvtx_daughterSimIdx);
  1348. fChain->SetBranchAddress("simpv_idx", &simpv_idx, &b_simpv_idx);
  1349. fChain->SetBranchAddress("scl_e", &scl_e, &b_scl_e);
  1350. fChain->SetBranchAddress("scl_px", &scl_px, &b_scl_px);
  1351. fChain->SetBranchAddress("scl_py", &scl_py, &b_scl_py);
  1352. fChain->SetBranchAddress("scl_pz", &scl_pz, &b_scl_pz);
  1353. fChain->SetBranchAddress("scl_x", &scl_x, &b_scl_x);
  1354. fChain->SetBranchAddress("scl_y", &scl_y, &b_scl_y);
  1355. fChain->SetBranchAddress("scl_z", &scl_z, &b_scl_z);
  1356. fChain->SetBranchAddress("scl_charge", &scl_charge, &b_scl_charge);
  1357. fChain->SetBranchAddress("scl_subDet1", &scl_subDet1, &b_scl_subDet1);
  1358. fChain->SetBranchAddress("scl_subDet2", &scl_subDet2, &b_scl_subDet2);
  1359. fChain->SetBranchAddress("scl_dRz1", &scl_dRz1, &b_scl_dRz1);
  1360. fChain->SetBranchAddress("scl_dPhi1", &scl_dPhi1, &b_scl_dPhi1);
  1361. fChain->SetBranchAddress("scl_dRz2", &scl_dRz2, &b_scl_dRz2);
  1362. fChain->SetBranchAddress("scl_dPhi2", &scl_dPhi2, &b_scl_dPhi2);
  1363. fChain->SetBranchAddress("scl_seedType", &scl_seedType, &b_scl_seedType);
  1364. fChain->SetBranchAddress("scl_hitsMask", &scl_hitsMask, &b_scl_hitsMask);
  1365. Notify();
  1366. }
  1367. Bool_t TrackingNtuple::Notify()
  1368. {
  1369. // The Notify() function is called when a new file is opened. This
  1370. // can be either for a new TTree in a TChain or when when a new TTree
  1371. // is started when using PROOF. It is normally not necessary to make changes
  1372. // to the generated code, but the routine can be extended by the
  1373. // user if needed. The return value is currently not used.
  1374. return kTRUE;
  1375. }
  1376. void TrackingNtuple::Show(Long64_t entry)
  1377. {
  1378. // Print contents of entry.
  1379. // If entry is not specified, print current entry
  1380. if (!fChain) return;
  1381. fChain->Show(entry);
  1382. }
  1383. Int_t TrackingNtuple::Cut(Long64_t entry)
  1384. {
  1385. // This function may be called from Loop.
  1386. // returns 1 if entry is accepted.
  1387. // returns -1 otherwise.
  1388. return 1;
  1389. }
  1390. #endif // TrackingNtuple_h