CMS 3D CMS Logo

CATopJetTagInfo.h
Go to the documentation of this file.
1 #ifndef AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
2 #define AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
3 
4 
5 // \class CATopJetTagInfo
6 //
7 // \short tag info for Cambridge-Aachen based subjet top-jet tagging algorithm
8 // CATopJetTagInfo is a class to hold the discriminator variables for the
9 // CATopJet Tagging algorithm.
10 //
11 //
12 // \author Salvatore Rappoccio
13 // \version first version on 27 Aug 2008
14 
18 #include <vector>
19 
20 namespace reco {
21 
23 public:
25  nSubJets = 0;
26  minMass = 0.;
27  topMass = 0.;
28  wMass = 0.;
29  }
30  int nSubJets; //<! Number of subjets
31  double minMass; //<! Minimum invariant mass pairing
32  double topMass; //<! Jet mass
33  double wMass; //<! Closest mass to W mass
34 };
35 
36  class CATopJetTagInfo : public JetTagInfo {
37 public:
40 
41  CATopJetTagInfo(void) {}
42 
43  ~CATopJetTagInfo(void) override {}
44 
45  CATopJetTagInfo* clone(void) const override { return new CATopJetTagInfo(*this); }
46 
47  const properties_type & properties() const {
48  return properties_;
49  }
50 
51  void insert(const edm::RefToBase<Jet> & jet, const CATopJetProperties & properties) {
52  setJetRef(jet);
53  properties_ = properties;
54  }
55 
56 protected:
57  properties_type properties_;
58 
59 };
60 
62 
63 }
64 
65 #endif // AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
CATopJetTagInfo * clone(void) const override
clone
const properties_type & properties() const
~CATopJetTagInfo(void) override
CATopJetProperties properties_type
void insert(const edm::RefToBase< Jet > &jet, const CATopJetProperties &properties)
properties_type properties_
edm::RefToBase< Jet > jet_type
fixed size matrix
#define DECLARE_EDM_REFS(class_name)
Definition: RefMacros.h:10