CMS 3D CMS Logo

HTTTopJetTagInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_BTauReco_interface_HTTTopJetTagInfo_h
2 #define DataFormats_BTauReco_interface_HTTTopJetTagInfo_h
3 
4 
5 // \class HTTTopJetTagInfo
6 //
7 // \short specific tag info for HEPTopTagger tagging algorithm
8 // HTTTopJetTagInfo is a class to hold the discriminator variables for the
9 // HEPTopTagger algorithm.
10 //
11 //
12 // \author Gregor Kasieczka (based on CATopJetTagInfo by Salvatore Rappoccio)
13 // \version first version on 25 Sep 2014
14 
18 #include <vector>
19 
20 namespace reco {
21 
23 public:
25  fjMass(0.),
26  fjEta(0.),
27  fjPhi(0.),
28  topMass(0.),
29  unfilteredMass(0.),
30  prunedMass(0.),
31  fRec(0.),
32  massRatioPassed(0.),
33  ropt(0.),
34  roptCalc(0.),
35  ptForRoptCalc(0.),
36  tau1Unfiltered(0.),
37  tau2Unfiltered(0.),
38  tau3Unfiltered(0.),
39  tau1Filtered(0.),
40  tau2Filtered(0.),
41  tau3Filtered(0.),
42  qWeight(0.),
43  qEpsilon(0.),
44  qSigmaM(0.) {}
45 
46  double fjPt; //<! Mass of the inital Fatjet passed to the TT
47  double fjMass; //<! Mass of the inital Fatjet passed to the TT
48  double fjEta; //<! Mass of the inital Fatjet passed to the TT
49  double fjPhi; //<! Mass of the inital Fatjet passed to the TT
50  double topMass; //<! Mass of the HTT top quark candidate [GeV]
51  double unfilteredMass; //<! Unfiltered mass of the triplet [GeV]
52  double prunedMass; //<! Mass of the pruned fat jet [GeV]
53  double fRec; //<! Minimum distance of m_ij/m_123 from m_W/m_top
54  double massRatioPassed; //<! Did the candidate pass the default mass ratio?
55  double ropt; //<! R_opt found in Optimal procedure.
56  double roptCalc; //<! R_opt calc for a top quark based on filtered fat-jet pT.
57  double ptForRoptCalc; //<! Filtered initial fatjet pT calculation of Ropt
58  double tau1Unfiltered; //<! 1-subjettiness, no filtering
59  double tau2Unfiltered; //<! 2-subjettiness, no filtering
60  double tau3Unfiltered; //<! 3-subjettiness, no filtering
61  double tau1Filtered; //<! 1-subjettiness, with filtering
62  double tau2Filtered; //<! 2-subjettiness, with filtering
63  double tau3Filtered; //<! 3-subjettiness, with filtering
64  double qWeight; //<! maximal weight of jet using Q-jet approach
65  double qEpsilon; //<! fraction of jets tagged with Q-jets
66  double qSigmaM; //<! Width of Q-jet mass distribution
67 };
68 
69  class HTTTopJetTagInfo : public JetTagInfo {
70 public:
73 
75 
76  ~HTTTopJetTagInfo(void) override {}
77 
78  HTTTopJetTagInfo* clone(void) const override { return new HTTTopJetTagInfo(*this); }
79 
80  const properties_type & properties() const {
81  return properties_;
82  }
83 
84  void insert(const edm::RefToBase<Jet> & jet, const HTTTopJetProperties & properties) {
85  setJetRef(jet);
86  properties_ = properties;
87  }
88 
89 protected:
90  properties_type properties_;
91 
92 };
93 
95 
96 }
97 
98 #endif // AnalysisDataFormats_TopObjects_interface_HTTTopJetTagInfo_h
void insert(const edm::RefToBase< Jet > &jet, const HTTTopJetProperties &properties)
HTTTopJetProperties properties_type
HTTTopJetTagInfo * clone(void) const override
clone
~HTTTopJetTagInfo(void) override
const properties_type & properties() const
fixed size matrix
#define DECLARE_EDM_REFS(class_name)
Definition: RefMacros.h:10
properties_type properties_
edm::RefToBase< Jet > jet_type