CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoRomanPot/RecoFP420/interface/ClusterizerFP420.h

Go to the documentation of this file.
00001 #ifndef ClusterizerFP420_h
00002 #define ClusterizerFP420_h
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 
00009 #include "DataFormats/Common/interface/EDProduct.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 
00012 #include "SimG4CMS/FP420/interface/FP420NumberingScheme.h"
00013 //#include "SimG4Core/Watcher/interface/SimWatcher.h"
00014 
00015 #include "RecoRomanPot/RecoFP420/interface/FP420ClusterMain.h"
00016 #include "RecoRomanPot/RecoFP420/interface/ClusterNoiseFP420.h"
00017 
00018 #include "DataFormats/FP420Digi/interface/DigiCollectionFP420.h"
00019 
00020 #include "DataFormats/FP420Cluster/interface/ClusterFP420.h"
00021 #include "DataFormats/FP420Cluster/interface/ClusterCollectionFP420.h"
00022 
00023 #include <CLHEP/Vector/ThreeVector.h>
00024 #include <string>
00025 #include<vector>
00026 #include<map>
00027 #include<iostream>
00028 
00029 
00030 
00031 
00032 namespace cms
00033 {
00034   class ClusterizerFP420: public edm::EDProducer
00035   {
00036   public:
00037     
00038     explicit ClusterizerFP420(const edm::ParameterSet& conf);
00039     
00040     virtual ~ClusterizerFP420();
00041     
00042     virtual void beginJob();
00043     
00044     //  virtual void produce(DigiCollectionFP420*, ClusterCollectionFP420 &);
00045     // virtual void produce(DigiCollectionFP420 &, ClusterCollectionFP420 &);
00046     
00047     virtual void produce(edm::Event& e, const edm::EventSetup& c);
00048     
00049   private:
00050     typedef std::vector<std::string> vstring;
00051 
00052 
00053 
00054 
00055     edm::ParameterSet conf_;
00056     vstring trackerContainers;
00057 
00058     FP420ClusterMain* sClusterizerFP420_;
00059 
00060     ClusterCollectionFP420* soutput;
00061    
00062     FP420NumberingScheme * theFP420NumberingScheme;
00063     
00064     std::vector<ClusterNoiseFP420> noise;
00065     bool UseNoiseBadElectrodeFlagFromDB_;
00066     int sn0, pn0, dn0, rn0;
00067     int verbosity;
00068   };
00069 }
00070 #endif