CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/IORawData/CaloPatterns/src/HcalPatternSource.h

Go to the documentation of this file.
00001 #ifndef IORAWDATA_CALOPATTERNS_HCALPATTERNSOURCE_H
00002 #define IORAWDATA_CALOPATTERNS_HCALPATTERNSOURCE_H 1
00003 
00004 #include <vector>
00005 #include "IORawData/CaloPatterns/interface/HcalFiberPattern.h"
00006 #include "FWCore/Framework/interface/EDProducer.h"
00007 
00014 class HcalPatternSource : public edm::EDProducer {
00015 public:
00016   HcalPatternSource(const edm::ParameterSet & pset);
00017   virtual void produce(edm::Event& e, const edm::EventSetup& c);
00018 private:  
00019   void loadPatterns(const std::string& patspec);
00020   void loadPatternFile(const std::string& filename);
00021   std::vector<int> bunches_;
00022   std::vector<HcalFiberPattern> patterns_;
00023   int presamples_, samples_;
00024 };
00025 
00026 #endif