CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDigitizer.h
Go to the documentation of this file.
1 #ifndef SiPixelDigitizer_h
2 #define SiPixelDigitizer_h
3 
16 #include <map>
17 #include <memory>
18 #include <string>
19 #include <vector>
20 
23 
24 namespace CLHEP {
25  class HepRandomEngine;
26 }
27 
28 namespace edm {
29  class EDProducer;
30  class Event;
31  class EventSetup;
32  class ParameterSet;
33  template<typename T> class Handle;
34 }
35 
36 class MagneticField;
38 class PixelGeomDetUnit;
39 class PSimHit;
41 class TrackerGeometry;
42 
43 namespace cms {
45  public:
46 
47  explicit SiPixelDigitizer(const edm::ParameterSet& conf, edm::EDProducer& mixMod);
48 
49  virtual ~SiPixelDigitizer();
50 
51  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
52  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
53  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c) override;
54  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
55 
56  virtual void beginJob() {}
57  private:
58  void accumulatePixelHits(edm::Handle<std::vector<PSimHit> >);
59  bool first;
60  std::unique_ptr<SiPixelDigitizerAlgorithm> _pixeldigialgo;
61  typedef std::vector<std::string> vstring;
67  std::map<unsigned int, PixelGeomDetUnit*> detectorUnits;
68  CLHEP::HepRandomEngine* rndEngine;
69 
70  // infrastructure to reject dead pixels as defined in db (added by F.Blekman)
71  };
72 }
73 
74 
75 #endif
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
virtual void beginJob()
CLHEP::HepRandomEngine * rndEngine
edm::ESHandle< MagneticField > pSetup
std::vector< std::string > vstring
void accumulatePixelHits(edm::Handle< std::vector< PSimHit > >)
std::map< unsigned int, PixelGeomDetUnit * > detectorUnits
const std::string hitsProducer
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
edm::ESHandle< TrackerGeometry > pDD
std::unique_ptr< SiPixelDigitizerAlgorithm > _pixeldigialgo
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c) override
tuple conf
Definition: dbtoconf.py:185
SiPixelDigitizer(const edm::ParameterSet &conf, edm::EDProducer &mixMod)
const std::string geometryType
const vstring trackerContainers