Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICSuperClusterProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICSuperClusterProducer_h
2 #define UserCode_ICHiggsTauTau_ICSuperClusterProducer_h
3 
4 #include <memory>
5 #include <vector>
6 #include <string>
7 #include "boost/functional/hash.hpp"
8 #include "FWCore/Framework/interface/EDProducer.h"
9 #include "FWCore/ParameterSet/interface/ParameterSet.h"
10 #include "FWCore/Framework/interface/Event.h"
11 #include "FWCore/Framework/interface/EventSetup.h"
12 #include "FWCore/Utilities/interface/InputTag.h"
13 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
15 
23 class ICSuperClusterProducer : public edm::EDProducer {
24  public:
25  explicit ICSuperClusterProducer(const edm::ParameterSet&);
27 
28  private:
29  virtual void beginJob();
30  virtual void produce(edm::Event&, const edm::EventSetup&);
31  virtual void endJob();
32 
33  std::vector<ic::SuperCluster>* scs_;
34  edm::InputTag input_barrel_;
35  edm::InputTag input_endcap_;
36  std::string branch_;
37 
38  boost::hash<reco::SuperCluster const*> sc_hasher_;
39 };
40 
41 #endif
Produces an ic::SuperCluster collection from the separate barrel and endcap collections, which must be compatible with an edm::View
ICSuperClusterProducer(const edm::ParameterSet &)