CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~CATopJetTagInfo(void) {}
44 
45  virtual CATopJetTagInfo* clone(void) const { return new CATopJetTagInfo(*this); }
46 
47  const properties_type & properties() const {
48  return properties_;
49  }
50 
52  setJetRef(jet);
54  }
55 
56 protected:
58 
59 };
60 
62 
63 }
64 
65 #endif // AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
const properties_type & properties() const
virtual edm::RefToBase< Jet > jet(void) const
returns a polymorphic reference to the tagged jet
Definition: JetTagInfo.h:22
virtual CATopJetTagInfo * clone(void) const
clone
CATopJetProperties properties_type
void insert(const edm::RefToBase< Jet > &jet, const CATopJetProperties &properties)
void setJetRef(const edm::Ref< T > &jetRef)
Definition: JetTagInfo.h:25
virtual ~CATopJetTagInfo(void)
properties_type properties_
#define DECLARE_EDM_REFS(class_name)
Definition: RefMacros.h:10
edm::RefToBase< Jet > jet_type