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
|
#ifndef AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
#define AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
// \class CATopJetTagInfo
//
// \short tag info for Cambridge-Aachen based subjet top-jet tagging algorithm
// CATopJetTagInfo is a class to hold the discriminator variables for the
// CATopJet Tagging algorithm.
//
//
// \author Salvatore Rappoccio
// \version first version on 27 Aug 2008
#include "DataFormats/BTauReco/interface/RefMacros.h"
#include "DataFormats/BTauReco/interface/JetTagInfo.h"
#include "DataFormats/BTauReco/interface/TaggingVariable.h"
#include <vector>
namespace reco {
class CATopJetProperties {
public:
CATopJetProperties() {
nSubJets = 0;
minMass = 0.;
topMass = 0.;
wMass = 0.;
}
int nSubJets; //<! Number of subjets
double minMass; //<! Minimum invariant mass pairing
double topMass; //<! Jet mass
double wMass; //<! Closest mass to W mass
};
class CATopJetTagInfo : public JetTagInfo {
public:
typedef edm::RefToBase<Jet> jet_type;
typedef CATopJetProperties properties_type;
CATopJetTagInfo(void) {}
~CATopJetTagInfo(void) override {}
CATopJetTagInfo* clone(void) const override { return new CATopJetTagInfo(*this); }
const properties_type& properties() const { return properties_; }
void insert(const edm::RefToBase<Jet>& jet, const CATopJetProperties& properties) {
setJetRef(jet);
properties_ = properties;
}
protected:
properties_type properties_;
};
DECLARE_EDM_REFS(CATopJetTagInfo)
} // namespace reco
#endif // AnalysisDataFormats_TopObjects_interface_CATopJetTagInfo_h
|