CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CATopJetProducer.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_CATopJetProducer_h
2 #define RecoJets_JetProducers_CATopJetProducer_h
3 
4 
5 /* *********************************************************
6 
7 
8  * \class CATopJetProducer
9  * Jet producer to produce top jets using the C-A algorithm to break
10  * jets into subjets as described here:
11  * "Top-tagging: A Method for Identifying Boosted Hadronic Tops"
12  * David E. Kaplan, Keith Rehermann, Matthew D. Schwartz, Brock Tweedie
13  * arXiv:0806.0848v1 [hep-ph]
14 
15  \brief Jet producer to run the CATopJetAlgorithm
16 
17  \author Salvatore Rappoccio
18  \version
19 
20  Notes on implementation:
21 
22  Because the BaseJetProducer only allows the user to produce
23  one jet collection at a time, this algorithm cannot
24  fit into that paradigm.
25 
26  All of the "hard" jets are of type BasicJet, since
27  they are "jets of jets". The subjets will be either
28  CaloJets, GenJets, etc.
29 
30  In order to avoid a templatization of the entire
31  EDProducer itself, we only use a templated method
32  to write out the subjets to the event record,
33  and to use that information to write out the
34  hard jets to the event record.
35 
36  This templated method is called "write_outputs". It
37  relies on a second templated method called "write_specific",
38  which relies on some template specialization to create
39  different specific objects (i.e. CaloJets, BasicJets, GenJets, etc).
40 
41  ************************************************************/
42 
43 
44 
45 
52 
63 
66 #include "CATopJetProducer.h"
69 
70 #include <fastjet/tools/RestFrameNSubjettinessTagger.hh>
71 #include "fastjet/SISConePlugin.hh"
72 
73 
74 namespace cms
75 {
77  {
78  public:
79 
81 
82  virtual ~CATopJetProducer() {}
83 
84  virtual void produce( edm::Event& iEvent, const edm::EventSetup& iSetup );
85 
86  virtual void runAlgorithm( edm::Event& iEvent, const edm::EventSetup& iSetup );
87 
88  private:
89  std::auto_ptr<CATopJetAlgorithm> legacyCMSTopTagger_;
90  std::auto_ptr<fastjet::CMSTopTagger> fjCMSTopTagger_; // The FastJet implementation of the CMS tagger
91  std::auto_ptr<fastjet::HEPTopTagger> fjHEPTopTagger_;
92  std::auto_ptr<fastjet::JHTopTagger> fjJHUTopTagger_;
93  std::auto_ptr<fastjet::RestFrameNSubjettinessTagger> fjNSUBTagger_;
94 
95 
96 
97  int tagAlgo_;
98  double ptMin_;
100  bool verbose_;
101  enum tagalgos {
107  };
108 
109 
110  };
111 
112 }
113 
114 
115 #endif
std::auto_ptr< CATopJetAlgorithm > legacyCMSTopTagger_
std::auto_ptr< fastjet::CMSTopTagger > fjCMSTopTagger_
The algorithm to do the work.
std::auto_ptr< fastjet::HEPTopTagger > fjHEPTopTagger_
std::auto_ptr< fastjet::JHTopTagger > fjJHUTopTagger_
int iEvent
Definition: GenABIO.cc:230
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
CATopJetProducer(const edm::ParameterSet &ps)
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
std::auto_ptr< fastjet::RestFrameNSubjettinessTagger > fjNSUBTagger_