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 ConsumesCollector;
30  namespace one {
31  class EDProducerBase;
32  }
33  class Event;
34  class EventSetup;
35  class ParameterSet;
36  template<typename T> class Handle;
37 }
38 
39 class MagneticField;
41 class PixelGeomDetUnit;
42 class PSimHit;
44 class TrackerGeometry;
45 
46 namespace cms {
48  public:
49 
51 
52  virtual ~SiPixelDigitizer();
53 
54  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
55  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
56  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c) override;
57  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
58 
59  virtual void beginJob() {}
60  private:
61  void accumulatePixelHits(edm::Handle<std::vector<PSimHit> >);
62  bool first;
63  std::unique_ptr<SiPixelDigitizerAlgorithm> _pixeldigialgo;
64  typedef std::vector<std::string> vstring;
70  std::map<unsigned int, PixelGeomDetUnit*> detectorUnits;
71  CLHEP::HepRandomEngine* rndEngine;
72 
73  // infrastructure to reject dead pixels as defined in db (added by F.Blekman)
74  };
75 }
76 
77 
78 #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
SiPixelDigitizer(const edm::ParameterSet &conf, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
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
const std::string geometryType
const vstring trackerContainers