PandaTree
EnumerateBranches.h
1 #ifndef IWILLSEEYOULATER
2 #define IWILLSEEYOULATER 1
3 
4 #include <vector>
5 #include <functional>
6 #include <algorithm>
7 #include <cassert>
8 #include "PandaTree/Objects/interface/Event.h"
9 
10 namespace testpanda {
11 
12  template <int P>
13  struct plotter {
14  constexpr static const char* name = nullptr;
15  };
16 
17  template <>
18  struct plotter <0> {
19  constexpr static const char* name = "common/isData";
20  std::vector<float> operator () (panda::Event& event) {
21  std::vector<float> output {float(event.isData)};
22  return output;
23  }
24  };
25 
26  template <>
27  struct plotter <1> {
28  constexpr static const char* name = "common/weight";
29  std::vector<float> operator () (panda::Event& event) {
30  std::vector<float> output {float(event.weight)};
31  return output;
32  }
33  };
34 
35  template <>
36  struct plotter <2> {
37  constexpr static const char* name = "common/eventNumber";
38  std::vector<float> operator () (panda::Event& event) {
39  std::vector<float> output {float(event.eventNumber)};
40  return output;
41  }
42  };
43 
44  template <>
45  struct plotter <3> {
46  constexpr static const char* name = "common/runNumber";
47  std::vector<float> operator () (panda::Event& event) {
48  std::vector<float> output {float(event.runNumber)};
49  return output;
50  }
51  };
52 
53  template <>
54  struct plotter <4> {
55  constexpr static const char* name = "common/lumiNumber";
56  std::vector<float> operator () (panda::Event& event) {
57  std::vector<float> output {float(event.lumiNumber)};
58  return output;
59  }
60  };
61 
62  template <>
63  struct plotter <5> {
64  constexpr static const char* name = "common/npvTrue";
65  std::vector<float> operator () (panda::Event& event) {
66  std::vector<float> output {float(event.npvTrue)};
67  return output;
68  }
69  };
70 
71  template <>
72  struct plotter <6> {
73  constexpr static const char* name = "common/npv";
74  std::vector<float> operator () (panda::Event& event) {
75  std::vector<float> output {float(event.npv)};
76  return output;
77  }
78  };
79 
80  template <>
81  struct plotter <7> {
82  constexpr static const char* name = "partons/size";
83  std::vector<float> operator () (panda::Event& event) {
84  std::vector<float> output {float(event.partons.size())};
85  return output;
86  }
87  };
88 
89  template <>
90  struct plotter <8> {
91  constexpr static const char* name = "partons/pt";
92  std::vector<float> operator () (panda::Event& event) {
93  std::vector<float> output;
94  for (auto& i : event.partons)
95  output.push_back(i.pt());
96  return output;
97  }
98  };
99 
100  template <>
101  struct plotter <9> {
102  constexpr static const char* name = "partons/p";
103  std::vector<float> operator () (panda::Event& event) {
104  std::vector<float> output;
105  for (auto& i : event.partons)
106  output.push_back(i.p());
107  return output;
108  }
109  };
110 
111  template <>
112  struct plotter <10> {
113  constexpr static const char* name = "partons/eta";
114  std::vector<float> operator () (panda::Event& event) {
115  std::vector<float> output;
116  for (auto& i : event.partons)
117  output.push_back(i.eta());
118  return output;
119  }
120  };
121 
122  template <>
123  struct plotter <11> {
124  constexpr static const char* name = "partons/m";
125  std::vector<float> operator () (panda::Event& event) {
126  std::vector<float> output;
127  for (auto& i : event.partons)
128  output.push_back(i.m());
129  return output;
130  }
131  };
132 
133  template <>
134  struct plotter <12> {
135  constexpr static const char* name = "partons/pdgid";
136  std::vector<float> operator () (panda::Event& event) {
137  std::vector<float> output;
138  for (auto& i : event.partons)
139  output.push_back(i.pdgid);
140  return output;
141  }
142  };
143 
144  template <>
145  struct plotter <13> {
146  constexpr static const char* name = "partons/phi";
147  std::vector<float> operator () (panda::Event& event) {
148  std::vector<float> output;
149  for (auto& i : event.partons)
150  output.push_back(i.phi());
151  return output;
152  }
153  };
154 
155  template <>
156  struct plotter <14> {
157  constexpr static const char* name = "partons/pz";
158  std::vector<float> operator () (panda::Event& event) {
159  std::vector<float> output;
160  for (auto& i : event.partons)
161  output.push_back(i.pz());
162  return output;
163  }
164  };
165 
166  template <>
167  struct plotter <15> {
168  constexpr static const char* name = "partons/py";
169  std::vector<float> operator () (panda::Event& event) {
170  std::vector<float> output;
171  for (auto& i : event.partons)
172  output.push_back(i.py());
173  return output;
174  }
175  };
176 
177  template <>
178  struct plotter <16> {
179  constexpr static const char* name = "partons/px";
180  std::vector<float> operator () (panda::Event& event) {
181  std::vector<float> output;
182  for (auto& i : event.partons)
183  output.push_back(i.px());
184  return output;
185  }
186  };
187 
188  template <>
189  struct plotter <17> {
190  constexpr static const char* name = "partons/e";
191  std::vector<float> operator () (panda::Event& event) {
192  std::vector<float> output;
193  for (auto& i : event.partons)
194  output.push_back(i.e());
195  return output;
196  }
197  };
198 
199  template <>
200  struct plotter <18> {
201  constexpr static const char* name = "genVertex/y";
202  std::vector<float> operator () (panda::Event& event) {
203  std::vector<float> output {float(event.genVertex.y)};
204  return output;
205  }
206  };
207 
208  template <>
209  struct plotter <19> {
210  constexpr static const char* name = "genVertex/x";
211  std::vector<float> operator () (panda::Event& event) {
212  std::vector<float> output {float(event.genVertex.x)};
213  return output;
214  }
215  };
216 
217  template <>
218  struct plotter <20> {
219  constexpr static const char* name = "genVertex/z";
220  std::vector<float> operator () (panda::Event& event) {
221  std::vector<float> output {float(event.genVertex.z)};
222  return output;
223  }
224  };
225 
226  template <>
227  struct plotter <21> {
228  constexpr static const char* name = "common/rhoCentralCalo";
229  std::vector<float> operator () (panda::Event& event) {
230  std::vector<float> output {float(event.rhoCentralCalo)};
231  return output;
232  }
233  };
234 
235  template <>
236  struct plotter <22> {
237  constexpr static const char* name = "common/rho";
238  std::vector<float> operator () (panda::Event& event) {
239  std::vector<float> output {float(event.rho)};
240  return output;
241  }
242  };
243 
244  template <>
245  struct plotter <23> {
246  constexpr static const char* name = "genReweight/r5f1DW";
247  std::vector<float> operator () (panda::Event& event) {
248  std::vector<float> output {float(event.genReweight.r5f1DW)};
249  return output;
250  }
251  };
252 
253  template <>
254  struct plotter <24> {
255  constexpr static const char* name = "genReweight/r2f2DW";
256  std::vector<float> operator () (panda::Event& event) {
257  std::vector<float> output {float(event.genReweight.r2f2DW)};
258  return output;
259  }
260  };
261 
262  template <>
263  struct plotter <25> {
264  constexpr static const char* name = "genReweight/r2f1DW";
265  std::vector<float> operator () (panda::Event& event) {
266  std::vector<float> output {float(event.genReweight.r2f1DW)};
267  return output;
268  }
269  };
270 
271  template <>
272  struct plotter <26> {
273  constexpr static const char* name = "genReweight/r1f5DW";
274  std::vector<float> operator () (panda::Event& event) {
275  std::vector<float> output {float(event.genReweight.r1f5DW)};
276  return output;
277  }
278  };
279 
280  template <>
281  struct plotter <27> {
282  constexpr static const char* name = "genReweight/r5f5DW";
283  std::vector<float> operator () (panda::Event& event) {
284  std::vector<float> output {float(event.genReweight.r5f5DW)};
285  return output;
286  }
287  };
288 
289  template <>
290  struct plotter <28> {
291  constexpr static const char* name = "genReweight/r1f2DW";
292  std::vector<float> operator () (panda::Event& event) {
293  std::vector<float> output {float(event.genReweight.r1f2DW)};
294  return output;
295  }
296  };
297 
298  template <>
299  struct plotter <29> {
300  constexpr static const char* name = "pfCandidates/size";
301  std::vector<float> operator () (panda::Event& event) {
302  std::vector<float> output {float(event.pfCandidates.size())};
303  return output;
304  }
305  };
306 
307  template <>
308  struct plotter <30> {
309  constexpr static const char* name = "pfCandidates/vertex_isValid";
310  std::vector<float> operator () (panda::Event& event) {
311  std::vector<float> output;
312  for (auto& i : event.pfCandidates)
313  output.push_back(i.vertex.isValid());
314  return output;
315  }
316  };
317 
318  template <>
319  struct plotter <31> {
320  constexpr static const char* name = "pfCandidates/track_isValid";
321  std::vector<float> operator () (panda::Event& event) {
322  std::vector<float> output;
323  for (auto& i : event.pfCandidates)
324  output.push_back(i.track.isValid());
325  return output;
326  }
327  };
328 
329  template <>
330  struct plotter <32> {
331  constexpr static const char* name = "pfCandidates/pt";
332  std::vector<float> operator () (panda::Event& event) {
333  std::vector<float> output;
334  for (auto& i : event.pfCandidates)
335  output.push_back(i.pt());
336  return output;
337  }
338  };
339 
340  template <>
341  struct plotter <33> {
342  constexpr static const char* name = "pfCandidates/p";
343  std::vector<float> operator () (panda::Event& event) {
344  std::vector<float> output;
345  for (auto& i : event.pfCandidates)
346  output.push_back(i.p());
347  return output;
348  }
349  };
350 
351  template <>
352  struct plotter <34> {
353  constexpr static const char* name = "pfCandidates/q";
354  std::vector<float> operator () (panda::Event& event) {
355  std::vector<float> output;
356  for (auto& i : event.pfCandidates)
357  output.push_back(i.q());
358  return output;
359  }
360  };
361 
362  template <>
363  struct plotter <35> {
364  constexpr static const char* name = "pfCandidates/eta";
365  std::vector<float> operator () (panda::Event& event) {
366  std::vector<float> output;
367  for (auto& i : event.pfCandidates)
368  output.push_back(i.eta());
369  return output;
370  }
371  };
372 
373  template <>
374  struct plotter <36> {
375  constexpr static const char* name = "pfCandidates/m";
376  std::vector<float> operator () (panda::Event& event) {
377  std::vector<float> output;
378  for (auto& i : event.pfCandidates)
379  output.push_back(i.m());
380  return output;
381  }
382  };
383 
384  template <>
385  struct plotter <37> {
386  constexpr static const char* name = "pfCandidates/pdgId";
387  std::vector<float> operator () (panda::Event& event) {
388  std::vector<float> output;
389  for (auto& i : event.pfCandidates)
390  output.push_back(i.pdgId());
391  return output;
392  }
393  };
394 
395  template <>
396  struct plotter <38> {
397  constexpr static const char* name = "pfCandidates/hCalFrac";
398  std::vector<float> operator () (panda::Event& event) {
399  std::vector<float> output;
400  for (auto& i : event.pfCandidates)
401  output.push_back(i.hCalFrac);
402  return output;
403  }
404  };
405 
406  template <>
407  struct plotter <39> {
408  constexpr static const char* name = "pfCandidates/ptype";
409  std::vector<float> operator () (panda::Event& event) {
410  std::vector<float> output;
411  for (auto& i : event.pfCandidates)
412  output.push_back(i.ptype);
413  return output;
414  }
415  };
416 
417  template <>
418  struct plotter <40> {
419  constexpr static const char* name = "pfCandidates/phi";
420  std::vector<float> operator () (panda::Event& event) {
421  std::vector<float> output;
422  for (auto& i : event.pfCandidates)
423  output.push_back(i.phi());
424  return output;
425  }
426  };
427 
428  template <>
429  struct plotter <41> {
430  constexpr static const char* name = "pfCandidates/py";
431  std::vector<float> operator () (panda::Event& event) {
432  std::vector<float> output;
433  for (auto& i : event.pfCandidates)
434  output.push_back(i.py());
435  return output;
436  }
437  };
438 
439  template <>
440  struct plotter <42> {
441  constexpr static const char* name = "pfCandidates/pz";
442  std::vector<float> operator () (panda::Event& event) {
443  std::vector<float> output;
444  for (auto& i : event.pfCandidates)
445  output.push_back(i.pz());
446  return output;
447  }
448  };
449 
450  template <>
451  struct plotter <43> {
452  constexpr static const char* name = "pfCandidates/puppiWNoLep";
453  std::vector<float> operator () (panda::Event& event) {
454  std::vector<float> output;
455  for (auto& i : event.pfCandidates)
456  output.push_back(i.puppiWNoLep());
457  return output;
458  }
459  };
460 
461  template <>
462  struct plotter <44> {
463  constexpr static const char* name = "pfCandidates/puppiW";
464  std::vector<float> operator () (panda::Event& event) {
465  std::vector<float> output;
466  for (auto& i : event.pfCandidates)
467  output.push_back(i.puppiW());
468  return output;
469  }
470  };
471 
472  template <>
473  struct plotter <45> {
474  constexpr static const char* name = "pfCandidates/px";
475  std::vector<float> operator () (panda::Event& event) {
476  std::vector<float> output;
477  for (auto& i : event.pfCandidates)
478  output.push_back(i.px());
479  return output;
480  }
481  };
482 
483  template <>
484  struct plotter <46> {
485  constexpr static const char* name = "pfCandidates/e";
486  std::vector<float> operator () (panda::Event& event) {
487  std::vector<float> output;
488  for (auto& i : event.pfCandidates)
489  output.push_back(i.e());
490  return output;
491  }
492  };
493 
494  template <>
495  struct plotter <47> {
496  constexpr static const char* name = "vertices/size";
497  std::vector<float> operator () (panda::Event& event) {
498  std::vector<float> output {float(event.vertices.size())};
499  return output;
500  }
501  };
502 
503  template <>
504  struct plotter <48> {
505  constexpr static const char* name = "vertices/chi2";
506  std::vector<float> operator () (panda::Event& event) {
507  std::vector<float> output;
508  for (auto& i : event.vertices)
509  output.push_back(i.chi2);
510  return output;
511  }
512  };
513 
514  template <>
515  struct plotter <49> {
516  constexpr static const char* name = "vertices/ntrk";
517  std::vector<float> operator () (panda::Event& event) {
518  std::vector<float> output;
519  for (auto& i : event.vertices)
520  output.push_back(i.ntrk);
521  return output;
522  }
523  };
524 
525  template <>
526  struct plotter <50> {
527  constexpr static const char* name = "vertices/ndof";
528  std::vector<float> operator () (panda::Event& event) {
529  std::vector<float> output;
530  for (auto& i : event.vertices)
531  output.push_back(i.ndof);
532  return output;
533  }
534  };
535 
536  template <>
537  struct plotter <51> {
538  constexpr static const char* name = "vertices/score";
539  std::vector<float> operator () (panda::Event& event) {
540  std::vector<float> output;
541  for (auto& i : event.vertices)
542  output.push_back(i.score);
543  return output;
544  }
545  };
546 
547  template <>
548  struct plotter <52> {
549  constexpr static const char* name = "vertices/normChi2";
550  std::vector<float> operator () (panda::Event& event) {
551  std::vector<float> output;
552  for (auto& i : event.vertices)
553  output.push_back(i.normChi2());
554  return output;
555  }
556  };
557 
558  template <>
559  struct plotter <53> {
560  constexpr static const char* name = "vertices/pfRangeMax";
561  std::vector<float> operator () (panda::Event& event) {
562  std::vector<float> output;
563  for (auto& i : event.vertices)
564  output.push_back(i.pfRangeMax);
565  return output;
566  }
567  };
568 
569  template <>
570  struct plotter <54> {
571  constexpr static const char* name = "vertices/y";
572  std::vector<float> operator () (panda::Event& event) {
573  std::vector<float> output;
574  for (auto& i : event.vertices)
575  output.push_back(i.y);
576  return output;
577  }
578  };
579 
580  template <>
581  struct plotter <55> {
582  constexpr static const char* name = "vertices/x";
583  std::vector<float> operator () (panda::Event& event) {
584  std::vector<float> output;
585  for (auto& i : event.vertices)
586  output.push_back(i.x);
587  return output;
588  }
589  };
590 
591  template <>
592  struct plotter <56> {
593  constexpr static const char* name = "vertices/z";
594  std::vector<float> operator () (panda::Event& event) {
595  std::vector<float> output;
596  for (auto& i : event.vertices)
597  output.push_back(i.z);
598  return output;
599  }
600  };
601 
602  template <>
603  struct plotter <57> {
604  constexpr static const char* name = "secondaryVertices/size";
605  std::vector<float> operator () (panda::Event& event) {
606  std::vector<float> output {float(event.secondaryVertices.size())};
607  return output;
608  }
609  };
610 
611  template <>
612  struct plotter <58> {
613  constexpr static const char* name = "secondaryVertices/daughters_size";
614  std::vector<float> operator () (panda::Event& event) {
615  std::vector<float> output;
616  for (auto& i : event.secondaryVertices)
617  output.push_back(i.daughters.size());
618  return output;
619  }
620  };
621 
622  template <>
623  struct plotter <59> {
624  constexpr static const char* name = "secondaryVertices/vtx3DVal";
625  std::vector<float> operator () (panda::Event& event) {
626  std::vector<float> output;
627  for (auto& i : event.secondaryVertices)
628  output.push_back(i.vtx3DVal);
629  return output;
630  }
631  };
632 
633  template <>
634  struct plotter <60> {
635  constexpr static const char* name = "secondaryVertices/pt";
636  std::vector<float> operator () (panda::Event& event) {
637  std::vector<float> output;
638  for (auto& i : event.secondaryVertices)
639  output.push_back(i.pt());
640  return output;
641  }
642  };
643 
644  template <>
645  struct plotter <61> {
646  constexpr static const char* name = "secondaryVertices/p";
647  std::vector<float> operator () (panda::Event& event) {
648  std::vector<float> output;
649  for (auto& i : event.secondaryVertices)
650  output.push_back(i.p());
651  return output;
652  }
653  };
654 
655  template <>
656  struct plotter <62> {
657  constexpr static const char* name = "secondaryVertices/eta";
658  std::vector<float> operator () (panda::Event& event) {
659  std::vector<float> output;
660  for (auto& i : event.secondaryVertices)
661  output.push_back(i.eta());
662  return output;
663  }
664  };
665 
666  template <>
667  struct plotter <63> {
668  constexpr static const char* name = "secondaryVertices/m";
669  std::vector<float> operator () (panda::Event& event) {
670  std::vector<float> output;
671  for (auto& i : event.secondaryVertices)
672  output.push_back(i.m());
673  return output;
674  }
675  };
676 
677  template <>
678  struct plotter <64> {
679  constexpr static const char* name = "secondaryVertices/chi2";
680  std::vector<float> operator () (panda::Event& event) {
681  std::vector<float> output;
682  for (auto& i : event.secondaryVertices)
683  output.push_back(i.chi2);
684  return output;
685  }
686  };
687 
688  template <>
689  struct plotter <65> {
690  constexpr static const char* name = "secondaryVertices/significance";
691  std::vector<float> operator () (panda::Event& event) {
692  std::vector<float> output;
693  for (auto& i : event.secondaryVertices)
694  output.push_back(i.significance);
695  return output;
696  }
697  };
698 
699  template <>
700  struct plotter <66> {
701  constexpr static const char* name = "secondaryVertices/pz";
702  std::vector<float> operator () (panda::Event& event) {
703  std::vector<float> output;
704  for (auto& i : event.secondaryVertices)
705  output.push_back(i.pz());
706  return output;
707  }
708  };
709 
710  template <>
711  struct plotter <67> {
712  constexpr static const char* name = "secondaryVertices/ndof";
713  std::vector<float> operator () (panda::Event& event) {
714  std::vector<float> output;
715  for (auto& i : event.secondaryVertices)
716  output.push_back(i.ndof);
717  return output;
718  }
719  };
720 
721  template <>
722  struct plotter <68> {
723  constexpr static const char* name = "secondaryVertices/phi";
724  std::vector<float> operator () (panda::Event& event) {
725  std::vector<float> output;
726  for (auto& i : event.secondaryVertices)
727  output.push_back(i.phi());
728  return output;
729  }
730  };
731 
732  template <>
733  struct plotter <69> {
734  constexpr static const char* name = "secondaryVertices/vtx3DeVal";
735  std::vector<float> operator () (panda::Event& event) {
736  std::vector<float> output;
737  for (auto& i : event.secondaryVertices)
738  output.push_back(i.vtx3DeVal);
739  return output;
740  }
741  };
742 
743  template <>
744  struct plotter <70> {
745  constexpr static const char* name = "secondaryVertices/py";
746  std::vector<float> operator () (panda::Event& event) {
747  std::vector<float> output;
748  for (auto& i : event.secondaryVertices)
749  output.push_back(i.py());
750  return output;
751  }
752  };
753 
754  template <>
755  struct plotter <71> {
756  constexpr static const char* name = "secondaryVertices/normChi2";
757  std::vector<float> operator () (panda::Event& event) {
758  std::vector<float> output;
759  for (auto& i : event.secondaryVertices)
760  output.push_back(i.normChi2());
761  return output;
762  }
763  };
764 
765  template <>
766  struct plotter <72> {
767  constexpr static const char* name = "secondaryVertices/ntrk";
768  std::vector<float> operator () (panda::Event& event) {
769  std::vector<float> output;
770  for (auto& i : event.secondaryVertices)
771  output.push_back(i.ntrk);
772  return output;
773  }
774  };
775 
776  template <>
777  struct plotter <73> {
778  constexpr static const char* name = "secondaryVertices/y";
779  std::vector<float> operator () (panda::Event& event) {
780  std::vector<float> output;
781  for (auto& i : event.secondaryVertices)
782  output.push_back(i.y);
783  return output;
784  }
785  };
786 
787  template <>
788  struct plotter <74> {
789  constexpr static const char* name = "secondaryVertices/x";
790  std::vector<float> operator () (panda::Event& event) {
791  std::vector<float> output;
792  for (auto& i : event.secondaryVertices)
793  output.push_back(i.x);
794  return output;
795  }
796  };
797 
798  template <>
799  struct plotter <75> {
800  constexpr static const char* name = "secondaryVertices/z";
801  std::vector<float> operator () (panda::Event& event) {
802  std::vector<float> output;
803  for (auto& i : event.secondaryVertices)
804  output.push_back(i.z);
805  return output;
806  }
807  };
808 
809  template <>
810  struct plotter <76> {
811  constexpr static const char* name = "secondaryVertices/px";
812  std::vector<float> operator () (panda::Event& event) {
813  std::vector<float> output;
814  for (auto& i : event.secondaryVertices)
815  output.push_back(i.px());
816  return output;
817  }
818  };
819 
820  template <>
821  struct plotter <77> {
822  constexpr static const char* name = "secondaryVertices/e";
823  std::vector<float> operator () (panda::Event& event) {
824  std::vector<float> output;
825  for (auto& i : event.secondaryVertices)
826  output.push_back(i.e());
827  return output;
828  }
829  };
830 
831  template <>
832  struct plotter <78> {
833  constexpr static const char* name = "tracks/size";
834  std::vector<float> operator () (panda::Event& event) {
835  std::vector<float> output {float(event.tracks.size())};
836  return output;
837  }
838  };
839 
840  template <>
841  struct plotter <79> {
842  constexpr static const char* name = "tracks/dxy";
843  std::vector<float> operator () (panda::Event& event) {
844  std::vector<float> output;
845  for (auto& i : event.tracks)
846  output.push_back(i.dxy());
847  return output;
848  }
849  };
850 
851  template <>
852  struct plotter <80> {
853  constexpr static const char* name = "tracks/dPhi";
854  std::vector<float> operator () (panda::Event& event) {
855  std::vector<float> output;
856  for (auto& i : event.tracks)
857  output.push_back(i.dPhi());
858  return output;
859  }
860  };
861 
862  template <>
863  struct plotter <81> {
864  constexpr static const char* name = "tracks/dz";
865  std::vector<float> operator () (panda::Event& event) {
866  std::vector<float> output;
867  for (auto& i : event.tracks)
868  output.push_back(i.dz());
869  return output;
870  }
871  };
872 
873  template <>
874  struct plotter <82> {
875  constexpr static const char* name = "tracks/highPurity";
876  std::vector<float> operator () (panda::Event& event) {
877  std::vector<float> output;
878  for (auto& i : event.tracks)
879  output.push_back(i.highPurity);
880  return output;
881  }
882  };
883 
884  template <>
885  struct plotter <83> {
886  constexpr static const char* name = "tracks/ptError";
887  std::vector<float> operator () (panda::Event& event) {
888  std::vector<float> output;
889  for (auto& i : event.tracks)
890  output.push_back(i.ptError());
891  return output;
892  }
893  };
894 
895  template <>
896  struct plotter <84> {
897  constexpr static const char* name = "superClusters/size";
898  std::vector<float> operator () (panda::Event& event) {
899  std::vector<float> output {float(event.superClusters.size())};
900  return output;
901  }
902  };
903 
904  template <>
905  struct plotter <85> {
906  constexpr static const char* name = "superClusters/phi";
907  std::vector<float> operator () (panda::Event& event) {
908  std::vector<float> output;
909  for (auto& i : event.superClusters)
910  output.push_back(i.phi);
911  return output;
912  }
913  };
914 
915  template <>
916  struct plotter <86> {
917  constexpr static const char* name = "superClusters/rawPt";
918  std::vector<float> operator () (panda::Event& event) {
919  std::vector<float> output;
920  for (auto& i : event.superClusters)
921  output.push_back(i.rawPt);
922  return output;
923  }
924  };
925 
926  template <>
927  struct plotter <87> {
928  constexpr static const char* name = "superClusters/eta";
929  std::vector<float> operator () (panda::Event& event) {
930  std::vector<float> output;
931  for (auto& i : event.superClusters)
932  output.push_back(i.eta);
933  return output;
934  }
935  };
936 
937  template <>
938  struct plotter <88> {
939  constexpr static const char* name = "electrons/size";
940  std::vector<float> operator () (panda::Event& event) {
941  std::vector<float> output {float(event.electrons.size())};
942  return output;
943  }
944  };
945 
946  template <>
947  struct plotter <89> {
948  constexpr static const char* name = "electrons/superCluster_isValid";
949  std::vector<float> operator () (panda::Event& event) {
950  std::vector<float> output;
951  for (auto& i : event.electrons)
952  output.push_back(i.superCluster.isValid());
953  return output;
954  }
955  };
956 
957  template <>
958  struct plotter <90> {
959  constexpr static const char* name = "electrons/matchedPF_isValid";
960  std::vector<float> operator () (panda::Event& event) {
961  std::vector<float> output;
962  for (auto& i : event.electrons)
963  output.push_back(i.matchedPF.isValid());
964  return output;
965  }
966  };
967 
968  template <>
969  struct plotter <91> {
970  constexpr static const char* name = "electrons/matchedGen_isValid";
971  std::vector<float> operator () (panda::Event& event) {
972  std::vector<float> output;
973  for (auto& i : event.electrons)
974  output.push_back(i.matchedGen.isValid());
975  return output;
976  }
977  };
978 
979  template <>
980  struct plotter <92> {
981  constexpr static const char* name = "electrons/vertex_isValid";
982  std::vector<float> operator () (panda::Event& event) {
983  std::vector<float> output;
984  for (auto& i : event.electrons)
985  output.push_back(i.vertex.isValid());
986  return output;
987  }
988  };
989 
990  template <>
991  struct plotter <93> {
992  constexpr static const char* name = "electrons/mvaWPLoose";
993  std::vector<float> operator () (panda::Event& event) {
994  std::vector<float> output;
995  for (auto& i : event.electrons)
996  output.push_back(i.mvaWPLoose);
997  return output;
998  }
999  };
1000 
1001  template <>
1002  struct plotter <94> {
1003  constexpr static const char* name = "electrons/dxy";
1004  std::vector<float> operator () (panda::Event& event) {
1005  std::vector<float> output;
1006  for (auto& i : event.electrons)
1007  output.push_back(i.dxy);
1008  return output;
1009  }
1010  };
1011 
1012  template <>
1013  struct plotter <95> {
1014  constexpr static const char* name = "electrons/chIso";
1015  std::vector<float> operator () (panda::Event& event) {
1016  std::vector<float> output;
1017  for (auto& i : event.electrons)
1018  output.push_back(i.chIso);
1019  return output;
1020  }
1021  };
1022 
1023  template <>
1024  struct plotter <96> {
1025  constexpr static const char* name = "electrons/phIsoPh";
1026  std::vector<float> operator () (panda::Event& event) {
1027  std::vector<float> output;
1028  for (auto& i : event.electrons)
1029  output.push_back(i.phIsoPh);
1030  return output;
1031  }
1032  };
1033 
1034  template <>
1035  struct plotter <97> {
1036  constexpr static const char* name = "electrons/mvaVal";
1037  std::vector<float> operator () (panda::Event& event) {
1038  std::vector<float> output;
1039  for (auto& i : event.electrons)
1040  output.push_back(i.mvaVal);
1041  return output;
1042  }
1043  };
1044 
1045  template <>
1046  struct plotter <98> {
1047  constexpr static const char* name = "electrons/mvaIsoWP80";
1048  std::vector<float> operator () (panda::Event& event) {
1049  std::vector<float> output;
1050  for (auto& i : event.electrons)
1051  output.push_back(i.mvaIsoWP80);
1052  return output;
1053  }
1054  };
1055 
1056  template <>
1057  struct plotter <99> {
1058  constexpr static const char* name = "electrons/trackIso";
1059  std::vector<float> operator () (panda::Event& event) {
1060  std::vector<float> output;
1061  for (auto& i : event.electrons)
1062  output.push_back(i.trackIso);
1063  return output;
1064  }
1065  };
1066 
1067  template <>
1068  struct plotter <100> {
1069  constexpr static const char* name = "electrons/p";
1070  std::vector<float> operator () (panda::Event& event) {
1071  std::vector<float> output;
1072  for (auto& i : event.electrons)
1073  output.push_back(i.p());
1074  return output;
1075  }
1076  };
1077 
1078  template <>
1079  struct plotter <101> {
1080  constexpr static const char* name = "electrons/phi";
1081  std::vector<float> operator () (panda::Event& event) {
1082  std::vector<float> output;
1083  for (auto& i : event.electrons)
1084  output.push_back(i.phi());
1085  return output;
1086  }
1087  };
1088 
1089  template <>
1090  struct plotter <102> {
1091  constexpr static const char* name = "electrons/ecalIso";
1092  std::vector<float> operator () (panda::Event& event) {
1093  std::vector<float> output;
1094  for (auto& i : event.electrons)
1095  output.push_back(i.ecalIso);
1096  return output;
1097  }
1098  };
1099 
1100  template <>
1101  struct plotter <103> {
1102  constexpr static const char* name = "electrons/medium";
1103  std::vector<float> operator () (panda::Event& event) {
1104  std::vector<float> output;
1105  for (auto& i : event.electrons)
1106  output.push_back(i.medium);
1107  return output;
1108  }
1109  };
1110 
1111  template <>
1112  struct plotter <104> {
1113  constexpr static const char* name = "electrons/isoPUOffset";
1114  std::vector<float> operator () (panda::Event& event) {
1115  std::vector<float> output;
1116  for (auto& i : event.electrons)
1117  output.push_back(i.isoPUOffset);
1118  return output;
1119  }
1120  };
1121 
1122  template <>
1123  struct plotter <105> {
1124  constexpr static const char* name = "electrons/pfPt";
1125  std::vector<float> operator () (panda::Event& event) {
1126  std::vector<float> output;
1127  for (auto& i : event.electrons)
1128  output.push_back(i.pfPt);
1129  return output;
1130  }
1131  };
1132 
1133  template <>
1134  struct plotter <106> {
1135  constexpr static const char* name = "electrons/trackP";
1136  std::vector<float> operator () (panda::Event& event) {
1137  std::vector<float> output;
1138  for (auto& i : event.electrons)
1139  output.push_back(i.trackP);
1140  return output;
1141  }
1142  };
1143 
1144  template <>
1145  struct plotter <107> {
1146  constexpr static const char* name = "electrons/ecalE";
1147  std::vector<float> operator () (panda::Event& event) {
1148  std::vector<float> output;
1149  for (auto& i : event.electrons)
1150  output.push_back(i.ecalE);
1151  return output;
1152  }
1153  };
1154 
1155  template <>
1156  struct plotter <108> {
1157  constexpr static const char* name = "electrons/sipip";
1158  std::vector<float> operator () (panda::Event& event) {
1159  std::vector<float> output;
1160  for (auto& i : event.electrons)
1161  output.push_back(i.sipip);
1162  return output;
1163  }
1164  };
1165 
1166  template <>
1167  struct plotter <109> {
1168  constexpr static const char* name = "electrons/pz";
1169  std::vector<float> operator () (panda::Event& event) {
1170  std::vector<float> output;
1171  for (auto& i : event.electrons)
1172  output.push_back(i.pz());
1173  return output;
1174  }
1175  };
1176 
1177  template <>
1178  struct plotter <110> {
1179  constexpr static const char* name = "electrons/hltsafe";
1180  std::vector<float> operator () (panda::Event& event) {
1181  std::vector<float> output;
1182  for (auto& i : event.electrons)
1183  output.push_back(i.hltsafe);
1184  return output;
1185  }
1186  };
1187 
1188  template <>
1189  struct plotter <111> {
1190  constexpr static const char* name = "electrons/tripleCharge";
1191  std::vector<float> operator () (panda::Event& event) {
1192  std::vector<float> output;
1193  for (auto& i : event.electrons)
1194  output.push_back(i.tripleCharge);
1195  return output;
1196  }
1197  };
1198 
1199  template <>
1200  struct plotter <112> {
1201  constexpr static const char* name = "electrons/charge";
1202  std::vector<float> operator () (panda::Event& event) {
1203  std::vector<float> output;
1204  for (auto& i : event.electrons)
1205  output.push_back(i.charge);
1206  return output;
1207  }
1208  };
1209 
1210  template <>
1211  struct plotter <113> {
1212  constexpr static const char* name = "electrons/mvaWP80";
1213  std::vector<float> operator () (panda::Event& event) {
1214  std::vector<float> output;
1215  for (auto& i : event.electrons)
1216  output.push_back(i.mvaWP80);
1217  return output;
1218  }
1219  };
1220 
1221  template <>
1222  struct plotter <114> {
1223  constexpr static const char* name = "electrons/dEtaInSeed";
1224  std::vector<float> operator () (panda::Event& event) {
1225  std::vector<float> output;
1226  for (auto& i : event.electrons)
1227  output.push_back(i.dEtaInSeed);
1228  return output;
1229  }
1230  };
1231 
1232  template <>
1233  struct plotter <115> {
1234  constexpr static const char* name = "electrons/e";
1235  std::vector<float> operator () (panda::Event& event) {
1236  std::vector<float> output;
1237  for (auto& i : event.electrons)
1238  output.push_back(i.e());
1239  return output;
1240  }
1241  };
1242 
1243  template <>
1244  struct plotter <116> {
1245  constexpr static const char* name = "electrons/tight";
1246  std::vector<float> operator () (panda::Event& event) {
1247  std::vector<float> output;
1248  for (auto& i : event.electrons)
1249  output.push_back(i.tight);
1250  return output;
1251  }
1252  };
1253 
1254  template <>
1255  struct plotter <117> {
1256  constexpr static const char* name = "electrons/sieie";
1257  std::vector<float> operator () (panda::Event& event) {
1258  std::vector<float> output;
1259  for (auto& i : event.electrons)
1260  output.push_back(i.sieie);
1261  return output;
1262  }
1263  };
1264 
1265  template <>
1266  struct plotter <118> {
1267  constexpr static const char* name = "electrons/eseed";
1268  std::vector<float> operator () (panda::Event& event) {
1269  std::vector<float> output;
1270  for (auto& i : event.electrons)
1271  output.push_back(i.eseed);
1272  return output;
1273  }
1274  };
1275 
1276  template <>
1277  struct plotter <119> {
1278  constexpr static const char* name = "electrons/eta";
1279  std::vector<float> operator () (panda::Event& event) {
1280  std::vector<float> output;
1281  for (auto& i : event.electrons)
1282  output.push_back(i.eta());
1283  return output;
1284  }
1285  };
1286 
1287  template <>
1288  struct plotter <120> {
1289  constexpr static const char* name = "electrons/veto";
1290  std::vector<float> operator () (panda::Event& event) {
1291  std::vector<float> output;
1292  for (auto& i : event.electrons)
1293  output.push_back(i.veto);
1294  return output;
1295  }
1296  };
1297 
1298  template <>
1299  struct plotter <121> {
1300  constexpr static const char* name = "electrons/mvaIsoWP90";
1301  std::vector<float> operator () (panda::Event& event) {
1302  std::vector<float> output;
1303  for (auto& i : event.electrons)
1304  output.push_back(i.mvaIsoWP90);
1305  return output;
1306  }
1307  };
1308 
1309  template <>
1310  struct plotter <122> {
1311  constexpr static const char* name = "electrons/conversionVeto";
1312  std::vector<float> operator () (panda::Event& event) {
1313  std::vector<float> output;
1314  for (auto& i : event.electrons)
1315  output.push_back(i.conversionVeto);
1316  return output;
1317  }
1318  };
1319 
1320  template <>
1321  struct plotter <123> {
1322  constexpr static const char* name = "electrons/loose";
1323  std::vector<float> operator () (panda::Event& event) {
1324  std::vector<float> output;
1325  for (auto& i : event.electrons)
1326  output.push_back(i.loose);
1327  return output;
1328  }
1329  };
1330 
1331  template <>
1332  struct plotter <124> {
1333  constexpr static const char* name = "electrons/regPt";
1334  std::vector<float> operator () (panda::Event& event) {
1335  std::vector<float> output;
1336  for (auto& i : event.electrons)
1337  output.push_back(i.regPt);
1338  return output;
1339  }
1340  };
1341 
1342  template <>
1343  struct plotter <125> {
1344  constexpr static const char* name = "electrons/nhIso";
1345  std::vector<float> operator () (panda::Event& event) {
1346  std::vector<float> output;
1347  for (auto& i : event.electrons)
1348  output.push_back(i.nhIso);
1349  return output;
1350  }
1351  };
1352 
1353  template <>
1354  struct plotter <126> {
1355  constexpr static const char* name = "electrons/dPhiIn";
1356  std::vector<float> operator () (panda::Event& event) {
1357  std::vector<float> output;
1358  for (auto& i : event.electrons)
1359  output.push_back(i.dPhiIn);
1360  return output;
1361  }
1362  };
1363 
1364  template <>
1365  struct plotter <127> {
1366  constexpr static const char* name = "electrons/dz";
1367  std::vector<float> operator () (panda::Event& event) {
1368  std::vector<float> output;
1369  for (auto& i : event.electrons)
1370  output.push_back(i.dz);
1371  return output;
1372  }
1373  };
1374 
1375  template <>
1376  struct plotter <128> {
1377  constexpr static const char* name = "electrons/chIsoPh";
1378  std::vector<float> operator () (panda::Event& event) {
1379  std::vector<float> output;
1380  for (auto& i : event.electrons)
1381  output.push_back(i.chIsoPh);
1382  return output;
1383  }
1384  };
1385 
1386  template <>
1387  struct plotter <129> {
1388  constexpr static const char* name = "electrons/phIso";
1389  std::vector<float> operator () (panda::Event& event) {
1390  std::vector<float> output;
1391  for (auto& i : event.electrons)
1392  output.push_back(i.phIso);
1393  return output;
1394  }
1395  };
1396 
1397  template <>
1398  struct plotter <130> {
1399  constexpr static const char* name = "electrons/px";
1400  std::vector<float> operator () (panda::Event& event) {
1401  std::vector<float> output;
1402  for (auto& i : event.electrons)
1403  output.push_back(i.px());
1404  return output;
1405  }
1406  };
1407 
1408  template <>
1409  struct plotter <131> {
1410  constexpr static const char* name = "electrons/pt";
1411  std::vector<float> operator () (panda::Event& event) {
1412  std::vector<float> output;
1413  for (auto& i : event.electrons)
1414  output.push_back(i.pt());
1415  return output;
1416  }
1417  };
1418 
1419  template <>
1420  struct plotter <132> {
1421  constexpr static const char* name = "electrons/nhIsoPh";
1422  std::vector<float> operator () (panda::Event& event) {
1423  std::vector<float> output;
1424  for (auto& i : event.electrons)
1425  output.push_back(i.nhIsoPh);
1426  return output;
1427  }
1428  };
1429 
1430  template <>
1431  struct plotter <133> {
1432  constexpr static const char* name = "electrons/hcalIso";
1433  std::vector<float> operator () (panda::Event& event) {
1434  std::vector<float> output;
1435  for (auto& i : event.electrons)
1436  output.push_back(i.hcalIso);
1437  return output;
1438  }
1439  };
1440 
1441  template <>
1442  struct plotter <134> {
1443  constexpr static const char* name = "electrons/m";
1444  std::vector<float> operator () (panda::Event& event) {
1445  std::vector<float> output;
1446  for (auto& i : event.electrons)
1447  output.push_back(i.m());
1448  return output;
1449  }
1450  };
1451 
1452  template <>
1453  struct plotter <135> {
1454  constexpr static const char* name = "electrons/puIso";
1455  std::vector<float> operator () (panda::Event& event) {
1456  std::vector<float> output;
1457  for (auto& i : event.electrons)
1458  output.push_back(i.puIso);
1459  return output;
1460  }
1461  };
1462 
1463  template <>
1464  struct plotter <136> {
1465  constexpr static const char* name = "electrons/combIso";
1466  std::vector<float> operator () (panda::Event& event) {
1467  std::vector<float> output;
1468  for (auto& i : event.electrons)
1469  output.push_back(i.combIso());
1470  return output;
1471  }
1472  };
1473 
1474  template <>
1475  struct plotter <137> {
1476  constexpr static const char* name = "electrons/mvaIsoWPLoose";
1477  std::vector<float> operator () (panda::Event& event) {
1478  std::vector<float> output;
1479  for (auto& i : event.electrons)
1480  output.push_back(i.mvaIsoWPLoose);
1481  return output;
1482  }
1483  };
1484 
1485  template <>
1486  struct plotter <138> {
1487  constexpr static const char* name = "electrons/r9";
1488  std::vector<float> operator () (panda::Event& event) {
1489  std::vector<float> output;
1490  for (auto& i : event.electrons)
1491  output.push_back(i.r9);
1492  return output;
1493  }
1494  };
1495 
1496  template <>
1497  struct plotter <139> {
1498  constexpr static const char* name = "electrons/nMissingHits";
1499  std::vector<float> operator () (panda::Event& event) {
1500  std::vector<float> output;
1501  for (auto& i : event.electrons)
1502  output.push_back(i.nMissingHits);
1503  return output;
1504  }
1505  };
1506 
1507  template <>
1508  struct plotter <140> {
1509  constexpr static const char* name = "electrons/hOverE";
1510  std::vector<float> operator () (panda::Event& event) {
1511  std::vector<float> output;
1512  for (auto& i : event.electrons)
1513  output.push_back(i.hOverE);
1514  return output;
1515  }
1516  };
1517 
1518  template <>
1519  struct plotter <141> {
1520  constexpr static const char* name = "electrons/smearedPt";
1521  std::vector<float> operator () (panda::Event& event) {
1522  std::vector<float> output;
1523  for (auto& i : event.electrons)
1524  output.push_back(i.smearedPt);
1525  return output;
1526  }
1527  };
1528 
1529  template <>
1530  struct plotter <142> {
1531  constexpr static const char* name = "electrons/mvaWP90";
1532  std::vector<float> operator () (panda::Event& event) {
1533  std::vector<float> output;
1534  for (auto& i : event.electrons)
1535  output.push_back(i.mvaWP90);
1536  return output;
1537  }
1538  };
1539 
1540  template <>
1541  struct plotter <143> {
1542  constexpr static const char* name = "electrons/py";
1543  std::vector<float> operator () (panda::Event& event) {
1544  std::vector<float> output;
1545  for (auto& i : event.electrons)
1546  output.push_back(i.py());
1547  return output;
1548  }
1549  };
1550 
1551  template <>
1552  struct plotter <144> {
1553  constexpr static const char* name = "muons/size";
1554  std::vector<float> operator () (panda::Event& event) {
1555  std::vector<float> output {float(event.muons.size())};
1556  return output;
1557  }
1558  };
1559 
1560  template <>
1561  struct plotter <145> {
1562  constexpr static const char* name = "muons/matchedPF_isValid";
1563  std::vector<float> operator () (panda::Event& event) {
1564  std::vector<float> output;
1565  for (auto& i : event.muons)
1566  output.push_back(i.matchedPF.isValid());
1567  return output;
1568  }
1569  };
1570 
1571  template <>
1572  struct plotter <146> {
1573  constexpr static const char* name = "muons/matchedGen_isValid";
1574  std::vector<float> operator () (panda::Event& event) {
1575  std::vector<float> output;
1576  for (auto& i : event.muons)
1577  output.push_back(i.matchedGen.isValid());
1578  return output;
1579  }
1580  };
1581 
1582  template <>
1583  struct plotter <147> {
1584  constexpr static const char* name = "muons/vertex_isValid";
1585  std::vector<float> operator () (panda::Event& event) {
1586  std::vector<float> output;
1587  for (auto& i : event.muons)
1588  output.push_back(i.vertex.isValid());
1589  return output;
1590  }
1591  };
1592 
1593  template <>
1594  struct plotter <148> {
1595  constexpr static const char* name = "muons/m";
1596  std::vector<float> operator () (panda::Event& event) {
1597  std::vector<float> output;
1598  for (auto& i : event.muons)
1599  output.push_back(i.m());
1600  return output;
1601  }
1602  };
1603 
1604  template <>
1605  struct plotter <149> {
1606  constexpr static const char* name = "muons/miniIsoMedium";
1607  std::vector<float> operator () (panda::Event& event) {
1608  std::vector<float> output;
1609  for (auto& i : event.muons)
1610  output.push_back(i.miniIsoMedium);
1611  return output;
1612  }
1613  };
1614 
1615  template <>
1616  struct plotter <150> {
1617  constexpr static const char* name = "muons/mvaMedium";
1618  std::vector<float> operator () (panda::Event& event) {
1619  std::vector<float> output;
1620  for (auto& i : event.muons)
1621  output.push_back(i.mvaMedium);
1622  return output;
1623  }
1624  };
1625 
1626  template <>
1627  struct plotter <151> {
1628  constexpr static const char* name = "muons/global";
1629  std::vector<float> operator () (panda::Event& event) {
1630  std::vector<float> output;
1631  for (auto& i : event.muons)
1632  output.push_back(i.global);
1633  return output;
1634  }
1635  };
1636 
1637  template <>
1638  struct plotter <152> {
1639  constexpr static const char* name = "muons/miniIsoLoose";
1640  std::vector<float> operator () (panda::Event& event) {
1641  std::vector<float> output;
1642  for (auto& i : event.muons)
1643  output.push_back(i.miniIsoLoose);
1644  return output;
1645  }
1646  };
1647 
1648  template <>
1649  struct plotter <153> {
1650  constexpr static const char* name = "muons/phi";
1651  std::vector<float> operator () (panda::Event& event) {
1652  std::vector<float> output;
1653  for (auto& i : event.muons)
1654  output.push_back(i.phi());
1655  return output;
1656  }
1657  };
1658 
1659  template <>
1660  struct plotter <154> {
1661  constexpr static const char* name = "muons/rpc";
1662  std::vector<float> operator () (panda::Event& event) {
1663  std::vector<float> output;
1664  for (auto& i : event.muons)
1665  output.push_back(i.rpc);
1666  return output;
1667  }
1668  };
1669 
1670  template <>
1671  struct plotter <155> {
1672  constexpr static const char* name = "muons/medium";
1673  std::vector<float> operator () (panda::Event& event) {
1674  std::vector<float> output;
1675  for (auto& i : event.muons)
1676  output.push_back(i.medium);
1677  return output;
1678  }
1679  };
1680 
1681  template <>
1682  struct plotter <156> {
1683  constexpr static const char* name = "muons/pfIsoTight";
1684  std::vector<float> operator () (panda::Event& event) {
1685  std::vector<float> output;
1686  for (auto& i : event.muons)
1687  output.push_back(i.pfIsoTight);
1688  return output;
1689  }
1690  };
1691 
1692  template <>
1693  struct plotter <157> {
1694  constexpr static const char* name = "muons/normChi2";
1695  std::vector<float> operator () (panda::Event& event) {
1696  std::vector<float> output;
1697  for (auto& i : event.muons)
1698  output.push_back(i.normChi2);
1699  return output;
1700  }
1701  };
1702 
1703  template <>
1704  struct plotter <158> {
1705  constexpr static const char* name = "muons/globalHighPt";
1706  std::vector<float> operator () (panda::Event& event) {
1707  std::vector<float> output;
1708  for (auto& i : event.muons)
1709  output.push_back(i.globalHighPt);
1710  return output;
1711  }
1712  };
1713 
1714  template <>
1715  struct plotter <159> {
1716  constexpr static const char* name = "muons/pz";
1717  std::vector<float> operator () (panda::Event& event) {
1718  std::vector<float> output;
1719  for (auto& i : event.muons)
1720  output.push_back(i.pz());
1721  return output;
1722  }
1723  };
1724 
1725  template <>
1726  struct plotter <160> {
1727  constexpr static const char* name = "muons/miniIsoTight";
1728  std::vector<float> operator () (panda::Event& event) {
1729  std::vector<float> output;
1730  for (auto& i : event.muons)
1731  output.push_back(i.miniIsoTight);
1732  return output;
1733  }
1734  };
1735 
1736  template <>
1737  struct plotter <161> {
1738  constexpr static const char* name = "muons/validFraction";
1739  std::vector<float> operator () (panda::Event& event) {
1740  std::vector<float> output;
1741  for (auto& i : event.muons)
1742  output.push_back(i.validFraction);
1743  return output;
1744  }
1745  };
1746 
1747  template <>
1748  struct plotter <162> {
1749  constexpr static const char* name = "muons/dxy";
1750  std::vector<float> operator () (panda::Event& event) {
1751  std::vector<float> output;
1752  for (auto& i : event.muons)
1753  output.push_back(i.dxy);
1754  return output;
1755  }
1756  };
1757 
1758  template <>
1759  struct plotter <163> {
1760  constexpr static const char* name = "muons/pfPt";
1761  std::vector<float> operator () (panda::Event& event) {
1762  std::vector<float> output;
1763  for (auto& i : event.muons)
1764  output.push_back(i.pfPt);
1765  return output;
1766  }
1767  };
1768 
1769  template <>
1770  struct plotter <164> {
1771  constexpr static const char* name = "muons/chIso";
1772  std::vector<float> operator () (panda::Event& event) {
1773  std::vector<float> output;
1774  for (auto& i : event.muons)
1775  output.push_back(i.chIso);
1776  return output;
1777  }
1778  };
1779 
1780  template <>
1781  struct plotter <165> {
1782  constexpr static const char* name = "muons/trkLayersWithMmt";
1783  std::vector<float> operator () (panda::Event& event) {
1784  std::vector<float> output;
1785  for (auto& i : event.muons)
1786  output.push_back(i.trkLayersWithMmt);
1787  return output;
1788  }
1789  };
1790 
1791  template <>
1792  struct plotter <166> {
1793  constexpr static const char* name = "muons/hltsafe";
1794  std::vector<float> operator () (panda::Event& event) {
1795  std::vector<float> output;
1796  for (auto& i : event.muons)
1797  output.push_back(i.hltsafe);
1798  return output;
1799  }
1800  };
1801 
1802  template <>
1803  struct plotter <167> {
1804  constexpr static const char* name = "muons/tight";
1805  std::vector<float> operator () (panda::Event& event) {
1806  std::vector<float> output;
1807  for (auto& i : event.muons)
1808  output.push_back(i.tight);
1809  return output;
1810  }
1811  };
1812 
1813  template <>
1814  struct plotter <168> {
1815  constexpr static const char* name = "muons/charge";
1816  std::vector<float> operator () (panda::Event& event) {
1817  std::vector<float> output;
1818  for (auto& i : event.muons)
1819  output.push_back(i.charge);
1820  return output;
1821  }
1822  };
1823 
1824  template <>
1825  struct plotter <169> {
1826  constexpr static const char* name = "muons/tracker";
1827  std::vector<float> operator () (panda::Event& event) {
1828  std::vector<float> output;
1829  for (auto& i : event.muons)
1830  output.push_back(i.tracker);
1831  return output;
1832  }
1833  };
1834 
1835  template <>
1836  struct plotter <170> {
1837  constexpr static const char* name = "muons/pf";
1838  std::vector<float> operator () (panda::Event& event) {
1839  std::vector<float> output;
1840  for (auto& i : event.muons)
1841  output.push_back(i.pf);
1842  return output;
1843  }
1844  };
1845 
1846  template <>
1847  struct plotter <171> {
1848  constexpr static const char* name = "muons/calo";
1849  std::vector<float> operator () (panda::Event& event) {
1850  std::vector<float> output;
1851  for (auto& i : event.muons)
1852  output.push_back(i.calo);
1853  return output;
1854  }
1855  };
1856 
1857  template <>
1858  struct plotter <172> {
1859  constexpr static const char* name = "muons/segmentCompatibility";
1860  std::vector<float> operator () (panda::Event& event) {
1861  std::vector<float> output;
1862  for (auto& i : event.muons)
1863  output.push_back(i.segmentCompatibility);
1864  return output;
1865  }
1866  };
1867 
1868  template <>
1869  struct plotter <173> {
1870  constexpr static const char* name = "muons/e";
1871  std::vector<float> operator () (panda::Event& event) {
1872  std::vector<float> output;
1873  for (auto& i : event.muons)
1874  output.push_back(i.e());
1875  return output;
1876  }
1877  };
1878 
1879  template <>
1880  struct plotter <174> {
1881  constexpr static const char* name = "muons/p";
1882  std::vector<float> operator () (panda::Event& event) {
1883  std::vector<float> output;
1884  for (auto& i : event.muons)
1885  output.push_back(i.p());
1886  return output;
1887  }
1888  };
1889 
1890  template <>
1891  struct plotter <175> {
1892  constexpr static const char* name = "muons/mediumPrompt";
1893  std::vector<float> operator () (panda::Event& event) {
1894  std::vector<float> output;
1895  for (auto& i : event.muons)
1896  output.push_back(i.mediumPrompt);
1897  return output;
1898  }
1899  };
1900 
1901  template <>
1902  struct plotter <176> {
1903  constexpr static const char* name = "muons/eta";
1904  std::vector<float> operator () (panda::Event& event) {
1905  std::vector<float> output;
1906  for (auto& i : event.muons)
1907  output.push_back(i.eta());
1908  return output;
1909  }
1910  };
1911 
1912  template <>
1913  struct plotter <177> {
1914  constexpr static const char* name = "muons/pfIsoVeryTight";
1915  std::vector<float> operator () (panda::Event& event) {
1916  std::vector<float> output;
1917  for (auto& i : event.muons)
1918  output.push_back(i.pfIsoVeryTight);
1919  return output;
1920  }
1921  };
1922 
1923  template <>
1924  struct plotter <178> {
1925  constexpr static const char* name = "muons/nMatched";
1926  std::vector<float> operator () (panda::Event& event) {
1927  std::vector<float> output;
1928  for (auto& i : event.muons)
1929  output.push_back(i.nMatched);
1930  return output;
1931  }
1932  };
1933 
1934  template <>
1935  struct plotter <179> {
1936  constexpr static const char* name = "muons/pt";
1937  std::vector<float> operator () (panda::Event& event) {
1938  std::vector<float> output;
1939  for (auto& i : event.muons)
1940  output.push_back(i.pt());
1941  assert(std::is_sorted(output.begin(), output.end(), std::greater<float>()));
1942  return output;
1943  }
1944  };
1945 
1946  template <>
1947  struct plotter <180> {
1948  constexpr static const char* name = "muons/loose";
1949  std::vector<float> operator () (panda::Event& event) {
1950  std::vector<float> output;
1951  for (auto& i : event.muons)
1952  output.push_back(i.loose);
1953  return output;
1954  }
1955  };
1956 
1957  template <>
1958  struct plotter <181> {
1959  constexpr static const char* name = "muons/miniIsoVeryTight";
1960  std::vector<float> operator () (panda::Event& event) {
1961  std::vector<float> output;
1962  for (auto& i : event.muons)
1963  output.push_back(i.miniIsoVeryTight);
1964  return output;
1965  }
1966  };
1967 
1968  template <>
1969  struct plotter <182> {
1970  constexpr static const char* name = "muons/nValidPixel";
1971  std::vector<float> operator () (panda::Event& event) {
1972  std::vector<float> output;
1973  for (auto& i : event.muons)
1974  output.push_back(i.nValidPixel);
1975  return output;
1976  }
1977  };
1978 
1979  template <>
1980  struct plotter <183> {
1981  constexpr static const char* name = "muons/trkHighPt";
1982  std::vector<float> operator () (panda::Event& event) {
1983  std::vector<float> output;
1984  for (auto& i : event.muons)
1985  output.push_back(i.trkHighPt);
1986  return output;
1987  }
1988  };
1989 
1990  template <>
1991  struct plotter <184> {
1992  constexpr static const char* name = "muons/nValidMuon";
1993  std::vector<float> operator () (panda::Event& event) {
1994  std::vector<float> output;
1995  for (auto& i : event.muons)
1996  output.push_back(i.nValidMuon);
1997  return output;
1998  }
1999  };
2000 
2001  template <>
2002  struct plotter <185> {
2003  constexpr static const char* name = "muons/dz";
2004  std::vector<float> operator () (panda::Event& event) {
2005  std::vector<float> output;
2006  for (auto& i : event.muons)
2007  output.push_back(i.dz);
2008  return output;
2009  }
2010  };
2011 
2012  template <>
2013  struct plotter <186> {
2014  constexpr static const char* name = "muons/chi2LocalPosition";
2015  std::vector<float> operator () (panda::Event& event) {
2016  std::vector<float> output;
2017  for (auto& i : event.muons)
2018  output.push_back(i.chi2LocalPosition);
2019  return output;
2020  }
2021  };
2022 
2023  template <>
2024  struct plotter <187> {
2025  constexpr static const char* name = "muons/pixLayersWithMmt";
2026  std::vector<float> operator () (panda::Event& event) {
2027  std::vector<float> output;
2028  for (auto& i : event.muons)
2029  output.push_back(i.pixLayersWithMmt);
2030  return output;
2031  }
2032  };
2033 
2034  template <>
2035  struct plotter <188> {
2036  constexpr static const char* name = "muons/phIso";
2037  std::vector<float> operator () (panda::Event& event) {
2038  std::vector<float> output;
2039  for (auto& i : event.muons)
2040  output.push_back(i.phIso);
2041  return output;
2042  }
2043  };
2044 
2045  template <>
2046  struct plotter <189> {
2047  constexpr static const char* name = "muons/px";
2048  std::vector<float> operator () (panda::Event& event) {
2049  std::vector<float> output;
2050  for (auto& i : event.muons)
2051  output.push_back(i.px());
2052  return output;
2053  }
2054  };
2055 
2056  template <>
2057  struct plotter <190> {
2058  constexpr static const char* name = "muons/gem";
2059  std::vector<float> operator () (panda::Event& event) {
2060  std::vector<float> output;
2061  for (auto& i : event.muons)
2062  output.push_back(i.gem);
2063  return output;
2064  }
2065  };
2066 
2067  template <>
2068  struct plotter <191> {
2069  constexpr static const char* name = "muons/pfIsoLoose";
2070  std::vector<float> operator () (panda::Event& event) {
2071  std::vector<float> output;
2072  for (auto& i : event.muons)
2073  output.push_back(i.pfIsoLoose);
2074  return output;
2075  }
2076  };
2077 
2078  template <>
2079  struct plotter <192> {
2080  constexpr static const char* name = "muons/nhIso";
2081  std::vector<float> operator () (panda::Event& event) {
2082  std::vector<float> output;
2083  for (auto& i : event.muons)
2084  output.push_back(i.nhIso);
2085  return output;
2086  }
2087  };
2088 
2089  template <>
2090  struct plotter <193> {
2091  constexpr static const char* name = "muons/pfIsoMedium";
2092  std::vector<float> operator () (panda::Event& event) {
2093  std::vector<float> output;
2094  for (auto& i : event.muons)
2095  output.push_back(i.pfIsoMedium);
2096  return output;
2097  }
2098  };
2099 
2100  template <>
2101  struct plotter <194> {
2102  constexpr static const char* name = "muons/mvaLoose";
2103  std::vector<float> operator () (panda::Event& event) {
2104  std::vector<float> output;
2105  for (auto& i : event.muons)
2106  output.push_back(i.mvaLoose);
2107  return output;
2108  }
2109  };
2110 
2111  template <>
2112  struct plotter <195> {
2113  constexpr static const char* name = "muons/puIso";
2114  std::vector<float> operator () (panda::Event& event) {
2115  std::vector<float> output;
2116  for (auto& i : event.muons)
2117  output.push_back(i.puIso);
2118  return output;
2119  }
2120  };
2121 
2122  template <>
2123  struct plotter <196> {
2124  constexpr static const char* name = "muons/rochCorr";
2125  std::vector<float> operator () (panda::Event& event) {
2126  std::vector<float> output;
2127  for (auto& i : event.muons)
2128  output.push_back(i.rochCorr);
2129  return output;
2130  }
2131  };
2132 
2133  template <>
2134  struct plotter <197> {
2135  constexpr static const char* name = "muons/standalone";
2136  std::vector<float> operator () (panda::Event& event) {
2137  std::vector<float> output;
2138  for (auto& i : event.muons)
2139  output.push_back(i.standalone);
2140  return output;
2141  }
2142  };
2143 
2144  template <>
2145  struct plotter <198> {
2146  constexpr static const char* name = "muons/softMVA";
2147  std::vector<float> operator () (panda::Event& event) {
2148  std::vector<float> output;
2149  for (auto& i : event.muons)
2150  output.push_back(i.softMVA);
2151  return output;
2152  }
2153  };
2154 
2155  template <>
2156  struct plotter <199> {
2157  constexpr static const char* name = "muons/r03Iso";
2158  std::vector<float> operator () (panda::Event& event) {
2159  std::vector<float> output;
2160  for (auto& i : event.muons)
2161  output.push_back(i.r03Iso);
2162  return output;
2163  }
2164  };
2165 
2166  template <>
2167  struct plotter <200> {
2168  constexpr static const char* name = "muons/rochCorrErr";
2169  std::vector<float> operator () (panda::Event& event) {
2170  std::vector<float> output;
2171  for (auto& i : event.muons)
2172  output.push_back(i.rochCorrErr);
2173  return output;
2174  }
2175  };
2176 
2177  template <>
2178  struct plotter <201> {
2179  constexpr static const char* name = "muons/tkIsoLoose";
2180  std::vector<float> operator () (panda::Event& event) {
2181  std::vector<float> output;
2182  for (auto& i : event.muons)
2183  output.push_back(i.tkIsoLoose);
2184  return output;
2185  }
2186  };
2187 
2188  template <>
2189  struct plotter <202> {
2190  constexpr static const char* name = "muons/tkIsoTight";
2191  std::vector<float> operator () (panda::Event& event) {
2192  std::vector<float> output;
2193  for (auto& i : event.muons)
2194  output.push_back(i.tkIsoTight);
2195  return output;
2196  }
2197  };
2198 
2199  template <>
2200  struct plotter <203> {
2201  constexpr static const char* name = "muons/pfIsoVeryLoose";
2202  std::vector<float> operator () (panda::Event& event) {
2203  std::vector<float> output;
2204  for (auto& i : event.muons)
2205  output.push_back(i.pfIsoVeryLoose);
2206  return output;
2207  }
2208  };
2209 
2210  template <>
2211  struct plotter <204> {
2212  constexpr static const char* name = "muons/py";
2213  std::vector<float> operator () (panda::Event& event) {
2214  std::vector<float> output;
2215  for (auto& i : event.muons)
2216  output.push_back(i.py());
2217  return output;
2218  }
2219  };
2220 
2221  template <>
2222  struct plotter <205> {
2223  constexpr static const char* name = "muons/trkKink";
2224  std::vector<float> operator () (panda::Event& event) {
2225  std::vector<float> output;
2226  for (auto& i : event.muons)
2227  output.push_back(i.trkKink);
2228  return output;
2229  }
2230  };
2231 
2232  template <>
2233  struct plotter <206> {
2234  constexpr static const char* name = "muons/soft";
2235  std::vector<float> operator () (panda::Event& event) {
2236  std::vector<float> output;
2237  for (auto& i : event.muons)
2238  output.push_back(i.soft);
2239  return output;
2240  }
2241  };
2242 
2243  template <>
2244  struct plotter <207> {
2245  constexpr static const char* name = "muons/combIso";
2246  std::vector<float> operator () (panda::Event& event) {
2247  std::vector<float> output;
2248  for (auto& i : event.muons)
2249  output.push_back(i.combIso());
2250  return output;
2251  }
2252  };
2253 
2254  template <>
2255  struct plotter <208> {
2256  constexpr static const char* name = "muons/mvaTight";
2257  std::vector<float> operator () (panda::Event& event) {
2258  std::vector<float> output;
2259  for (auto& i : event.muons)
2260  output.push_back(i.mvaTight);
2261  return output;
2262  }
2263  };
2264 
2265  template <>
2266  struct plotter <209> {
2267  constexpr static const char* name = "muons/me0";
2268  std::vector<float> operator () (panda::Event& event) {
2269  std::vector<float> output;
2270  for (auto& i : event.muons)
2271  output.push_back(i.me0);
2272  return output;
2273  }
2274  };
2275 
2276  template <>
2277  struct plotter <210> {
2278  constexpr static const char* name = "taus/size";
2279  std::vector<float> operator () (panda::Event& event) {
2280  std::vector<float> output {float(event.taus.size())};
2281  return output;
2282  }
2283  };
2284 
2285  template <>
2286  struct plotter <211> {
2287  constexpr static const char* name = "taus/vertex_isValid";
2288  std::vector<float> operator () (panda::Event& event) {
2289  std::vector<float> output;
2290  for (auto& i : event.taus)
2291  output.push_back(i.vertex.isValid());
2292  return output;
2293  }
2294  };
2295 
2296  template <>
2297  struct plotter <212> {
2298  constexpr static const char* name = "taus/matchedGen_isValid";
2299  std::vector<float> operator () (panda::Event& event) {
2300  std::vector<float> output;
2301  for (auto& i : event.taus)
2302  output.push_back(i.matchedGen.isValid());
2303  return output;
2304  }
2305  };
2306 
2307  template <>
2308  struct plotter <213> {
2309  constexpr static const char* name = "taus/pt";
2310  std::vector<float> operator () (panda::Event& event) {
2311  std::vector<float> output;
2312  for (auto& i : event.taus)
2313  output.push_back(i.pt());
2314  return output;
2315  }
2316  };
2317 
2318  template <>
2319  struct plotter <214> {
2320  constexpr static const char* name = "taus/p";
2321  std::vector<float> operator () (panda::Event& event) {
2322  std::vector<float> output;
2323  for (auto& i : event.taus)
2324  output.push_back(i.p());
2325  return output;
2326  }
2327  };
2328 
2329  template <>
2330  struct plotter <215> {
2331  constexpr static const char* name = "taus/eta";
2332  std::vector<float> operator () (panda::Event& event) {
2333  std::vector<float> output;
2334  for (auto& i : event.taus)
2335  output.push_back(i.eta());
2336  return output;
2337  }
2338  };
2339 
2340  template <>
2341  struct plotter <216> {
2342  constexpr static const char* name = "taus/decayMode";
2343  std::vector<float> operator () (panda::Event& event) {
2344  std::vector<float> output;
2345  for (auto& i : event.taus)
2346  output.push_back(i.decayMode);
2347  return output;
2348  }
2349  };
2350 
2351  template <>
2352  struct plotter <217> {
2353  constexpr static const char* name = "taus/m";
2354  std::vector<float> operator () (panda::Event& event) {
2355  std::vector<float> output;
2356  for (auto& i : event.taus)
2357  output.push_back(i.m());
2358  return output;
2359  }
2360  };
2361 
2362  template <>
2363  struct plotter <218> {
2364  constexpr static const char* name = "taus/e";
2365  std::vector<float> operator () (panda::Event& event) {
2366  std::vector<float> output;
2367  for (auto& i : event.taus)
2368  output.push_back(i.e());
2369  return output;
2370  }
2371  };
2372 
2373  template <>
2374  struct plotter <219> {
2375  constexpr static const char* name = "taus/phi";
2376  std::vector<float> operator () (panda::Event& event) {
2377  std::vector<float> output;
2378  for (auto& i : event.taus)
2379  output.push_back(i.phi());
2380  return output;
2381  }
2382  };
2383 
2384  template <>
2385  struct plotter <220> {
2386  constexpr static const char* name = "taus/isoDeltaBetaCorr";
2387  std::vector<float> operator () (panda::Event& event) {
2388  std::vector<float> output;
2389  for (auto& i : event.taus)
2390  output.push_back(i.isoDeltaBetaCorr);
2391  return output;
2392  }
2393  };
2394 
2395  template <>
2396  struct plotter <221> {
2397  constexpr static const char* name = "taus/charge";
2398  std::vector<float> operator () (panda::Event& event) {
2399  std::vector<float> output;
2400  for (auto& i : event.taus)
2401  output.push_back(i.charge);
2402  return output;
2403  }
2404  };
2405 
2406  template <>
2407  struct plotter <222> {
2408  constexpr static const char* name = "taus/iso";
2409  std::vector<float> operator () (panda::Event& event) {
2410  std::vector<float> output;
2411  for (auto& i : event.taus)
2412  output.push_back(i.iso);
2413  return output;
2414  }
2415  };
2416 
2417  template <>
2418  struct plotter <223> {
2419  constexpr static const char* name = "taus/looseIsoMVA";
2420  std::vector<float> operator () (panda::Event& event) {
2421  std::vector<float> output;
2422  for (auto& i : event.taus)
2423  output.push_back(i.looseIsoMVA);
2424  return output;
2425  }
2426  };
2427 
2428  template <>
2429  struct plotter <224> {
2430  constexpr static const char* name = "taus/py";
2431  std::vector<float> operator () (panda::Event& event) {
2432  std::vector<float> output;
2433  for (auto& i : event.taus)
2434  output.push_back(i.py());
2435  return output;
2436  }
2437  };
2438 
2439  template <>
2440  struct plotter <225> {
2441  constexpr static const char* name = "taus/pz";
2442  std::vector<float> operator () (panda::Event& event) {
2443  std::vector<float> output;
2444  for (auto& i : event.taus)
2445  output.push_back(i.pz());
2446  return output;
2447  }
2448  };
2449 
2450  template <>
2451  struct plotter <226> {
2452  constexpr static const char* name = "taus/px";
2453  std::vector<float> operator () (panda::Event& event) {
2454  std::vector<float> output;
2455  for (auto& i : event.taus)
2456  output.push_back(i.px());
2457  return output;
2458  }
2459  };
2460 
2461  template <>
2462  struct plotter <227> {
2463  constexpr static const char* name = "taus/looseIsoMVAOld";
2464  std::vector<float> operator () (panda::Event& event) {
2465  std::vector<float> output;
2466  for (auto& i : event.taus)
2467  output.push_back(i.looseIsoMVAOld);
2468  return output;
2469  }
2470  };
2471 
2472  template <>
2473  struct plotter <228> {
2474  constexpr static const char* name = "taus/decayModeNew";
2475  std::vector<float> operator () (panda::Event& event) {
2476  std::vector<float> output;
2477  for (auto& i : event.taus)
2478  output.push_back(i.decayModeNew);
2479  return output;
2480  }
2481  };
2482 
2483  template <>
2484  struct plotter <229> {
2485  constexpr static const char* name = "photons/size";
2486  std::vector<float> operator () (panda::Event& event) {
2487  std::vector<float> output {float(event.photons.size())};
2488  return output;
2489  }
2490  };
2491 
2492  template <>
2493  struct plotter <230> {
2494  constexpr static const char* name = "photons/superCluster_isValid";
2495  std::vector<float> operator () (panda::Event& event) {
2496  std::vector<float> output;
2497  for (auto& i : event.photons)
2498  output.push_back(i.superCluster.isValid());
2499  return output;
2500  }
2501  };
2502 
2503  template <>
2504  struct plotter <231> {
2505  constexpr static const char* name = "photons/matchedPF_isValid";
2506  std::vector<float> operator () (panda::Event& event) {
2507  std::vector<float> output;
2508  for (auto& i : event.photons)
2509  output.push_back(i.matchedPF.isValid());
2510  return output;
2511  }
2512  };
2513 
2514  template <>
2515  struct plotter <232> {
2516  constexpr static const char* name = "photons/matchedGen_isValid";
2517  std::vector<float> operator () (panda::Event& event) {
2518  std::vector<float> output;
2519  for (auto& i : event.photons)
2520  output.push_back(i.matchedGen.isValid());
2521  return output;
2522  }
2523  };
2524 
2525  template <>
2526  struct plotter <233> {
2527  constexpr static const char* name = "photons/iy";
2528  std::vector<float> operator () (panda::Event& event) {
2529  std::vector<float> output;
2530  for (auto& i : event.photons)
2531  output.push_back(i.iy);
2532  return output;
2533  }
2534  };
2535 
2536  template <>
2537  struct plotter <234> {
2538  constexpr static const char* name = "photons/ix";
2539  std::vector<float> operator () (panda::Event& event) {
2540  std::vector<float> output;
2541  for (auto& i : event.photons)
2542  output.push_back(i.ix);
2543  return output;
2544  }
2545  };
2546 
2547  template <>
2548  struct plotter <235> {
2549  constexpr static const char* name = "photons/t0Seed";
2550  std::vector<float> operator () (panda::Event& event) {
2551  std::vector<float> output;
2552  for (auto& i : event.photons)
2553  output.push_back(i.t0Seed);
2554  return output;
2555  }
2556  };
2557 
2558  template <>
2559  struct plotter <236> {
2560  constexpr static const char* name = "photons/emax";
2561  std::vector<float> operator () (panda::Event& event) {
2562  std::vector<float> output;
2563  for (auto& i : event.photons)
2564  output.push_back(i.emax);
2565  return output;
2566  }
2567  };
2568 
2569  template <>
2570  struct plotter <237> {
2571  constexpr static const char* name = "photons/chIsoMax";
2572  std::vector<float> operator () (panda::Event& event) {
2573  std::vector<float> output;
2574  for (auto& i : event.photons)
2575  output.push_back(i.chIsoMax);
2576  return output;
2577  }
2578  };
2579 
2580  template <>
2581  struct plotter <238> {
2582  constexpr static const char* name = "photons/e2nd";
2583  std::vector<float> operator () (panda::Event& event) {
2584  std::vector<float> output;
2585  for (auto& i : event.photons)
2586  output.push_back(i.e2nd);
2587  return output;
2588  }
2589  };
2590 
2591  template <>
2592  struct plotter <239> {
2593  constexpr static const char* name = "photons/p";
2594  std::vector<float> operator () (panda::Event& event) {
2595  std::vector<float> output;
2596  for (auto& i : event.photons)
2597  output.push_back(i.p());
2598  return output;
2599  }
2600  };
2601 
2602  template <>
2603  struct plotter <240> {
2604  constexpr static const char* name = "photons/etop";
2605  std::vector<float> operator () (panda::Event& event) {
2606  std::vector<float> output;
2607  for (auto& i : event.photons)
2608  output.push_back(i.etop);
2609  return output;
2610  }
2611  };
2612 
2613  template <>
2614  struct plotter <241> {
2615  constexpr static const char* name = "photons/chIso";
2616  std::vector<float> operator () (panda::Event& event) {
2617  std::vector<float> output;
2618  for (auto& i : event.photons)
2619  output.push_back(i.chIso);
2620  return output;
2621  }
2622  };
2623 
2624  template <>
2625  struct plotter <242> {
2626  constexpr static const char* name = "photons/medium";
2627  std::vector<float> operator () (panda::Event& event) {
2628  std::vector<float> output;
2629  for (auto& i : event.photons)
2630  output.push_back(i.medium);
2631  return output;
2632  }
2633  };
2634 
2635  template <>
2636  struct plotter <243> {
2637  constexpr static const char* name = "photons/highpt";
2638  std::vector<float> operator () (panda::Event& event) {
2639  std::vector<float> output;
2640  for (auto& i : event.photons)
2641  output.push_back(i.highpt);
2642  return output;
2643  }
2644  };
2645 
2646  template <>
2647  struct plotter <244> {
2648  constexpr static const char* name = "photons/betaSeed";
2649  std::vector<float> operator () (panda::Event& event) {
2650  std::vector<float> output;
2651  for (auto& i : event.photons)
2652  output.push_back(i.betaSeed);
2653  return output;
2654  }
2655  };
2656 
2657  template <>
2658  struct plotter <245> {
2659  constexpr static const char* name = "photons/mipEnergy";
2660  std::vector<float> operator () (panda::Event& event) {
2661  std::vector<float> output;
2662  for (auto& i : event.photons)
2663  output.push_back(i.mipEnergy);
2664  return output;
2665  }
2666  };
2667 
2668  template <>
2669  struct plotter <246> {
2670  constexpr static const char* name = "photons/pixelVeto";
2671  std::vector<float> operator () (panda::Event& event) {
2672  std::vector<float> output;
2673  for (auto& i : event.photons)
2674  output.push_back(i.pixelVeto);
2675  return output;
2676  }
2677  };
2678 
2679  template <>
2680  struct plotter <247> {
2681  constexpr static const char* name = "photons/phi";
2682  std::vector<float> operator () (panda::Event& event) {
2683  std::vector<float> output;
2684  for (auto& i : event.photons)
2685  output.push_back(i.phi());
2686  return output;
2687  }
2688  };
2689 
2690  template <>
2691  struct plotter <248> {
2692  constexpr static const char* name = "photons/pfchVeto";
2693  std::vector<float> operator () (panda::Event& event) {
2694  std::vector<float> output;
2695  for (auto& i : event.photons)
2696  output.push_back(i.pfchVeto);
2697  return output;
2698  }
2699  };
2700 
2701  template <>
2702  struct plotter <249> {
2703  constexpr static const char* name = "photons/pfPt";
2704  std::vector<float> operator () (panda::Event& event) {
2705  std::vector<float> output;
2706  for (auto& i : event.photons)
2707  output.push_back(i.pfPt);
2708  return output;
2709  }
2710  };
2711 
2712  template <>
2713  struct plotter <250> {
2714  constexpr static const char* name = "photons/eleft";
2715  std::vector<float> operator () (panda::Event& event) {
2716  std::vector<float> output;
2717  for (auto& i : event.photons)
2718  output.push_back(i.eleft);
2719  return output;
2720  }
2721  };
2722 
2723  template <>
2724  struct plotter <251> {
2725  constexpr static const char* name = "photons/sipip";
2726  std::vector<float> operator () (panda::Event& event) {
2727  std::vector<float> output;
2728  for (auto& i : event.photons)
2729  output.push_back(i.sipip);
2730  return output;
2731  }
2732  };
2733 
2734  template <>
2735  struct plotter <252> {
2736  constexpr static const char* name = "photons/pz";
2737  std::vector<float> operator () (panda::Event& event) {
2738  std::vector<float> output;
2739  for (auto& i : event.photons)
2740  output.push_back(i.pz());
2741  return output;
2742  }
2743  };
2744 
2745  template <>
2746  struct plotter <253> {
2747  constexpr static const char* name = "photons/tight";
2748  std::vector<float> operator () (panda::Event& event) {
2749  std::vector<float> output;
2750  for (auto& i : event.photons)
2751  output.push_back(i.tight);
2752  return output;
2753  }
2754  };
2755 
2756  template <>
2757  struct plotter <254> {
2758  constexpr static const char* name = "photons/alphaSeed";
2759  std::vector<float> operator () (panda::Event& event) {
2760  std::vector<float> output;
2761  for (auto& i : event.photons)
2762  output.push_back(i.alphaSeed);
2763  return output;
2764  }
2765  };
2766 
2767  template <>
2768  struct plotter <255> {
2769  constexpr static const char* name = "photons/e";
2770  std::vector<float> operator () (panda::Event& event) {
2771  std::vector<float> output;
2772  for (auto& i : event.photons)
2773  output.push_back(i.e());
2774  return output;
2775  }
2776  };
2777 
2778  template <>
2779  struct plotter <256> {
2780  constexpr static const char* name = "photons/sieie";
2781  std::vector<float> operator () (panda::Event& event) {
2782  std::vector<float> output;
2783  for (auto& i : event.photons)
2784  output.push_back(i.sieie);
2785  return output;
2786  }
2787  };
2788 
2789  template <>
2790  struct plotter <257> {
2791  constexpr static const char* name = "photons/regPt";
2792  std::vector<float> operator () (panda::Event& event) {
2793  std::vector<float> output;
2794  for (auto& i : event.photons)
2795  output.push_back(i.regPt);
2796  return output;
2797  }
2798  };
2799 
2800  template <>
2801  struct plotter <258> {
2802  constexpr static const char* name = "photons/eta";
2803  std::vector<float> operator () (panda::Event& event) {
2804  std::vector<float> output;
2805  for (auto& i : event.photons)
2806  output.push_back(i.eta());
2807  return output;
2808  }
2809  };
2810 
2811  template <>
2812  struct plotter <259> {
2813  constexpr static const char* name = "photons/loose";
2814  std::vector<float> operator () (panda::Event& event) {
2815  std::vector<float> output;
2816  for (auto& i : event.photons)
2817  output.push_back(i.loose);
2818  return output;
2819  }
2820  };
2821 
2822  template <>
2823  struct plotter <260> {
2824  constexpr static const char* name = "photons/eright";
2825  std::vector<float> operator () (panda::Event& event) {
2826  std::vector<float> output;
2827  for (auto& i : event.photons)
2828  output.push_back(i.eright);
2829  return output;
2830  }
2831  };
2832 
2833  template <>
2834  struct plotter <261> {
2835  constexpr static const char* name = "photons/nhIso";
2836  std::vector<float> operator () (panda::Event& event) {
2837  std::vector<float> output;
2838  for (auto& i : event.photons)
2839  output.push_back(i.nhIso);
2840  return output;
2841  }
2842  };
2843 
2844  template <>
2845  struct plotter <262> {
2846  constexpr static const char* name = "photons/py";
2847  std::vector<float> operator () (panda::Event& event) {
2848  std::vector<float> output;
2849  for (auto& i : event.photons)
2850  output.push_back(i.py());
2851  return output;
2852  }
2853  };
2854 
2855  template <>
2856  struct plotter <263> {
2857  constexpr static const char* name = "photons/ebottom";
2858  std::vector<float> operator () (panda::Event& event) {
2859  std::vector<float> output;
2860  for (auto& i : event.photons)
2861  output.push_back(i.ebottom);
2862  return output;
2863  }
2864  };
2865 
2866  template <>
2867  struct plotter <264> {
2868  constexpr static const char* name = "photons/csafeVeto";
2869  std::vector<float> operator () (panda::Event& event) {
2870  std::vector<float> output;
2871  for (auto& i : event.photons)
2872  output.push_back(i.csafeVeto);
2873  return output;
2874  }
2875  };
2876 
2877  template <>
2878  struct plotter <265> {
2879  constexpr static const char* name = "photons/phIso";
2880  std::vector<float> operator () (panda::Event& event) {
2881  std::vector<float> output;
2882  for (auto& i : event.photons)
2883  output.push_back(i.phIso);
2884  return output;
2885  }
2886  };
2887 
2888  template <>
2889  struct plotter <266> {
2890  constexpr static const char* name = "photons/phiWidth";
2891  std::vector<float> operator () (panda::Event& event) {
2892  std::vector<float> output;
2893  for (auto& i : event.photons)
2894  output.push_back(i.phiWidth);
2895  return output;
2896  }
2897  };
2898 
2899  template <>
2900  struct plotter <267> {
2901  constexpr static const char* name = "photons/px";
2902  std::vector<float> operator () (panda::Event& event) {
2903  std::vector<float> output;
2904  for (auto& i : event.photons)
2905  output.push_back(i.px());
2906  return output;
2907  }
2908  };
2909 
2910  template <>
2911  struct plotter <268> {
2912  constexpr static const char* name = "photons/pt";
2913  std::vector<float> operator () (panda::Event& event) {
2914  std::vector<float> output;
2915  for (auto& i : event.photons)
2916  output.push_back(i.pt());
2917  return output;
2918  }
2919  };
2920 
2921  template <>
2922  struct plotter <269> {
2923  constexpr static const char* name = "photons/timeSpan";
2924  std::vector<float> operator () (panda::Event& event) {
2925  std::vector<float> output;
2926  for (auto& i : event.photons)
2927  output.push_back(i.timeSpan);
2928  return output;
2929  }
2930  };
2931 
2932  template <>
2933  struct plotter <270> {
2934  constexpr static const char* name = "photons/m";
2935  std::vector<float> operator () (panda::Event& event) {
2936  std::vector<float> output;
2937  for (auto& i : event.photons)
2938  output.push_back(i.m());
2939  return output;
2940  }
2941  };
2942 
2943  template <>
2944  struct plotter <271> {
2945  constexpr static const char* name = "photons/etaWidth";
2946  std::vector<float> operator () (panda::Event& event) {
2947  std::vector<float> output;
2948  for (auto& i : event.photons)
2949  output.push_back(i.etaWidth);
2950  return output;
2951  }
2952  };
2953 
2954  template <>
2955  struct plotter <272> {
2956  constexpr static const char* name = "photons/r9";
2957  std::vector<float> operator () (panda::Event& event) {
2958  std::vector<float> output;
2959  for (auto& i : event.photons)
2960  output.push_back(i.r9);
2961  return output;
2962  }
2963  };
2964 
2965  template <>
2966  struct plotter <273> {
2967  constexpr static const char* name = "photons/hOverE";
2968  std::vector<float> operator () (panda::Event& event) {
2969  std::vector<float> output;
2970  for (auto& i : event.photons)
2971  output.push_back(i.hOverE);
2972  return output;
2973  }
2974  };
2975 
2976  template <>
2977  struct plotter <274> {
2978  constexpr static const char* name = "photons/smearedPt";
2979  std::vector<float> operator () (panda::Event& event) {
2980  std::vector<float> output;
2981  for (auto& i : event.photons)
2982  output.push_back(i.smearedPt);
2983  return output;
2984  }
2985  };
2986 
2987  template <>
2988  struct plotter <275> {
2989  constexpr static const char* name = "photons/time";
2990  std::vector<float> operator () (panda::Event& event) {
2991  std::vector<float> output;
2992  for (auto& i : event.photons)
2993  output.push_back(i.time);
2994  return output;
2995  }
2996  };
2997 
2998  template <>
2999  struct plotter <276> {
3000  constexpr static const char* name = "photons/ampSeed";
3001  std::vector<float> operator () (panda::Event& event) {
3002  std::vector<float> output;
3003  for (auto& i : event.photons)
3004  output.push_back(i.ampSeed);
3005  return output;
3006  }
3007  };
3008 
3009  template <>
3010  struct plotter <277> {
3011  constexpr static const char* name = "chsAK4Jets/size";
3012  std::vector<float> operator () (panda::Event& event) {
3013  std::vector<float> output {float(event.chsAK4Jets.size())};
3014  return output;
3015  }
3016  };
3017 
3018  template <>
3019  struct plotter <278> {
3020  constexpr static const char* name = "chsAK4Jets/matchedGenJet_isValid";
3021  std::vector<float> operator () (panda::Event& event) {
3022  std::vector<float> output;
3023  for (auto& i : event.chsAK4Jets)
3024  output.push_back(i.matchedGenJet.isValid());
3025  return output;
3026  }
3027  };
3028 
3029  template <>
3030  struct plotter <279> {
3031  constexpr static const char* name = "chsAK4Jets/constituents_size";
3032  std::vector<float> operator () (panda::Event& event) {
3033  std::vector<float> output;
3034  for (auto& i : event.chsAK4Jets)
3035  output.push_back(i.constituents.size());
3036  return output;
3037  }
3038  };
3039 
3040  template <>
3041  struct plotter <280> {
3042  constexpr static const char* name = "chsAK4Jets/secondaryVertex_isValid";
3043  std::vector<float> operator () (panda::Event& event) {
3044  std::vector<float> output;
3045  for (auto& i : event.chsAK4Jets)
3046  output.push_back(i.secondaryVertex.isValid());
3047  return output;
3048  }
3049  };
3050 
3051  template <>
3052  struct plotter <281> {
3053  constexpr static const char* name = "chsAK4Jets/deepCMVAudsg";
3054  std::vector<float> operator () (panda::Event& event) {
3055  std::vector<float> output;
3056  for (auto& i : event.chsAK4Jets)
3057  output.push_back(i.deepCMVAudsg);
3058  return output;
3059  }
3060  };
3061 
3062  template <>
3063  struct plotter <282> {
3064  constexpr static const char* name = "chsAK4Jets/nhf";
3065  std::vector<float> operator () (panda::Event& event) {
3066  std::vector<float> output;
3067  for (auto& i : event.chsAK4Jets)
3068  output.push_back(i.nhf);
3069  return output;
3070  }
3071  };
3072 
3073  template <>
3074  struct plotter <283> {
3075  constexpr static const char* name = "chsAK4Jets/ptCorrUp";
3076  std::vector<float> operator () (panda::Event& event) {
3077  std::vector<float> output;
3078  for (auto& i : event.chsAK4Jets)
3079  output.push_back(i.ptCorrUp);
3080  return output;
3081  }
3082  };
3083 
3084  template <>
3085  struct plotter <284> {
3086  constexpr static const char* name = "chsAK4Jets/deepCMVAcc";
3087  std::vector<float> operator () (panda::Event& event) {
3088  std::vector<float> output;
3089  for (auto& i : event.chsAK4Jets)
3090  output.push_back(i.deepCMVAcc);
3091  return output;
3092  }
3093  };
3094 
3095  template <>
3096  struct plotter <285> {
3097  constexpr static const char* name = "chsAK4Jets/deepCSVudsg";
3098  std::vector<float> operator () (panda::Event& event) {
3099  std::vector<float> output;
3100  for (auto& i : event.chsAK4Jets)
3101  output.push_back(i.deepCSVudsg);
3102  return output;
3103  }
3104  };
3105 
3106  template <>
3107  struct plotter <286> {
3108  constexpr static const char* name = "chsAK4Jets/cmva";
3109  std::vector<float> operator () (panda::Event& event) {
3110  std::vector<float> output;
3111  for (auto& i : event.chsAK4Jets)
3112  output.push_back(i.cmva);
3113  return output;
3114  }
3115  };
3116 
3117  template <>
3118  struct plotter <287> {
3119  constexpr static const char* name = "chsAK4Jets/deepCSVcc";
3120  std::vector<float> operator () (panda::Event& event) {
3121  std::vector<float> output;
3122  for (auto& i : event.chsAK4Jets)
3123  output.push_back(i.deepCSVcc);
3124  return output;
3125  }
3126  };
3127 
3128  template <>
3129  struct plotter <288> {
3130  constexpr static const char* name = "chsAK4Jets/deepCMVAbb";
3131  std::vector<float> operator () (panda::Event& event) {
3132  std::vector<float> output;
3133  for (auto& i : event.chsAK4Jets)
3134  output.push_back(i.deepCMVAbb);
3135  return output;
3136  }
3137  };
3138 
3139  template <>
3140  struct plotter <289> {
3141  constexpr static const char* name = "chsAK4Jets/pz";
3142  std::vector<float> operator () (panda::Event& event) {
3143  std::vector<float> output;
3144  for (auto& i : event.chsAK4Jets)
3145  output.push_back(i.pz());
3146  return output;
3147  }
3148  };
3149 
3150  template <>
3151  struct plotter <290> {
3152  constexpr static const char* name = "chsAK4Jets/chf";
3153  std::vector<float> operator () (panda::Event& event) {
3154  std::vector<float> output;
3155  for (auto& i : event.chsAK4Jets)
3156  output.push_back(i.chf);
3157  return output;
3158  }
3159  };
3160 
3161  template <>
3162  struct plotter <291> {
3163  constexpr static const char* name = "chsAK4Jets/area";
3164  std::vector<float> operator () (panda::Event& event) {
3165  std::vector<float> output;
3166  for (auto& i : event.chsAK4Jets)
3167  output.push_back(i.area);
3168  return output;
3169  }
3170  };
3171 
3172  template <>
3173  struct plotter <292> {
3174  constexpr static const char* name = "chsAK4Jets/nef";
3175  std::vector<float> operator () (panda::Event& event) {
3176  std::vector<float> output;
3177  for (auto& i : event.chsAK4Jets)
3178  output.push_back(i.nef);
3179  return output;
3180  }
3181  };
3182 
3183  template <>
3184  struct plotter <293> {
3185  constexpr static const char* name = "chsAK4Jets/ptCorrDown";
3186  std::vector<float> operator () (panda::Event& event) {
3187  std::vector<float> output;
3188  for (auto& i : event.chsAK4Jets)
3189  output.push_back(i.ptCorrDown);
3190  return output;
3191  }
3192  };
3193 
3194  template <>
3195  struct plotter <294> {
3196  constexpr static const char* name = "chsAK4Jets/deepCSVbb";
3197  std::vector<float> operator () (panda::Event& event) {
3198  std::vector<float> output;
3199  for (auto& i : event.chsAK4Jets)
3200  output.push_back(i.deepCSVbb);
3201  return output;
3202  }
3203  };
3204 
3205  template <>
3206  struct plotter <295> {
3207  constexpr static const char* name = "chsAK4Jets/deepCMVAb";
3208  std::vector<float> operator () (panda::Event& event) {
3209  std::vector<float> output;
3210  for (auto& i : event.chsAK4Jets)
3211  output.push_back(i.deepCMVAb);
3212  return output;
3213  }
3214  };
3215 
3216  template <>
3217  struct plotter <296> {
3218  constexpr static const char* name = "chsAK4Jets/tight";
3219  std::vector<float> operator () (panda::Event& event) {
3220  std::vector<float> output;
3221  for (auto& i : event.chsAK4Jets)
3222  output.push_back(i.tight);
3223  return output;
3224  }
3225  };
3226 
3227  template <>
3228  struct plotter <297> {
3229  constexpr static const char* name = "chsAK4Jets/puid";
3230  std::vector<float> operator () (panda::Event& event) {
3231  std::vector<float> output;
3232  for (auto& i : event.chsAK4Jets)
3233  output.push_back(i.puid);
3234  return output;
3235  }
3236  };
3237 
3238  template <>
3239  struct plotter <298> {
3240  constexpr static const char* name = "chsAK4Jets/qgl";
3241  std::vector<float> operator () (panda::Event& event) {
3242  std::vector<float> output;
3243  for (auto& i : event.chsAK4Jets)
3244  output.push_back(i.qgl);
3245  return output;
3246  }
3247  };
3248 
3249  template <>
3250  struct plotter <299> {
3251  constexpr static const char* name = "chsAK4Jets/tightLepVeto";
3252  std::vector<float> operator () (panda::Event& event) {
3253  std::vector<float> output;
3254  for (auto& i : event.chsAK4Jets)
3255  output.push_back(i.tightLepVeto);
3256  return output;
3257  }
3258  };
3259 
3260  template <>
3261  struct plotter <300> {
3262  constexpr static const char* name = "chsAK4Jets/e";
3263  std::vector<float> operator () (panda::Event& event) {
3264  std::vector<float> output;
3265  for (auto& i : event.chsAK4Jets)
3266  output.push_back(i.e());
3267  return output;
3268  }
3269  };
3270 
3271  template <>
3272  struct plotter <301> {
3273  constexpr static const char* name = "chsAK4Jets/cef";
3274  std::vector<float> operator () (panda::Event& event) {
3275  std::vector<float> output;
3276  for (auto& i : event.chsAK4Jets)
3277  output.push_back(i.cef);
3278  return output;
3279  }
3280  };
3281 
3282  template <>
3283  struct plotter <302> {
3284  constexpr static const char* name = "chsAK4Jets/p";
3285  std::vector<float> operator () (panda::Event& event) {
3286  std::vector<float> output;
3287  for (auto& i : event.chsAK4Jets)
3288  output.push_back(i.p());
3289  return output;
3290  }
3291  };
3292 
3293  template <>
3294  struct plotter <303> {
3295  constexpr static const char* name = "chsAK4Jets/rawPt";
3296  std::vector<float> operator () (panda::Event& event) {
3297  std::vector<float> output;
3298  for (auto& i : event.chsAK4Jets)
3299  output.push_back(i.rawPt);
3300  return output;
3301  }
3302  };
3303 
3304  template <>
3305  struct plotter <304> {
3306  constexpr static const char* name = "chsAK4Jets/eta";
3307  std::vector<float> operator () (panda::Event& event) {
3308  std::vector<float> output;
3309  for (auto& i : event.chsAK4Jets)
3310  output.push_back(i.eta());
3311  return output;
3312  }
3313  };
3314 
3315  template <>
3316  struct plotter <305> {
3317  constexpr static const char* name = "chsAK4Jets/loose";
3318  std::vector<float> operator () (panda::Event& event) {
3319  std::vector<float> output;
3320  for (auto& i : event.chsAK4Jets)
3321  output.push_back(i.loose);
3322  return output;
3323  }
3324  };
3325 
3326  template <>
3327  struct plotter <306> {
3328  constexpr static const char* name = "chsAK4Jets/deepCMVAc";
3329  std::vector<float> operator () (panda::Event& event) {
3330  std::vector<float> output;
3331  for (auto& i : event.chsAK4Jets)
3332  output.push_back(i.deepCMVAc);
3333  return output;
3334  }
3335  };
3336 
3337  template <>
3338  struct plotter <307> {
3339  constexpr static const char* name = "chsAK4Jets/py";
3340  std::vector<float> operator () (panda::Event& event) {
3341  std::vector<float> output;
3342  for (auto& i : event.chsAK4Jets)
3343  output.push_back(i.py());
3344  return output;
3345  }
3346  };
3347 
3348  template <>
3349  struct plotter <308> {
3350  constexpr static const char* name = "chsAK4Jets/monojet";
3351  std::vector<float> operator () (panda::Event& event) {
3352  std::vector<float> output;
3353  for (auto& i : event.chsAK4Jets)
3354  output.push_back(i.monojet);
3355  return output;
3356  }
3357  };
3358 
3359  template <>
3360  struct plotter <309> {
3361  constexpr static const char* name = "chsAK4Jets/ptSmearDown";
3362  std::vector<float> operator () (panda::Event& event) {
3363  std::vector<float> output;
3364  for (auto& i : event.chsAK4Jets)
3365  output.push_back(i.ptSmearDown);
3366  return output;
3367  }
3368  };
3369 
3370  template <>
3371  struct plotter <310> {
3372  constexpr static const char* name = "chsAK4Jets/px";
3373  std::vector<float> operator () (panda::Event& event) {
3374  std::vector<float> output;
3375  for (auto& i : event.chsAK4Jets)
3376  output.push_back(i.px());
3377  return output;
3378  }
3379  };
3380 
3381  template <>
3382  struct plotter <311> {
3383  constexpr static const char* name = "chsAK4Jets/pt";
3384  std::vector<float> operator () (panda::Event& event) {
3385  std::vector<float> output;
3386  for (auto& i : event.chsAK4Jets)
3387  output.push_back(i.pt());
3388  return output;
3389  }
3390  };
3391 
3392  template <>
3393  struct plotter <312> {
3394  constexpr static const char* name = "chsAK4Jets/csv";
3395  std::vector<float> operator () (panda::Event& event) {
3396  std::vector<float> output;
3397  for (auto& i : event.chsAK4Jets)
3398  output.push_back(i.csv);
3399  return output;
3400  }
3401  };
3402 
3403  template <>
3404  struct plotter <313> {
3405  constexpr static const char* name = "chsAK4Jets/deepCSVb";
3406  std::vector<float> operator () (panda::Event& event) {
3407  std::vector<float> output;
3408  for (auto& i : event.chsAK4Jets)
3409  output.push_back(i.deepCSVb);
3410  return output;
3411  }
3412  };
3413 
3414  template <>
3415  struct plotter <314> {
3416  constexpr static const char* name = "chsAK4Jets/deepCSVc";
3417  std::vector<float> operator () (panda::Event& event) {
3418  std::vector<float> output;
3419  for (auto& i : event.chsAK4Jets)
3420  output.push_back(i.deepCSVc);
3421  return output;
3422  }
3423  };
3424 
3425  template <>
3426  struct plotter <315> {
3427  constexpr static const char* name = "chsAK4Jets/m";
3428  std::vector<float> operator () (panda::Event& event) {
3429  std::vector<float> output;
3430  for (auto& i : event.chsAK4Jets)
3431  output.push_back(i.m());
3432  return output;
3433  }
3434  };
3435 
3436  template <>
3437  struct plotter <316> {
3438  constexpr static const char* name = "chsAK4Jets/phi";
3439  std::vector<float> operator () (panda::Event& event) {
3440  std::vector<float> output;
3441  for (auto& i : event.chsAK4Jets)
3442  output.push_back(i.phi());
3443  return output;
3444  }
3445  };
3446 
3447  template <>
3448  struct plotter <317> {
3449  constexpr static const char* name = "chsAK4Jets/ptSmear";
3450  std::vector<float> operator () (panda::Event& event) {
3451  std::vector<float> output;
3452  for (auto& i : event.chsAK4Jets)
3453  output.push_back(i.ptSmear);
3454  return output;
3455  }
3456  };
3457 
3458  template <>
3459  struct plotter <318> {
3460  constexpr static const char* name = "chsAK4Jets/ptSmearUp";
3461  std::vector<float> operator () (panda::Event& event) {
3462  std::vector<float> output;
3463  for (auto& i : event.chsAK4Jets)
3464  output.push_back(i.ptSmearUp);
3465  return output;
3466  }
3467  };
3468 
3469  template <>
3470  struct plotter <319> {
3471  constexpr static const char* name = "puppiAK4Jets/size";
3472  std::vector<float> operator () (panda::Event& event) {
3473  std::vector<float> output {float(event.puppiAK4Jets.size())};
3474  return output;
3475  }
3476  };
3477 
3478  template <>
3479  struct plotter <320> {
3480  constexpr static const char* name = "puppiAK4Jets/matchedGenJet_isValid";
3481  std::vector<float> operator () (panda::Event& event) {
3482  std::vector<float> output;
3483  for (auto& i : event.puppiAK4Jets)
3484  output.push_back(i.matchedGenJet.isValid());
3485  return output;
3486  }
3487  };
3488 
3489  template <>
3490  struct plotter <321> {
3491  constexpr static const char* name = "puppiAK4Jets/constituents_size";
3492  std::vector<float> operator () (panda::Event& event) {
3493  std::vector<float> output;
3494  for (auto& i : event.puppiAK4Jets)
3495  output.push_back(i.constituents.size());
3496  return output;
3497  }
3498  };
3499 
3500  template <>
3501  struct plotter <322> {
3502  constexpr static const char* name = "puppiAK4Jets/secondaryVertex_isValid";
3503  std::vector<float> operator () (panda::Event& event) {
3504  std::vector<float> output;
3505  for (auto& i : event.puppiAK4Jets)
3506  output.push_back(i.secondaryVertex.isValid());
3507  return output;
3508  }
3509  };
3510 
3511  template <>
3512  struct plotter <323> {
3513  constexpr static const char* name = "puppiAK4Jets/deepCMVAudsg";
3514  std::vector<float> operator () (panda::Event& event) {
3515  std::vector<float> output;
3516  for (auto& i : event.puppiAK4Jets)
3517  output.push_back(i.deepCMVAudsg);
3518  return output;
3519  }
3520  };
3521 
3522  template <>
3523  struct plotter <324> {
3524  constexpr static const char* name = "puppiAK4Jets/nhf";
3525  std::vector<float> operator () (panda::Event& event) {
3526  std::vector<float> output;
3527  for (auto& i : event.puppiAK4Jets)
3528  output.push_back(i.nhf);
3529  return output;
3530  }
3531  };
3532 
3533  template <>
3534  struct plotter <325> {
3535  constexpr static const char* name = "puppiAK4Jets/ptCorrUp";
3536  std::vector<float> operator () (panda::Event& event) {
3537  std::vector<float> output;
3538  for (auto& i : event.puppiAK4Jets)
3539  output.push_back(i.ptCorrUp);
3540  return output;
3541  }
3542  };
3543 
3544  template <>
3545  struct plotter <326> {
3546  constexpr static const char* name = "puppiAK4Jets/deepCMVAcc";
3547  std::vector<float> operator () (panda::Event& event) {
3548  std::vector<float> output;
3549  for (auto& i : event.puppiAK4Jets)
3550  output.push_back(i.deepCMVAcc);
3551  return output;
3552  }
3553  };
3554 
3555  template <>
3556  struct plotter <327> {
3557  constexpr static const char* name = "puppiAK4Jets/deepCSVudsg";
3558  std::vector<float> operator () (panda::Event& event) {
3559  std::vector<float> output;
3560  for (auto& i : event.puppiAK4Jets)
3561  output.push_back(i.deepCSVudsg);
3562  return output;
3563  }
3564  };
3565 
3566  template <>
3567  struct plotter <328> {
3568  constexpr static const char* name = "puppiAK4Jets/cmva";
3569  std::vector<float> operator () (panda::Event& event) {
3570  std::vector<float> output;
3571  for (auto& i : event.puppiAK4Jets)
3572  output.push_back(i.cmva);
3573  return output;
3574  }
3575  };
3576 
3577  template <>
3578  struct plotter <329> {
3579  constexpr static const char* name = "puppiAK4Jets/deepCSVcc";
3580  std::vector<float> operator () (panda::Event& event) {
3581  std::vector<float> output;
3582  for (auto& i : event.puppiAK4Jets)
3583  output.push_back(i.deepCSVcc);
3584  return output;
3585  }
3586  };
3587 
3588  template <>
3589  struct plotter <330> {
3590  constexpr static const char* name = "puppiAK4Jets/deepCMVAbb";
3591  std::vector<float> operator () (panda::Event& event) {
3592  std::vector<float> output;
3593  for (auto& i : event.puppiAK4Jets)
3594  output.push_back(i.deepCMVAbb);
3595  return output;
3596  }
3597  };
3598 
3599  template <>
3600  struct plotter <331> {
3601  constexpr static const char* name = "puppiAK4Jets/pz";
3602  std::vector<float> operator () (panda::Event& event) {
3603  std::vector<float> output;
3604  for (auto& i : event.puppiAK4Jets)
3605  output.push_back(i.pz());
3606  return output;
3607  }
3608  };
3609 
3610  template <>
3611  struct plotter <332> {
3612  constexpr static const char* name = "puppiAK4Jets/chf";
3613  std::vector<float> operator () (panda::Event& event) {
3614  std::vector<float> output;
3615  for (auto& i : event.puppiAK4Jets)
3616  output.push_back(i.chf);
3617  return output;
3618  }
3619  };
3620 
3621  template <>
3622  struct plotter <333> {
3623  constexpr static const char* name = "puppiAK4Jets/area";
3624  std::vector<float> operator () (panda::Event& event) {
3625  std::vector<float> output;
3626  for (auto& i : event.puppiAK4Jets)
3627  output.push_back(i.area);
3628  return output;
3629  }
3630  };
3631 
3632  template <>
3633  struct plotter <334> {
3634  constexpr static const char* name = "puppiAK4Jets/nef";
3635  std::vector<float> operator () (panda::Event& event) {
3636  std::vector<float> output;
3637  for (auto& i : event.puppiAK4Jets)
3638  output.push_back(i.nef);
3639  return output;
3640  }
3641  };
3642 
3643  template <>
3644  struct plotter <335> {
3645  constexpr static const char* name = "puppiAK4Jets/ptCorrDown";
3646  std::vector<float> operator () (panda::Event& event) {
3647  std::vector<float> output;
3648  for (auto& i : event.puppiAK4Jets)
3649  output.push_back(i.ptCorrDown);
3650  return output;
3651  }
3652  };
3653 
3654  template <>
3655  struct plotter <336> {
3656  constexpr static const char* name = "puppiAK4Jets/deepCSVbb";
3657  std::vector<float> operator () (panda::Event& event) {
3658  std::vector<float> output;
3659  for (auto& i : event.puppiAK4Jets)
3660  output.push_back(i.deepCSVbb);
3661  return output;
3662  }
3663  };
3664 
3665  template <>
3666  struct plotter <337> {
3667  constexpr static const char* name = "puppiAK4Jets/deepCMVAb";
3668  std::vector<float> operator () (panda::Event& event) {
3669  std::vector<float> output;
3670  for (auto& i : event.puppiAK4Jets)
3671  output.push_back(i.deepCMVAb);
3672  return output;
3673  }
3674  };
3675 
3676  template <>
3677  struct plotter <338> {
3678  constexpr static const char* name = "puppiAK4Jets/tight";
3679  std::vector<float> operator () (panda::Event& event) {
3680  std::vector<float> output;
3681  for (auto& i : event.puppiAK4Jets)
3682  output.push_back(i.tight);
3683  return output;
3684  }
3685  };
3686 
3687  template <>
3688  struct plotter <339> {
3689  constexpr static const char* name = "puppiAK4Jets/puid";
3690  std::vector<float> operator () (panda::Event& event) {
3691  std::vector<float> output;
3692  for (auto& i : event.puppiAK4Jets)
3693  output.push_back(i.puid);
3694  return output;
3695  }
3696  };
3697 
3698  template <>
3699  struct plotter <340> {
3700  constexpr static const char* name = "puppiAK4Jets/qgl";
3701  std::vector<float> operator () (panda::Event& event) {
3702  std::vector<float> output;
3703  for (auto& i : event.puppiAK4Jets)
3704  output.push_back(i.qgl);
3705  return output;
3706  }
3707  };
3708 
3709  template <>
3710  struct plotter <341> {
3711  constexpr static const char* name = "puppiAK4Jets/tightLepVeto";
3712  std::vector<float> operator () (panda::Event& event) {
3713  std::vector<float> output;
3714  for (auto& i : event.puppiAK4Jets)
3715  output.push_back(i.tightLepVeto);
3716  return output;
3717  }
3718  };
3719 
3720  template <>
3721  struct plotter <342> {
3722  constexpr static const char* name = "puppiAK4Jets/e";
3723  std::vector<float> operator () (panda::Event& event) {
3724  std::vector<float> output;
3725  for (auto& i : event.puppiAK4Jets)
3726  output.push_back(i.e());
3727  return output;
3728  }
3729  };
3730 
3731  template <>
3732  struct plotter <343> {
3733  constexpr static const char* name = "puppiAK4Jets/cef";
3734  std::vector<float> operator () (panda::Event& event) {
3735  std::vector<float> output;
3736  for (auto& i : event.puppiAK4Jets)
3737  output.push_back(i.cef);
3738  return output;
3739  }
3740  };
3741 
3742  template <>
3743  struct plotter <344> {
3744  constexpr static const char* name = "puppiAK4Jets/p";
3745  std::vector<float> operator () (panda::Event& event) {
3746  std::vector<float> output;
3747  for (auto& i : event.puppiAK4Jets)
3748  output.push_back(i.p());
3749  return output;
3750  }
3751  };
3752 
3753  template <>
3754  struct plotter <345> {
3755  constexpr static const char* name = "puppiAK4Jets/rawPt";
3756  std::vector<float> operator () (panda::Event& event) {
3757  std::vector<float> output;
3758  for (auto& i : event.puppiAK4Jets)
3759  output.push_back(i.rawPt);
3760  return output;
3761  }
3762  };
3763 
3764  template <>
3765  struct plotter <346> {
3766  constexpr static const char* name = "puppiAK4Jets/eta";
3767  std::vector<float> operator () (panda::Event& event) {
3768  std::vector<float> output;
3769  for (auto& i : event.puppiAK4Jets)
3770  output.push_back(i.eta());
3771  return output;
3772  }
3773  };
3774 
3775  template <>
3776  struct plotter <347> {
3777  constexpr static const char* name = "puppiAK4Jets/loose";
3778  std::vector<float> operator () (panda::Event& event) {
3779  std::vector<float> output;
3780  for (auto& i : event.puppiAK4Jets)
3781  output.push_back(i.loose);
3782  return output;
3783  }
3784  };
3785 
3786  template <>
3787  struct plotter <348> {
3788  constexpr static const char* name = "puppiAK4Jets/deepCMVAc";
3789  std::vector<float> operator () (panda::Event& event) {
3790  std::vector<float> output;
3791  for (auto& i : event.puppiAK4Jets)
3792  output.push_back(i.deepCMVAc);
3793  return output;
3794  }
3795  };
3796 
3797  template <>
3798  struct plotter <349> {
3799  constexpr static const char* name = "puppiAK4Jets/py";
3800  std::vector<float> operator () (panda::Event& event) {
3801  std::vector<float> output;
3802  for (auto& i : event.puppiAK4Jets)
3803  output.push_back(i.py());
3804  return output;
3805  }
3806  };
3807 
3808  template <>
3809  struct plotter <350> {
3810  constexpr static const char* name = "puppiAK4Jets/monojet";
3811  std::vector<float> operator () (panda::Event& event) {
3812  std::vector<float> output;
3813  for (auto& i : event.puppiAK4Jets)
3814  output.push_back(i.monojet);
3815  return output;
3816  }
3817  };
3818 
3819  template <>
3820  struct plotter <351> {
3821  constexpr static const char* name = "puppiAK4Jets/ptSmearDown";
3822  std::vector<float> operator () (panda::Event& event) {
3823  std::vector<float> output;
3824  for (auto& i : event.puppiAK4Jets)
3825  output.push_back(i.ptSmearDown);
3826  return output;
3827  }
3828  };
3829 
3830  template <>
3831  struct plotter <352> {
3832  constexpr static const char* name = "puppiAK4Jets/px";
3833  std::vector<float> operator () (panda::Event& event) {
3834  std::vector<float> output;
3835  for (auto& i : event.puppiAK4Jets)
3836  output.push_back(i.px());
3837  return output;
3838  }
3839  };
3840 
3841  template <>
3842  struct plotter <353> {
3843  constexpr static const char* name = "puppiAK4Jets/pt";
3844  std::vector<float> operator () (panda::Event& event) {
3845  std::vector<float> output;
3846  for (auto& i : event.puppiAK4Jets)
3847  output.push_back(i.pt());
3848  return output;
3849  }
3850  };
3851 
3852  template <>
3853  struct plotter <354> {
3854  constexpr static const char* name = "puppiAK4Jets/csv";
3855  std::vector<float> operator () (panda::Event& event) {
3856  std::vector<float> output;
3857  for (auto& i : event.puppiAK4Jets)
3858  output.push_back(i.csv);
3859  return output;
3860  }
3861  };
3862 
3863  template <>
3864  struct plotter <355> {
3865  constexpr static const char* name = "puppiAK4Jets/deepCSVb";
3866  std::vector<float> operator () (panda::Event& event) {
3867  std::vector<float> output;
3868  for (auto& i : event.puppiAK4Jets)
3869  output.push_back(i.deepCSVb);
3870  return output;
3871  }
3872  };
3873 
3874  template <>
3875  struct plotter <356> {
3876  constexpr static const char* name = "puppiAK4Jets/deepCSVc";
3877  std::vector<float> operator () (panda::Event& event) {
3878  std::vector<float> output;
3879  for (auto& i : event.puppiAK4Jets)
3880  output.push_back(i.deepCSVc);
3881  return output;
3882  }
3883  };
3884 
3885  template <>
3886  struct plotter <357> {
3887  constexpr static const char* name = "puppiAK4Jets/m";
3888  std::vector<float> operator () (panda::Event& event) {
3889  std::vector<float> output;
3890  for (auto& i : event.puppiAK4Jets)
3891  output.push_back(i.m());
3892  return output;
3893  }
3894  };
3895 
3896  template <>
3897  struct plotter <358> {
3898  constexpr static const char* name = "puppiAK4Jets/phi";
3899  std::vector<float> operator () (panda::Event& event) {
3900  std::vector<float> output;
3901  for (auto& i : event.puppiAK4Jets)
3902  output.push_back(i.phi());
3903  return output;
3904  }
3905  };
3906 
3907  template <>
3908  struct plotter <359> {
3909  constexpr static const char* name = "puppiAK4Jets/ptSmear";
3910  std::vector<float> operator () (panda::Event& event) {
3911  std::vector<float> output;
3912  for (auto& i : event.puppiAK4Jets)
3913  output.push_back(i.ptSmear);
3914  return output;
3915  }
3916  };
3917 
3918  template <>
3919  struct plotter <360> {
3920  constexpr static const char* name = "puppiAK4Jets/ptSmearUp";
3921  std::vector<float> operator () (panda::Event& event) {
3922  std::vector<float> output;
3923  for (auto& i : event.puppiAK4Jets)
3924  output.push_back(i.ptSmearUp);
3925  return output;
3926  }
3927  };
3928 
3929  template <>
3930  struct plotter <361> {
3931  constexpr static const char* name = "chsAK8Jets/size";
3932  std::vector<float> operator () (panda::Event& event) {
3933  std::vector<float> output {float(event.chsAK8Jets.size())};
3934  return output;
3935  }
3936  };
3937 
3938  template <>
3939  struct plotter <362> {
3940  constexpr static const char* name = "chsAK8Jets/subjets_size";
3941  std::vector<float> operator () (panda::Event& event) {
3942  std::vector<float> output;
3943  for (auto& i : event.chsAK8Jets)
3944  output.push_back(i.subjets.size());
3945  return output;
3946  }
3947  };
3948 
3949  template <>
3950  struct plotter <363> {
3951  constexpr static const char* name = "chsAK8Jets/matchedGenJet_isValid";
3952  std::vector<float> operator () (panda::Event& event) {
3953  std::vector<float> output;
3954  for (auto& i : event.chsAK8Jets)
3955  output.push_back(i.matchedGenJet.isValid());
3956  return output;
3957  }
3958  };
3959 
3960  template <>
3961  struct plotter <364> {
3962  constexpr static const char* name = "chsAK8Jets/constituents_size";
3963  std::vector<float> operator () (panda::Event& event) {
3964  std::vector<float> output;
3965  for (auto& i : event.chsAK8Jets)
3966  output.push_back(i.constituents.size());
3967  return output;
3968  }
3969  };
3970 
3971  template <>
3972  struct plotter <365> {
3973  constexpr static const char* name = "chsAK8Jets/secondaryVertex_isValid";
3974  std::vector<float> operator () (panda::Event& event) {
3975  std::vector<float> output;
3976  for (auto& i : event.chsAK8Jets)
3977  output.push_back(i.secondaryVertex.isValid());
3978  return output;
3979  }
3980  };
3981 
3982  template <>
3983  struct plotter <366> {
3984  constexpr static const char* name = "chsAK8Jets/deepCMVAudsg";
3985  std::vector<float> operator () (panda::Event& event) {
3986  std::vector<float> output;
3987  for (auto& i : event.chsAK8Jets)
3988  output.push_back(i.deepCMVAudsg);
3989  return output;
3990  }
3991  };
3992 
3993  template <>
3994  struct plotter <367> {
3995  constexpr static const char* name = "chsAK8Jets/deepBBprobH";
3996  std::vector<float> operator () (panda::Event& event) {
3997  std::vector<float> output;
3998  for (auto& i : event.chsAK8Jets)
3999  output.push_back(i.deepBBprobH);
4000  return output;
4001  }
4002  };
4003 
4004  template <>
4005  struct plotter <368> {
4006  constexpr static const char* name = "chsAK8Jets/deepCMVAbb";
4007  std::vector<float> operator () (panda::Event& event) {
4008  std::vector<float> output;
4009  for (auto& i : event.chsAK8Jets)
4010  output.push_back(i.deepCMVAbb);
4011  return output;
4012  }
4013  };
4014 
4015  template <>
4016  struct plotter <369> {
4017  constexpr static const char* name = "chsAK8Jets/ptCorrUp";
4018  std::vector<float> operator () (panda::Event& event) {
4019  std::vector<float> output;
4020  for (auto& i : event.chsAK8Jets)
4021  output.push_back(i.ptCorrUp);
4022  return output;
4023  }
4024  };
4025 
4026  template <>
4027  struct plotter <370> {
4028  constexpr static const char* name = "chsAK8Jets/cef";
4029  std::vector<float> operator () (panda::Event& event) {
4030  std::vector<float> output;
4031  for (auto& i : event.chsAK8Jets)
4032  output.push_back(i.cef);
4033  return output;
4034  }
4035  };
4036 
4037  template <>
4038  struct plotter <371> {
4039  constexpr static const char* name = "chsAK8Jets/deepCSVudsg";
4040  std::vector<float> operator () (panda::Event& event) {
4041  std::vector<float> output;
4042  for (auto& i : event.chsAK8Jets)
4043  output.push_back(i.deepCSVudsg);
4044  return output;
4045  }
4046  };
4047 
4048  template <>
4049  struct plotter <372> {
4050  constexpr static const char* name = "chsAK8Jets/tight";
4051  std::vector<float> operator () (panda::Event& event) {
4052  std::vector<float> output;
4053  for (auto& i : event.chsAK8Jets)
4054  output.push_back(i.tight);
4055  return output;
4056  }
4057  };
4058 
4059  template <>
4060  struct plotter <373> {
4061  constexpr static const char* name = "chsAK8Jets/cmva";
4062  std::vector<float> operator () (panda::Event& event) {
4063  std::vector<float> output;
4064  for (auto& i : event.chsAK8Jets)
4065  output.push_back(i.cmva);
4066  return output;
4067  }
4068  };
4069 
4070  template <>
4071  struct plotter <374> {
4072  constexpr static const char* name = "chsAK8Jets/phi";
4073  std::vector<float> operator () (panda::Event& event) {
4074  std::vector<float> output;
4075  for (auto& i : event.chsAK8Jets)
4076  output.push_back(i.phi());
4077  return output;
4078  }
4079  };
4080 
4081  template <>
4082  struct plotter <375> {
4083  constexpr static const char* name = "chsAK8Jets/nhf";
4084  std::vector<float> operator () (panda::Event& event) {
4085  std::vector<float> output;
4086  for (auto& i : event.chsAK8Jets)
4087  output.push_back(i.nhf);
4088  return output;
4089  }
4090  };
4091 
4092  template <>
4093  struct plotter <376> {
4094  constexpr static const char* name = "chsAK8Jets/deepBBprobQ";
4095  std::vector<float> operator () (panda::Event& event) {
4096  std::vector<float> output;
4097  for (auto& i : event.chsAK8Jets)
4098  output.push_back(i.deepBBprobQ);
4099  return output;
4100  }
4101  };
4102 
4103  template <>
4104  struct plotter <377> {
4105  constexpr static const char* name = "chsAK8Jets/deepCSVbb";
4106  std::vector<float> operator () (panda::Event& event) {
4107  std::vector<float> output;
4108  for (auto& i : event.chsAK8Jets)
4109  output.push_back(i.deepCSVbb);
4110  return output;
4111  }
4112  };
4113 
4114  template <>
4115  struct plotter <378> {
4116  constexpr static const char* name = "chsAK8Jets/htt_frec";
4117  std::vector<float> operator () (panda::Event& event) {
4118  std::vector<float> output;
4119  for (auto& i : event.chsAK8Jets)
4120  output.push_back(i.htt_frec);
4121  return output;
4122  }
4123  };
4124 
4125  template <>
4126  struct plotter <379> {
4127  constexpr static const char* name = "chsAK8Jets/deepCMVAb";
4128  std::vector<float> operator () (panda::Event& event) {
4129  std::vector<float> output;
4130  for (auto& i : event.chsAK8Jets)
4131  output.push_back(i.deepCMVAb);
4132  return output;
4133  }
4134  };
4135 
4136  template <>
4137  struct plotter <380> {
4138  constexpr static const char* name = "chsAK8Jets/chf";
4139  std::vector<float> operator () (panda::Event& event) {
4140  std::vector<float> output;
4141  for (auto& i : event.chsAK8Jets)
4142  output.push_back(i.chf);
4143  return output;
4144  }
4145  };
4146 
4147  template <>
4148  struct plotter <381> {
4149  constexpr static const char* name = "chsAK8Jets/area";
4150  std::vector<float> operator () (panda::Event& event) {
4151  std::vector<float> output;
4152  for (auto& i : event.chsAK8Jets)
4153  output.push_back(i.area);
4154  return output;
4155  }
4156  };
4157 
4158  template <>
4159  struct plotter <382> {
4160  constexpr static const char* name = "chsAK8Jets/nef";
4161  std::vector<float> operator () (panda::Event& event) {
4162  std::vector<float> output;
4163  for (auto& i : event.chsAK8Jets)
4164  output.push_back(i.nef);
4165  return output;
4166  }
4167  };
4168 
4169  template <>
4170  struct plotter <383> {
4171  constexpr static const char* name = "chsAK8Jets/htt_mass";
4172  std::vector<float> operator () (panda::Event& event) {
4173  std::vector<float> output;
4174  for (auto& i : event.chsAK8Jets)
4175  output.push_back(i.htt_mass);
4176  return output;
4177  }
4178  };
4179 
4180  template <>
4181  struct plotter <384> {
4182  constexpr static const char* name = "chsAK8Jets/ptCorrDown";
4183  std::vector<float> operator () (panda::Event& event) {
4184  std::vector<float> output;
4185  for (auto& i : event.chsAK8Jets)
4186  output.push_back(i.ptCorrDown);
4187  return output;
4188  }
4189  };
4190 
4191  template <>
4192  struct plotter <385> {
4193  constexpr static const char* name = "chsAK8Jets/pz";
4194  std::vector<float> operator () (panda::Event& event) {
4195  std::vector<float> output;
4196  for (auto& i : event.chsAK8Jets)
4197  output.push_back(i.pz());
4198  return output;
4199  }
4200  };
4201 
4202  template <>
4203  struct plotter <386> {
4204  constexpr static const char* name = "chsAK8Jets/tau2";
4205  std::vector<float> operator () (panda::Event& event) {
4206  std::vector<float> output;
4207  for (auto& i : event.chsAK8Jets)
4208  output.push_back(i.tau2);
4209  return output;
4210  }
4211  };
4212 
4213  template <>
4214  struct plotter <387> {
4215  constexpr static const char* name = "chsAK8Jets/tau3";
4216  std::vector<float> operator () (panda::Event& event) {
4217  std::vector<float> output;
4218  for (auto& i : event.chsAK8Jets)
4219  output.push_back(i.tau3);
4220  return output;
4221  }
4222  };
4223 
4224  template <>
4225  struct plotter <388> {
4226  constexpr static const char* name = "chsAK8Jets/puid";
4227  std::vector<float> operator () (panda::Event& event) {
4228  std::vector<float> output;
4229  for (auto& i : event.chsAK8Jets)
4230  output.push_back(i.puid);
4231  return output;
4232  }
4233  };
4234 
4235  template <>
4236  struct plotter <389> {
4237  constexpr static const char* name = "chsAK8Jets/tau1";
4238  std::vector<float> operator () (panda::Event& event) {
4239  std::vector<float> output;
4240  for (auto& i : event.chsAK8Jets)
4241  output.push_back(i.tau1);
4242  return output;
4243  }
4244  };
4245 
4246  template <>
4247  struct plotter <390> {
4248  constexpr static const char* name = "chsAK8Jets/mSD";
4249  std::vector<float> operator () (panda::Event& event) {
4250  std::vector<float> output;
4251  for (auto& i : event.chsAK8Jets)
4252  output.push_back(i.mSD);
4253  return output;
4254  }
4255  };
4256 
4257  template <>
4258  struct plotter <391> {
4259  constexpr static const char* name = "chsAK8Jets/e";
4260  std::vector<float> operator () (panda::Event& event) {
4261  std::vector<float> output;
4262  for (auto& i : event.chsAK8Jets)
4263  output.push_back(i.e());
4264  return output;
4265  }
4266  };
4267 
4268  template <>
4269  struct plotter <392> {
4270  constexpr static const char* name = "chsAK8Jets/deepCMVAcc";
4271  std::vector<float> operator () (panda::Event& event) {
4272  std::vector<float> output;
4273  for (auto& i : event.chsAK8Jets)
4274  output.push_back(i.deepCMVAcc);
4275  return output;
4276  }
4277  };
4278 
4279  template <>
4280  struct plotter <393> {
4281  constexpr static const char* name = "chsAK8Jets/p";
4282  std::vector<float> operator () (panda::Event& event) {
4283  std::vector<float> output;
4284  for (auto& i : event.chsAK8Jets)
4285  output.push_back(i.p());
4286  return output;
4287  }
4288  };
4289 
4290  template <>
4291  struct plotter <394> {
4292  constexpr static const char* name = "chsAK8Jets/rawPt";
4293  std::vector<float> operator () (panda::Event& event) {
4294  std::vector<float> output;
4295  for (auto& i : event.chsAK8Jets)
4296  output.push_back(i.rawPt);
4297  return output;
4298  }
4299  };
4300 
4301  template <>
4302  struct plotter <395> {
4303  constexpr static const char* name = "chsAK8Jets/eta";
4304  std::vector<float> operator () (panda::Event& event) {
4305  std::vector<float> output;
4306  for (auto& i : event.chsAK8Jets)
4307  output.push_back(i.eta());
4308  return output;
4309  }
4310  };
4311 
4312  template <>
4313  struct plotter <396> {
4314  constexpr static const char* name = "chsAK8Jets/double_sub";
4315  std::vector<float> operator () (panda::Event& event) {
4316  std::vector<float> output;
4317  for (auto& i : event.chsAK8Jets)
4318  output.push_back(i.double_sub);
4319  return output;
4320  }
4321  };
4322 
4323  template <>
4324  struct plotter <397> {
4325  constexpr static const char* name = "chsAK8Jets/loose";
4326  std::vector<float> operator () (panda::Event& event) {
4327  std::vector<float> output;
4328  for (auto& i : event.chsAK8Jets)
4329  output.push_back(i.loose);
4330  return output;
4331  }
4332  };
4333 
4334  template <>
4335  struct plotter <398> {
4336  constexpr static const char* name = "chsAK8Jets/ptSmear";
4337  std::vector<float> operator () (panda::Event& event) {
4338  std::vector<float> output;
4339  for (auto& i : event.chsAK8Jets)
4340  output.push_back(i.ptSmear);
4341  return output;
4342  }
4343  };
4344 
4345  template <>
4346  struct plotter <399> {
4347  constexpr static const char* name = "chsAK8Jets/deepCMVAc";
4348  std::vector<float> operator () (panda::Event& event) {
4349  std::vector<float> output;
4350  for (auto& i : event.chsAK8Jets)
4351  output.push_back(i.deepCMVAc);
4352  return output;
4353  }
4354  };
4355 
4356  template <>
4357  struct plotter <400> {
4358  constexpr static const char* name = "chsAK8Jets/qgl";
4359  std::vector<float> operator () (panda::Event& event) {
4360  std::vector<float> output;
4361  for (auto& i : event.chsAK8Jets)
4362  output.push_back(i.qgl);
4363  return output;
4364  }
4365  };
4366 
4367  template <>
4368  struct plotter <401> {
4369  constexpr static const char* name = "chsAK8Jets/py";
4370  std::vector<float> operator () (panda::Event& event) {
4371  std::vector<float> output;
4372  for (auto& i : event.chsAK8Jets)
4373  output.push_back(i.py());
4374  return output;
4375  }
4376  };
4377 
4378  template <>
4379  struct plotter <402> {
4380  constexpr static const char* name = "chsAK8Jets/monojet";
4381  std::vector<float> operator () (panda::Event& event) {
4382  std::vector<float> output;
4383  for (auto& i : event.chsAK8Jets)
4384  output.push_back(i.monojet);
4385  return output;
4386  }
4387  };
4388 
4389  template <>
4390  struct plotter <403> {
4391  constexpr static const char* name = "chsAK8Jets/ptSmearDown";
4392  std::vector<float> operator () (panda::Event& event) {
4393  std::vector<float> output;
4394  for (auto& i : event.chsAK8Jets)
4395  output.push_back(i.ptSmearDown);
4396  return output;
4397  }
4398  };
4399 
4400  template <>
4401  struct plotter <404> {
4402  constexpr static const char* name = "chsAK8Jets/px";
4403  std::vector<float> operator () (panda::Event& event) {
4404  std::vector<float> output;
4405  for (auto& i : event.chsAK8Jets)
4406  output.push_back(i.px());
4407  return output;
4408  }
4409  };
4410 
4411  template <>
4412  struct plotter <405> {
4413  constexpr static const char* name = "chsAK8Jets/mPruned";
4414  std::vector<float> operator () (panda::Event& event) {
4415  std::vector<float> output;
4416  for (auto& i : event.chsAK8Jets)
4417  output.push_back(i.mPruned);
4418  return output;
4419  }
4420  };
4421 
4422  template <>
4423  struct plotter <406> {
4424  constexpr static const char* name = "chsAK8Jets/tau1SD";
4425  std::vector<float> operator () (panda::Event& event) {
4426  std::vector<float> output;
4427  for (auto& i : event.chsAK8Jets)
4428  output.push_back(i.tau1SD);
4429  return output;
4430  }
4431  };
4432 
4433  template <>
4434  struct plotter <407> {
4435  constexpr static const char* name = "chsAK8Jets/pt";
4436  std::vector<float> operator () (panda::Event& event) {
4437  std::vector<float> output;
4438  for (auto& i : event.chsAK8Jets)
4439  output.push_back(i.pt());
4440  return output;
4441  }
4442  };
4443 
4444  template <>
4445  struct plotter <408> {
4446  constexpr static const char* name = "chsAK8Jets/tightLepVeto";
4447  std::vector<float> operator () (panda::Event& event) {
4448  std::vector<float> output;
4449  for (auto& i : event.chsAK8Jets)
4450  output.push_back(i.tightLepVeto);
4451  return output;
4452  }
4453  };
4454 
4455  template <>
4456  struct plotter <409> {
4457  constexpr static const char* name = "chsAK8Jets/deepCSVb";
4458  std::vector<float> operator () (panda::Event& event) {
4459  std::vector<float> output;
4460  for (auto& i : event.chsAK8Jets)
4461  output.push_back(i.deepCSVb);
4462  return output;
4463  }
4464  };
4465 
4466  template <>
4467  struct plotter <410> {
4468  constexpr static const char* name = "chsAK8Jets/deepCSVc";
4469  std::vector<float> operator () (panda::Event& event) {
4470  std::vector<float> output;
4471  for (auto& i : event.chsAK8Jets)
4472  output.push_back(i.deepCSVc);
4473  return output;
4474  }
4475  };
4476 
4477  template <>
4478  struct plotter <411> {
4479  constexpr static const char* name = "chsAK8Jets/tau3SD";
4480  std::vector<float> operator () (panda::Event& event) {
4481  std::vector<float> output;
4482  for (auto& i : event.chsAK8Jets)
4483  output.push_back(i.tau3SD);
4484  return output;
4485  }
4486  };
4487 
4488  template <>
4489  struct plotter <412> {
4490  constexpr static const char* name = "chsAK8Jets/m";
4491  std::vector<float> operator () (panda::Event& event) {
4492  std::vector<float> output;
4493  for (auto& i : event.chsAK8Jets)
4494  output.push_back(i.m());
4495  return output;
4496  }
4497  };
4498 
4499  template <>
4500  struct plotter <413> {
4501  constexpr static const char* name = "chsAK8Jets/deepCSVcc";
4502  std::vector<float> operator () (panda::Event& event) {
4503  std::vector<float> output;
4504  for (auto& i : event.chsAK8Jets)
4505  output.push_back(i.deepCSVcc);
4506  return output;
4507  }
4508  };
4509 
4510  template <>
4511  struct plotter <414> {
4512  constexpr static const char* name = "chsAK8Jets/tau2SD";
4513  std::vector<float> operator () (panda::Event& event) {
4514  std::vector<float> output;
4515  for (auto& i : event.chsAK8Jets)
4516  output.push_back(i.tau2SD);
4517  return output;
4518  }
4519  };
4520 
4521  template <>
4522  struct plotter <415> {
4523  constexpr static const char* name = "chsAK8Jets/csv";
4524  std::vector<float> operator () (panda::Event& event) {
4525  std::vector<float> output;
4526  for (auto& i : event.chsAK8Jets)
4527  output.push_back(i.csv);
4528  return output;
4529  }
4530  };
4531 
4532  template <>
4533  struct plotter <416> {
4534  constexpr static const char* name = "chsAK8Jets/ptSmearUp";
4535  std::vector<float> operator () (panda::Event& event) {
4536  std::vector<float> output;
4537  for (auto& i : event.chsAK8Jets)
4538  output.push_back(i.ptSmearUp);
4539  return output;
4540  }
4541  };
4542 
4543  template <>
4544  struct plotter <417> {
4545  constexpr static const char* name = "chsAK8Subjets/size";
4546  std::vector<float> operator () (panda::Event& event) {
4547  std::vector<float> output {float(event.chsAK8Subjets.size())};
4548  return output;
4549  }
4550  };
4551 
4552  template <>
4553  struct plotter <418> {
4554  constexpr static const char* name = "chsAK8Subjets/deepCMVAudsg";
4555  std::vector<float> operator () (panda::Event& event) {
4556  std::vector<float> output;
4557  for (auto& i : event.chsAK8Subjets)
4558  output.push_back(i.deepCMVAudsg);
4559  return output;
4560  }
4561  };
4562 
4563  template <>
4564  struct plotter <419> {
4565  constexpr static const char* name = "chsAK8Subjets/deepCMVAbb";
4566  std::vector<float> operator () (panda::Event& event) {
4567  std::vector<float> output;
4568  for (auto& i : event.chsAK8Subjets)
4569  output.push_back(i.deepCMVAbb);
4570  return output;
4571  }
4572  };
4573 
4574  template <>
4575  struct plotter <420> {
4576  constexpr static const char* name = "chsAK8Subjets/deepCSVudsg";
4577  std::vector<float> operator () (panda::Event& event) {
4578  std::vector<float> output;
4579  for (auto& i : event.chsAK8Subjets)
4580  output.push_back(i.deepCSVudsg);
4581  return output;
4582  }
4583  };
4584 
4585  template <>
4586  struct plotter <421> {
4587  constexpr static const char* name = "chsAK8Subjets/cmva";
4588  std::vector<float> operator () (panda::Event& event) {
4589  std::vector<float> output;
4590  for (auto& i : event.chsAK8Subjets)
4591  output.push_back(i.cmva);
4592  return output;
4593  }
4594  };
4595 
4596  template <>
4597  struct plotter <422> {
4598  constexpr static const char* name = "chsAK8Subjets/phi";
4599  std::vector<float> operator () (panda::Event& event) {
4600  std::vector<float> output;
4601  for (auto& i : event.chsAK8Subjets)
4602  output.push_back(i.phi());
4603  return output;
4604  }
4605  };
4606 
4607  template <>
4608  struct plotter <423> {
4609  constexpr static const char* name = "chsAK8Subjets/deepCSVbb";
4610  std::vector<float> operator () (panda::Event& event) {
4611  std::vector<float> output;
4612  for (auto& i : event.chsAK8Subjets)
4613  output.push_back(i.deepCSVbb);
4614  return output;
4615  }
4616  };
4617 
4618  template <>
4619  struct plotter <424> {
4620  constexpr static const char* name = "chsAK8Subjets/pz";
4621  std::vector<float> operator () (panda::Event& event) {
4622  std::vector<float> output;
4623  for (auto& i : event.chsAK8Subjets)
4624  output.push_back(i.pz());
4625  return output;
4626  }
4627  };
4628 
4629  template <>
4630  struct plotter <425> {
4631  constexpr static const char* name = "chsAK8Subjets/deepCMVAb";
4632  std::vector<float> operator () (panda::Event& event) {
4633  std::vector<float> output;
4634  for (auto& i : event.chsAK8Subjets)
4635  output.push_back(i.deepCMVAb);
4636  return output;
4637  }
4638  };
4639 
4640  template <>
4641  struct plotter <426> {
4642  constexpr static const char* name = "chsAK8Subjets/deepCMVAc";
4643  std::vector<float> operator () (panda::Event& event) {
4644  std::vector<float> output;
4645  for (auto& i : event.chsAK8Subjets)
4646  output.push_back(i.deepCMVAc);
4647  return output;
4648  }
4649  };
4650 
4651  template <>
4652  struct plotter <427> {
4653  constexpr static const char* name = "chsAK8Subjets/qgl";
4654  std::vector<float> operator () (panda::Event& event) {
4655  std::vector<float> output;
4656  for (auto& i : event.chsAK8Subjets)
4657  output.push_back(i.qgl);
4658  return output;
4659  }
4660  };
4661 
4662  template <>
4663  struct plotter <428> {
4664  constexpr static const char* name = "chsAK8Subjets/csv";
4665  std::vector<float> operator () (panda::Event& event) {
4666  std::vector<float> output;
4667  for (auto& i : event.chsAK8Subjets)
4668  output.push_back(i.csv);
4669  return output;
4670  }
4671  };
4672 
4673  template <>
4674  struct plotter <429> {
4675  constexpr static const char* name = "chsAK8Subjets/e";
4676  std::vector<float> operator () (panda::Event& event) {
4677  std::vector<float> output;
4678  for (auto& i : event.chsAK8Subjets)
4679  output.push_back(i.e());
4680  return output;
4681  }
4682  };
4683 
4684  template <>
4685  struct plotter <430> {
4686  constexpr static const char* name = "chsAK8Subjets/deepCMVAcc";
4687  std::vector<float> operator () (panda::Event& event) {
4688  std::vector<float> output;
4689  for (auto& i : event.chsAK8Subjets)
4690  output.push_back(i.deepCMVAcc);
4691  return output;
4692  }
4693  };
4694 
4695  template <>
4696  struct plotter <431> {
4697  constexpr static const char* name = "chsAK8Subjets/p";
4698  std::vector<float> operator () (panda::Event& event) {
4699  std::vector<float> output;
4700  for (auto& i : event.chsAK8Subjets)
4701  output.push_back(i.p());
4702  return output;
4703  }
4704  };
4705 
4706  template <>
4707  struct plotter <432> {
4708  constexpr static const char* name = "chsAK8Subjets/eta";
4709  std::vector<float> operator () (panda::Event& event) {
4710  std::vector<float> output;
4711  for (auto& i : event.chsAK8Subjets)
4712  output.push_back(i.eta());
4713  return output;
4714  }
4715  };
4716 
4717  template <>
4718  struct plotter <433> {
4719  constexpr static const char* name = "chsAK8Subjets/py";
4720  std::vector<float> operator () (panda::Event& event) {
4721  std::vector<float> output;
4722  for (auto& i : event.chsAK8Subjets)
4723  output.push_back(i.py());
4724  return output;
4725  }
4726  };
4727 
4728  template <>
4729  struct plotter <434> {
4730  constexpr static const char* name = "chsAK8Subjets/px";
4731  std::vector<float> operator () (panda::Event& event) {
4732  std::vector<float> output;
4733  for (auto& i : event.chsAK8Subjets)
4734  output.push_back(i.px());
4735  return output;
4736  }
4737  };
4738 
4739  template <>
4740  struct plotter <435> {
4741  constexpr static const char* name = "chsAK8Subjets/pt";
4742  std::vector<float> operator () (panda::Event& event) {
4743  std::vector<float> output;
4744  for (auto& i : event.chsAK8Subjets)
4745  output.push_back(i.pt());
4746  return output;
4747  }
4748  };
4749 
4750  template <>
4751  struct plotter <436> {
4752  constexpr static const char* name = "chsAK8Subjets/deepCSVb";
4753  std::vector<float> operator () (panda::Event& event) {
4754  std::vector<float> output;
4755  for (auto& i : event.chsAK8Subjets)
4756  output.push_back(i.deepCSVb);
4757  return output;
4758  }
4759  };
4760 
4761  template <>
4762  struct plotter <437> {
4763  constexpr static const char* name = "chsAK8Subjets/deepCSVc";
4764  std::vector<float> operator () (panda::Event& event) {
4765  std::vector<float> output;
4766  for (auto& i : event.chsAK8Subjets)
4767  output.push_back(i.deepCSVc);
4768  return output;
4769  }
4770  };
4771 
4772  template <>
4773  struct plotter <438> {
4774  constexpr static const char* name = "chsAK8Subjets/m";
4775  std::vector<float> operator () (panda::Event& event) {
4776  std::vector<float> output;
4777  for (auto& i : event.chsAK8Subjets)
4778  output.push_back(i.m());
4779  return output;
4780  }
4781  };
4782 
4783  template <>
4784  struct plotter <439> {
4785  constexpr static const char* name = "chsAK8Subjets/deepCSVcc";
4786  std::vector<float> operator () (panda::Event& event) {
4787  std::vector<float> output;
4788  for (auto& i : event.chsAK8Subjets)
4789  output.push_back(i.deepCSVcc);
4790  return output;
4791  }
4792  };
4793 
4794  template <>
4795  struct plotter <440> {
4796  constexpr static const char* name = "chsCA15Jets/size";
4797  std::vector<float> operator () (panda::Event& event) {
4798  std::vector<float> output {float(event.chsCA15Jets.size())};
4799  return output;
4800  }
4801  };
4802 
4803  template <>
4804  struct plotter <441> {
4805  constexpr static const char* name = "chsCA15Jets/subjets_size";
4806  std::vector<float> operator () (panda::Event& event) {
4807  std::vector<float> output;
4808  for (auto& i : event.chsCA15Jets)
4809  output.push_back(i.subjets.size());
4810  return output;
4811  }
4812  };
4813 
4814  template <>
4815  struct plotter <442> {
4816  constexpr static const char* name = "chsCA15Jets/matchedGenJet_isValid";
4817  std::vector<float> operator () (panda::Event& event) {
4818  std::vector<float> output;
4819  for (auto& i : event.chsCA15Jets)
4820  output.push_back(i.matchedGenJet.isValid());
4821  return output;
4822  }
4823  };
4824 
4825  template <>
4826  struct plotter <443> {
4827  constexpr static const char* name = "chsCA15Jets/constituents_size";
4828  std::vector<float> operator () (panda::Event& event) {
4829  std::vector<float> output;
4830  for (auto& i : event.chsCA15Jets)
4831  output.push_back(i.constituents.size());
4832  return output;
4833  }
4834  };
4835 
4836  template <>
4837  struct plotter <444> {
4838  constexpr static const char* name = "chsCA15Jets/secondaryVertex_isValid";
4839  std::vector<float> operator () (panda::Event& event) {
4840  std::vector<float> output;
4841  for (auto& i : event.chsCA15Jets)
4842  output.push_back(i.secondaryVertex.isValid());
4843  return output;
4844  }
4845  };
4846 
4847  template <>
4848  struct plotter <445> {
4849  constexpr static const char* name = "chsCA15Jets/deepCMVAudsg";
4850  std::vector<float> operator () (panda::Event& event) {
4851  std::vector<float> output;
4852  for (auto& i : event.chsCA15Jets)
4853  output.push_back(i.deepCMVAudsg);
4854  return output;
4855  }
4856  };
4857 
4858  template <>
4859  struct plotter <446> {
4860  constexpr static const char* name = "chsCA15Jets/deepBBprobH";
4861  std::vector<float> operator () (panda::Event& event) {
4862  std::vector<float> output;
4863  for (auto& i : event.chsCA15Jets)
4864  output.push_back(i.deepBBprobH);
4865  return output;
4866  }
4867  };
4868 
4869  template <>
4870  struct plotter <447> {
4871  constexpr static const char* name = "chsCA15Jets/deepCMVAbb";
4872  std::vector<float> operator () (panda::Event& event) {
4873  std::vector<float> output;
4874  for (auto& i : event.chsCA15Jets)
4875  output.push_back(i.deepCMVAbb);
4876  return output;
4877  }
4878  };
4879 
4880  template <>
4881  struct plotter <448> {
4882  constexpr static const char* name = "chsCA15Jets/ptCorrUp";
4883  std::vector<float> operator () (panda::Event& event) {
4884  std::vector<float> output;
4885  for (auto& i : event.chsCA15Jets)
4886  output.push_back(i.ptCorrUp);
4887  return output;
4888  }
4889  };
4890 
4891  template <>
4892  struct plotter <449> {
4893  constexpr static const char* name = "chsCA15Jets/cef";
4894  std::vector<float> operator () (panda::Event& event) {
4895  std::vector<float> output;
4896  for (auto& i : event.chsCA15Jets)
4897  output.push_back(i.cef);
4898  return output;
4899  }
4900  };
4901 
4902  template <>
4903  struct plotter <450> {
4904  constexpr static const char* name = "chsCA15Jets/deepCSVudsg";
4905  std::vector<float> operator () (panda::Event& event) {
4906  std::vector<float> output;
4907  for (auto& i : event.chsCA15Jets)
4908  output.push_back(i.deepCSVudsg);
4909  return output;
4910  }
4911  };
4912 
4913  template <>
4914  struct plotter <451> {
4915  constexpr static const char* name = "chsCA15Jets/tight";
4916  std::vector<float> operator () (panda::Event& event) {
4917  std::vector<float> output;
4918  for (auto& i : event.chsCA15Jets)
4919  output.push_back(i.tight);
4920  return output;
4921  }
4922  };
4923 
4924  template <>
4925  struct plotter <452> {
4926  constexpr static const char* name = "chsCA15Jets/cmva";
4927  std::vector<float> operator () (panda::Event& event) {
4928  std::vector<float> output;
4929  for (auto& i : event.chsCA15Jets)
4930  output.push_back(i.cmva);
4931  return output;
4932  }
4933  };
4934 
4935  template <>
4936  struct plotter <453> {
4937  constexpr static const char* name = "chsCA15Jets/phi";
4938  std::vector<float> operator () (panda::Event& event) {
4939  std::vector<float> output;
4940  for (auto& i : event.chsCA15Jets)
4941  output.push_back(i.phi());
4942  return output;
4943  }
4944  };
4945 
4946  template <>
4947  struct plotter <454> {
4948  constexpr static const char* name = "chsCA15Jets/nhf";
4949  std::vector<float> operator () (panda::Event& event) {
4950  std::vector<float> output;
4951  for (auto& i : event.chsCA15Jets)
4952  output.push_back(i.nhf);
4953  return output;
4954  }
4955  };
4956 
4957  template <>
4958  struct plotter <455> {
4959  constexpr static const char* name = "chsCA15Jets/deepBBprobQ";
4960  std::vector<float> operator () (panda::Event& event) {
4961  std::vector<float> output;
4962  for (auto& i : event.chsCA15Jets)
4963  output.push_back(i.deepBBprobQ);
4964  return output;
4965  }
4966  };
4967 
4968  template <>
4969  struct plotter <456> {
4970  constexpr static const char* name = "chsCA15Jets/deepCSVbb";
4971  std::vector<float> operator () (panda::Event& event) {
4972  std::vector<float> output;
4973  for (auto& i : event.chsCA15Jets)
4974  output.push_back(i.deepCSVbb);
4975  return output;
4976  }
4977  };
4978 
4979  template <>
4980  struct plotter <457> {
4981  constexpr static const char* name = "chsCA15Jets/htt_frec";
4982  std::vector<float> operator () (panda::Event& event) {
4983  std::vector<float> output;
4984  for (auto& i : event.chsCA15Jets)
4985  output.push_back(i.htt_frec);
4986  return output;
4987  }
4988  };
4989 
4990  template <>
4991  struct plotter <458> {
4992  constexpr static const char* name = "chsCA15Jets/deepCMVAb";
4993  std::vector<float> operator () (panda::Event& event) {
4994  std::vector<float> output;
4995  for (auto& i : event.chsCA15Jets)
4996  output.push_back(i.deepCMVAb);
4997  return output;
4998  }
4999  };
5000 
5001  template <>
5002  struct plotter <459> {
5003  constexpr static const char* name = "chsCA15Jets/chf";
5004  std::vector<float> operator () (panda::Event& event) {
5005  std::vector<float> output;
5006  for (auto& i : event.chsCA15Jets)
5007  output.push_back(i.chf);
5008  return output;
5009  }
5010  };
5011 
5012  template <>
5013  struct plotter <460> {
5014  constexpr static const char* name = "chsCA15Jets/area";
5015  std::vector<float> operator () (panda::Event& event) {
5016  std::vector<float> output;
5017  for (auto& i : event.chsCA15Jets)
5018  output.push_back(i.area);
5019  return output;
5020  }
5021  };
5022 
5023  template <>
5024  struct plotter <461> {
5025  constexpr static const char* name = "chsCA15Jets/nef";
5026  std::vector<float> operator () (panda::Event& event) {
5027  std::vector<float> output;
5028  for (auto& i : event.chsCA15Jets)
5029  output.push_back(i.nef);
5030  return output;
5031  }
5032  };
5033 
5034  template <>
5035  struct plotter <462> {
5036  constexpr static const char* name = "chsCA15Jets/htt_mass";
5037  std::vector<float> operator () (panda::Event& event) {
5038  std::vector<float> output;
5039  for (auto& i : event.chsCA15Jets)
5040  output.push_back(i.htt_mass);
5041  return output;
5042  }
5043  };
5044 
5045  template <>
5046  struct plotter <463> {
5047  constexpr static const char* name = "chsCA15Jets/ptCorrDown";
5048  std::vector<float> operator () (panda::Event& event) {
5049  std::vector<float> output;
5050  for (auto& i : event.chsCA15Jets)
5051  output.push_back(i.ptCorrDown);
5052  return output;
5053  }
5054  };
5055 
5056  template <>
5057  struct plotter <464> {
5058  constexpr static const char* name = "chsCA15Jets/pz";
5059  std::vector<float> operator () (panda::Event& event) {
5060  std::vector<float> output;
5061  for (auto& i : event.chsCA15Jets)
5062  output.push_back(i.pz());
5063  return output;
5064  }
5065  };
5066 
5067  template <>
5068  struct plotter <465> {
5069  constexpr static const char* name = "chsCA15Jets/tau2";
5070  std::vector<float> operator () (panda::Event& event) {
5071  std::vector<float> output;
5072  for (auto& i : event.chsCA15Jets)
5073  output.push_back(i.tau2);
5074  return output;
5075  }
5076  };
5077 
5078  template <>
5079  struct plotter <466> {
5080  constexpr static const char* name = "chsCA15Jets/tau3";
5081  std::vector<float> operator () (panda::Event& event) {
5082  std::vector<float> output;
5083  for (auto& i : event.chsCA15Jets)
5084  output.push_back(i.tau3);
5085  return output;
5086  }
5087  };
5088 
5089  template <>
5090  struct plotter <467> {
5091  constexpr static const char* name = "chsCA15Jets/puid";
5092  std::vector<float> operator () (panda::Event& event) {
5093  std::vector<float> output;
5094  for (auto& i : event.chsCA15Jets)
5095  output.push_back(i.puid);
5096  return output;
5097  }
5098  };
5099 
5100  template <>
5101  struct plotter <468> {
5102  constexpr static const char* name = "chsCA15Jets/tau1";
5103  std::vector<float> operator () (panda::Event& event) {
5104  std::vector<float> output;
5105  for (auto& i : event.chsCA15Jets)
5106  output.push_back(i.tau1);
5107  return output;
5108  }
5109  };
5110 
5111  template <>
5112  struct plotter <469> {
5113  constexpr static const char* name = "chsCA15Jets/mSD";
5114  std::vector<float> operator () (panda::Event& event) {
5115  std::vector<float> output;
5116  for (auto& i : event.chsCA15Jets)
5117  output.push_back(i.mSD);
5118  return output;
5119  }
5120  };
5121 
5122  template <>
5123  struct plotter <470> {
5124  constexpr static const char* name = "chsCA15Jets/e";
5125  std::vector<float> operator () (panda::Event& event) {
5126  std::vector<float> output;
5127  for (auto& i : event.chsCA15Jets)
5128  output.push_back(i.e());
5129  return output;
5130  }
5131  };
5132 
5133  template <>
5134  struct plotter <471> {
5135  constexpr static const char* name = "chsCA15Jets/deepCMVAcc";
5136  std::vector<float> operator () (panda::Event& event) {
5137  std::vector<float> output;
5138  for (auto& i : event.chsCA15Jets)
5139  output.push_back(i.deepCMVAcc);
5140  return output;
5141  }
5142  };
5143 
5144  template <>
5145  struct plotter <472> {
5146  constexpr static const char* name = "chsCA15Jets/p";
5147  std::vector<float> operator () (panda::Event& event) {
5148  std::vector<float> output;
5149  for (auto& i : event.chsCA15Jets)
5150  output.push_back(i.p());
5151  return output;
5152  }
5153  };
5154 
5155  template <>
5156  struct plotter <473> {
5157  constexpr static const char* name = "chsCA15Jets/rawPt";
5158  std::vector<float> operator () (panda::Event& event) {
5159  std::vector<float> output;
5160  for (auto& i : event.chsCA15Jets)
5161  output.push_back(i.rawPt);
5162  return output;
5163  }
5164  };
5165 
5166  template <>
5167  struct plotter <474> {
5168  constexpr static const char* name = "chsCA15Jets/eta";
5169  std::vector<float> operator () (panda::Event& event) {
5170  std::vector<float> output;
5171  for (auto& i : event.chsCA15Jets)
5172  output.push_back(i.eta());
5173  return output;
5174  }
5175  };
5176 
5177  template <>
5178  struct plotter <475> {
5179  constexpr static const char* name = "chsCA15Jets/double_sub";
5180  std::vector<float> operator () (panda::Event& event) {
5181  std::vector<float> output;
5182  for (auto& i : event.chsCA15Jets)
5183  output.push_back(i.double_sub);
5184  return output;
5185  }
5186  };
5187 
5188  template <>
5189  struct plotter <476> {
5190  constexpr static const char* name = "chsCA15Jets/loose";
5191  std::vector<float> operator () (panda::Event& event) {
5192  std::vector<float> output;
5193  for (auto& i : event.chsCA15Jets)
5194  output.push_back(i.loose);
5195  return output;
5196  }
5197  };
5198 
5199  template <>
5200  struct plotter <477> {
5201  constexpr static const char* name = "chsCA15Jets/ptSmear";
5202  std::vector<float> operator () (panda::Event& event) {
5203  std::vector<float> output;
5204  for (auto& i : event.chsCA15Jets)
5205  output.push_back(i.ptSmear);
5206  return output;
5207  }
5208  };
5209 
5210  template <>
5211  struct plotter <478> {
5212  constexpr static const char* name = "chsCA15Jets/deepCMVAc";
5213  std::vector<float> operator () (panda::Event& event) {
5214  std::vector<float> output;
5215  for (auto& i : event.chsCA15Jets)
5216  output.push_back(i.deepCMVAc);
5217  return output;
5218  }
5219  };
5220 
5221  template <>
5222  struct plotter <479> {
5223  constexpr static const char* name = "chsCA15Jets/qgl";
5224  std::vector<float> operator () (panda::Event& event) {
5225  std::vector<float> output;
5226  for (auto& i : event.chsCA15Jets)
5227  output.push_back(i.qgl);
5228  return output;
5229  }
5230  };
5231 
5232  template <>
5233  struct plotter <480> {
5234  constexpr static const char* name = "chsCA15Jets/py";
5235  std::vector<float> operator () (panda::Event& event) {
5236  std::vector<float> output;
5237  for (auto& i : event.chsCA15Jets)
5238  output.push_back(i.py());
5239  return output;
5240  }
5241  };
5242 
5243  template <>
5244  struct plotter <481> {
5245  constexpr static const char* name = "chsCA15Jets/monojet";
5246  std::vector<float> operator () (panda::Event& event) {
5247  std::vector<float> output;
5248  for (auto& i : event.chsCA15Jets)
5249  output.push_back(i.monojet);
5250  return output;
5251  }
5252  };
5253 
5254  template <>
5255  struct plotter <482> {
5256  constexpr static const char* name = "chsCA15Jets/ptSmearDown";
5257  std::vector<float> operator () (panda::Event& event) {
5258  std::vector<float> output;
5259  for (auto& i : event.chsCA15Jets)
5260  output.push_back(i.ptSmearDown);
5261  return output;
5262  }
5263  };
5264 
5265  template <>
5266  struct plotter <483> {
5267  constexpr static const char* name = "chsCA15Jets/px";
5268  std::vector<float> operator () (panda::Event& event) {
5269  std::vector<float> output;
5270  for (auto& i : event.chsCA15Jets)
5271  output.push_back(i.px());
5272  return output;
5273  }
5274  };
5275 
5276  template <>
5277  struct plotter <484> {
5278  constexpr static const char* name = "chsCA15Jets/mPruned";
5279  std::vector<float> operator () (panda::Event& event) {
5280  std::vector<float> output;
5281  for (auto& i : event.chsCA15Jets)
5282  output.push_back(i.mPruned);
5283  return output;
5284  }
5285  };
5286 
5287  template <>
5288  struct plotter <485> {
5289  constexpr static const char* name = "chsCA15Jets/tau1SD";
5290  std::vector<float> operator () (panda::Event& event) {
5291  std::vector<float> output;
5292  for (auto& i : event.chsCA15Jets)
5293  output.push_back(i.tau1SD);
5294  return output;
5295  }
5296  };
5297 
5298  template <>
5299  struct plotter <486> {
5300  constexpr static const char* name = "chsCA15Jets/pt";
5301  std::vector<float> operator () (panda::Event& event) {
5302  std::vector<float> output;
5303  for (auto& i : event.chsCA15Jets)
5304  output.push_back(i.pt());
5305  return output;
5306  }
5307  };
5308 
5309  template <>
5310  struct plotter <487> {
5311  constexpr static const char* name = "chsCA15Jets/tightLepVeto";
5312  std::vector<float> operator () (panda::Event& event) {
5313  std::vector<float> output;
5314  for (auto& i : event.chsCA15Jets)
5315  output.push_back(i.tightLepVeto);
5316  return output;
5317  }
5318  };
5319 
5320  template <>
5321  struct plotter <488> {
5322  constexpr static const char* name = "chsCA15Jets/deepCSVb";
5323  std::vector<float> operator () (panda::Event& event) {
5324  std::vector<float> output;
5325  for (auto& i : event.chsCA15Jets)
5326  output.push_back(i.deepCSVb);
5327  return output;
5328  }
5329  };
5330 
5331  template <>
5332  struct plotter <489> {
5333  constexpr static const char* name = "chsCA15Jets/deepCSVc";
5334  std::vector<float> operator () (panda::Event& event) {
5335  std::vector<float> output;
5336  for (auto& i : event.chsCA15Jets)
5337  output.push_back(i.deepCSVc);
5338  return output;
5339  }
5340  };
5341 
5342  template <>
5343  struct plotter <490> {
5344  constexpr static const char* name = "chsCA15Jets/tau3SD";
5345  std::vector<float> operator () (panda::Event& event) {
5346  std::vector<float> output;
5347  for (auto& i : event.chsCA15Jets)
5348  output.push_back(i.tau3SD);
5349  return output;
5350  }
5351  };
5352 
5353  template <>
5354  struct plotter <491> {
5355  constexpr static const char* name = "chsCA15Jets/m";
5356  std::vector<float> operator () (panda::Event& event) {
5357  std::vector<float> output;
5358  for (auto& i : event.chsCA15Jets)
5359  output.push_back(i.m());
5360  return output;
5361  }
5362  };
5363 
5364  template <>
5365  struct plotter <492> {
5366  constexpr static const char* name = "chsCA15Jets/deepCSVcc";
5367  std::vector<float> operator () (panda::Event& event) {
5368  std::vector<float> output;
5369  for (auto& i : event.chsCA15Jets)
5370  output.push_back(i.deepCSVcc);
5371  return output;
5372  }
5373  };
5374 
5375  template <>
5376  struct plotter <493> {
5377  constexpr static const char* name = "chsCA15Jets/tau2SD";
5378  std::vector<float> operator () (panda::Event& event) {
5379  std::vector<float> output;
5380  for (auto& i : event.chsCA15Jets)
5381  output.push_back(i.tau2SD);
5382  return output;
5383  }
5384  };
5385 
5386  template <>
5387  struct plotter <494> {
5388  constexpr static const char* name = "chsCA15Jets/csv";
5389  std::vector<float> operator () (panda::Event& event) {
5390  std::vector<float> output;
5391  for (auto& i : event.chsCA15Jets)
5392  output.push_back(i.csv);
5393  return output;
5394  }
5395  };
5396 
5397  template <>
5398  struct plotter <495> {
5399  constexpr static const char* name = "chsCA15Jets/ptSmearUp";
5400  std::vector<float> operator () (panda::Event& event) {
5401  std::vector<float> output;
5402  for (auto& i : event.chsCA15Jets)
5403  output.push_back(i.ptSmearUp);
5404  return output;
5405  }
5406  };
5407 
5408  template <>
5409  struct plotter <496> {
5410  constexpr static const char* name = "chsCA15Subjets/size";
5411  std::vector<float> operator () (panda::Event& event) {
5412  std::vector<float> output {float(event.chsCA15Subjets.size())};
5413  return output;
5414  }
5415  };
5416 
5417  template <>
5418  struct plotter <497> {
5419  constexpr static const char* name = "chsCA15Subjets/deepCMVAudsg";
5420  std::vector<float> operator () (panda::Event& event) {
5421  std::vector<float> output;
5422  for (auto& i : event.chsCA15Subjets)
5423  output.push_back(i.deepCMVAudsg);
5424  return output;
5425  }
5426  };
5427 
5428  template <>
5429  struct plotter <498> {
5430  constexpr static const char* name = "chsCA15Subjets/deepCMVAbb";
5431  std::vector<float> operator () (panda::Event& event) {
5432  std::vector<float> output;
5433  for (auto& i : event.chsCA15Subjets)
5434  output.push_back(i.deepCMVAbb);
5435  return output;
5436  }
5437  };
5438 
5439  template <>
5440  struct plotter <499> {
5441  constexpr static const char* name = "chsCA15Subjets/deepCSVudsg";
5442  std::vector<float> operator () (panda::Event& event) {
5443  std::vector<float> output;
5444  for (auto& i : event.chsCA15Subjets)
5445  output.push_back(i.deepCSVudsg);
5446  return output;
5447  }
5448  };
5449 
5450  template <>
5451  struct plotter <500> {
5452  constexpr static const char* name = "chsCA15Subjets/cmva";
5453  std::vector<float> operator () (panda::Event& event) {
5454  std::vector<float> output;
5455  for (auto& i : event.chsCA15Subjets)
5456  output.push_back(i.cmva);
5457  return output;
5458  }
5459  };
5460 
5461  template <>
5462  struct plotter <501> {
5463  constexpr static const char* name = "chsCA15Subjets/phi";
5464  std::vector<float> operator () (panda::Event& event) {
5465  std::vector<float> output;
5466  for (auto& i : event.chsCA15Subjets)
5467  output.push_back(i.phi());
5468  return output;
5469  }
5470  };
5471 
5472  template <>
5473  struct plotter <502> {
5474  constexpr static const char* name = "chsCA15Subjets/deepCSVbb";
5475  std::vector<float> operator () (panda::Event& event) {
5476  std::vector<float> output;
5477  for (auto& i : event.chsCA15Subjets)
5478  output.push_back(i.deepCSVbb);
5479  return output;
5480  }
5481  };
5482 
5483  template <>
5484  struct plotter <503> {
5485  constexpr static const char* name = "chsCA15Subjets/pz";
5486  std::vector<float> operator () (panda::Event& event) {
5487  std::vector<float> output;
5488  for (auto& i : event.chsCA15Subjets)
5489  output.push_back(i.pz());
5490  return output;
5491  }
5492  };
5493 
5494  template <>
5495  struct plotter <504> {
5496  constexpr static const char* name = "chsCA15Subjets/deepCMVAb";
5497  std::vector<float> operator () (panda::Event& event) {
5498  std::vector<float> output;
5499  for (auto& i : event.chsCA15Subjets)
5500  output.push_back(i.deepCMVAb);
5501  return output;
5502  }
5503  };
5504 
5505  template <>
5506  struct plotter <505> {
5507  constexpr static const char* name = "chsCA15Subjets/deepCMVAc";
5508  std::vector<float> operator () (panda::Event& event) {
5509  std::vector<float> output;
5510  for (auto& i : event.chsCA15Subjets)
5511  output.push_back(i.deepCMVAc);
5512  return output;
5513  }
5514  };
5515 
5516  template <>
5517  struct plotter <506> {
5518  constexpr static const char* name = "chsCA15Subjets/qgl";
5519  std::vector<float> operator () (panda::Event& event) {
5520  std::vector<float> output;
5521  for (auto& i : event.chsCA15Subjets)
5522  output.push_back(i.qgl);
5523  return output;
5524  }
5525  };
5526 
5527  template <>
5528  struct plotter <507> {
5529  constexpr static const char* name = "chsCA15Subjets/csv";
5530  std::vector<float> operator () (panda::Event& event) {
5531  std::vector<float> output;
5532  for (auto& i : event.chsCA15Subjets)
5533  output.push_back(i.csv);
5534  return output;
5535  }
5536  };
5537 
5538  template <>
5539  struct plotter <508> {
5540  constexpr static const char* name = "chsCA15Subjets/e";
5541  std::vector<float> operator () (panda::Event& event) {
5542  std::vector<float> output;
5543  for (auto& i : event.chsCA15Subjets)
5544  output.push_back(i.e());
5545  return output;
5546  }
5547  };
5548 
5549  template <>
5550  struct plotter <509> {
5551  constexpr static const char* name = "chsCA15Subjets/deepCMVAcc";
5552  std::vector<float> operator () (panda::Event& event) {
5553  std::vector<float> output;
5554  for (auto& i : event.chsCA15Subjets)
5555  output.push_back(i.deepCMVAcc);
5556  return output;
5557  }
5558  };
5559 
5560  template <>
5561  struct plotter <510> {
5562  constexpr static const char* name = "chsCA15Subjets/p";
5563  std::vector<float> operator () (panda::Event& event) {
5564  std::vector<float> output;
5565  for (auto& i : event.chsCA15Subjets)
5566  output.push_back(i.p());
5567  return output;
5568  }
5569  };
5570 
5571  template <>
5572  struct plotter <511> {
5573  constexpr static const char* name = "chsCA15Subjets/eta";
5574  std::vector<float> operator () (panda::Event& event) {
5575  std::vector<float> output;
5576  for (auto& i : event.chsCA15Subjets)
5577  output.push_back(i.eta());
5578  return output;
5579  }
5580  };
5581 
5582  template <>
5583  struct plotter <512> {
5584  constexpr static const char* name = "chsCA15Subjets/py";
5585  std::vector<float> operator () (panda::Event& event) {
5586  std::vector<float> output;
5587  for (auto& i : event.chsCA15Subjets)
5588  output.push_back(i.py());
5589  return output;
5590  }
5591  };
5592 
5593  template <>
5594  struct plotter <513> {
5595  constexpr static const char* name = "chsCA15Subjets/px";
5596  std::vector<float> operator () (panda::Event& event) {
5597  std::vector<float> output;
5598  for (auto& i : event.chsCA15Subjets)
5599  output.push_back(i.px());
5600  return output;
5601  }
5602  };
5603 
5604  template <>
5605  struct plotter <514> {
5606  constexpr static const char* name = "chsCA15Subjets/pt";
5607  std::vector<float> operator () (panda::Event& event) {
5608  std::vector<float> output;
5609  for (auto& i : event.chsCA15Subjets)
5610  output.push_back(i.pt());
5611  return output;
5612  }
5613  };
5614 
5615  template <>
5616  struct plotter <515> {
5617  constexpr static const char* name = "chsCA15Subjets/deepCSVb";
5618  std::vector<float> operator () (panda::Event& event) {
5619  std::vector<float> output;
5620  for (auto& i : event.chsCA15Subjets)
5621  output.push_back(i.deepCSVb);
5622  return output;
5623  }
5624  };
5625 
5626  template <>
5627  struct plotter <516> {
5628  constexpr static const char* name = "chsCA15Subjets/deepCSVc";
5629  std::vector<float> operator () (panda::Event& event) {
5630  std::vector<float> output;
5631  for (auto& i : event.chsCA15Subjets)
5632  output.push_back(i.deepCSVc);
5633  return output;
5634  }
5635  };
5636 
5637  template <>
5638  struct plotter <517> {
5639  constexpr static const char* name = "chsCA15Subjets/m";
5640  std::vector<float> operator () (panda::Event& event) {
5641  std::vector<float> output;
5642  for (auto& i : event.chsCA15Subjets)
5643  output.push_back(i.m());
5644  return output;
5645  }
5646  };
5647 
5648  template <>
5649  struct plotter <518> {
5650  constexpr static const char* name = "chsCA15Subjets/deepCSVcc";
5651  std::vector<float> operator () (panda::Event& event) {
5652  std::vector<float> output;
5653  for (auto& i : event.chsCA15Subjets)
5654  output.push_back(i.deepCSVcc);
5655  return output;
5656  }
5657  };
5658 
5659  template <>
5660  struct plotter <519> {
5661  constexpr static const char* name = "puppiAK8Jets/size";
5662  std::vector<float> operator () (panda::Event& event) {
5663  std::vector<float> output {float(event.puppiAK8Jets.size())};
5664  return output;
5665  }
5666  };
5667 
5668  template <>
5669  struct plotter <520> {
5670  constexpr static const char* name = "puppiAK8Jets/subjets_size";
5671  std::vector<float> operator () (panda::Event& event) {
5672  std::vector<float> output;
5673  for (auto& i : event.puppiAK8Jets)
5674  output.push_back(i.subjets.size());
5675  return output;
5676  }
5677  };
5678 
5679  template <>
5680  struct plotter <521> {
5681  constexpr static const char* name = "puppiAK8Jets/matchedGenJet_isValid";
5682  std::vector<float> operator () (panda::Event& event) {
5683  std::vector<float> output;
5684  for (auto& i : event.puppiAK8Jets)
5685  output.push_back(i.matchedGenJet.isValid());
5686  return output;
5687  }
5688  };
5689 
5690  template <>
5691  struct plotter <522> {
5692  constexpr static const char* name = "puppiAK8Jets/constituents_size";
5693  std::vector<float> operator () (panda::Event& event) {
5694  std::vector<float> output;
5695  for (auto& i : event.puppiAK8Jets)
5696  output.push_back(i.constituents.size());
5697  return output;
5698  }
5699  };
5700 
5701  template <>
5702  struct plotter <523> {
5703  constexpr static const char* name = "puppiAK8Jets/secondaryVertex_isValid";
5704  std::vector<float> operator () (panda::Event& event) {
5705  std::vector<float> output;
5706  for (auto& i : event.puppiAK8Jets)
5707  output.push_back(i.secondaryVertex.isValid());
5708  return output;
5709  }
5710  };
5711 
5712  template <>
5713  struct plotter <524> {
5714  constexpr static const char* name = "puppiAK8Jets/deepCMVAudsg";
5715  std::vector<float> operator () (panda::Event& event) {
5716  std::vector<float> output;
5717  for (auto& i : event.puppiAK8Jets)
5718  output.push_back(i.deepCMVAudsg);
5719  return output;
5720  }
5721  };
5722 
5723  template <>
5724  struct plotter <525> {
5725  constexpr static const char* name = "puppiAK8Jets/deepBBprobH";
5726  std::vector<float> operator () (panda::Event& event) {
5727  std::vector<float> output;
5728  for (auto& i : event.puppiAK8Jets)
5729  output.push_back(i.deepBBprobH);
5730  return output;
5731  }
5732  };
5733 
5734  template <>
5735  struct plotter <526> {
5736  constexpr static const char* name = "puppiAK8Jets/deepCMVAbb";
5737  std::vector<float> operator () (panda::Event& event) {
5738  std::vector<float> output;
5739  for (auto& i : event.puppiAK8Jets)
5740  output.push_back(i.deepCMVAbb);
5741  return output;
5742  }
5743  };
5744 
5745  template <>
5746  struct plotter <527> {
5747  constexpr static const char* name = "puppiAK8Jets/ptCorrUp";
5748  std::vector<float> operator () (panda::Event& event) {
5749  std::vector<float> output;
5750  for (auto& i : event.puppiAK8Jets)
5751  output.push_back(i.ptCorrUp);
5752  return output;
5753  }
5754  };
5755 
5756  template <>
5757  struct plotter <528> {
5758  constexpr static const char* name = "puppiAK8Jets/cef";
5759  std::vector<float> operator () (panda::Event& event) {
5760  std::vector<float> output;
5761  for (auto& i : event.puppiAK8Jets)
5762  output.push_back(i.cef);
5763  return output;
5764  }
5765  };
5766 
5767  template <>
5768  struct plotter <529> {
5769  constexpr static const char* name = "puppiAK8Jets/deepCSVudsg";
5770  std::vector<float> operator () (panda::Event& event) {
5771  std::vector<float> output;
5772  for (auto& i : event.puppiAK8Jets)
5773  output.push_back(i.deepCSVudsg);
5774  return output;
5775  }
5776  };
5777 
5778  template <>
5779  struct plotter <530> {
5780  constexpr static const char* name = "puppiAK8Jets/tight";
5781  std::vector<float> operator () (panda::Event& event) {
5782  std::vector<float> output;
5783  for (auto& i : event.puppiAK8Jets)
5784  output.push_back(i.tight);
5785  return output;
5786  }
5787  };
5788 
5789  template <>
5790  struct plotter <531> {
5791  constexpr static const char* name = "puppiAK8Jets/cmva";
5792  std::vector<float> operator () (panda::Event& event) {
5793  std::vector<float> output;
5794  for (auto& i : event.puppiAK8Jets)
5795  output.push_back(i.cmva);
5796  return output;
5797  }
5798  };
5799 
5800  template <>
5801  struct plotter <532> {
5802  constexpr static const char* name = "puppiAK8Jets/phi";
5803  std::vector<float> operator () (panda::Event& event) {
5804  std::vector<float> output;
5805  for (auto& i : event.puppiAK8Jets)
5806  output.push_back(i.phi());
5807  return output;
5808  }
5809  };
5810 
5811  template <>
5812  struct plotter <533> {
5813  constexpr static const char* name = "puppiAK8Jets/nhf";
5814  std::vector<float> operator () (panda::Event& event) {
5815  std::vector<float> output;
5816  for (auto& i : event.puppiAK8Jets)
5817  output.push_back(i.nhf);
5818  return output;
5819  }
5820  };
5821 
5822  template <>
5823  struct plotter <534> {
5824  constexpr static const char* name = "puppiAK8Jets/deepBBprobQ";
5825  std::vector<float> operator () (panda::Event& event) {
5826  std::vector<float> output;
5827  for (auto& i : event.puppiAK8Jets)
5828  output.push_back(i.deepBBprobQ);
5829  return output;
5830  }
5831  };
5832 
5833  template <>
5834  struct plotter <535> {
5835  constexpr static const char* name = "puppiAK8Jets/deepCSVbb";
5836  std::vector<float> operator () (panda::Event& event) {
5837  std::vector<float> output;
5838  for (auto& i : event.puppiAK8Jets)
5839  output.push_back(i.deepCSVbb);
5840  return output;
5841  }
5842  };
5843 
5844  template <>
5845  struct plotter <536> {
5846  constexpr static const char* name = "puppiAK8Jets/htt_frec";
5847  std::vector<float> operator () (panda::Event& event) {
5848  std::vector<float> output;
5849  for (auto& i : event.puppiAK8Jets)
5850  output.push_back(i.htt_frec);
5851  return output;
5852  }
5853  };
5854 
5855  template <>
5856  struct plotter <537> {
5857  constexpr static const char* name = "puppiAK8Jets/deepCMVAb";
5858  std::vector<float> operator () (panda::Event& event) {
5859  std::vector<float> output;
5860  for (auto& i : event.puppiAK8Jets)
5861  output.push_back(i.deepCMVAb);
5862  return output;
5863  }
5864  };
5865 
5866  template <>
5867  struct plotter <538> {
5868  constexpr static const char* name = "puppiAK8Jets/chf";
5869  std::vector<float> operator () (panda::Event& event) {
5870  std::vector<float> output;
5871  for (auto& i : event.puppiAK8Jets)
5872  output.push_back(i.chf);
5873  return output;
5874  }
5875  };
5876 
5877  template <>
5878  struct plotter <539> {
5879  constexpr static const char* name = "puppiAK8Jets/area";
5880  std::vector<float> operator () (panda::Event& event) {
5881  std::vector<float> output;
5882  for (auto& i : event.puppiAK8Jets)
5883  output.push_back(i.area);
5884  return output;
5885  }
5886  };
5887 
5888  template <>
5889  struct plotter <540> {
5890  constexpr static const char* name = "puppiAK8Jets/nef";
5891  std::vector<float> operator () (panda::Event& event) {
5892  std::vector<float> output;
5893  for (auto& i : event.puppiAK8Jets)
5894  output.push_back(i.nef);
5895  return output;
5896  }
5897  };
5898 
5899  template <>
5900  struct plotter <541> {
5901  constexpr static const char* name = "puppiAK8Jets/htt_mass";
5902  std::vector<float> operator () (panda::Event& event) {
5903  std::vector<float> output;
5904  for (auto& i : event.puppiAK8Jets)
5905  output.push_back(i.htt_mass);
5906  return output;
5907  }
5908  };
5909 
5910  template <>
5911  struct plotter <542> {
5912  constexpr static const char* name = "puppiAK8Jets/ptCorrDown";
5913  std::vector<float> operator () (panda::Event& event) {
5914  std::vector<float> output;
5915  for (auto& i : event.puppiAK8Jets)
5916  output.push_back(i.ptCorrDown);
5917  return output;
5918  }
5919  };
5920 
5921  template <>
5922  struct plotter <543> {
5923  constexpr static const char* name = "puppiAK8Jets/pz";
5924  std::vector<float> operator () (panda::Event& event) {
5925  std::vector<float> output;
5926  for (auto& i : event.puppiAK8Jets)
5927  output.push_back(i.pz());
5928  return output;
5929  }
5930  };
5931 
5932  template <>
5933  struct plotter <544> {
5934  constexpr static const char* name = "puppiAK8Jets/tau2";
5935  std::vector<float> operator () (panda::Event& event) {
5936  std::vector<float> output;
5937  for (auto& i : event.puppiAK8Jets)
5938  output.push_back(i.tau2);
5939  return output;
5940  }
5941  };
5942 
5943  template <>
5944  struct plotter <545> {
5945  constexpr static const char* name = "puppiAK8Jets/tau3";
5946  std::vector<float> operator () (panda::Event& event) {
5947  std::vector<float> output;
5948  for (auto& i : event.puppiAK8Jets)
5949  output.push_back(i.tau3);
5950  return output;
5951  }
5952  };
5953 
5954  template <>
5955  struct plotter <546> {
5956  constexpr static const char* name = "puppiAK8Jets/puid";
5957  std::vector<float> operator () (panda::Event& event) {
5958  std::vector<float> output;
5959  for (auto& i : event.puppiAK8Jets)
5960  output.push_back(i.puid);
5961  return output;
5962  }
5963  };
5964 
5965  template <>
5966  struct plotter <547> {
5967  constexpr static const char* name = "puppiAK8Jets/tau1";
5968  std::vector<float> operator () (panda::Event& event) {
5969  std::vector<float> output;
5970  for (auto& i : event.puppiAK8Jets)
5971  output.push_back(i.tau1);
5972  return output;
5973  }
5974  };
5975 
5976  template <>
5977  struct plotter <548> {
5978  constexpr static const char* name = "puppiAK8Jets/mSD";
5979  std::vector<float> operator () (panda::Event& event) {
5980  std::vector<float> output;
5981  for (auto& i : event.puppiAK8Jets)
5982  output.push_back(i.mSD);
5983  return output;
5984  }
5985  };
5986 
5987  template <>
5988  struct plotter <549> {
5989  constexpr static const char* name = "puppiAK8Jets/e";
5990  std::vector<float> operator () (panda::Event& event) {
5991  std::vector<float> output;
5992  for (auto& i : event.puppiAK8Jets)
5993  output.push_back(i.e());
5994  return output;
5995  }
5996  };
5997 
5998  template <>
5999  struct plotter <550> {
6000  constexpr static const char* name = "puppiAK8Jets/deepCMVAcc";
6001  std::vector<float> operator () (panda::Event& event) {
6002  std::vector<float> output;
6003  for (auto& i : event.puppiAK8Jets)
6004  output.push_back(i.deepCMVAcc);
6005  return output;
6006  }
6007  };
6008 
6009  template <>
6010  struct plotter <551> {
6011  constexpr static const char* name = "puppiAK8Jets/p";
6012  std::vector<float> operator () (panda::Event& event) {
6013  std::vector<float> output;
6014  for (auto& i : event.puppiAK8Jets)
6015  output.push_back(i.p());
6016  return output;
6017  }
6018  };
6019 
6020  template <>
6021  struct plotter <552> {
6022  constexpr static const char* name = "puppiAK8Jets/rawPt";
6023  std::vector<float> operator () (panda::Event& event) {
6024  std::vector<float> output;
6025  for (auto& i : event.puppiAK8Jets)
6026  output.push_back(i.rawPt);
6027  return output;
6028  }
6029  };
6030 
6031  template <>
6032  struct plotter <553> {
6033  constexpr static const char* name = "puppiAK8Jets/eta";
6034  std::vector<float> operator () (panda::Event& event) {
6035  std::vector<float> output;
6036  for (auto& i : event.puppiAK8Jets)
6037  output.push_back(i.eta());
6038  return output;
6039  }
6040  };
6041 
6042  template <>
6043  struct plotter <554> {
6044  constexpr static const char* name = "puppiAK8Jets/double_sub";
6045  std::vector<float> operator () (panda::Event& event) {
6046  std::vector<float> output;
6047  for (auto& i : event.puppiAK8Jets)
6048  output.push_back(i.double_sub);
6049  return output;
6050  }
6051  };
6052 
6053  template <>
6054  struct plotter <555> {
6055  constexpr static const char* name = "puppiAK8Jets/loose";
6056  std::vector<float> operator () (panda::Event& event) {
6057  std::vector<float> output;
6058  for (auto& i : event.puppiAK8Jets)
6059  output.push_back(i.loose);
6060  return output;
6061  }
6062  };
6063 
6064  template <>
6065  struct plotter <556> {
6066  constexpr static const char* name = "puppiAK8Jets/ptSmear";
6067  std::vector<float> operator () (panda::Event& event) {
6068  std::vector<float> output;
6069  for (auto& i : event.puppiAK8Jets)
6070  output.push_back(i.ptSmear);
6071  return output;
6072  }
6073  };
6074 
6075  template <>
6076  struct plotter <557> {
6077  constexpr static const char* name = "puppiAK8Jets/deepCMVAc";
6078  std::vector<float> operator () (panda::Event& event) {
6079  std::vector<float> output;
6080  for (auto& i : event.puppiAK8Jets)
6081  output.push_back(i.deepCMVAc);
6082  return output;
6083  }
6084  };
6085 
6086  template <>
6087  struct plotter <558> {
6088  constexpr static const char* name = "puppiAK8Jets/qgl";
6089  std::vector<float> operator () (panda::Event& event) {
6090  std::vector<float> output;
6091  for (auto& i : event.puppiAK8Jets)
6092  output.push_back(i.qgl);
6093  return output;
6094  }
6095  };
6096 
6097  template <>
6098  struct plotter <559> {
6099  constexpr static const char* name = "puppiAK8Jets/py";
6100  std::vector<float> operator () (panda::Event& event) {
6101  std::vector<float> output;
6102  for (auto& i : event.puppiAK8Jets)
6103  output.push_back(i.py());
6104  return output;
6105  }
6106  };
6107 
6108  template <>
6109  struct plotter <560> {
6110  constexpr static const char* name = "puppiAK8Jets/monojet";
6111  std::vector<float> operator () (panda::Event& event) {
6112  std::vector<float> output;
6113  for (auto& i : event.puppiAK8Jets)
6114  output.push_back(i.monojet);
6115  return output;
6116  }
6117  };
6118 
6119  template <>
6120  struct plotter <561> {
6121  constexpr static const char* name = "puppiAK8Jets/ptSmearDown";
6122  std::vector<float> operator () (panda::Event& event) {
6123  std::vector<float> output;
6124  for (auto& i : event.puppiAK8Jets)
6125  output.push_back(i.ptSmearDown);
6126  return output;
6127  }
6128  };
6129 
6130  template <>
6131  struct plotter <562> {
6132  constexpr static const char* name = "puppiAK8Jets/px";
6133  std::vector<float> operator () (panda::Event& event) {
6134  std::vector<float> output;
6135  for (auto& i : event.puppiAK8Jets)
6136  output.push_back(i.px());
6137  return output;
6138  }
6139  };
6140 
6141  template <>
6142  struct plotter <563> {
6143  constexpr static const char* name = "puppiAK8Jets/mPruned";
6144  std::vector<float> operator () (panda::Event& event) {
6145  std::vector<float> output;
6146  for (auto& i : event.puppiAK8Jets)
6147  output.push_back(i.mPruned);
6148  return output;
6149  }
6150  };
6151 
6152  template <>
6153  struct plotter <564> {
6154  constexpr static const char* name = "puppiAK8Jets/tau1SD";
6155  std::vector<float> operator () (panda::Event& event) {
6156  std::vector<float> output;
6157  for (auto& i : event.puppiAK8Jets)
6158  output.push_back(i.tau1SD);
6159  return output;
6160  }
6161  };
6162 
6163  template <>
6164  struct plotter <565> {
6165  constexpr static const char* name = "puppiAK8Jets/pt";
6166  std::vector<float> operator () (panda::Event& event) {
6167  std::vector<float> output;
6168  for (auto& i : event.puppiAK8Jets)
6169  output.push_back(i.pt());
6170  return output;
6171  }
6172  };
6173 
6174  template <>
6175  struct plotter <566> {
6176  constexpr static const char* name = "puppiAK8Jets/tightLepVeto";
6177  std::vector<float> operator () (panda::Event& event) {
6178  std::vector<float> output;
6179  for (auto& i : event.puppiAK8Jets)
6180  output.push_back(i.tightLepVeto);
6181  return output;
6182  }
6183  };
6184 
6185  template <>
6186  struct plotter <567> {
6187  constexpr static const char* name = "puppiAK8Jets/deepCSVb";
6188  std::vector<float> operator () (panda::Event& event) {
6189  std::vector<float> output;
6190  for (auto& i : event.puppiAK8Jets)
6191  output.push_back(i.deepCSVb);
6192  return output;
6193  }
6194  };
6195 
6196  template <>
6197  struct plotter <568> {
6198  constexpr static const char* name = "puppiAK8Jets/deepCSVc";
6199  std::vector<float> operator () (panda::Event& event) {
6200  std::vector<float> output;
6201  for (auto& i : event.puppiAK8Jets)
6202  output.push_back(i.deepCSVc);
6203  return output;
6204  }
6205  };
6206 
6207  template <>
6208  struct plotter <569> {
6209  constexpr static const char* name = "puppiAK8Jets/tau3SD";
6210  std::vector<float> operator () (panda::Event& event) {
6211  std::vector<float> output;
6212  for (auto& i : event.puppiAK8Jets)
6213  output.push_back(i.tau3SD);
6214  return output;
6215  }
6216  };
6217 
6218  template <>
6219  struct plotter <570> {
6220  constexpr static const char* name = "puppiAK8Jets/m";
6221  std::vector<float> operator () (panda::Event& event) {
6222  std::vector<float> output;
6223  for (auto& i : event.puppiAK8Jets)
6224  output.push_back(i.m());
6225  return output;
6226  }
6227  };
6228 
6229  template <>
6230  struct plotter <571> {
6231  constexpr static const char* name = "puppiAK8Jets/deepCSVcc";
6232  std::vector<float> operator () (panda::Event& event) {
6233  std::vector<float> output;
6234  for (auto& i : event.puppiAK8Jets)
6235  output.push_back(i.deepCSVcc);
6236  return output;
6237  }
6238  };
6239 
6240  template <>
6241  struct plotter <572> {
6242  constexpr static const char* name = "puppiAK8Jets/tau2SD";
6243  std::vector<float> operator () (panda::Event& event) {
6244  std::vector<float> output;
6245  for (auto& i : event.puppiAK8Jets)
6246  output.push_back(i.tau2SD);
6247  return output;
6248  }
6249  };
6250 
6251  template <>
6252  struct plotter <573> {
6253  constexpr static const char* name = "puppiAK8Jets/csv";
6254  std::vector<float> operator () (panda::Event& event) {
6255  std::vector<float> output;
6256  for (auto& i : event.puppiAK8Jets)
6257  output.push_back(i.csv);
6258  return output;
6259  }
6260  };
6261 
6262  template <>
6263  struct plotter <574> {
6264  constexpr static const char* name = "puppiAK8Jets/ptSmearUp";
6265  std::vector<float> operator () (panda::Event& event) {
6266  std::vector<float> output;
6267  for (auto& i : event.puppiAK8Jets)
6268  output.push_back(i.ptSmearUp);
6269  return output;
6270  }
6271  };
6272 
6273  template <>
6274  struct plotter <575> {
6275  constexpr static const char* name = "puppiAK8Subjets/size";
6276  std::vector<float> operator () (panda::Event& event) {
6277  std::vector<float> output {float(event.puppiAK8Subjets.size())};
6278  return output;
6279  }
6280  };
6281 
6282  template <>
6283  struct plotter <576> {
6284  constexpr static const char* name = "puppiAK8Subjets/deepCMVAudsg";
6285  std::vector<float> operator () (panda::Event& event) {
6286  std::vector<float> output;
6287  for (auto& i : event.puppiAK8Subjets)
6288  output.push_back(i.deepCMVAudsg);
6289  return output;
6290  }
6291  };
6292 
6293  template <>
6294  struct plotter <577> {
6295  constexpr static const char* name = "puppiAK8Subjets/deepCMVAbb";
6296  std::vector<float> operator () (panda::Event& event) {
6297  std::vector<float> output;
6298  for (auto& i : event.puppiAK8Subjets)
6299  output.push_back(i.deepCMVAbb);
6300  return output;
6301  }
6302  };
6303 
6304  template <>
6305  struct plotter <578> {
6306  constexpr static const char* name = "puppiAK8Subjets/deepCSVudsg";
6307  std::vector<float> operator () (panda::Event& event) {
6308  std::vector<float> output;
6309  for (auto& i : event.puppiAK8Subjets)
6310  output.push_back(i.deepCSVudsg);
6311  return output;
6312  }
6313  };
6314 
6315  template <>
6316  struct plotter <579> {
6317  constexpr static const char* name = "puppiAK8Subjets/cmva";
6318  std::vector<float> operator () (panda::Event& event) {
6319  std::vector<float> output;
6320  for (auto& i : event.puppiAK8Subjets)
6321  output.push_back(i.cmva);
6322  return output;
6323  }
6324  };
6325 
6326  template <>
6327  struct plotter <580> {
6328  constexpr static const char* name = "puppiAK8Subjets/phi";
6329  std::vector<float> operator () (panda::Event& event) {
6330  std::vector<float> output;
6331  for (auto& i : event.puppiAK8Subjets)
6332  output.push_back(i.phi());
6333  return output;
6334  }
6335  };
6336 
6337  template <>
6338  struct plotter <581> {
6339  constexpr static const char* name = "puppiAK8Subjets/deepCSVbb";
6340  std::vector<float> operator () (panda::Event& event) {
6341  std::vector<float> output;
6342  for (auto& i : event.puppiAK8Subjets)
6343  output.push_back(i.deepCSVbb);
6344  return output;
6345  }
6346  };
6347 
6348  template <>
6349  struct plotter <582> {
6350  constexpr static const char* name = "puppiAK8Subjets/pz";
6351  std::vector<float> operator () (panda::Event& event) {
6352  std::vector<float> output;
6353  for (auto& i : event.puppiAK8Subjets)
6354  output.push_back(i.pz());
6355  return output;
6356  }
6357  };
6358 
6359  template <>
6360  struct plotter <583> {
6361  constexpr static const char* name = "puppiAK8Subjets/deepCMVAb";
6362  std::vector<float> operator () (panda::Event& event) {
6363  std::vector<float> output;
6364  for (auto& i : event.puppiAK8Subjets)
6365  output.push_back(i.deepCMVAb);
6366  return output;
6367  }
6368  };
6369 
6370  template <>
6371  struct plotter <584> {
6372  constexpr static const char* name = "puppiAK8Subjets/deepCMVAc";
6373  std::vector<float> operator () (panda::Event& event) {
6374  std::vector<float> output;
6375  for (auto& i : event.puppiAK8Subjets)
6376  output.push_back(i.deepCMVAc);
6377  return output;
6378  }
6379  };
6380 
6381  template <>
6382  struct plotter <585> {
6383  constexpr static const char* name = "puppiAK8Subjets/qgl";
6384  std::vector<float> operator () (panda::Event& event) {
6385  std::vector<float> output;
6386  for (auto& i : event.puppiAK8Subjets)
6387  output.push_back(i.qgl);
6388  return output;
6389  }
6390  };
6391 
6392  template <>
6393  struct plotter <586> {
6394  constexpr static const char* name = "puppiAK8Subjets/csv";
6395  std::vector<float> operator () (panda::Event& event) {
6396  std::vector<float> output;
6397  for (auto& i : event.puppiAK8Subjets)
6398  output.push_back(i.csv);
6399  return output;
6400  }
6401  };
6402 
6403  template <>
6404  struct plotter <587> {
6405  constexpr static const char* name = "puppiAK8Subjets/e";
6406  std::vector<float> operator () (panda::Event& event) {
6407  std::vector<float> output;
6408  for (auto& i : event.puppiAK8Subjets)
6409  output.push_back(i.e());
6410  return output;
6411  }
6412  };
6413 
6414  template <>
6415  struct plotter <588> {
6416  constexpr static const char* name = "puppiAK8Subjets/deepCMVAcc";
6417  std::vector<float> operator () (panda::Event& event) {
6418  std::vector<float> output;
6419  for (auto& i : event.puppiAK8Subjets)
6420  output.push_back(i.deepCMVAcc);
6421  return output;
6422  }
6423  };
6424 
6425  template <>
6426  struct plotter <589> {
6427  constexpr static const char* name = "puppiAK8Subjets/p";
6428  std::vector<float> operator () (panda::Event& event) {
6429  std::vector<float> output;
6430  for (auto& i : event.puppiAK8Subjets)
6431  output.push_back(i.p());
6432  return output;
6433  }
6434  };
6435 
6436  template <>
6437  struct plotter <590> {
6438  constexpr static const char* name = "puppiAK8Subjets/eta";
6439  std::vector<float> operator () (panda::Event& event) {
6440  std::vector<float> output;
6441  for (auto& i : event.puppiAK8Subjets)
6442  output.push_back(i.eta());
6443  return output;
6444  }
6445  };
6446 
6447  template <>
6448  struct plotter <591> {
6449  constexpr static const char* name = "puppiAK8Subjets/py";
6450  std::vector<float> operator () (panda::Event& event) {
6451  std::vector<float> output;
6452  for (auto& i : event.puppiAK8Subjets)
6453  output.push_back(i.py());
6454  return output;
6455  }
6456  };
6457 
6458  template <>
6459  struct plotter <592> {
6460  constexpr static const char* name = "puppiAK8Subjets/px";
6461  std::vector<float> operator () (panda::Event& event) {
6462  std::vector<float> output;
6463  for (auto& i : event.puppiAK8Subjets)
6464  output.push_back(i.px());
6465  return output;
6466  }
6467  };
6468 
6469  template <>
6470  struct plotter <593> {
6471  constexpr static const char* name = "puppiAK8Subjets/pt";
6472  std::vector<float> operator () (panda::Event& event) {
6473  std::vector<float> output;
6474  for (auto& i : event.puppiAK8Subjets)
6475  output.push_back(i.pt());
6476  return output;
6477  }
6478  };
6479 
6480  template <>
6481  struct plotter <594> {
6482  constexpr static const char* name = "puppiAK8Subjets/deepCSVb";
6483  std::vector<float> operator () (panda::Event& event) {
6484  std::vector<float> output;
6485  for (auto& i : event.puppiAK8Subjets)
6486  output.push_back(i.deepCSVb);
6487  return output;
6488  }
6489  };
6490 
6491  template <>
6492  struct plotter <595> {
6493  constexpr static const char* name = "puppiAK8Subjets/deepCSVc";
6494  std::vector<float> operator () (panda::Event& event) {
6495  std::vector<float> output;
6496  for (auto& i : event.puppiAK8Subjets)
6497  output.push_back(i.deepCSVc);
6498  return output;
6499  }
6500  };
6501 
6502  template <>
6503  struct plotter <596> {
6504  constexpr static const char* name = "puppiAK8Subjets/m";
6505  std::vector<float> operator () (panda::Event& event) {
6506  std::vector<float> output;
6507  for (auto& i : event.puppiAK8Subjets)
6508  output.push_back(i.m());
6509  return output;
6510  }
6511  };
6512 
6513  template <>
6514  struct plotter <597> {
6515  constexpr static const char* name = "puppiAK8Subjets/deepCSVcc";
6516  std::vector<float> operator () (panda::Event& event) {
6517  std::vector<float> output;
6518  for (auto& i : event.puppiAK8Subjets)
6519  output.push_back(i.deepCSVcc);
6520  return output;
6521  }
6522  };
6523 
6524  template <>
6525  struct plotter <598> {
6526  constexpr static const char* name = "puppiCA15Jets/size";
6527  std::vector<float> operator () (panda::Event& event) {
6528  std::vector<float> output {float(event.puppiCA15Jets.size())};
6529  return output;
6530  }
6531  };
6532 
6533  template <>
6534  struct plotter <599> {
6535  constexpr static const char* name = "puppiCA15Jets/subjets_size";
6536  std::vector<float> operator () (panda::Event& event) {
6537  std::vector<float> output;
6538  for (auto& i : event.puppiCA15Jets)
6539  output.push_back(i.subjets.size());
6540  return output;
6541  }
6542  };
6543 
6544  template <>
6545  struct plotter <600> {
6546  constexpr static const char* name = "puppiCA15Jets/matchedGenJet_isValid";
6547  std::vector<float> operator () (panda::Event& event) {
6548  std::vector<float> output;
6549  for (auto& i : event.puppiCA15Jets)
6550  output.push_back(i.matchedGenJet.isValid());
6551  return output;
6552  }
6553  };
6554 
6555  template <>
6556  struct plotter <601> {
6557  constexpr static const char* name = "puppiCA15Jets/constituents_size";
6558  std::vector<float> operator () (panda::Event& event) {
6559  std::vector<float> output;
6560  for (auto& i : event.puppiCA15Jets)
6561  output.push_back(i.constituents.size());
6562  return output;
6563  }
6564  };
6565 
6566  template <>
6567  struct plotter <602> {
6568  constexpr static const char* name = "puppiCA15Jets/secondaryVertex_isValid";
6569  std::vector<float> operator () (panda::Event& event) {
6570  std::vector<float> output;
6571  for (auto& i : event.puppiCA15Jets)
6572  output.push_back(i.secondaryVertex.isValid());
6573  return output;
6574  }
6575  };
6576 
6577  template <>
6578  struct plotter <603> {
6579  constexpr static const char* name = "puppiCA15Jets/deepCMVAudsg";
6580  std::vector<float> operator () (panda::Event& event) {
6581  std::vector<float> output;
6582  for (auto& i : event.puppiCA15Jets)
6583  output.push_back(i.deepCMVAudsg);
6584  return output;
6585  }
6586  };
6587 
6588  template <>
6589  struct plotter <604> {
6590  constexpr static const char* name = "puppiCA15Jets/deepBBprobH";
6591  std::vector<float> operator () (panda::Event& event) {
6592  std::vector<float> output;
6593  for (auto& i : event.puppiCA15Jets)
6594  output.push_back(i.deepBBprobH);
6595  return output;
6596  }
6597  };
6598 
6599  template <>
6600  struct plotter <605> {
6601  constexpr static const char* name = "puppiCA15Jets/deepCMVAbb";
6602  std::vector<float> operator () (panda::Event& event) {
6603  std::vector<float> output;
6604  for (auto& i : event.puppiCA15Jets)
6605  output.push_back(i.deepCMVAbb);
6606  return output;
6607  }
6608  };
6609 
6610  template <>
6611  struct plotter <606> {
6612  constexpr static const char* name = "puppiCA15Jets/ptCorrUp";
6613  std::vector<float> operator () (panda::Event& event) {
6614  std::vector<float> output;
6615  for (auto& i : event.puppiCA15Jets)
6616  output.push_back(i.ptCorrUp);
6617  return output;
6618  }
6619  };
6620 
6621  template <>
6622  struct plotter <607> {
6623  constexpr static const char* name = "puppiCA15Jets/cef";
6624  std::vector<float> operator () (panda::Event& event) {
6625  std::vector<float> output;
6626  for (auto& i : event.puppiCA15Jets)
6627  output.push_back(i.cef);
6628  return output;
6629  }
6630  };
6631 
6632  template <>
6633  struct plotter <608> {
6634  constexpr static const char* name = "puppiCA15Jets/deepCSVudsg";
6635  std::vector<float> operator () (panda::Event& event) {
6636  std::vector<float> output;
6637  for (auto& i : event.puppiCA15Jets)
6638  output.push_back(i.deepCSVudsg);
6639  return output;
6640  }
6641  };
6642 
6643  template <>
6644  struct plotter <609> {
6645  constexpr static const char* name = "puppiCA15Jets/tight";
6646  std::vector<float> operator () (panda::Event& event) {
6647  std::vector<float> output;
6648  for (auto& i : event.puppiCA15Jets)
6649  output.push_back(i.tight);
6650  return output;
6651  }
6652  };
6653 
6654  template <>
6655  struct plotter <610> {
6656  constexpr static const char* name = "puppiCA15Jets/cmva";
6657  std::vector<float> operator () (panda::Event& event) {
6658  std::vector<float> output;
6659  for (auto& i : event.puppiCA15Jets)
6660  output.push_back(i.cmva);
6661  return output;
6662  }
6663  };
6664 
6665  template <>
6666  struct plotter <611> {
6667  constexpr static const char* name = "puppiCA15Jets/phi";
6668  std::vector<float> operator () (panda::Event& event) {
6669  std::vector<float> output;
6670  for (auto& i : event.puppiCA15Jets)
6671  output.push_back(i.phi());
6672  return output;
6673  }
6674  };
6675 
6676  template <>
6677  struct plotter <612> {
6678  constexpr static const char* name = "puppiCA15Jets/nhf";
6679  std::vector<float> operator () (panda::Event& event) {
6680  std::vector<float> output;
6681  for (auto& i : event.puppiCA15Jets)
6682  output.push_back(i.nhf);
6683  return output;
6684  }
6685  };
6686 
6687  template <>
6688  struct plotter <613> {
6689  constexpr static const char* name = "puppiCA15Jets/deepBBprobQ";
6690  std::vector<float> operator () (panda::Event& event) {
6691  std::vector<float> output;
6692  for (auto& i : event.puppiCA15Jets)
6693  output.push_back(i.deepBBprobQ);
6694  return output;
6695  }
6696  };
6697 
6698  template <>
6699  struct plotter <614> {
6700  constexpr static const char* name = "puppiCA15Jets/deepCSVbb";
6701  std::vector<float> operator () (panda::Event& event) {
6702  std::vector<float> output;
6703  for (auto& i : event.puppiCA15Jets)
6704  output.push_back(i.deepCSVbb);
6705  return output;
6706  }
6707  };
6708 
6709  template <>
6710  struct plotter <615> {
6711  constexpr static const char* name = "puppiCA15Jets/htt_frec";
6712  std::vector<float> operator () (panda::Event& event) {
6713  std::vector<float> output;
6714  for (auto& i : event.puppiCA15Jets)
6715  output.push_back(i.htt_frec);
6716  return output;
6717  }
6718  };
6719 
6720  template <>
6721  struct plotter <616> {
6722  constexpr static const char* name = "puppiCA15Jets/deepCMVAb";
6723  std::vector<float> operator () (panda::Event& event) {
6724  std::vector<float> output;
6725  for (auto& i : event.puppiCA15Jets)
6726  output.push_back(i.deepCMVAb);
6727  return output;
6728  }
6729  };
6730 
6731  template <>
6732  struct plotter <617> {
6733  constexpr static const char* name = "puppiCA15Jets/chf";
6734  std::vector<float> operator () (panda::Event& event) {
6735  std::vector<float> output;
6736  for (auto& i : event.puppiCA15Jets)
6737  output.push_back(i.chf);
6738  return output;
6739  }
6740  };
6741 
6742  template <>
6743  struct plotter <618> {
6744  constexpr static const char* name = "puppiCA15Jets/area";
6745  std::vector<float> operator () (panda::Event& event) {
6746  std::vector<float> output;
6747  for (auto& i : event.puppiCA15Jets)
6748  output.push_back(i.area);
6749  return output;
6750  }
6751  };
6752 
6753  template <>
6754  struct plotter <619> {
6755  constexpr static const char* name = "puppiCA15Jets/nef";
6756  std::vector<float> operator () (panda::Event& event) {
6757  std::vector<float> output;
6758  for (auto& i : event.puppiCA15Jets)
6759  output.push_back(i.nef);
6760  return output;
6761  }
6762  };
6763 
6764  template <>
6765  struct plotter <620> {
6766  constexpr static const char* name = "puppiCA15Jets/htt_mass";
6767  std::vector<float> operator () (panda::Event& event) {
6768  std::vector<float> output;
6769  for (auto& i : event.puppiCA15Jets)
6770  output.push_back(i.htt_mass);
6771  return output;
6772  }
6773  };
6774 
6775  template <>
6776  struct plotter <621> {
6777  constexpr static const char* name = "puppiCA15Jets/ptCorrDown";
6778  std::vector<float> operator () (panda::Event& event) {
6779  std::vector<float> output;
6780  for (auto& i : event.puppiCA15Jets)
6781  output.push_back(i.ptCorrDown);
6782  return output;
6783  }
6784  };
6785 
6786  template <>
6787  struct plotter <622> {
6788  constexpr static const char* name = "puppiCA15Jets/pz";
6789  std::vector<float> operator () (panda::Event& event) {
6790  std::vector<float> output;
6791  for (auto& i : event.puppiCA15Jets)
6792  output.push_back(i.pz());
6793  return output;
6794  }
6795  };
6796 
6797  template <>
6798  struct plotter <623> {
6799  constexpr static const char* name = "puppiCA15Jets/tau2";
6800  std::vector<float> operator () (panda::Event& event) {
6801  std::vector<float> output;
6802  for (auto& i : event.puppiCA15Jets)
6803  output.push_back(i.tau2);
6804  return output;
6805  }
6806  };
6807 
6808  template <>
6809  struct plotter <624> {
6810  constexpr static const char* name = "puppiCA15Jets/tau3";
6811  std::vector<float> operator () (panda::Event& event) {
6812  std::vector<float> output;
6813  for (auto& i : event.puppiCA15Jets)
6814  output.push_back(i.tau3);
6815  return output;
6816  }
6817  };
6818 
6819  template <>
6820  struct plotter <625> {
6821  constexpr static const char* name = "puppiCA15Jets/puid";
6822  std::vector<float> operator () (panda::Event& event) {
6823  std::vector<float> output;
6824  for (auto& i : event.puppiCA15Jets)
6825  output.push_back(i.puid);
6826  return output;
6827  }
6828  };
6829 
6830  template <>
6831  struct plotter <626> {
6832  constexpr static const char* name = "puppiCA15Jets/tau1";
6833  std::vector<float> operator () (panda::Event& event) {
6834  std::vector<float> output;
6835  for (auto& i : event.puppiCA15Jets)
6836  output.push_back(i.tau1);
6837  return output;
6838  }
6839  };
6840 
6841  template <>
6842  struct plotter <627> {
6843  constexpr static const char* name = "puppiCA15Jets/mSD";
6844  std::vector<float> operator () (panda::Event& event) {
6845  std::vector<float> output;
6846  for (auto& i : event.puppiCA15Jets)
6847  output.push_back(i.mSD);
6848  return output;
6849  }
6850  };
6851 
6852  template <>
6853  struct plotter <628> {
6854  constexpr static const char* name = "puppiCA15Jets/e";
6855  std::vector<float> operator () (panda::Event& event) {
6856  std::vector<float> output;
6857  for (auto& i : event.puppiCA15Jets)
6858  output.push_back(i.e());
6859  return output;
6860  }
6861  };
6862 
6863  template <>
6864  struct plotter <629> {
6865  constexpr static const char* name = "puppiCA15Jets/deepCMVAcc";
6866  std::vector<float> operator () (panda::Event& event) {
6867  std::vector<float> output;
6868  for (auto& i : event.puppiCA15Jets)
6869  output.push_back(i.deepCMVAcc);
6870  return output;
6871  }
6872  };
6873 
6874  template <>
6875  struct plotter <630> {
6876  constexpr static const char* name = "puppiCA15Jets/p";
6877  std::vector<float> operator () (panda::Event& event) {
6878  std::vector<float> output;
6879  for (auto& i : event.puppiCA15Jets)
6880  output.push_back(i.p());
6881  return output;
6882  }
6883  };
6884 
6885  template <>
6886  struct plotter <631> {
6887  constexpr static const char* name = "puppiCA15Jets/rawPt";
6888  std::vector<float> operator () (panda::Event& event) {
6889  std::vector<float> output;
6890  for (auto& i : event.puppiCA15Jets)
6891  output.push_back(i.rawPt);
6892  return output;
6893  }
6894  };
6895 
6896  template <>
6897  struct plotter <632> {
6898  constexpr static const char* name = "puppiCA15Jets/eta";
6899  std::vector<float> operator () (panda::Event& event) {
6900  std::vector<float> output;
6901  for (auto& i : event.puppiCA15Jets)
6902  output.push_back(i.eta());
6903  return output;
6904  }
6905  };
6906 
6907  template <>
6908  struct plotter <633> {
6909  constexpr static const char* name = "puppiCA15Jets/double_sub";
6910  std::vector<float> operator () (panda::Event& event) {
6911  std::vector<float> output;
6912  for (auto& i : event.puppiCA15Jets)
6913  output.push_back(i.double_sub);
6914  return output;
6915  }
6916  };
6917 
6918  template <>
6919  struct plotter <634> {
6920  constexpr static const char* name = "puppiCA15Jets/loose";
6921  std::vector<float> operator () (panda::Event& event) {
6922  std::vector<float> output;
6923  for (auto& i : event.puppiCA15Jets)
6924  output.push_back(i.loose);
6925  return output;
6926  }
6927  };
6928 
6929  template <>
6930  struct plotter <635> {
6931  constexpr static const char* name = "puppiCA15Jets/ptSmear";
6932  std::vector<float> operator () (panda::Event& event) {
6933  std::vector<float> output;
6934  for (auto& i : event.puppiCA15Jets)
6935  output.push_back(i.ptSmear);
6936  return output;
6937  }
6938  };
6939 
6940  template <>
6941  struct plotter <636> {
6942  constexpr static const char* name = "puppiCA15Jets/deepCMVAc";
6943  std::vector<float> operator () (panda::Event& event) {
6944  std::vector<float> output;
6945  for (auto& i : event.puppiCA15Jets)
6946  output.push_back(i.deepCMVAc);
6947  return output;
6948  }
6949  };
6950 
6951  template <>
6952  struct plotter <637> {
6953  constexpr static const char* name = "puppiCA15Jets/qgl";
6954  std::vector<float> operator () (panda::Event& event) {
6955  std::vector<float> output;
6956  for (auto& i : event.puppiCA15Jets)
6957  output.push_back(i.qgl);
6958  return output;
6959  }
6960  };
6961 
6962  template <>
6963  struct plotter <638> {
6964  constexpr static const char* name = "puppiCA15Jets/py";
6965  std::vector<float> operator () (panda::Event& event) {
6966  std::vector<float> output;
6967  for (auto& i : event.puppiCA15Jets)
6968  output.push_back(i.py());
6969  return output;
6970  }
6971  };
6972 
6973  template <>
6974  struct plotter <639> {
6975  constexpr static const char* name = "puppiCA15Jets/monojet";
6976  std::vector<float> operator () (panda::Event& event) {
6977  std::vector<float> output;
6978  for (auto& i : event.puppiCA15Jets)
6979  output.push_back(i.monojet);
6980  return output;
6981  }
6982  };
6983 
6984  template <>
6985  struct plotter <640> {
6986  constexpr static const char* name = "puppiCA15Jets/ptSmearDown";
6987  std::vector<float> operator () (panda::Event& event) {
6988  std::vector<float> output;
6989  for (auto& i : event.puppiCA15Jets)
6990  output.push_back(i.ptSmearDown);
6991  return output;
6992  }
6993  };
6994 
6995  template <>
6996  struct plotter <641> {
6997  constexpr static const char* name = "puppiCA15Jets/px";
6998  std::vector<float> operator () (panda::Event& event) {
6999  std::vector<float> output;
7000  for (auto& i : event.puppiCA15Jets)
7001  output.push_back(i.px());
7002  return output;
7003  }
7004  };
7005 
7006  template <>
7007  struct plotter <642> {
7008  constexpr static const char* name = "puppiCA15Jets/mPruned";
7009  std::vector<float> operator () (panda::Event& event) {
7010  std::vector<float> output;
7011  for (auto& i : event.puppiCA15Jets)
7012  output.push_back(i.mPruned);
7013  return output;
7014  }
7015  };
7016 
7017  template <>
7018  struct plotter <643> {
7019  constexpr static const char* name = "puppiCA15Jets/tau1SD";
7020  std::vector<float> operator () (panda::Event& event) {
7021  std::vector<float> output;
7022  for (auto& i : event.puppiCA15Jets)
7023  output.push_back(i.tau1SD);
7024  return output;
7025  }
7026  };
7027 
7028  template <>
7029  struct plotter <644> {
7030  constexpr static const char* name = "puppiCA15Jets/pt";
7031  std::vector<float> operator () (panda::Event& event) {
7032  std::vector<float> output;
7033  for (auto& i : event.puppiCA15Jets)
7034  output.push_back(i.pt());
7035  return output;
7036  }
7037  };
7038 
7039  template <>
7040  struct plotter <645> {
7041  constexpr static const char* name = "puppiCA15Jets/tightLepVeto";
7042  std::vector<float> operator () (panda::Event& event) {
7043  std::vector<float> output;
7044  for (auto& i : event.puppiCA15Jets)
7045  output.push_back(i.tightLepVeto);
7046  return output;
7047  }
7048  };
7049 
7050  template <>
7051  struct plotter <646> {
7052  constexpr static const char* name = "puppiCA15Jets/deepCSVb";
7053  std::vector<float> operator () (panda::Event& event) {
7054  std::vector<float> output;
7055  for (auto& i : event.puppiCA15Jets)
7056  output.push_back(i.deepCSVb);
7057  return output;
7058  }
7059  };
7060 
7061  template <>
7062  struct plotter <647> {
7063  constexpr static const char* name = "puppiCA15Jets/deepCSVc";
7064  std::vector<float> operator () (panda::Event& event) {
7065  std::vector<float> output;
7066  for (auto& i : event.puppiCA15Jets)
7067  output.push_back(i.deepCSVc);
7068  return output;
7069  }
7070  };
7071 
7072  template <>
7073  struct plotter <648> {
7074  constexpr static const char* name = "puppiCA15Jets/tau3SD";
7075  std::vector<float> operator () (panda::Event& event) {
7076  std::vector<float> output;
7077  for (auto& i : event.puppiCA15Jets)
7078  output.push_back(i.tau3SD);
7079  return output;
7080  }
7081  };
7082 
7083  template <>
7084  struct plotter <649> {
7085  constexpr static const char* name = "puppiCA15Jets/m";
7086  std::vector<float> operator () (panda::Event& event) {
7087  std::vector<float> output;
7088  for (auto& i : event.puppiCA15Jets)
7089  output.push_back(i.m());
7090  return output;
7091  }
7092  };
7093 
7094  template <>
7095  struct plotter <650> {
7096  constexpr static const char* name = "puppiCA15Jets/deepCSVcc";
7097  std::vector<float> operator () (panda::Event& event) {
7098  std::vector<float> output;
7099  for (auto& i : event.puppiCA15Jets)
7100  output.push_back(i.deepCSVcc);
7101  return output;
7102  }
7103  };
7104 
7105  template <>
7106  struct plotter <651> {
7107  constexpr static const char* name = "puppiCA15Jets/tau2SD";
7108  std::vector<float> operator () (panda::Event& event) {
7109  std::vector<float> output;
7110  for (auto& i : event.puppiCA15Jets)
7111  output.push_back(i.tau2SD);
7112  return output;
7113  }
7114  };
7115 
7116  template <>
7117  struct plotter <652> {
7118  constexpr static const char* name = "puppiCA15Jets/csv";
7119  std::vector<float> operator () (panda::Event& event) {
7120  std::vector<float> output;
7121  for (auto& i : event.puppiCA15Jets)
7122  output.push_back(i.csv);
7123  return output;
7124  }
7125  };
7126 
7127  template <>
7128  struct plotter <653> {
7129  constexpr static const char* name = "puppiCA15Jets/ptSmearUp";
7130  std::vector<float> operator () (panda::Event& event) {
7131  std::vector<float> output;
7132  for (auto& i : event.puppiCA15Jets)
7133  output.push_back(i.ptSmearUp);
7134  return output;
7135  }
7136  };
7137 
7138  template <>
7139  struct plotter <654> {
7140  constexpr static const char* name = "puppiCA15Subjets/size";
7141  std::vector<float> operator () (panda::Event& event) {
7142  std::vector<float> output {float(event.puppiCA15Subjets.size())};
7143  return output;
7144  }
7145  };
7146 
7147  template <>
7148  struct plotter <655> {
7149  constexpr static const char* name = "puppiCA15Subjets/deepCMVAudsg";
7150  std::vector<float> operator () (panda::Event& event) {
7151  std::vector<float> output;
7152  for (auto& i : event.puppiCA15Subjets)
7153  output.push_back(i.deepCMVAudsg);
7154  return output;
7155  }
7156  };
7157 
7158  template <>
7159  struct plotter <656> {
7160  constexpr static const char* name = "puppiCA15Subjets/deepCMVAbb";
7161  std::vector<float> operator () (panda::Event& event) {
7162  std::vector<float> output;
7163  for (auto& i : event.puppiCA15Subjets)
7164  output.push_back(i.deepCMVAbb);
7165  return output;
7166  }
7167  };
7168 
7169  template <>
7170  struct plotter <657> {
7171  constexpr static const char* name = "puppiCA15Subjets/deepCSVudsg";
7172  std::vector<float> operator () (panda::Event& event) {
7173  std::vector<float> output;
7174  for (auto& i : event.puppiCA15Subjets)
7175  output.push_back(i.deepCSVudsg);
7176  return output;
7177  }
7178  };
7179 
7180  template <>
7181  struct plotter <658> {
7182  constexpr static const char* name = "puppiCA15Subjets/cmva";
7183  std::vector<float> operator () (panda::Event& event) {
7184  std::vector<float> output;
7185  for (auto& i : event.puppiCA15Subjets)
7186  output.push_back(i.cmva);
7187  return output;
7188  }
7189  };
7190 
7191  template <>
7192  struct plotter <659> {
7193  constexpr static const char* name = "puppiCA15Subjets/phi";
7194  std::vector<float> operator () (panda::Event& event) {
7195  std::vector<float> output;
7196  for (auto& i : event.puppiCA15Subjets)
7197  output.push_back(i.phi());
7198  return output;
7199  }
7200  };
7201 
7202  template <>
7203  struct plotter <660> {
7204  constexpr static const char* name = "puppiCA15Subjets/deepCSVbb";
7205  std::vector<float> operator () (panda::Event& event) {
7206  std::vector<float> output;
7207  for (auto& i : event.puppiCA15Subjets)
7208  output.push_back(i.deepCSVbb);
7209  return output;
7210  }
7211  };
7212 
7213  template <>
7214  struct plotter <661> {
7215  constexpr static const char* name = "puppiCA15Subjets/pz";
7216  std::vector<float> operator () (panda::Event& event) {
7217  std::vector<float> output;
7218  for (auto& i : event.puppiCA15Subjets)
7219  output.push_back(i.pz());
7220  return output;
7221  }
7222  };
7223 
7224  template <>
7225  struct plotter <662> {
7226  constexpr static const char* name = "puppiCA15Subjets/deepCMVAb";
7227  std::vector<float> operator () (panda::Event& event) {
7228  std::vector<float> output;
7229  for (auto& i : event.puppiCA15Subjets)
7230  output.push_back(i.deepCMVAb);
7231  return output;
7232  }
7233  };
7234 
7235  template <>
7236  struct plotter <663> {
7237  constexpr static const char* name = "puppiCA15Subjets/deepCMVAc";
7238  std::vector<float> operator () (panda::Event& event) {
7239  std::vector<float> output;
7240  for (auto& i : event.puppiCA15Subjets)
7241  output.push_back(i.deepCMVAc);
7242  return output;
7243  }
7244  };
7245 
7246  template <>
7247  struct plotter <664> {
7248  constexpr static const char* name = "puppiCA15Subjets/qgl";
7249  std::vector<float> operator () (panda::Event& event) {
7250  std::vector<float> output;
7251  for (auto& i : event.puppiCA15Subjets)
7252  output.push_back(i.qgl);
7253  return output;
7254  }
7255  };
7256 
7257  template <>
7258  struct plotter <665> {
7259  constexpr static const char* name = "puppiCA15Subjets/csv";
7260  std::vector<float> operator () (panda::Event& event) {
7261  std::vector<float> output;
7262  for (auto& i : event.puppiCA15Subjets)
7263  output.push_back(i.csv);
7264  return output;
7265  }
7266  };
7267 
7268  template <>
7269  struct plotter <666> {
7270  constexpr static const char* name = "puppiCA15Subjets/e";
7271  std::vector<float> operator () (panda::Event& event) {
7272  std::vector<float> output;
7273  for (auto& i : event.puppiCA15Subjets)
7274  output.push_back(i.e());
7275  return output;
7276  }
7277  };
7278 
7279  template <>
7280  struct plotter <667> {
7281  constexpr static const char* name = "puppiCA15Subjets/deepCMVAcc";
7282  std::vector<float> operator () (panda::Event& event) {
7283  std::vector<float> output;
7284  for (auto& i : event.puppiCA15Subjets)
7285  output.push_back(i.deepCMVAcc);
7286  return output;
7287  }
7288  };
7289 
7290  template <>
7291  struct plotter <668> {
7292  constexpr static const char* name = "puppiCA15Subjets/p";
7293  std::vector<float> operator () (panda::Event& event) {
7294  std::vector<float> output;
7295  for (auto& i : event.puppiCA15Subjets)
7296  output.push_back(i.p());
7297  return output;
7298  }
7299  };
7300 
7301  template <>
7302  struct plotter <669> {
7303  constexpr static const char* name = "puppiCA15Subjets/eta";
7304  std::vector<float> operator () (panda::Event& event) {
7305  std::vector<float> output;
7306  for (auto& i : event.puppiCA15Subjets)
7307  output.push_back(i.eta());
7308  return output;
7309  }
7310  };
7311 
7312  template <>
7313  struct plotter <670> {
7314  constexpr static const char* name = "puppiCA15Subjets/py";
7315  std::vector<float> operator () (panda::Event& event) {
7316  std::vector<float> output;
7317  for (auto& i : event.puppiCA15Subjets)
7318  output.push_back(i.py());
7319  return output;
7320  }
7321  };
7322 
7323  template <>
7324  struct plotter <671> {
7325  constexpr static const char* name = "puppiCA15Subjets/px";
7326  std::vector<float> operator () (panda::Event& event) {
7327  std::vector<float> output;
7328  for (auto& i : event.puppiCA15Subjets)
7329  output.push_back(i.px());
7330  return output;
7331  }
7332  };
7333 
7334  template <>
7335  struct plotter <672> {
7336  constexpr static const char* name = "puppiCA15Subjets/pt";
7337  std::vector<float> operator () (panda::Event& event) {
7338  std::vector<float> output;
7339  for (auto& i : event.puppiCA15Subjets)
7340  output.push_back(i.pt());
7341  return output;
7342  }
7343  };
7344 
7345  template <>
7346  struct plotter <673> {
7347  constexpr static const char* name = "puppiCA15Subjets/deepCSVb";
7348  std::vector<float> operator () (panda::Event& event) {
7349  std::vector<float> output;
7350  for (auto& i : event.puppiCA15Subjets)
7351  output.push_back(i.deepCSVb);
7352  return output;
7353  }
7354  };
7355 
7356  template <>
7357  struct plotter <674> {
7358  constexpr static const char* name = "puppiCA15Subjets/deepCSVc";
7359  std::vector<float> operator () (panda::Event& event) {
7360  std::vector<float> output;
7361  for (auto& i : event.puppiCA15Subjets)
7362  output.push_back(i.deepCSVc);
7363  return output;
7364  }
7365  };
7366 
7367  template <>
7368  struct plotter <675> {
7369  constexpr static const char* name = "puppiCA15Subjets/m";
7370  std::vector<float> operator () (panda::Event& event) {
7371  std::vector<float> output;
7372  for (auto& i : event.puppiCA15Subjets)
7373  output.push_back(i.m());
7374  return output;
7375  }
7376  };
7377 
7378  template <>
7379  struct plotter <676> {
7380  constexpr static const char* name = "puppiCA15Subjets/deepCSVcc";
7381  std::vector<float> operator () (panda::Event& event) {
7382  std::vector<float> output;
7383  for (auto& i : event.puppiCA15Subjets)
7384  output.push_back(i.deepCSVcc);
7385  return output;
7386  }
7387  };
7388 
7389  template <>
7390  struct plotter <677> {
7391  constexpr static const char* name = "ak4GenJets/size";
7392  std::vector<float> operator () (panda::Event& event) {
7393  std::vector<float> output {float(event.ak4GenJets.size())};
7394  return output;
7395  }
7396  };
7397 
7398  template <>
7399  struct plotter <678> {
7400  constexpr static const char* name = "ak4GenJets/matchedBHadrons_size";
7401  std::vector<float> operator () (panda::Event& event) {
7402  std::vector<float> output;
7403  for (auto& i : event.ak4GenJets)
7404  output.push_back(i.matchedBHadrons.size());
7405  return output;
7406  }
7407  };
7408 
7409  template <>
7410  struct plotter <679> {
7411  constexpr static const char* name = "ak4GenJets/matchedCHadrons_size";
7412  std::vector<float> operator () (panda::Event& event) {
7413  std::vector<float> output;
7414  for (auto& i : event.ak4GenJets)
7415  output.push_back(i.matchedCHadrons.size());
7416  return output;
7417  }
7418  };
7419 
7420  template <>
7421  struct plotter <680> {
7422  constexpr static const char* name = "ak4GenJets/partonFlavor";
7423  std::vector<float> operator () (panda::Event& event) {
7424  std::vector<float> output;
7425  for (auto& i : event.ak4GenJets)
7426  output.push_back(i.partonFlavor);
7427  return output;
7428  }
7429  };
7430 
7431  template <>
7432  struct plotter <681> {
7433  constexpr static const char* name = "ak4GenJets/pt";
7434  std::vector<float> operator () (panda::Event& event) {
7435  std::vector<float> output;
7436  for (auto& i : event.ak4GenJets)
7437  output.push_back(i.pt());
7438  return output;
7439  }
7440  };
7441 
7442  template <>
7443  struct plotter <682> {
7444  constexpr static const char* name = "ak4GenJets/p";
7445  std::vector<float> operator () (panda::Event& event) {
7446  std::vector<float> output;
7447  for (auto& i : event.ak4GenJets)
7448  output.push_back(i.p());
7449  return output;
7450  }
7451  };
7452 
7453  template <>
7454  struct plotter <683> {
7455  constexpr static const char* name = "ak4GenJets/eta";
7456  std::vector<float> operator () (panda::Event& event) {
7457  std::vector<float> output;
7458  for (auto& i : event.ak4GenJets)
7459  output.push_back(i.eta());
7460  return output;
7461  }
7462  };
7463 
7464  template <>
7465  struct plotter <684> {
7466  constexpr static const char* name = "ak4GenJets/m";
7467  std::vector<float> operator () (panda::Event& event) {
7468  std::vector<float> output;
7469  for (auto& i : event.ak4GenJets)
7470  output.push_back(i.m());
7471  return output;
7472  }
7473  };
7474 
7475  template <>
7476  struct plotter <685> {
7477  constexpr static const char* name = "ak4GenJets/pdgid";
7478  std::vector<float> operator () (panda::Event& event) {
7479  std::vector<float> output;
7480  for (auto& i : event.ak4GenJets)
7481  output.push_back(i.pdgid);
7482  return output;
7483  }
7484  };
7485 
7486  template <>
7487  struct plotter <686> {
7488  constexpr static const char* name = "ak4GenJets/phi";
7489  std::vector<float> operator () (panda::Event& event) {
7490  std::vector<float> output;
7491  for (auto& i : event.ak4GenJets)
7492  output.push_back(i.phi());
7493  return output;
7494  }
7495  };
7496 
7497  template <>
7498  struct plotter <687> {
7499  constexpr static const char* name = "ak4GenJets/pz";
7500  std::vector<float> operator () (panda::Event& event) {
7501  std::vector<float> output;
7502  for (auto& i : event.ak4GenJets)
7503  output.push_back(i.pz());
7504  return output;
7505  }
7506  };
7507 
7508  template <>
7509  struct plotter <688> {
7510  constexpr static const char* name = "ak4GenJets/py";
7511  std::vector<float> operator () (panda::Event& event) {
7512  std::vector<float> output;
7513  for (auto& i : event.ak4GenJets)
7514  output.push_back(i.py());
7515  return output;
7516  }
7517  };
7518 
7519  template <>
7520  struct plotter <689> {
7521  constexpr static const char* name = "ak4GenJets/numB";
7522  std::vector<float> operator () (panda::Event& event) {
7523  std::vector<float> output;
7524  for (auto& i : event.ak4GenJets)
7525  output.push_back(i.numB);
7526  return output;
7527  }
7528  };
7529 
7530  template <>
7531  struct plotter <690> {
7532  constexpr static const char* name = "ak4GenJets/numC";
7533  std::vector<float> operator () (panda::Event& event) {
7534  std::vector<float> output;
7535  for (auto& i : event.ak4GenJets)
7536  output.push_back(i.numC);
7537  return output;
7538  }
7539  };
7540 
7541  template <>
7542  struct plotter <691> {
7543  constexpr static const char* name = "ak4GenJets/px";
7544  std::vector<float> operator () (panda::Event& event) {
7545  std::vector<float> output;
7546  for (auto& i : event.ak4GenJets)
7547  output.push_back(i.px());
7548  return output;
7549  }
7550  };
7551 
7552  template <>
7553  struct plotter <692> {
7554  constexpr static const char* name = "ak4GenJets/e";
7555  std::vector<float> operator () (panda::Event& event) {
7556  std::vector<float> output;
7557  for (auto& i : event.ak4GenJets)
7558  output.push_back(i.e());
7559  return output;
7560  }
7561  };
7562 
7563  template <>
7564  struct plotter <693> {
7565  constexpr static const char* name = "ak8GenJets/size";
7566  std::vector<float> operator () (panda::Event& event) {
7567  std::vector<float> output {float(event.ak8GenJets.size())};
7568  return output;
7569  }
7570  };
7571 
7572  template <>
7573  struct plotter <694> {
7574  constexpr static const char* name = "ak8GenJets/matchedBHadrons_size";
7575  std::vector<float> operator () (panda::Event& event) {
7576  std::vector<float> output;
7577  for (auto& i : event.ak8GenJets)
7578  output.push_back(i.matchedBHadrons.size());
7579  return output;
7580  }
7581  };
7582 
7583  template <>
7584  struct plotter <695> {
7585  constexpr static const char* name = "ak8GenJets/matchedCHadrons_size";
7586  std::vector<float> operator () (panda::Event& event) {
7587  std::vector<float> output;
7588  for (auto& i : event.ak8GenJets)
7589  output.push_back(i.matchedCHadrons.size());
7590  return output;
7591  }
7592  };
7593 
7594  template <>
7595  struct plotter <696> {
7596  constexpr static const char* name = "ak8GenJets/partonFlavor";
7597  std::vector<float> operator () (panda::Event& event) {
7598  std::vector<float> output;
7599  for (auto& i : event.ak8GenJets)
7600  output.push_back(i.partonFlavor);
7601  return output;
7602  }
7603  };
7604 
7605  template <>
7606  struct plotter <697> {
7607  constexpr static const char* name = "ak8GenJets/pt";
7608  std::vector<float> operator () (panda::Event& event) {
7609  std::vector<float> output;
7610  for (auto& i : event.ak8GenJets)
7611  output.push_back(i.pt());
7612  return output;
7613  }
7614  };
7615 
7616  template <>
7617  struct plotter <698> {
7618  constexpr static const char* name = "ak8GenJets/p";
7619  std::vector<float> operator () (panda::Event& event) {
7620  std::vector<float> output;
7621  for (auto& i : event.ak8GenJets)
7622  output.push_back(i.p());
7623  return output;
7624  }
7625  };
7626 
7627  template <>
7628  struct plotter <699> {
7629  constexpr static const char* name = "ak8GenJets/eta";
7630  std::vector<float> operator () (panda::Event& event) {
7631  std::vector<float> output;
7632  for (auto& i : event.ak8GenJets)
7633  output.push_back(i.eta());
7634  return output;
7635  }
7636  };
7637 
7638  template <>
7639  struct plotter <700> {
7640  constexpr static const char* name = "ak8GenJets/m";
7641  std::vector<float> operator () (panda::Event& event) {
7642  std::vector<float> output;
7643  for (auto& i : event.ak8GenJets)
7644  output.push_back(i.m());
7645  return output;
7646  }
7647  };
7648 
7649  template <>
7650  struct plotter <701> {
7651  constexpr static const char* name = "ak8GenJets/pdgid";
7652  std::vector<float> operator () (panda::Event& event) {
7653  std::vector<float> output;
7654  for (auto& i : event.ak8GenJets)
7655  output.push_back(i.pdgid);
7656  return output;
7657  }
7658  };
7659 
7660  template <>
7661  struct plotter <702> {
7662  constexpr static const char* name = "ak8GenJets/phi";
7663  std::vector<float> operator () (panda::Event& event) {
7664  std::vector<float> output;
7665  for (auto& i : event.ak8GenJets)
7666  output.push_back(i.phi());
7667  return output;
7668  }
7669  };
7670 
7671  template <>
7672  struct plotter <703> {
7673  constexpr static const char* name = "ak8GenJets/pz";
7674  std::vector<float> operator () (panda::Event& event) {
7675  std::vector<float> output;
7676  for (auto& i : event.ak8GenJets)
7677  output.push_back(i.pz());
7678  return output;
7679  }
7680  };
7681 
7682  template <>
7683  struct plotter <704> {
7684  constexpr static const char* name = "ak8GenJets/py";
7685  std::vector<float> operator () (panda::Event& event) {
7686  std::vector<float> output;
7687  for (auto& i : event.ak8GenJets)
7688  output.push_back(i.py());
7689  return output;
7690  }
7691  };
7692 
7693  template <>
7694  struct plotter <705> {
7695  constexpr static const char* name = "ak8GenJets/numB";
7696  std::vector<float> operator () (panda::Event& event) {
7697  std::vector<float> output;
7698  for (auto& i : event.ak8GenJets)
7699  output.push_back(i.numB);
7700  return output;
7701  }
7702  };
7703 
7704  template <>
7705  struct plotter <706> {
7706  constexpr static const char* name = "ak8GenJets/numC";
7707  std::vector<float> operator () (panda::Event& event) {
7708  std::vector<float> output;
7709  for (auto& i : event.ak8GenJets)
7710  output.push_back(i.numC);
7711  return output;
7712  }
7713  };
7714 
7715  template <>
7716  struct plotter <707> {
7717  constexpr static const char* name = "ak8GenJets/px";
7718  std::vector<float> operator () (panda::Event& event) {
7719  std::vector<float> output;
7720  for (auto& i : event.ak8GenJets)
7721  output.push_back(i.px());
7722  return output;
7723  }
7724  };
7725 
7726  template <>
7727  struct plotter <708> {
7728  constexpr static const char* name = "ak8GenJets/e";
7729  std::vector<float> operator () (panda::Event& event) {
7730  std::vector<float> output;
7731  for (auto& i : event.ak8GenJets)
7732  output.push_back(i.e());
7733  return output;
7734  }
7735  };
7736 
7737  template <>
7738  struct plotter <709> {
7739  constexpr static const char* name = "ca15GenJets/size";
7740  std::vector<float> operator () (panda::Event& event) {
7741  std::vector<float> output {float(event.ca15GenJets.size())};
7742  return output;
7743  }
7744  };
7745 
7746  template <>
7747  struct plotter <710> {
7748  constexpr static const char* name = "ca15GenJets/matchedBHadrons_size";
7749  std::vector<float> operator () (panda::Event& event) {
7750  std::vector<float> output;
7751  for (auto& i : event.ca15GenJets)
7752  output.push_back(i.matchedBHadrons.size());
7753  return output;
7754  }
7755  };
7756 
7757  template <>
7758  struct plotter <711> {
7759  constexpr static const char* name = "ca15GenJets/matchedCHadrons_size";
7760  std::vector<float> operator () (panda::Event& event) {
7761  std::vector<float> output;
7762  for (auto& i : event.ca15GenJets)
7763  output.push_back(i.matchedCHadrons.size());
7764  return output;
7765  }
7766  };
7767 
7768  template <>
7769  struct plotter <712> {
7770  constexpr static const char* name = "ca15GenJets/partonFlavor";
7771  std::vector<float> operator () (panda::Event& event) {
7772  std::vector<float> output;
7773  for (auto& i : event.ca15GenJets)
7774  output.push_back(i.partonFlavor);
7775  return output;
7776  }
7777  };
7778 
7779  template <>
7780  struct plotter <713> {
7781  constexpr static const char* name = "ca15GenJets/pt";
7782  std::vector<float> operator () (panda::Event& event) {
7783  std::vector<float> output;
7784  for (auto& i : event.ca15GenJets)
7785  output.push_back(i.pt());
7786  return output;
7787  }
7788  };
7789 
7790  template <>
7791  struct plotter <714> {
7792  constexpr static const char* name = "ca15GenJets/p";
7793  std::vector<float> operator () (panda::Event& event) {
7794  std::vector<float> output;
7795  for (auto& i : event.ca15GenJets)
7796  output.push_back(i.p());
7797  return output;
7798  }
7799  };
7800 
7801  template <>
7802  struct plotter <715> {
7803  constexpr static const char* name = "ca15GenJets/eta";
7804  std::vector<float> operator () (panda::Event& event) {
7805  std::vector<float> output;
7806  for (auto& i : event.ca15GenJets)
7807  output.push_back(i.eta());
7808  return output;
7809  }
7810  };
7811 
7812  template <>
7813  struct plotter <716> {
7814  constexpr static const char* name = "ca15GenJets/m";
7815  std::vector<float> operator () (panda::Event& event) {
7816  std::vector<float> output;
7817  for (auto& i : event.ca15GenJets)
7818  output.push_back(i.m());
7819  return output;
7820  }
7821  };
7822 
7823  template <>
7824  struct plotter <717> {
7825  constexpr static const char* name = "ca15GenJets/pdgid";
7826  std::vector<float> operator () (panda::Event& event) {
7827  std::vector<float> output;
7828  for (auto& i : event.ca15GenJets)
7829  output.push_back(i.pdgid);
7830  return output;
7831  }
7832  };
7833 
7834  template <>
7835  struct plotter <718> {
7836  constexpr static const char* name = "ca15GenJets/phi";
7837  std::vector<float> operator () (panda::Event& event) {
7838  std::vector<float> output;
7839  for (auto& i : event.ca15GenJets)
7840  output.push_back(i.phi());
7841  return output;
7842  }
7843  };
7844 
7845  template <>
7846  struct plotter <719> {
7847  constexpr static const char* name = "ca15GenJets/pz";
7848  std::vector<float> operator () (panda::Event& event) {
7849  std::vector<float> output;
7850  for (auto& i : event.ca15GenJets)
7851  output.push_back(i.pz());
7852  return output;
7853  }
7854  };
7855 
7856  template <>
7857  struct plotter <720> {
7858  constexpr static const char* name = "ca15GenJets/py";
7859  std::vector<float> operator () (panda::Event& event) {
7860  std::vector<float> output;
7861  for (auto& i : event.ca15GenJets)
7862  output.push_back(i.py());
7863  return output;
7864  }
7865  };
7866 
7867  template <>
7868  struct plotter <721> {
7869  constexpr static const char* name = "ca15GenJets/numB";
7870  std::vector<float> operator () (panda::Event& event) {
7871  std::vector<float> output;
7872  for (auto& i : event.ca15GenJets)
7873  output.push_back(i.numB);
7874  return output;
7875  }
7876  };
7877 
7878  template <>
7879  struct plotter <722> {
7880  constexpr static const char* name = "ca15GenJets/numC";
7881  std::vector<float> operator () (panda::Event& event) {
7882  std::vector<float> output;
7883  for (auto& i : event.ca15GenJets)
7884  output.push_back(i.numC);
7885  return output;
7886  }
7887  };
7888 
7889  template <>
7890  struct plotter <723> {
7891  constexpr static const char* name = "ca15GenJets/px";
7892  std::vector<float> operator () (panda::Event& event) {
7893  std::vector<float> output;
7894  for (auto& i : event.ca15GenJets)
7895  output.push_back(i.px());
7896  return output;
7897  }
7898  };
7899 
7900  template <>
7901  struct plotter <724> {
7902  constexpr static const char* name = "ca15GenJets/e";
7903  std::vector<float> operator () (panda::Event& event) {
7904  std::vector<float> output;
7905  for (auto& i : event.ca15GenJets)
7906  output.push_back(i.e());
7907  return output;
7908  }
7909  };
7910 
7911  template <>
7912  struct plotter <725> {
7913  constexpr static const char* name = "genParticles/size";
7914  std::vector<float> operator () (panda::Event& event) {
7915  std::vector<float> output {float(event.genParticles.size())};
7916  return output;
7917  }
7918  };
7919 
7920  template <>
7921  struct plotter <726> {
7922  constexpr static const char* name = "genParticles/parent_isValid";
7923  std::vector<float> operator () (panda::Event& event) {
7924  std::vector<float> output;
7925  for (auto& i : event.genParticles)
7926  output.push_back(i.parent.isValid());
7927  return output;
7928  }
7929  };
7930 
7931  template <>
7932  struct plotter <727> {
7933  constexpr static const char* name = "genParticles/pt";
7934  std::vector<float> operator () (panda::Event& event) {
7935  std::vector<float> output;
7936  for (auto& i : event.genParticles)
7937  output.push_back(i.pt());
7938  return output;
7939  }
7940  };
7941 
7942  template <>
7943  struct plotter <728> {
7944  constexpr static const char* name = "genParticles/p";
7945  std::vector<float> operator () (panda::Event& event) {
7946  std::vector<float> output;
7947  for (auto& i : event.genParticles)
7948  output.push_back(i.p());
7949  return output;
7950  }
7951  };
7952 
7953  template <>
7954  struct plotter <729> {
7955  constexpr static const char* name = "genParticles/statusFlags";
7956  std::vector<float> operator () (panda::Event& event) {
7957  std::vector<float> output;
7958  for (auto& i : event.genParticles)
7959  output.push_back(i.statusFlags);
7960  return output;
7961  }
7962  };
7963 
7964  template <>
7965  struct plotter <730> {
7966  constexpr static const char* name = "genParticles/m";
7967  std::vector<float> operator () (panda::Event& event) {
7968  std::vector<float> output;
7969  for (auto& i : event.genParticles)
7970  output.push_back(i.m());
7971  return output;
7972  }
7973  };
7974 
7975  template <>
7976  struct plotter <731> {
7977  constexpr static const char* name = "genParticles/pdgid";
7978  std::vector<float> operator () (panda::Event& event) {
7979  std::vector<float> output;
7980  for (auto& i : event.genParticles)
7981  output.push_back(i.pdgid);
7982  return output;
7983  }
7984  };
7985 
7986  template <>
7987  struct plotter <732> {
7988  constexpr static const char* name = "genParticles/miniaodPacked";
7989  std::vector<float> operator () (panda::Event& event) {
7990  std::vector<float> output;
7991  for (auto& i : event.genParticles)
7992  output.push_back(i.miniaodPacked);
7993  return output;
7994  }
7995  };
7996 
7997  template <>
7998  struct plotter <733> {
7999  constexpr static const char* name = "genParticles/phi";
8000  std::vector<float> operator () (panda::Event& event) {
8001  std::vector<float> output;
8002  for (auto& i : event.genParticles)
8003  output.push_back(i.phi());
8004  return output;
8005  }
8006  };
8007 
8008  template <>
8009  struct plotter <734> {
8010  constexpr static const char* name = "genParticles/py";
8011  std::vector<float> operator () (panda::Event& event) {
8012  std::vector<float> output;
8013  for (auto& i : event.genParticles)
8014  output.push_back(i.py());
8015  return output;
8016  }
8017  };
8018 
8019  template <>
8020  struct plotter <735> {
8021  constexpr static const char* name = "genParticles/finalState";
8022  std::vector<float> operator () (panda::Event& event) {
8023  std::vector<float> output;
8024  for (auto& i : event.genParticles)
8025  output.push_back(i.finalState);
8026  return output;
8027  }
8028  };
8029 
8030  template <>
8031  struct plotter <736> {
8032  constexpr static const char* name = "genParticles/eta";
8033  std::vector<float> operator () (panda::Event& event) {
8034  std::vector<float> output;
8035  for (auto& i : event.genParticles)
8036  output.push_back(i.eta());
8037  return output;
8038  }
8039  };
8040 
8041  template <>
8042  struct plotter <737> {
8043  constexpr static const char* name = "genParticles/pz";
8044  std::vector<float> operator () (panda::Event& event) {
8045  std::vector<float> output;
8046  for (auto& i : event.genParticles)
8047  output.push_back(i.pz());
8048  return output;
8049  }
8050  };
8051 
8052  template <>
8053  struct plotter <738> {
8054  constexpr static const char* name = "genParticles/px";
8055  std::vector<float> operator () (panda::Event& event) {
8056  std::vector<float> output;
8057  for (auto& i : event.genParticles)
8058  output.push_back(i.px());
8059  return output;
8060  }
8061  };
8062 
8063  template <>
8064  struct plotter <739> {
8065  constexpr static const char* name = "genParticles/e";
8066  std::vector<float> operator () (panda::Event& event) {
8067  std::vector<float> output;
8068  for (auto& i : event.genParticles)
8069  output.push_back(i.e());
8070  return output;
8071  }
8072  };
8073 
8074  template <>
8075  struct plotter <740> {
8076  constexpr static const char* name = "protons/size";
8077  std::vector<float> operator () (panda::Event& event) {
8078  std::vector<float> output {float(event.protons.size())};
8079  return output;
8080  }
8081  };
8082 
8083  template <>
8084  struct plotter <741> {
8085  constexpr static const char* name = "protons/y";
8086  std::vector<float> operator () (panda::Event& event) {
8087  std::vector<float> output;
8088  for (auto& i : event.protons)
8089  output.push_back(i.y);
8090  return output;
8091  }
8092  };
8093 
8094  template <>
8095  struct plotter <742> {
8096  constexpr static const char* name = "protons/x";
8097  std::vector<float> operator () (panda::Event& event) {
8098  std::vector<float> output;
8099  for (auto& i : event.protons)
8100  output.push_back(i.x);
8101  return output;
8102  }
8103  };
8104 
8105  template <>
8106  struct plotter <743> {
8107  constexpr static const char* name = "protons/yUnc";
8108  std::vector<float> operator () (panda::Event& event) {
8109  std::vector<float> output;
8110  for (auto& i : event.protons)
8111  output.push_back(i.yUnc);
8112  return output;
8113  }
8114  };
8115 
8116  template <>
8117  struct plotter <744> {
8118  constexpr static const char* name = "protons/xUnc";
8119  std::vector<float> operator () (panda::Event& event) {
8120  std::vector<float> output;
8121  for (auto& i : event.protons)
8122  output.push_back(i.xUnc);
8123  return output;
8124  }
8125  };
8126 
8127  template <>
8128  struct plotter <745> {
8129  constexpr static const char* name = "protons/rpId";
8130  std::vector<float> operator () (panda::Event& event) {
8131  std::vector<float> output;
8132  for (auto& i : event.protons)
8133  output.push_back(i.rpId);
8134  return output;
8135  }
8136  };
8137 
8138  template <>
8139  struct plotter <746> {
8140  constexpr static const char* name = "pfMet/phi";
8141  std::vector<float> operator () (panda::Event& event) {
8142  std::vector<float> output {float(event.pfMet.phi)};
8143  return output;
8144  }
8145  };
8146 
8147  template <>
8148  struct plotter <747> {
8149  constexpr static const char* name = "pfMet/phiUnclUp";
8150  std::vector<float> operator () (panda::Event& event) {
8151  std::vector<float> output {float(event.pfMet.phiUnclUp)};
8152  return output;
8153  }
8154  };
8155 
8156  template <>
8157  struct plotter <748> {
8158  constexpr static const char* name = "pfMet/sumETRaw";
8159  std::vector<float> operator () (panda::Event& event) {
8160  std::vector<float> output {float(event.pfMet.sumETRaw)};
8161  return output;
8162  }
8163  };
8164 
8165  template <>
8166  struct plotter <749> {
8167  constexpr static const char* name = "pfMet/ptCorrUp";
8168  std::vector<float> operator () (panda::Event& event) {
8169  std::vector<float> output {float(event.pfMet.ptCorrUp)};
8170  return output;
8171  }
8172  };
8173 
8174  template <>
8175  struct plotter <750> {
8176  constexpr static const char* name = "pfMet/pt";
8177  std::vector<float> operator () (panda::Event& event) {
8178  std::vector<float> output {float(event.pfMet.pt)};
8179  return output;
8180  }
8181  };
8182 
8183  template <>
8184  struct plotter <751> {
8185  constexpr static const char* name = "pfMet/ptCorrDown";
8186  std::vector<float> operator () (panda::Event& event) {
8187  std::vector<float> output {float(event.pfMet.ptCorrDown)};
8188  return output;
8189  }
8190  };
8191 
8192  template <>
8193  struct plotter <752> {
8194  constexpr static const char* name = "pfMet/phiCorrUp";
8195  std::vector<float> operator () (panda::Event& event) {
8196  std::vector<float> output {float(event.pfMet.phiCorrUp)};
8197  return output;
8198  }
8199  };
8200 
8201  template <>
8202  struct plotter <753> {
8203  constexpr static const char* name = "pfMet/phiUnclDown";
8204  std::vector<float> operator () (panda::Event& event) {
8205  std::vector<float> output {float(event.pfMet.phiUnclDown)};
8206  return output;
8207  }
8208  };
8209 
8210  template <>
8211  struct plotter <754> {
8212  constexpr static const char* name = "pfMet/ptUnclDown";
8213  std::vector<float> operator () (panda::Event& event) {
8214  std::vector<float> output {float(event.pfMet.ptUnclDown)};
8215  return output;
8216  }
8217  };
8218 
8219  template <>
8220  struct plotter <755> {
8221  constexpr static const char* name = "pfMet/significance";
8222  std::vector<float> operator () (panda::Event& event) {
8223  std::vector<float> output {float(event.pfMet.significance)};
8224  return output;
8225  }
8226  };
8227 
8228  template <>
8229  struct plotter <756> {
8230  constexpr static const char* name = "pfMet/phiCorrDown";
8231  std::vector<float> operator () (panda::Event& event) {
8232  std::vector<float> output {float(event.pfMet.phiCorrDown)};
8233  return output;
8234  }
8235  };
8236 
8237  template <>
8238  struct plotter <757> {
8239  constexpr static const char* name = "pfMet/ptUnclUp";
8240  std::vector<float> operator () (panda::Event& event) {
8241  std::vector<float> output {float(event.pfMet.ptUnclUp)};
8242  return output;
8243  }
8244  };
8245 
8246  template <>
8247  struct plotter <758> {
8248  constexpr static const char* name = "puppiMet/phi";
8249  std::vector<float> operator () (panda::Event& event) {
8250  std::vector<float> output {float(event.puppiMet.phi)};
8251  return output;
8252  }
8253  };
8254 
8255  template <>
8256  struct plotter <759> {
8257  constexpr static const char* name = "puppiMet/phiUnclUp";
8258  std::vector<float> operator () (panda::Event& event) {
8259  std::vector<float> output {float(event.puppiMet.phiUnclUp)};
8260  return output;
8261  }
8262  };
8263 
8264  template <>
8265  struct plotter <760> {
8266  constexpr static const char* name = "puppiMet/sumETRaw";
8267  std::vector<float> operator () (panda::Event& event) {
8268  std::vector<float> output {float(event.puppiMet.sumETRaw)};
8269  return output;
8270  }
8271  };
8272 
8273  template <>
8274  struct plotter <761> {
8275  constexpr static const char* name = "puppiMet/ptCorrUp";
8276  std::vector<float> operator () (panda::Event& event) {
8277  std::vector<float> output {float(event.puppiMet.ptCorrUp)};
8278  return output;
8279  }
8280  };
8281 
8282  template <>
8283  struct plotter <762> {
8284  constexpr static const char* name = "puppiMet/pt";
8285  std::vector<float> operator () (panda::Event& event) {
8286  std::vector<float> output {float(event.puppiMet.pt)};
8287  return output;
8288  }
8289  };
8290 
8291  template <>
8292  struct plotter <763> {
8293  constexpr static const char* name = "puppiMet/ptCorrDown";
8294  std::vector<float> operator () (panda::Event& event) {
8295  std::vector<float> output {float(event.puppiMet.ptCorrDown)};
8296  return output;
8297  }
8298  };
8299 
8300  template <>
8301  struct plotter <764> {
8302  constexpr static const char* name = "puppiMet/phiCorrUp";
8303  std::vector<float> operator () (panda::Event& event) {
8304  std::vector<float> output {float(event.puppiMet.phiCorrUp)};
8305  return output;
8306  }
8307  };
8308 
8309  template <>
8310  struct plotter <765> {
8311  constexpr static const char* name = "puppiMet/phiUnclDown";
8312  std::vector<float> operator () (panda::Event& event) {
8313  std::vector<float> output {float(event.puppiMet.phiUnclDown)};
8314  return output;
8315  }
8316  };
8317 
8318  template <>
8319  struct plotter <766> {
8320  constexpr static const char* name = "puppiMet/ptUnclDown";
8321  std::vector<float> operator () (panda::Event& event) {
8322  std::vector<float> output {float(event.puppiMet.ptUnclDown)};
8323  return output;
8324  }
8325  };
8326 
8327  template <>
8328  struct plotter <767> {
8329  constexpr static const char* name = "puppiMet/significance";
8330  std::vector<float> operator () (panda::Event& event) {
8331  std::vector<float> output {float(event.puppiMet.significance)};
8332  return output;
8333  }
8334  };
8335 
8336  template <>
8337  struct plotter <768> {
8338  constexpr static const char* name = "puppiMet/phiCorrDown";
8339  std::vector<float> operator () (panda::Event& event) {
8340  std::vector<float> output {float(event.puppiMet.phiCorrDown)};
8341  return output;
8342  }
8343  };
8344 
8345  template <>
8346  struct plotter <769> {
8347  constexpr static const char* name = "puppiMet/ptUnclUp";
8348  std::vector<float> operator () (panda::Event& event) {
8349  std::vector<float> output {float(event.puppiMet.ptUnclUp)};
8350  return output;
8351  }
8352  };
8353 
8354  template <>
8355  struct plotter <770> {
8356  constexpr static const char* name = "rawMet/phi";
8357  std::vector<float> operator () (panda::Event& event) {
8358  std::vector<float> output {float(event.rawMet.phi)};
8359  return output;
8360  }
8361  };
8362 
8363  template <>
8364  struct plotter <771> {
8365  constexpr static const char* name = "rawMet/pt";
8366  std::vector<float> operator () (panda::Event& event) {
8367  std::vector<float> output {float(event.rawMet.pt)};
8368  return output;
8369  }
8370  };
8371 
8372  template <>
8373  struct plotter <772> {
8374  constexpr static const char* name = "caloMet/phi";
8375  std::vector<float> operator () (panda::Event& event) {
8376  std::vector<float> output {float(event.caloMet.phi)};
8377  return output;
8378  }
8379  };
8380 
8381  template <>
8382  struct plotter <773> {
8383  constexpr static const char* name = "caloMet/pt";
8384  std::vector<float> operator () (panda::Event& event) {
8385  std::vector<float> output {float(event.caloMet.pt)};
8386  return output;
8387  }
8388  };
8389 
8390  template <>
8391  struct plotter <774> {
8392  constexpr static const char* name = "noMuMet/phi";
8393  std::vector<float> operator () (panda::Event& event) {
8394  std::vector<float> output {float(event.noMuMet.phi)};
8395  return output;
8396  }
8397  };
8398 
8399  template <>
8400  struct plotter <775> {
8401  constexpr static const char* name = "noMuMet/pt";
8402  std::vector<float> operator () (panda::Event& event) {
8403  std::vector<float> output {float(event.noMuMet.pt)};
8404  return output;
8405  }
8406  };
8407 
8408  template <>
8409  struct plotter <776> {
8410  constexpr static const char* name = "noHFMet/phi";
8411  std::vector<float> operator () (panda::Event& event) {
8412  std::vector<float> output {float(event.noHFMet.phi)};
8413  return output;
8414  }
8415  };
8416 
8417  template <>
8418  struct plotter <777> {
8419  constexpr static const char* name = "noHFMet/pt";
8420  std::vector<float> operator () (panda::Event& event) {
8421  std::vector<float> output {float(event.noHFMet.pt)};
8422  return output;
8423  }
8424  };
8425 
8426  template <>
8427  struct plotter <778> {
8428  constexpr static const char* name = "trkMet/phi";
8429  std::vector<float> operator () (panda::Event& event) {
8430  std::vector<float> output {float(event.trkMet.phi)};
8431  return output;
8432  }
8433  };
8434 
8435  template <>
8436  struct plotter <779> {
8437  constexpr static const char* name = "trkMet/pt";
8438  std::vector<float> operator () (panda::Event& event) {
8439  std::vector<float> output {float(event.trkMet.pt)};
8440  return output;
8441  }
8442  };
8443 
8444  template <>
8445  struct plotter <780> {
8446  constexpr static const char* name = "neutralMet/phi";
8447  std::vector<float> operator () (panda::Event& event) {
8448  std::vector<float> output {float(event.neutralMet.phi)};
8449  return output;
8450  }
8451  };
8452 
8453  template <>
8454  struct plotter <781> {
8455  constexpr static const char* name = "neutralMet/pt";
8456  std::vector<float> operator () (panda::Event& event) {
8457  std::vector<float> output {float(event.neutralMet.pt)};
8458  return output;
8459  }
8460  };
8461 
8462  template <>
8463  struct plotter <782> {
8464  constexpr static const char* name = "photonMet/phi";
8465  std::vector<float> operator () (panda::Event& event) {
8466  std::vector<float> output {float(event.photonMet.phi)};
8467  return output;
8468  }
8469  };
8470 
8471  template <>
8472  struct plotter <783> {
8473  constexpr static const char* name = "photonMet/pt";
8474  std::vector<float> operator () (panda::Event& event) {
8475  std::vector<float> output {float(event.photonMet.pt)};
8476  return output;
8477  }
8478  };
8479 
8480  template <>
8481  struct plotter <784> {
8482  constexpr static const char* name = "hfMet/phi";
8483  std::vector<float> operator () (panda::Event& event) {
8484  std::vector<float> output {float(event.hfMet.phi)};
8485  return output;
8486  }
8487  };
8488 
8489  template <>
8490  struct plotter <785> {
8491  constexpr static const char* name = "hfMet/pt";
8492  std::vector<float> operator () (panda::Event& event) {
8493  std::vector<float> output {float(event.hfMet.pt)};
8494  return output;
8495  }
8496  };
8497 
8498  template <>
8499  struct plotter <786> {
8500  constexpr static const char* name = "genMet/phi";
8501  std::vector<float> operator () (panda::Event& event) {
8502  std::vector<float> output {float(event.genMet.phi)};
8503  return output;
8504  }
8505  };
8506 
8507  template <>
8508  struct plotter <787> {
8509  constexpr static const char* name = "genMet/pt";
8510  std::vector<float> operator () (panda::Event& event) {
8511  std::vector<float> output {float(event.genMet.pt)};
8512  return output;
8513  }
8514  };
8515 
8516  template <>
8517  struct plotter <788> {
8518  constexpr static const char* name = "metFilters/duplicateMuons";
8519  std::vector<float> operator () (panda::Event& event) {
8520  std::vector<float> output {float(event.metFilters.duplicateMuons)};
8521  return output;
8522  }
8523  };
8524 
8525  template <>
8526  struct plotter <789> {
8527  constexpr static const char* name = "metFilters/badMuons";
8528  std::vector<float> operator () (panda::Event& event) {
8529  std::vector<float> output {float(event.metFilters.badMuons)};
8530  return output;
8531  }
8532  };
8533 
8534  template <>
8535  struct plotter <790> {
8536  constexpr static const char* name = "metFilters/globalHalo16";
8537  std::vector<float> operator () (panda::Event& event) {
8538  std::vector<float> output {float(event.metFilters.globalHalo16)};
8539  return output;
8540  }
8541  };
8542 
8543  template <>
8544  struct plotter <791> {
8545  constexpr static const char* name = "metFilters/badsc";
8546  std::vector<float> operator () (panda::Event& event) {
8547  std::vector<float> output {float(event.metFilters.badsc)};
8548  return output;
8549  }
8550  };
8551 
8552  template <>
8553  struct plotter <792> {
8554  constexpr static const char* name = "metFilters/hbheIso";
8555  std::vector<float> operator () (panda::Event& event) {
8556  std::vector<float> output {float(event.metFilters.hbheIso)};
8557  return output;
8558  }
8559  };
8560 
8561  template <>
8562  struct plotter <793> {
8563  constexpr static const char* name = "metFilters/hbhe";
8564  std::vector<float> operator () (panda::Event& event) {
8565  std::vector<float> output {float(event.metFilters.hbhe)};
8566  return output;
8567  }
8568  };
8569 
8570  template <>
8571  struct plotter <794> {
8572  constexpr static const char* name = "metFilters/badPFMuons";
8573  std::vector<float> operator () (panda::Event& event) {
8574  std::vector<float> output {float(event.metFilters.badPFMuons)};
8575  return output;
8576  }
8577  };
8578 
8579  template <>
8580  struct plotter <795> {
8581  constexpr static const char* name = "metFilters/goodVertices";
8582  std::vector<float> operator () (panda::Event& event) {
8583  std::vector<float> output {float(event.metFilters.goodVertices)};
8584  return output;
8585  }
8586  };
8587 
8588  template <>
8589  struct plotter <796> {
8590  constexpr static const char* name = "metFilters/ecalDeadCell";
8591  std::vector<float> operator () (panda::Event& event) {
8592  std::vector<float> output {float(event.metFilters.ecalDeadCell)};
8593  return output;
8594  }
8595  };
8596 
8597  template <>
8598  struct plotter <797> {
8599  constexpr static const char* name = "metFilters/badChargedHadrons";
8600  std::vector<float> operator () (panda::Event& event) {
8601  std::vector<float> output {float(event.metFilters.badChargedHadrons)};
8602  return output;
8603  }
8604  };
8605 
8606  template <>
8607  struct plotter <798> {
8608  constexpr static const char* name = "metFilters/pass";
8609  std::vector<float> operator () (panda::Event& event) {
8610  std::vector<float> output {float(event.metFilters.pass())};
8611  return output;
8612  }
8613  };
8614 
8615  template <>
8616  struct plotter <799> {
8617  constexpr static const char* name = "metFilters/ecalBadCalib";
8618  std::vector<float> operator () (panda::Event& event) {
8619  std::vector<float> output {float(event.metFilters.ecalBadCalib)};
8620  return output;
8621  }
8622  };
8623 
8624  template <>
8625  struct plotter <800> {
8626  constexpr static const char* name = "recoil/max";
8627  std::vector<float> operator () (panda::Event& event) {
8628  std::vector<float> output {float(event.recoil.max)};
8629  return output;
8630  }
8631  };
8632 
8633  template <>
8634  struct plotter <801> {
8635  constexpr static const char* name = "recoil/monoE";
8636  std::vector<float> operator () (panda::Event& event) {
8637  std::vector<float> output {float(event.recoil.monoE)};
8638  return output;
8639  }
8640  };
8641 
8642  template <>
8643  struct plotter <802> {
8644  constexpr static const char* name = "recoil/diE";
8645  std::vector<float> operator () (panda::Event& event) {
8646  std::vector<float> output {float(event.recoil.diE)};
8647  return output;
8648  }
8649  };
8650 
8651  template <>
8652  struct plotter <803> {
8653  constexpr static const char* name = "recoil/monoMu";
8654  std::vector<float> operator () (panda::Event& event) {
8655  std::vector<float> output {float(event.recoil.monoMu)};
8656  return output;
8657  }
8658  };
8659 
8660  template <>
8661  struct plotter <804> {
8662  constexpr static const char* name = "recoil/met";
8663  std::vector<float> operator () (panda::Event& event) {
8664  std::vector<float> output {float(event.recoil.met)};
8665  return output;
8666  }
8667  };
8668 
8669  template <>
8670  struct plotter <805> {
8671  constexpr static const char* name = "recoil/diMu";
8672  std::vector<float> operator () (panda::Event& event) {
8673  std::vector<float> output {float(event.recoil.diMu)};
8674  return output;
8675  }
8676  };
8677 
8678  template <>
8679  struct plotter <806> {
8680  constexpr static const char* name = "recoil/any";
8681  std::vector<float> operator () (panda::Event& event) {
8682  std::vector<float> output {float(event.recoil.any())};
8683  return output;
8684  }
8685  };
8686 
8687  template <>
8688  struct plotter <807> {
8689  constexpr static const char* name = "recoil/gamma";
8690  std::vector<float> operator () (panda::Event& event) {
8691  std::vector<float> output {float(event.recoil.gamma)};
8692  return output;
8693  }
8694  };
8695 
8696 #define NUM_PLOTS 808
8697 
8698 };
8699 
8700 #endif
Definition: EnumerateBranches.h:10
Definition: EnumerateBranches.h:13
Definition: Event.h:28
MuonCollection muons
sortedby=pt
Definition: Event.h:48