Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:56

0001 #ifndef RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRecInfoProducer_HH
0002 #define RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRecInfoProducer_HH
0003 
0004 #include "FWCore/Framework/interface/global/EDProducer.h"
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "DataFormats/Common/interface/Handle.h"
0007 
0008 #include "FWCore/Framework/interface/EventSetup.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 
0011 #include "RecoTBCalo/EcalTBHodoscopeReconstructor/interface/EcalTBHodoscopeRecInfoAlgo.h"
0012 
0013 #include <vector>
0014 
0015 class EcalTBHodoscopeRecInfoProducer : public edm::global::EDProducer<> {
0016 public:
0017   explicit EcalTBHodoscopeRecInfoProducer(const edm::ParameterSet& ps);
0018 
0019   void produce(edm::StreamID, edm::Event& e, const edm::EventSetup& es) const override;
0020 
0021 private:
0022   edm::EDGetTokenT<EcalTBHodoscopeRawInfo> rawInfoProducerToken_;
0023   std::string rawInfoCollection_;  // secondary name given to collection of digis
0024   std::string recInfoCollection_;  // secondary name to be given to collection of hits
0025 
0026   int fitMethod_;
0027   EcalTBHodoscopeRecInfoAlgo algo_;
0028 };
0029 #endif