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