CMS 3D CMS Logo

SiPixelDigitizer.h

Go to the documentation of this file.
00001 #ifndef SiPixelDigitizer_h
00002 #define SiPixelDigitizer_h
00003 
00016 #include "FWCore/Framework/interface/EDProducer.h"
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "DataFormats/Common/interface/Handle.h"
00019 #include "FWCore/Framework/interface/EventSetup.h"
00020 
00021 #include "DataFormats/Common/interface/EDProduct.h"
00022 #include "SimTracker/SiPixelDigitizer/interface/SiPixelDigitizerAlgorithm.h"
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 #include "DataFormats/SiPixelDigi/interface/PixelDigi.h"
00025 #include "DataFormats/SiPixelDigi/interface/PixelDigiCollection.h"
00026 #include "SimDataFormats/TrackerDigiSimLink/interface/PixelDigiSimLink.h"
00027 #include "SimDataFormats/CrossingFrame/interface/MixCollection.h"
00028 //#include "SimDataFormats/TrackerDigiSimLink/interface/PixelDigiSimLinkCollection.h"
00029 
00030 namespace cms
00031 {
00032   class SiPixelDigitizer : public edm::EDProducer 
00033   {
00034   public:
00035 
00036     explicit SiPixelDigitizer(const edm::ParameterSet& conf);
00037 
00038     virtual ~SiPixelDigitizer();
00039 
00040     virtual void produce(edm::Event& e, const edm::EventSetup& c);
00041 
00042     virtual void beginJob(const edm::EventSetup &es);
00043   private:
00044     edm::ParameterSet conf_;
00045     SiPixelDigitizerAlgorithm  _pixeldigialgo;
00046     typedef std::vector<std::string> vstring;
00047     vstring trackerContainers;
00048     typedef std::map<unsigned int, std::vector<PSimHit>,std::less<unsigned int> > simhit_map;
00049     typedef simhit_map::iterator simhit_map_iterator;
00050     simhit_map SimHitMap;
00051     std::vector<edm::DetSet<PixelDigi> > theDigiVector;
00052     std::vector<edm::DetSet<PixelDigiSimLink> > theDigiLinkVector;
00053     std::string geometryType;
00054     //   std::vector<PixelDigiSimLink> linkcollector;
00055 
00056     // infrastructure to reject dead pixels as defined in db (added by F.Blekman)
00057   };
00058 }
00059 
00060 
00061 #endif

Generated on Tue Jun 9 17:47:52 2009 for CMSSW by  doxygen 1.5.4