forked from jpata/tthbb13
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0001-merged-HepTopTagger.patch
2758 lines (2665 loc) · 100 KB
/
0001-merged-HepTopTagger.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
From 13a21371fe6757e516d370e6a56d6512668075f0 Mon Sep 17 00:00:00 2001
From: Gregor Kasieczka <[email protected]>
Date: Wed, 17 Sep 2014 16:20:58 +0200
Subject: [PATCH] Changed HTTWrapper to work with newer tagger version
Added new devel version of HTT. Corresponds to aca15e
Added first version of HTTJetTagInfo to DataFormats
Added HTTTopJetProperties to classes_4.h
Removed accidentally created HTTJetTagInfo.h
Add a few more HTT versions of producers/helpers
Add HTTTopJetProducer (copy of CATopJetProducer)
More HTT interfacing
seems to work now..
Started cleaning up a bit
a bit more tidy up
Started filling all the properties, removed useless Helper
full chain for pruned mass
Added top mass
Added unfiltered mass
Added fW (not yet implemented in HTT itself)
Added mass_ratio_passed
Added more config options to HTT, removed HTT from CATopJetTagger
Moved HTTProducer from untracked to tracked config parameters
Cleaned up comments in Wrapper a bit
Updated HTT to 4779fe4601060cfb5825836bfafea0e37c507983
Small changes to wrapper
HTT now has working sj pT cut. a92f9f67973387cc4b2497b101873d793e67a79a
Updated mode handling: e1f51f128be23b1aaa1d714df0d766fd1897191c
Added fW (849a93b565d310fd8403c24c683ef693e74ac8b8)
Changed default value for massRatioWidth in HTTTopJetProducer.cc
Removed writeCompound debug statement in FastjetJetProducer.cc
Set default verbosity in CATopJetParameters_cfi.py back to false
Started adding MultiR HTT
working on MultiR wrappers
Working MultiR version based on 37e0db4ced95efcf8723ba862a4f1d6df3e8afb2
Added chaning of Rmin and Rmax for MultiR tagger
Made filtR and filtN fully steerable
Switched to pt-sorting between different MultiR cands (59fa31e48f0b479f6a563597ca445a29c8db6a74)
Update with few small changes to HTT interface. Now at e21bcdc45c55050d1bfdabe4ca8d664062887f6f
First preps for Rmin exptected from 56ca98d274b068876b0a7d9f7224789dbc95a65b
Added another var to HTTTopJetTagInfo.h
Adding ptFiltForRminExp
Added comment
Added information on initial fatjet to HTTTopJetTagInfo
Playing with VJP to get a clean merge with the jet toolbox
Updated HTT to 84fb7d6fc7aab5896cd4efe9ae82bd4df477c29f
Added R_min_expected
---
DataFormats/JetReco/interface/HTTTopJetTagInfo.h | 83 ++++
DataFormats/JetReco/src/classes_4.h | 15 +-
DataFormats/JetReco/src/classes_def_4.xml | 17 +
RecoJets/JetAlgorithms/interface/HEPTopTagger.h | 527 ++++++---------------
.../JetAlgorithms/interface/HEPTopTaggerWrapper.h | 214 ++++++---
.../JetAlgorithms/interface/MultiRHEPTopTagger.h | 105 ++++
.../interface/MultiRHEPTopTaggerWrapper.h | 241 ++++++++++
RecoJets/JetAlgorithms/src/HEPTopTagger.cc | 350 ++++++++++++++
RecoJets/JetAlgorithms/src/HEPTopTaggerWrapper.cc | 78 +--
RecoJets/JetAlgorithms/src/MultiRHEPTopTagger.cc | 146 ++++++
.../JetAlgorithms/src/MultiRHEPTopTaggerWrapper.cc | 141 ++++++
RecoJets/JetProducers/plugins/CATopJetProducer.cc | 12 +-
RecoJets/JetProducers/plugins/CATopJetProducer.h | 2 -
RecoJets/JetProducers/plugins/HTTTopJetProducer.cc | 263 ++++++++++
RecoJets/JetProducers/plugins/HTTTopJetProducer.h | 140 ++++++
.../JetProducers/plugins/VirtualJetProducer.cc | 13 +-
RecoJets/JetProducers/plugins/VirtualJetProducer.h | 11 +-
17 files changed, 1850 insertions(+), 508 deletions(-)
create mode 100644 DataFormats/JetReco/interface/HTTTopJetTagInfo.h
create mode 100644 RecoJets/JetAlgorithms/interface/MultiRHEPTopTagger.h
create mode 100644 RecoJets/JetAlgorithms/interface/MultiRHEPTopTaggerWrapper.h
create mode 100644 RecoJets/JetAlgorithms/src/HEPTopTagger.cc
create mode 100644 RecoJets/JetAlgorithms/src/MultiRHEPTopTagger.cc
create mode 100644 RecoJets/JetAlgorithms/src/MultiRHEPTopTaggerWrapper.cc
create mode 100644 RecoJets/JetProducers/plugins/HTTTopJetProducer.cc
create mode 100644 RecoJets/JetProducers/plugins/HTTTopJetProducer.h
diff --git a/DataFormats/JetReco/interface/HTTTopJetTagInfo.h b/DataFormats/JetReco/interface/HTTTopJetTagInfo.h
new file mode 100644
index 0000000..b9d4339
--- /dev/null
+++ b/DataFormats/JetReco/interface/HTTTopJetTagInfo.h
@@ -0,0 +1,83 @@
+#ifndef AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h
+#define AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h
+
+
+// \class HTTTopJetTagInfo
+//
+// \short specific tag info for HEPTopTagger tagging algorithm
+// HTTTopJetTagInfo is a class to hold the discriminator variables for the
+// HEPTopTagger algorithm.
+//
+//
+// \author Gregor Kasieczka (based on CATopJetTagInfo by Salvatore Rappoccio)
+// \version first version on 25 Sep 2014
+
+#include "DataFormats/BTauReco/interface/RefMacros.h"
+#include "DataFormats/BTauReco/interface/JetTagInfo.h"
+#include "DataFormats/BTauReco/interface/TaggingVariable.h"
+#include <vector>
+
+namespace reco {
+
+class HTTTopJetProperties {
+public:
+ HTTTopJetProperties() {
+ fjPt = 0.;
+ fjMass = 0.;
+ fjEta = 0.;
+ fjPhi = 0.;
+ topMass = 0.;
+ unfilteredMass = 0.;
+ prunedMass = 0.;
+ fW = 0.;
+ massRatioPassed = 0.;
+ isMultiR = 0;
+ Rmin = 0.;
+ RminExpected = 0.;
+ ptFiltForRminExp = 0.;
+ }
+ double fjPt; //<! Mass of the inital Fatjet passed to the TT
+ double fjMass; //<! Mass of the inital Fatjet passed to the TT
+ double fjEta; //<! Mass of the inital Fatjet passed to the TT
+ double fjPhi; //<! Mass of the inital Fatjet passed to the TT
+ double topMass; //<! Mass of the HTT top quark candidate [GeV] (at R=Rmin for MultiR)
+ double unfilteredMass; //<! Unfiltered mass of the triplet [GeV] (at R=Rmin for MultiR)
+ double prunedMass; //<! Mass of the pruned fat jet [GeV] (at R=Rmin for MultiR)
+ double fW; //<! Minimum distance of m_ij/m_123 from m_W/m_top (at R=Rmin for MultiR)
+ double massRatioPassed; //<! Did the candidate pass the default mass ratio? Can be used instead of fW (at R=Rmin for MultiR)
+ bool isMultiR; //<! Tagger operated in MultiR mode
+ double Rmin; //<! R_min found in MultiR procedure. Set to -1 for non-MultiR mode.
+ double RminExpected; //<! R_min expected for a top quark based on filtered fat-jet pT. Set to -1 for non-MultiR mode.
+ double ptFiltForRminExp; //<! Filtered initial fatjet pT for re-doing Rmin(expected) fit Set to -1 for non-MultiR mode.
+};
+
+ class HTTTopJetTagInfo : public JetTagInfo {
+public:
+ typedef edm::RefToBase<Jet> jet_type;
+ typedef HTTTopJetProperties properties_type;
+
+ HTTTopJetTagInfo(void) {}
+
+ virtual ~HTTTopJetTagInfo(void) {}
+
+ virtual HTTTopJetTagInfo* clone(void) const { return new HTTTopJetTagInfo(*this); }
+
+ const properties_type & properties() const {
+ return properties_;
+ }
+
+ void insert(const edm::RefToBase<Jet> & jet, const HTTTopJetProperties & properties) {
+ setJetRef(jet);
+ properties_ = properties;
+ }
+
+protected:
+ properties_type properties_;
+
+};
+
+DECLARE_EDM_REFS( HTTTopJetTagInfo )
+
+}
+
+#endif // AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h
diff --git a/DataFormats/JetReco/src/classes_4.h b/DataFormats/JetReco/src/classes_4.h
index 1de6d02..9567f13 100644
--- a/DataFormats/JetReco/src/classes_4.h
+++ b/DataFormats/JetReco/src/classes_4.h
@@ -37,6 +37,7 @@
#include "DataFormats/Common/interface/Ptr.h"
#include "DataFormats/JetReco/interface/CATopJetTagInfo.h"
+#include "DataFormats/JetReco/interface/HTTTopJetTagInfo.h"
namespace DataFormats_JetReco {
struct dictionary4 {
@@ -178,7 +179,6 @@ namespace DataFormats_JetReco {
edm::Wrapper<edm::Association<reco::FFTCaloJetCollection> > w_a_gj_fft_2;
-
reco::CATopJetProperties catopjetp;
std::pair<edm::RefToBase<reco::Jet>, reco::CATopJetProperties> catopjetp_p;
@@ -191,6 +191,19 @@ namespace DataFormats_JetReco {
edm::reftobase::Holder<reco::BaseTagInfo, reco::CATopJetTagInfoRef> rb_catopjet;
edm::reftobase::RefHolder<reco::CATopJetTagInfoRef> rbh_catopjet;
+
+ reco::HTTTopJetProperties htttopjetp;
+ std::pair<edm::RefToBase<reco::Jet>, reco::HTTTopJetProperties> htttopjetp_p;
+
+ reco::HTTTopJetTagInfo htttopjet;
+ reco::HTTTopJetTagInfoCollection htttopjet_c;
+ reco::HTTTopJetTagInfoRef htttopjet_r;
+ reco::HTTTopJetTagInfoRefProd htttopjet_rp;
+ reco::HTTTopJetTagInfoRefVector htttopjet_rv;
+ edm::Wrapper<reco::HTTTopJetTagInfoCollection> htttopjet_wc;
+ edm::reftobase::Holder<reco::BaseTagInfo, reco::HTTTopJetTagInfoRef> rb_htttopjet;
+ edm::reftobase::RefHolder<reco::HTTTopJetTagInfoRef> rbh_htttopjet;
+
};
}
#endif
diff --git a/DataFormats/JetReco/src/classes_def_4.xml b/DataFormats/JetReco/src/classes_def_4.xml
index dc60276..728dcfc 100644
--- a/DataFormats/JetReco/src/classes_def_4.xml
+++ b/DataFormats/JetReco/src/classes_def_4.xml
@@ -155,4 +155,21 @@
<class name="edm::reftobase::Holder<reco::BaseTagInfo, reco::CATopJetTagInfoRef>" />
<class name="edm::reftobase::RefHolder<reco::CATopJetTagInfoRef>" />
+
+ <class name="reco::HTTTopJetProperties" ClassVersion="13">
+ <version ClassVersion="13" checksum="3882815648"/>
+ </class>
+ <class name="std::pair<edm::RefToBase<reco::Jet>, reco::HTTTopJetProperties>"/>
+
+ <class name="reco::HTTTopJetTagInfo" ClassVersion="10">
+ <version ClassVersion="10" checksum="1184606281"/>
+ </class>
+ <class name="reco::HTTTopJetTagInfoCollection"/>
+ <class name="reco::HTTTopJetTagInfoRef"/>
+ <class name="reco::HTTTopJetTagInfoRefProd"/>
+ <class name="reco::HTTTopJetTagInfoRefVector"/>
+ <class name="edm::Wrapper<reco::HTTTopJetTagInfoCollection>"/>
+ <class name="edm::reftobase::Holder<reco::BaseTagInfo, reco::HTTTopJetTagInfoRef>" />
+ <class name="edm::reftobase::RefHolder<reco::HTTTopJetTagInfoRef>" />
+
</lcgdict>
diff --git a/RecoJets/JetAlgorithms/interface/HEPTopTagger.h b/RecoJets/JetAlgorithms/interface/HEPTopTagger.h
index f84e14f..00a9ec6 100644
--- a/RecoJets/JetAlgorithms/interface/HEPTopTagger.h
+++ b/RecoJets/JetAlgorithms/interface/HEPTopTagger.h
@@ -1,385 +1,142 @@
-#ifndef __HEPTOPTAGGER_HH__
-#define __HEPTOPTAGGER_HH__
-
-class HEPTopTagger {
-public:
-
- typedef fastjet::ClusterSequence ClusterSequence;
- typedef fastjet::JetAlgorithm JetAlgorithm;
- typedef fastjet::JetDefinition JetDefinition;
- typedef fastjet::PseudoJet PseudoJet;
-
- HEPTopTagger(const fastjet::ClusterSequence & cs,
- const fastjet::PseudoJet & jet);
-
- HEPTopTagger(const fastjet::ClusterSequence & cs,
- const fastjet::PseudoJet & jet,
- double mtmass, double mwmass);
-
- void run_tagger();
- bool is_maybe_top() const {return _is_maybe_top;}
- bool is_masscut_passed() const {return _is_masscut_passed;}
- const PseudoJet & top_candidate() const {return _top_candidate;}
- const std::vector<PseudoJet> & top_subjets() const {return _top_subjets;}
- const std::vector<PseudoJet> & top_hadrons() const {return _top_hadrons;}
- unsigned top_count() const {return _top_count;}
- const std::vector<PseudoJet> & hardparts() const {return _top_parts;}
- unsigned parts_size() const {return _parts_size;}
- double delta_top() const {return _delta_top;}
- const std::vector<std::vector<PseudoJet> > & candjets() const {return _candjets;}
- void get_setting() const;
- void get_info() const;
- // for setting parameters
- void set_max_subjet_mass(double x) {_max_subjet_mass=x;}
- void set_mass_drop_threshold(double x) {_mass_drop_threshold=x;}
- void set_top_range(double xmin, double xmax) {_mtmin=xmin; _mtmax=xmax;}
- void set_mass_ratio_range(double rmin, double rmax) {_rmin=rmin; _rmax=rmax;}
- void set_mass_ratio_cut(double m23cut, double m13cutmin,double m13cutmax){_m23cut=m23cut; _m13cutmin=m13cutmin; _m13cutmax=m13cutmax;}
- void set_nfilt(unsigned nfilt) {_nfilt=nfilt;}
- void set_filtering_jetalgorithm(JetAlgorithm jet_algorithm) {_jet_algorithm=jet_algorithm;}
- void set_reclustering_jetalgorithm(JetAlgorithm jet_algorithm) {_jet_algorithm_recluster=jet_algorithm;}
- //
- double cos_theta_h() const;
- double dr_bjj() const;
- std::vector<double> dr_values() const;
-
-private:
- const ClusterSequence * _cs;
- const PseudoJet _jet;
- const double _mtmass, _mwmass;
- double _mass_drop_threshold;
- double _max_subjet_mass; // stop when subjet mass < 30 GeV
- double _mtmin, _mtmax;
- double _rmin, _rmax;
- double _m23cut, _m13cutmin, _m13cutmax;
- size_t _nfilt;
- // filtering algorithm
- JetAlgorithm _jet_algorithm;
- JetAlgorithm _jet_algorithm_recluster;
-
- bool _is_masscut_passed;
- bool _is_maybe_top;
- double _delta_top;
- unsigned _top_count;
- unsigned _parts_size;
- PseudoJet _top_candidate;
- std::vector<PseudoJet> _top_subjets;
- std::vector<PseudoJet> _top_hadrons;
- std::vector<PseudoJet> _top_parts;
- std::vector<std::vector<PseudoJet> > _candjets;
-
- void FindHardSubst(const PseudoJet& jet, std::vector<fastjet::PseudoJet>& t_parts);
- std::vector<PseudoJet> Filtering(const std::vector <PseudoJet> & top_constits, const JetDefinition & filtering_def);
- void store_topsubjets(const std::vector<PseudoJet>& top_subs);
- bool check_mass_criteria(const std::vector<fastjet::PseudoJet> & top_subs) const;
- double check_cos_theta(const PseudoJet & jet, const PseudoJet & subj1,const PseudoJet & subj2) const;
- PseudoJet Sum(const std::vector<PseudoJet>& );
- double r_max_3jets(const fastjet::PseudoJet & jet1,const fastjet::PseudoJet & jet2,
- const fastjet::PseudoJet & jet3) const;
-
- bool debugg;
-
-};
-//--------------------------------------------------------------------
-double HEPTopTagger::cos_theta_h() const {
- return check_cos_theta(_top_candidate,_top_subjets[1],_top_subjets[2]);// m23 is closest to mW
-}
-
-double HEPTopTagger::dr_bjj() const{
- if(_top_subjets.size()!=3){return -1;}
- return r_max_3jets(_top_subjets[0],_top_subjets[1],_top_subjets[2]);
-}
-
-std::vector<double> HEPTopTagger::dr_values() const{
- std::vector<double> dr_values;
- dr_values.push_back(sqrt(_top_subjets[1].squared_distance(_top_subjets[2])));
- dr_values.push_back(sqrt(_top_subjets[0].squared_distance(_top_subjets[2])));
- dr_values.push_back(sqrt(_top_subjets[0].squared_distance(_top_subjets[1])));
- return dr_values;
-}
-
-
-double HEPTopTagger::r_max_3jets(const fastjet::PseudoJet & jet1,const fastjet::PseudoJet & jet2,const fastjet::PseudoJet & jet3) const{
- fastjet::PseudoJet jet12,jet13,jet23;
- jet12=jet1+jet2;
- jet13=jet1+jet3;
- jet23=jet2+jet3;
-
- double a=sqrt(jet1.squared_distance(jet2));
- double b=sqrt(jet2.squared_distance(jet3));
- double c=sqrt(jet3.squared_distance(jet1));
- double dR1=a,dR2=a;
-
- if(a<=b && a<=c){
- dR1=a;
- dR2=sqrt(jet12.squared_distance(jet3));
- };
- if(b<a && b<=c){
- dR1=b;
- dR2=sqrt(jet23.squared_distance(jet1));
- };
- if(c<a && c<b){
- dR1=c;
- dR2=sqrt(jet13.squared_distance(jet2));
- };
- return max(dR1,dR2);
-}
-
-double HEPTopTagger::check_cos_theta(const PseudoJet & jet,const PseudoJet & subj1,const PseudoJet & subj2) const
-{
- // the two jets of interest: top and lower-pt prong of W
- PseudoJet W2;
- PseudoJet top = jet;
-
- if(subj1.perp2() < subj2.perp2())
- {
- W2 = subj1;
- }
- else
- {
- W2 = subj2;
- }
-
- // transform these jets into jets in the rest frame of the W
- W2.unboost(subj1+subj2);
- top.unboost(subj1+subj2);
-
- double csthet = (W2.px()*top.px() + W2.py()*top.py() + W2.pz()*top.pz())/sqrt(W2.modp2() * top.modp2());
- return(csthet);
-}
-
-void HEPTopTagger::FindHardSubst(const PseudoJet & this_jet, std::vector<fastjet::PseudoJet> & t_parts)
-{
- PseudoJet parent1(0,0,0,0), parent2(0,0,0,0);
- if (this_jet.m() < _max_subjet_mass || !_cs->has_parents(this_jet, parent1, parent2))
- {
- t_parts.push_back(this_jet);
- }
- else
- {
- if (parent1.m() < parent2.m()) swap(parent1, parent2);
-
- FindHardSubst(parent1,t_parts);
-
- if (parent1.m() < _mass_drop_threshold * this_jet.m())
- {
- FindHardSubst(parent2,t_parts);
- }
- }
-}
-
-void HEPTopTagger::store_topsubjets(const std::vector<PseudoJet>& top_subs){
- _top_subjets.resize(0);
- double m12=(top_subs[0]+top_subs[1]).m();
- double m13=(top_subs[0]+top_subs[2]).m();
- double m23=(top_subs[1]+top_subs[2]).m();
- //double m123=(top_subs[0]+top_subs[1]+top_subs[2]).m();
- double dm12=abs(m12-_mwmass);
- double dm13=abs(m13-_mwmass);
- double dm23=abs(m23-_mwmass);
- //double dm_min=min(dm12,min(dm13,dm23));
- if(dm23<=dm12 && dm23<=dm13){
- _top_subjets.push_back(top_subs[0]); //supposed to be b
- _top_subjets.push_back(top_subs[1]); //W-jet 1
- _top_subjets.push_back(top_subs[2]); //W-jet 2
- }
- else if(dm13<=dm12 && dm13<dm23){
- _top_subjets.push_back(top_subs[1]); //supposed to be b
- _top_subjets.push_back(top_subs[0]); //W-jet 1
- _top_subjets.push_back(top_subs[2]); //W-jet 2
- }
- else if(dm12<dm23 && dm12<dm13){
- _top_subjets.push_back(top_subs[2]); //supposed to be b
- _top_subjets.push_back(top_subs[0]); //W-jet 1
- _top_subjets.push_back(top_subs[1]); //W-jet 2
- }
- return;
-}
-
-bool HEPTopTagger::check_mass_criteria(const std::vector<PseudoJet> & top_subs) const{
- bool is_passed=false;
- double m12=(top_subs[0]+top_subs[1]).m();
- double m13=(top_subs[0]+top_subs[2]).m();
- double m23=(top_subs[1]+top_subs[2]).m();
- double m123=(top_subs[0]+top_subs[1]+top_subs[2]).m();
- if(
- (atan(m13/m12)>_m13cutmin && _m13cutmax > atan(m13/m12)
- && (m23/m123>_rmin && _rmax>m23/m123))
- ||
- (((m23/m123)*(m23/m123) < 1-_rmin*_rmin*(1+(m13/m12)*(m13/m12))) &&
- ((m23/m123)*(m23/m123) > 1-_rmax*_rmax*(1+(m13/m12)*(m13/m12))) &&
- (m23/m123 > _m23cut))
- ||
- (((m23/m123)*(m23/m123) < 1-_rmin*_rmin*(1+(m12/m13)*(m12/m13))) &&
- ((m23/m123)*(m23/m123) > 1-_rmax*_rmax*(1+(m12/m13)*(m12/m13))) &&
- (m23/m123 > _m23cut))
- ){
- is_passed=true;
- }
- return is_passed;
-}
-
-////////// Top-TAGGER: /////////////////////////////////////////////////////////////////
-HEPTopTagger::HEPTopTagger(const fastjet::ClusterSequence & cs,
- const fastjet::PseudoJet & jet) :
- _cs(&cs), _jet(jet), _mtmass(172.3), _mwmass(80.4),
- _mass_drop_threshold(0.8), _max_subjet_mass(30.),
- _mtmin(172.3 - 25.),_mtmax(172.3 + 25.), _rmin(0.85*80.4/172.3),_rmax(1.15*80.4/172.3),
- _m23cut(0.35),_m13cutmin(0.2),_m13cutmax(1.3),
- _nfilt(5),_jet_algorithm(fastjet::cambridge_algorithm),_jet_algorithm_recluster(fastjet::cambridge_algorithm),
- debugg(false)
-{}
-
-HEPTopTagger::HEPTopTagger(const fastjet::ClusterSequence & cs,
- const fastjet::PseudoJet & jet,
- double mtmass,double mwmass
- ) :
- _cs(&cs), _jet(jet), _mtmass(mtmass), _mwmass(mwmass),
- _mass_drop_threshold(0.8), _max_subjet_mass(30.),
- _mtmin(mtmass - 25.),_mtmax(mtmass + 25.), _rmin(0.85*mwmass/mtmass),_rmax(1.15*mwmass/mtmass),
- _m23cut(0.35),_m13cutmin(0.2),_m13cutmax(1.3),
- _nfilt(5),_jet_algorithm(fastjet::cambridge_algorithm),_jet_algorithm_recluster(fastjet::cambridge_algorithm),
- debugg(false)
-{}
-
-
-void HEPTopTagger::run_tagger()
-{
- _delta_top=1000000000000.0;
- _top_candidate.reset(0.,0.,0.,0.);
- _top_count=0;
- _parts_size=0;
- _is_maybe_top=_is_masscut_passed=false;
- _top_subjets.clear();
- _top_hadrons.clear();
- _top_parts.clear();
-
- if(debugg)
- {
- cout << "mtmass in top_tagger: " << _mtmass << endl;
- cout << "mwmass in top_tagger: " << _mwmass << endl;
- cout << "jet input HEPTopTagger: " << endl;
- //printjet(_jet);
- }
-
-
- // input this_jet, output _top_parts
- FindHardSubst(_jet, _top_parts);
-
- // store hard substructure of the top candidate
- _parts_size=_top_parts.size();
-
- // these events are not interesting
- if(_top_parts.size() < 3){return;}
-
- for(unsigned rr=0; rr<_top_parts.size(); rr++){
- for(unsigned ll=rr+1; ll<_top_parts.size(); ll++){
- for(unsigned kk=ll+1; kk<_top_parts.size(); kk++){
- // define top_constituents candidate before filtering
- std::vector <PseudoJet> top_constits = _cs->constituents(_top_parts[rr]);
- _cs->add_constituents(_top_parts[ll],top_constits);
- _cs->add_constituents(_top_parts[kk],top_constits);
-
- // define Filtering: filt_top_R and jetdefinition
- double filt_top_R
- = min(0.3,0.5*sqrt(min(_top_parts[kk].squared_distance(_top_parts[ll]),
- min(_top_parts[rr].squared_distance(_top_parts[ll]),
- _top_parts[kk].squared_distance(_top_parts[rr])))));
- JetDefinition filtering_def(_jet_algorithm, filt_top_R);
- std::vector<PseudoJet> top_constits_filtered = Filtering(top_constits,filtering_def);
- PseudoJet topcandidate = Sum(top_constits_filtered);
- if( topcandidate.m() < _mtmin || _mtmax < topcandidate.m() ) continue;
- _top_count++;
- // obtain 3 subjets
- JetDefinition reclustering(_jet_algorithm_recluster, 3.14/2);
-
- //// **** NEXT 3 LINES EDITED CKV 12/2/12 **** (edit suggested by G. P. Salam)
- ClusterSequence * cssubtop = new ClusterSequence(top_constits_filtered,reclustering);
- std::vector <PseudoJet> top_subs = sorted_by_pt(cssubtop->exclusive_jets(3));
- cssubtop->delete_self_when_unused();
- //// **** END EDIT ***************************
-
- _candjets.push_back(top_subs); //
-
- // transfer infos of the positively identified top to the outer world
- double deltatop = abs(topcandidate.m() - _mtmass);
- if(deltatop < _delta_top){
- _delta_top = deltatop;
- _is_maybe_top = true;
- _top_candidate = topcandidate;
- store_topsubjets(top_subs);
- _top_hadrons=top_constits_filtered;
- /////////////////////// check mass plane cut////////////////////////
- _is_masscut_passed=check_mass_criteria(top_subs);
- }// end deltatop < _delta_top
- }// end kk
- }// end ll
- }// end rr
- return;
-}
-
-
-std::vector<fastjet::PseudoJet> HEPTopTagger::Filtering(const std::vector <PseudoJet> & top_constits, const JetDefinition & filtering_def)
-{
- // perform filtering
- fastjet::ClusterSequence cstopfilt( top_constits, filtering_def);
-
- // extract top subjets
- std::vector<PseudoJet> filt_top_subjets = sorted_by_pt(cstopfilt.inclusive_jets());
-
- // take first n_topfilt subjets
- std::vector<PseudoJet> top_constits_filtered;
- for(unsigned ii = 0; ii<min(_nfilt, filt_top_subjets.size()) ; ii++)
- {
- cstopfilt.add_constituents(filt_top_subjets[ii],top_constits_filtered);
- }
- return top_constits_filtered;
-}
-
-
-fastjet::PseudoJet HEPTopTagger::Sum(const std::vector<PseudoJet> & vec_pjet)
-{
- PseudoJet sum;
- sum.reset(0.,0.,0.,0.);
- for(unsigned i=0;i<vec_pjet.size();i++){
- sum += vec_pjet.at(i);
- }
- return sum;
-}
-
-void HEPTopTagger::get_info() const
-{
- cout << "maybe_top: " << _is_maybe_top << endl;
- cout << "mascut_passed: " << _is_masscut_passed << endl;
- cout << "top candidate mass:" << _top_candidate.m() << endl;
- cout << "top candidate (pt, eta, phi): ("
- << _top_candidate.perp() << ","
- << _top_candidate.eta() << ","
- << _top_candidate.phi_std() << ")" << endl;
- cout << "hadrons size: " << _top_hadrons.size() << endl;
- cout << "topcount: " << _top_count << endl;
- cout << "parts size: " << _parts_size << endl;
- cout << "delta_top: " << _delta_top << endl;
- return;
-}
-
-
-void HEPTopTagger::get_setting() const
-{
- cout << "top mass: " << _mtmass << endl;
- cout << "W mass: " << _mwmass << endl;
- cout << "top mass range: [" << _mtmin << ", " << _mtmax << "]" << endl;
- cout << "W mass ratio range: [" << _rmin << ", " << _rmax << "] (["
- <<_rmin*_mtmass/_mwmass<< "%, "<< _rmax*_mtmass/_mwmass << "%])"<< endl;
- cout << "mass ratio cut: (m23cut, m13min, m13max)=("
- << _m23cut << ", " << _m13cutmin << ", " << _m13cutmax << ")" << endl;
- cout << "mass_drop_threshold: " << _mass_drop_threshold << endl;
- cout << "max_subjet_mass: " << _max_subjet_mass << endl;
- cout << "n_filtering: " << _nfilt << endl;
- cout << "JetAlgorithm for filtering: "<< _jet_algorithm << endl;
- cout << "JetAlgorithm for reclustering: "<< _jet_algorithm_recluster << endl;
- return;
-}
-
-
-#endif // __HEPTOPTAGGER_HH__
+//HEPTopTagger:
+// Modes:
+// 0 = EARLY_MASSRATIO_SORT_MASS (apply massratio, then sort by distance to true top mass)
+// 1 = LATE_MASSRATIO_SORT_MASS (sort by distance to true top mass, then apply mass-ratio. Old HTT)
+// 2 = EARLY_MASSRATIO_SORT_MODDJADE (apply massratio, then sort by modified d-jade)
+// 3 = LATE_MASSRATIO_SORT_MODDJADE (sort by modified d-jade, then apply mass-ratio)
+// 4 = TWO_STEP_FILTER (take three highest pT objects after unclustering and apply mass ratio)
+
+
+#ifndef __HEPTOPTAGGER_HH__
+#define __HEPTOPTAGGER_HH__
+
+#include <math.h>
+#include "fastjet/PseudoJet.hh"
+#include "fastjet/ClusterSequence.hh"
+#include "fastjet/tools/Pruner.hh"
+#include "fastjet/tools/Filter.hh"
+
+// Allow putting evertything into a separate namepsace
+// Do not change next line, it's needed by the sed-code that makes the tagger CMSSW-compatible.
+namespace external {
+
+
+class HEPTopTagger {
+
+public:
+
+ enum Mode {EARLY_MASSRATIO_SORT_MASS,
+ LATE_MASSRATIO_SORT_MASS,
+ EARLY_MASSRATIO_SORT_MODDJADE,
+ LATE_MASSRATIO_SORT_MODDJADE,
+ TWO_STEP_FILTER};
+
+ typedef fastjet::ClusterSequence ClusterSequence;
+ typedef fastjet::JetAlgorithm JetAlgorithm;
+ typedef fastjet::JetDefinition JetDefinition;
+ typedef fastjet::PseudoJet PseudoJet;
+
+ HEPTopTagger();
+
+ HEPTopTagger(fastjet::PseudoJet jet);
+
+ HEPTopTagger(fastjet::PseudoJet jet,
+ double mtmass, double mwmass);
+
+ //run tagger
+ void run_tagger();
+
+ //get information
+ bool is_maybe_top() const {return _is_maybe_top;}
+ bool is_masscut_passed() const {return _is_masscut_passed;}
+ bool is_minptcut_passed() const {return _is_ptmincut_passed;}
+ bool is_tagged() const {return (_is_masscut_passed && _is_ptmincut_passed);}
+ const PseudoJet & top_candidate() const {return _top_candidate;}
+ const std::vector<PseudoJet> & top_subjets() const {return _top_subjets;}
+ const std::vector<PseudoJet> & top_hadrons() const {return _top_hadrons;}
+ const std::vector<PseudoJet> & hardparts() const {return _top_parts;}
+ unsigned parts_size() const {return _parts_size;}
+ double delta_top() const {return _delta_top;}
+ double djsum() const {return _djsum;}
+ double pruned_mass() const {return _pruned_mass;}
+ double unfiltered_mass() const {return _unfiltered_mass;}
+ double fW();
+ void get_setting() const;
+ void get_info() const;
+ const PseudoJet & t() const {return _top_candidate;}
+ const PseudoJet & b() const {return _top_subjets[0];}
+ const PseudoJet & W() const {return _W;}
+ const PseudoJet & W1() const {return _top_subjets[1];}
+ const PseudoJet & W2() const {return _top_subjets[2];}
+ const PseudoJet & j1() const {return _top_subs[0];}
+ const PseudoJet & j2() const {return _top_subs[1];}
+ const PseudoJet & j3() const {return _top_subs[2];}
+ const PseudoJet & fat() {return _fat;}
+
+ //set parameters
+ void set_max_subjet_mass(double x) {_max_subjet_mass = x;}
+ void set_mass_drop_threshold(double x) {_mass_drop_threshold = x;}
+ void set_top_range(double xmin, double xmax) {_mtmin = xmin; _mtmax = xmax;}
+ void set_mass_ratio_range(double rmin, double rmax) {_rmin = rmin; _rmax = rmax;}
+ void set_mass_ratio_cut(double m23cut, double m13cutmin,double m13cutmax) {_m23cut = m23cut; _m13cutmin = m13cutmin; _m13cutmax = m13cutmax;}
+ void set_nfilt(unsigned nfilt) {_nfilt = nfilt;}
+ void set_Rfilt(double Rfilt) {_Rfilt = Rfilt;}
+ void set_filtering_jetalgorithm(JetAlgorithm jet_algorithm) {_jet_algorithm_filter = jet_algorithm;}
+ void set_reclustering_jetalgorithm(JetAlgorithm jet_algorithm) {_jet_algorithm_recluster = jet_algorithm;}
+ void set_pruner_cuts(double zcut, double rcut_factor) {_zcut = zcut; _rcut_factor = rcut_factor;}
+ void set_mode(int mode) {_mode = Mode(mode);}
+ void set_debug(bool debug) {_debug = debug;}
+ void set_minpt_tag(double x) {_minpt_tag = x;}
+ void set_minpt_subjet(double x) {_minpt_subjet = x;}
+
+private:
+ const PseudoJet* _jet;
+ double _mtmass, _mwmass;
+ double _mass_drop_threshold;
+ double _max_subjet_mass;
+ double _mtmin, _mtmax;
+ double _rmin, _rmax;
+ double _m23cut, _m13cutmin, _m13cutmax;
+ size_t _nfilt;
+ double _Rfilt;
+ double _Rprun;
+ JetAlgorithm _jet_algorithm_filter;
+ JetAlgorithm _jet_algorithm_recluster;
+ double _zcut;
+ double _rcut_factor;
+ Mode _mode;
+ double _minpt_tag;
+ double _minpt_subjet;
+ bool _debug;
+ PseudoJet _fat;
+
+ bool _is_masscut_passed;
+ bool _is_ptmincut_passed;
+ bool _is_maybe_top;
+ double _djsum;
+ double _delta_top;
+ double _pruned_mass;
+ double _unfiltered_mass;
+ double _fw;
+ unsigned _parts_size;
+ PseudoJet _top_candidate;
+ PseudoJet _W;
+ std::vector<PseudoJet> _top_subs;
+ std::vector<PseudoJet> _top_subjets;
+ std::vector<PseudoJet> _top_hadrons;
+ std::vector<PseudoJet> _top_parts;
+ static bool _first_time;
+
+ //internal functions
+ void FindHardSubst(const PseudoJet& jet, std::vector<fastjet::PseudoJet>& t_parts);
+ std::vector<PseudoJet> Filtering(const std::vector <PseudoJet> & top_constits, const JetDefinition & filtering_def);
+ void store_topsubjets(const std::vector<PseudoJet>& top_subs);
+ bool check_mass_criteria(const std::vector<fastjet::PseudoJet> & top_subs) const;
+ void print_banner();
+ double perp(const PseudoJet & vec, const fastjet::PseudoJet & ref);
+ double djademod (const fastjet::PseudoJet & subjet_i, const fastjet::PseudoJet & subjet_j, const fastjet::PseudoJet & ref);
+};
+//--------------------------------------------------------------------
+// Do not change next line, it's needed by the sed-code that makes the tagger CMSSW-compatible.
+};
+#endif // __HEPTOPTAGGER_HH__
diff --git a/RecoJets/JetAlgorithms/interface/HEPTopTaggerWrapper.h b/RecoJets/JetAlgorithms/interface/HEPTopTaggerWrapper.h
index 858fe63..9ab7fe7 100644
--- a/RecoJets/JetAlgorithms/interface/HEPTopTaggerWrapper.h
+++ b/RecoJets/JetAlgorithms/interface/HEPTopTaggerWrapper.h
@@ -39,25 +39,39 @@ FASTJET_BEGIN_NAMESPACE
///
/// The HEP top tagger produces information similar to the Johns Hopkins tagger.
/// Accordingly I simply reuse the JHTopTaggerStructure.
+
+// Removed legacy comments by CHRISTOPHER SILKWORTH
+
class HEPTopTaggerStructure;
class HEPTopTagger : public TopTaggerBase {
public:
- /// Sets two of the algorithm parameters
- ///
- /// \param mass_drop_threshold A splitting is hard if
- /// max(subjet_m) < mass_drop_threshold * m_child
- /// \param max_subjet_mass The tagger attempts to split subjets until
- /// remaining subjets have m_subjet < max_subjet_mass.
- /// \param use_subjet_mass_cuts Whether to impose the subjet mass cuts described
- /// in arXiv:1006.2833 (default=false)
- /// Default values are taken from the original HepTopTagger.hh code.
- HEPTopTagger(double mass_drop_threshold=0.8, double max_subjet_mass=30.,
- bool use_subjet_mass_cuts=false)
- : _mass_drop_threshold(mass_drop_threshold),
- _max_subjet_mass(max_subjet_mass),
- _use_subjet_mass_cuts(use_subjet_mass_cuts)
+ HEPTopTagger(double minSubjetPt,
+ double minCandPt,
+ double subjetMass,
+ double muCut,
+ double filtR,
+ int filtN,
+ int mode,
+ double minCandMass,
+ double maxCandMass,
+ double massRatioWidth,
+ double minM23Cut,
+ double minM13Cut,
+ double maxM13Cut) : minSubjetPt_(minSubjetPt),
+ minCandPt_(minCandPt),
+ subjetMass_(subjetMass),
+ muCut_(muCut),
+ filtR_(filtR),
+ filtN_(filtN),
+ mode_(mode),
+ minCandMass_(minCandMass),
+ maxCandMass_(maxCandMass),
+ massRatioWidth_(massRatioWidth),
+ minM23Cut_(minM23Cut),
+ minM13Cut_(minM13Cut),
+ maxM13Cut_(maxM13Cut)
{}
/// returns a textual description of the tagger
@@ -73,59 +87,70 @@ public:
typedef HEPTopTaggerStructure StructureType;
private:
- double _mass_drop_threshold;
- double _max_subjet_mass;
- bool _use_subjet_mass_cuts; ///< whether to include the is_masscut_passed() test
-};
-
-
-/// Basically just a copy of JHTopTaggerStructure, but this way HEPTopTagger can
-/// be a friend.
-
-//BEGIN COMMENTING OUT BY CHRISTOPHER SILKWORTH
-/*
-class HEPTopTaggerStructure : public JHTopTaggerStructure {
-public:
- HEPTopTaggerStructure(std::vector<PseudoJet> pieces,
- const JetDefinition::Recombiner *recombiner = 0)
- : JHTopTaggerStructure(pieces, recombiner) {}
-
-protected:
- friend class HEPTopTagger;
+ double minSubjetPt_; // Minimal pT for subjets [GeV]
+ double minCandPt_; // Minimal pT to return a candidate [GeV]
+
+ double subjetMass_; // Mass above which subjets are further unclustered
+ double muCut_; // Mass drop threshold
+
+ double filtR_; // maximal filtering radius
+ int filtN_; // number of filtered subjets to use
+
+ // HEPTopTagger Mode
+ // 0: do 2d-plane, return candidate with delta m_top minimal
+ // 1: return candidate with delta m_top minimal IF passes 2d plane
+ // 2: do 2d-plane, return candidate with max dj_sum
+ // 3: return candidate with max dj_sum IF passes 2d plane
+ // 4: return candidate built from leading three subjets after unclustering IF passes 2d plane
+ // Note: Original HTT was mode==1
+ int mode_;
+
+ // Top Quark mass window in GeV
+ double minCandMass_;
+ double maxCandMass_;
+
+ double massRatioWidth_; // One sided width of the A-shaped window around m_W/m_top in %
+ double minM23Cut_; // minimal value of m23/m123
+ double minM13Cut_; // minimal value of atan(m13/m12)
+ double maxM13Cut_; // maximal value of atan(m13/m12)
};
-*/
-//END COMMENTING OUT
-
-//BEGIN ADDED BY CHRISTOPHER SILKWORTH
class HEPTopTaggerStructure : public CompositeJetStructure, public TopTaggerBaseStructure {
public:
/// ctor with pieces initialisation
HEPTopTaggerStructure(const std::vector<PseudoJet>& pieces_in,
- const JetDefinition::Recombiner *recombiner = 0) :
- CompositeJetStructure(pieces_in, recombiner), _cos_theta_w(0.0),W_rec(recombiner),
- rW_()
- {}
-
- /// returns the W subjet
- inline PseudoJet const & W() const{
- rW_ = join(_pieces[0], _pieces[1], *W_rec);
- return rW_;
- }
+ const JetDefinition::Recombiner *recombiner = 0) : CompositeJetStructure(pieces_in, recombiner),
+ _fj_mass(0.0),
+ _fj_pt(0.0),
+ _fj_eta(0.0),
+ _fj_phi(0.0),
+ _top_mass(0.0),
+ _unfiltered_mass(0.0),
+ _pruned_mass(0.0),
+ _fW(-1.),
+ _mass_ratio_passed(-1),
+ W_rec(recombiner),
+ rW_(){}
+
+ // Return W subjet
+ inline PseudoJet const & W() const{
+ rW_ = join(_pieces[0], _pieces[1], *W_rec);
+ return rW_;
+ }
+
+ // Return leading subjet in W
+ inline PseudoJet W1() const{
+ assert(W().pieces().size()>0);
+ return W().pieces()[0];
+ }
+
+ /// returns the second W subjet
+ inline PseudoJet W2() const{
+ assert(W().pieces().size()>1);
+ return W().pieces()[1];
+ }
-
- inline PseudoJet W1() const{
- assert(W().pieces().size()>0);
- return W().pieces()[0];
- }
-
- /// returns the second W subjet
- inline PseudoJet W2() const{
- assert(W().pieces().size()>1);
- return W().pieces()[1];
- }
-
/// returns the non-W subjet
/// It will have 1 or 2 pieces depending on whether the tagger has
@@ -134,20 +159,47 @@ class HEPTopTaggerStructure : public CompositeJetStructure, public TopTaggerBase
return _pieces[2];
}
- /// returns the W helicity angle
- inline double cos_theta_W() const {return _cos_theta_w;}
-
- // /// returns the original jet (before tagging)
- // const PseudoJet & original() const {return _original_jet;}
+ /// return the mass of the initial fatjet
+ inline double fj_mass() const {return _fj_mass;}
-
-
+ /// return the pt of the initial fatjet
+ inline double fj_pt() const {return _fj_pt;}
+
+ /// return the eta of the initial fatjet
+ inline double fj_eta() const {return _fj_eta;}
+
+ /// return the phi of the initial fatjet
+ inline double fj_phi() const {return _fj_phi;}
+