CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SubjetFilterAlgorithm.h
Go to the documentation of this file.
1 #ifndef RECOJETS_JETALGORITHMS_SUBJETFILTERALGORITHM_H
2 #define RECOJETS_JETALGORITHMS_SUBJETFILTERALGORITHM_H 1
3 
4 
5 /*
6  Implementation of the subjet/filter jet reconstruction algorithm
7  which is described in: http://arXiv.org/abs/0802.2470
8 
9  CMSSW implementation by David Lopes-Pegna <david.lopes-pegna@cern.ch>
10  and Philipp Schieferdecker <philipp.schieferdecker@cern.ch>
11 
12  see: https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideSubjetFilterJetProducer
13 
14 */
15 
16 
17 #include <vector>
18 
21 
22 #include <fastjet/JetDefinition.hh>
23 #include <fastjet/AreaDefinition.hh>
24 #include <fastjet/PseudoJet.hh>
25 
26 
27 
28 
30 {
31  //
32  // construction / destruction
33  //
34 public:
35  SubjetFilterAlgorithm(const std::string& moduleLabel,
36  const std::string& jetAlgorithm,
37  unsigned nFatMax, double rParam,
38  double rFilt, double jetPtMin,
39  double massDropCut, double asymmCut,
40  bool asymmCutLater,bool doAreaFastjet,
41  double ghostEtaMax, int activeAreaRepeats,
42  double ghostArea, bool verbose);
43  virtual ~SubjetFilterAlgorithm();
44 
45 
46  //
47  // member functions
48  //
49 public:
50  void run(const std::vector<fastjet::PseudoJet>& inputs,
51  std::vector<CompoundPseudoJet>& fatJets,
52  const edm::EventSetup& iSetup);
53 
54  std::string summary() const;
55 
56 
57  //
58  // member data
59  //
60 private:
61  std::string moduleLabel_;
62  std::string jetAlgorithm_;
63  unsigned nFatMax_;
64  double rParam_;
65  double rFilt_;
66  double jetPtMin_;
67  double massDropCut_;
68  double asymmCut2_;
71  double ghostEtaMax_;
73  double ghostArea_;
74  bool verbose_;
75 
76  unsigned nevents_;
77  unsigned ntotal_;
78  unsigned nfound_;
79 
80  fastjet::JetDefinition* fjJetDef_;
81  fastjet::AreaDefinition* fjAreaDef_;
82 
83 };
84 
85 
86 #endif
fastjet::AreaDefinition * fjAreaDef_
void run(const std::vector< fastjet::PseudoJet > &inputs, std::vector< CompoundPseudoJet > &fatJets, const edm::EventSetup &iSetup)
fastjet::JetDefinition * fjJetDef_
SubjetFilterAlgorithm(const std::string &moduleLabel, const std::string &jetAlgorithm, unsigned nFatMax, double rParam, double rFilt, double jetPtMin, double massDropCut, double asymmCut, bool asymmCutLater, bool doAreaFastjet, double ghostEtaMax, int activeAreaRepeats, double ghostArea, bool verbose)
std::string summary() const