Back to home page

Project CMSSW displayed by LXR

 
 

    


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 // -*- C++ -*-
0005 //
0006 // Package:    CATopJetTagger
0007 // Class:      CATopJetTagger
0008 //
0009 /**\class CATopJetTagger CATopJetTagger.cc TopQuarkAnalysis/TopJetProducers/src/CATopJetTagger.cc
0010 
0011  Description: This is a tagger to identify boosted top quark jets.
0012 
0013  Implementation: We input the jets from CATopJetProducer and make kinematic
0014                  cuts on the jet mass and the minimum invariant mass pairing
0015                  of the subjets. 
0016          Described in "Top-tagging: A Method for Identifying Boosted Hadronic Tops"
0017          David E. Kaplan, Keith Rehermann, Matthew D. Schwartz, Brock Tweedie
0018          arXiv:0806.0848v1 [hep-ph] 
0019 
0020  Produces:       A list of pair<Jet,CATopJetTagInfo> that represents the tag decision.
0021 
0022 */
0023 //
0024 // Original Author:  "Salvatore Rappoccio"
0025 //         Created:  Thu Jul  3 00:19:30 CDT 2008
0026 //
0027 //
0028 
0029 // system include files
0030 #include <memory>
0031 #include <vector>
0032 #include <sstream>
0033 
0034 // user include files
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 // class decleration
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   // ----------member data ---------------------------
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