test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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"
13 
14 
15 class ECFAdder : public edm::stream::EDProducer<> {
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  private:
25  std::vector<unsigned> Njets_;
26  std::vector<std::string> variables_;
27  double beta_ ;
28 
29  std::vector<std::auto_ptr<fastjet::contrib::EnergyCorrelator> > routine_;
30 };
31 
32 #endif
ECFAdder(const edm::ParameterSet &iConfig)
Definition: ECFAdder.cc:6
float getECF(unsigned index, const edm::Ptr< reco::Jet > &object) const
Definition: ECFAdder.cc:53
std::vector< std::string > variables_
Definition: ECFAdder.h:26
int iEvent
Definition: GenABIO.cc:230
double beta_
Definition: ECFAdder.h:27
std::vector< std::auto_ptr< fastjet::contrib::EnergyCorrelator > > routine_
Definition: ECFAdder.h:29
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: ECFAdder.h:24
std::vector< unsigned > Njets_
Definition: ECFAdder.h:25
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: ECFAdder.cc:22
edm::InputTag src_
Definition: ECFAdder.h:23