CMS 3D CMS Logo

ECFAdder.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_ECFAdder_h
2 #define RecoJets_JetProducers_ECFAdder_h
3 
4 #include <memory>
12 #include "fastjet/contrib/EnergyCorrelator.hh"
14 
16 public:
17  explicit ECFAdder(const edm::ParameterSet& iConfig);
18 
19  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
20  float getECF(unsigned index, const edm::Ptr<reco::Jet>& object) const;
21 
22  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
23 
24 private:
27  std::vector<unsigned> Njets_;
28  std::vector<std::string> cuts_;
29  std::string ecftype_; // Options: ECF (or empty); C; D; N; M; U;
30  std::vector<std::string> variables_;
31  double alpha_;
32  double beta_;
33 
34  std::vector<std::shared_ptr<fastjet::FunctionOfPseudoJet<double>>> routine_;
35  std::vector<StringCutObjectSelector<reco::Jet>> selectors_;
38 };
39 
40 #endif
ECFAdder::beta_
double beta_
Definition: ECFAdder.h:32
StringCutObjectSelector.h
ECFAdder::weightsHandle_
edm::ValueMap< float > const * weightsHandle_
Definition: ECFAdder.h:37
ECFAdder::variables_
std::vector< std::string > variables_
Definition: ECFAdder.h:30
ECFAdder::src_token_
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: ECFAdder.h:26
edm::EDGetTokenT
Definition: EDGetToken.h:33
ECFAdder::getECF
float getECF(unsigned index, const edm::Ptr< reco::Jet > &object) const
Definition: ECFAdder.cc:92
ECFAdder
Definition: ECFAdder.h:15
EDProducer.h
Jet.h
ECFAdder::cuts_
std::vector< std::string > cuts_
Definition: ECFAdder.h:28
ECFAdder::routine_
std::vector< std::shared_ptr< fastjet::FunctionOfPseudoJet< double > > > routine_
Definition: ECFAdder.h:34
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ECFAdder::ECFAdder
ECFAdder(const edm::ParameterSet &iConfig)
Definition: ECFAdder.cc:9
ECFAdder::selectors_
std::vector< StringCutObjectSelector< reco::Jet > > selectors_
Definition: ECFAdder.h:35
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
iEvent
int iEvent
Definition: GenABIO.cc:224
ECFAdder::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: ECFAdder.cc:57
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
ECFAdder::ecftype_
std::string ecftype_
Definition: ECFAdder.h:29
InputTag.h
edm::Ptr< reco::Jet >
ECFAdder::src_
edm::InputTag src_
Definition: ECFAdder.h:25
ValueMap.h
ECFAdder::input_weights_token_
edm::EDGetTokenT< edm::ValueMap< float > > input_weights_token_
Definition: ECFAdder.h:36
edm::ValueMap< float >
ECFAdder::alpha_
double alpha_
Definition: ECFAdder.h:31
ECFAdder::Njets_
std::vector< unsigned > Njets_
Definition: ECFAdder.h:27
EventSetup.h
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
ParameterSet.h
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
ECFAdder::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: ECFAdder.cc:137