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 
15 public:
17  NormalizedMeasure = 0, // (beta,R0)
20  NormalizedCutoffMeasure, // (beta,R0,Rcutoff)
21  UnnormalizedCutoffMeasure, // (beta,Rcutoff)
22  GeometricCutoffMeasure, // (beta,Rcutoff)
24  };
26  KT_Axes = 0,
28  AntiKT_Axes, // (axAxesR0)
34  OnePass_AntiKT_Axes, // (axAxesR0)
40  };
41 
42  explicit NjettinessAdder(const edm::ParameterSet& iConfig);
43 
44  ~NjettinessAdder() override {}
45 
46  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
47  float getTau(unsigned num, const edm::Ptr<reco::Jet>& object) const;
48 
49 private:
52  std::vector<unsigned> Njets_;
53 
54  // Measure definition :
56  double beta_;
57  double R0_;
58  double Rcutoff_;
59 
60  // Axes definition :
61  unsigned axesDefinition_;
62  int nPass_;
63  double akAxesR0_;
64 
67 
68  std::unique_ptr<fastjet::contrib::Njettiness> routine_;
69 };
70 
71 #endif
NjettinessAdder::KT_Axes
Definition: NjettinessAdder.h:26
NjettinessAdder::N_MEASURE_DEFINITIONS
Definition: NjettinessAdder.h:23
NjettinessAdder::OnePass_WTA_KT_Axes
Definition: NjettinessAdder.h:35
NjettinessAdder::Manual_Axes
Definition: NjettinessAdder.h:31
NjettinessAdder::routine_
std::unique_ptr< fastjet::contrib::Njettiness > routine_
Definition: NjettinessAdder.h:68
NjettinessAdder::OnePass_WTA_CA_Axes
Definition: NjettinessAdder.h:36
edm::EDGetTokenT
Definition: EDGetToken.h:33
NjettinessAdder::OriginalGeometricMeasure
Definition: NjettinessAdder.h:19
NjettinessAdder::CA_Axes
Definition: NjettinessAdder.h:27
NjettinessAdder::OnePass_CA_Axes
Definition: NjettinessAdder.h:33
EDProducer.h
Jet.h
NjettinessAdder::N_AXES_DEFINITIONS
Definition: NjettinessAdder.h:39
NjettinessAdder::nPass_
int nPass_
Definition: NjettinessAdder.h:62
NjettinessAdder::OnePass_AntiKT_Axes
Definition: NjettinessAdder.h:34
NjettinessAdder::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: NjettinessAdder.cc:110
NjettinessAdder::NormalizedCutoffMeasure
Definition: NjettinessAdder.h:20
NjettinessAdder::AntiKT_Axes
Definition: NjettinessAdder.h:28
NjettinessAdder::NormalizedMeasure
Definition: NjettinessAdder.h:17
NjettinessAdder::measureDefinition_
unsigned measureDefinition_
Definition: NjettinessAdder.h:55
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
NjettinessAdder::AxesDefinition_t
AxesDefinition_t
Definition: NjettinessAdder.h:25
NjettinessAdder::Rcutoff_
double Rcutoff_
Definition: NjettinessAdder.h:58
NjettinessAdder::beta_
double beta_
Definition: NjettinessAdder.h:56
NjettinessAdder::src_
edm::InputTag src_
Definition: NjettinessAdder.h:50
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::stream::EDProducer
Definition: EDProducer.h:38
NjettinessAdder::akAxesR0_
double akAxesR0_
Definition: NjettinessAdder.h:63
edm::EventSetup
Definition: EventSetup.h:57
NjettinessAdder::Njets_
std::vector< unsigned > Njets_
Definition: NjettinessAdder.h:52
NjettinessAdder::UnnormalizedMeasure
Definition: NjettinessAdder.h:18
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
InputTag.h
NjettinessAdder::weightsHandle_
edm::ValueMap< float > const * weightsHandle_
Definition: NjettinessAdder.h:66
NjettinessAdder::axesDefinition_
unsigned axesDefinition_
Definition: NjettinessAdder.h:61
edm::Ptr< reco::Jet >
ValueMap.h
NjettinessAdder::NjettinessAdder
NjettinessAdder(const edm::ParameterSet &iConfig)
Definition: NjettinessAdder.cc:5
NjettinessAdder::WTA_CA_Axes
Definition: NjettinessAdder.h:30
NjettinessAdder::~NjettinessAdder
~NjettinessAdder() override
Definition: NjettinessAdder.h:44
edm::ValueMap< float >
NjettinessAdder::input_weights_token_
edm::EDGetTokenT< edm::ValueMap< float > > input_weights_token_
Definition: NjettinessAdder.h:65
NjettinessAdder::UnnormalizedCutoffMeasure
Definition: NjettinessAdder.h:21
EventSetup.h
NjettinessAdder
Definition: NjettinessAdder.h:14
NjettinessAdder::R0_
double R0_
Definition: NjettinessAdder.h:57
NjettinessAdder::src_token_
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: NjettinessAdder.h:51
NjettinessAdder::OnePass_Manual_Axes
Definition: NjettinessAdder.h:37
NjettinessAdder::MeasureDefinition_t
MeasureDefinition_t
Definition: NjettinessAdder.h:16
NjettinessAdder::WTA_KT_Axes
Definition: NjettinessAdder.h:29
ParameterSet.h
edm::Event
Definition: Event.h:73
NjettinessAdder::MultiPass_Axes
Definition: NjettinessAdder.h:38
edm::InputTag
Definition: InputTag.h:15
NjettinessAdder::OnePass_KT_Axes
Definition: NjettinessAdder.h:32
NjettinessAdder::getTau
float getTau(unsigned num, const edm::Ptr< reco::Jet > &object) const
Definition: NjettinessAdder.cc:144
NjettinessAdder::GeometricCutoffMeasure
Definition: NjettinessAdder.h:22