test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~NjettinessAdder() {}
49 
50  void produce(edm::Event & iEvent, const edm::EventSetup & iSetup) ;
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::auto_ptr<fastjet::contrib::Njettiness> routine_;
72 
73 };
74 
75 #endif
std::auto_ptr< fastjet::contrib::Njettiness > routine_
unsigned measureDefinition_
unsigned axesDefinition_
int iEvent
Definition: GenABIO.cc:230
std::vector< unsigned > Njets_
virtual ~NjettinessAdder()
float getTau(unsigned num, const edm::Ptr< reco::Jet > &object) const
edm::InputTag src_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
NjettinessAdder(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_