CMS 3D CMS Logo

NjettinessAdder.h
Go to the documentation of this file.
1 #ifndef NjettinessAdder_h
2 #define NjettinessAdder_h
3 
4 #include <memory>
12 #include "fastjet/contrib/Njettiness.hh"
13 
14 
16  public:
17 
19  NormalizedMeasure=0, // (beta,R0)
20  UnnormalizedMeasure, // (beta)
22  NormalizedCutoffMeasure, // (beta,R0,Rcutoff)
23  UnnormalizedCutoffMeasure, // (beta,Rcutoff)
24  GeometricCutoffMeasure, // (beta,Rcutoff)
26  };
30  AntiKT_Axes, // (axAxesR0)
36  OnePass_AntiKT_Axes, // (axAxesR0)
42  };
43 
44 
45 
46  explicit NjettinessAdder(const edm::ParameterSet& iConfig);
47 
48  ~NjettinessAdder() override {}
49 
50  void produce(edm::Event & iEvent, const edm::EventSetup & iSetup) override ;
51  float getTau(unsigned num, const edm::Ptr<reco::Jet> & object) const;
52 
53  private:
56  std::vector<unsigned> Njets_;
57 
58  // Measure definition :
60  double beta_ ;
61  double R0_;
62  double Rcutoff_;
63 
64  // Axes definition :
65  unsigned axesDefinition_;
66  int nPass_;
67  double akAxesR0_;
68 
69 
70 
71  std::unique_ptr<fastjet::contrib::Njettiness> routine_;
72 
73 };
74 
75 #endif
unsigned measureDefinition_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
unsigned axesDefinition_
std::unique_ptr< fastjet::contrib::Njettiness > routine_
int iEvent
Definition: GenABIO.cc:230
std::vector< unsigned > Njets_
float getTau(unsigned num, const edm::Ptr< reco::Jet > &object) const
edm::InputTag src_
NjettinessAdder(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
~NjettinessAdder() override