File indexing completed on 2024-04-06 12:25:31
0001 #ifndef TopQuarkAnalysis_TopJetProducers_interface_CATopJetTagger_h
0002 #define TopQuarkAnalysis_TopJetProducers_interface_CATopJetTagger_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #include <memory>
0031 #include <vector>
0032 #include <sstream>
0033
0034
0035 #include "FWCore/Framework/interface/Frameworkfwd.h"
0036 #include "FWCore/Framework/interface/global/EDProducer.h"
0037
0038 #include "FWCore/Framework/interface/Event.h"
0039 #include "FWCore/Framework/interface/MakerMacros.h"
0040
0041 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0042 #include "FWCore/ServiceRegistry/interface/Service.h"
0043 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0044 #include "FWCore/Utilities/interface/InputTag.h"
0045
0046 #include "DataFormats/Math/interface/deltaR.h"
0047
0048 #include "DataFormats/Common/interface/View.h"
0049 #include "DataFormats/JetReco/interface/BasicJet.h"
0050 #include "DataFormats/JetReco/interface/CaloJet.h"
0051 #include "DataFormats/Candidate/interface/CompositeCandidate.h"
0052 #include "DataFormats/Candidate/interface/CandMatchMap.h"
0053
0054 #include <Math/VectorUtil.h>
0055 #include <TH1.h>
0056 #include <TH2.h>
0057 #include <TTree.h>
0058
0059
0060
0061
0062
0063 class CATopJetTagger : public edm::global::EDProducer<> {
0064 public:
0065 explicit CATopJetTagger(const edm::ParameterSet&);
0066 ~CATopJetTagger() override;
0067
0068 private:
0069 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0070
0071
0072
0073 const edm::InputTag src_;
0074
0075 const double TopMass_;
0076 const double WMass_;
0077 const bool verbose_;
0078
0079 const edm::EDGetTokenT<edm::View<reco::Jet> > input_jet_token_;
0080 };
0081
0082 #endif