CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelRecHitSource.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorRecHits_SiPixelRecHitSource_h
2 #define SiPixelMonitorRecHits_SiPixelRecHitSource_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorRecHits
6 // Class : SiPixelRecHitSource
7 //
16 //
17 // Original Author: Vincenzo Chiochia
18 // Created:
19 //
20 // Updated by: Keith Rose
21 // for use in SiPixelMonitorRecHits
22 // Updated by: Lukas Wehrli
23 // for pixel offline DQM
24 
25 
26 #include <memory>
27 
28 // user include files
32 
34 
36 
41 
42 
48 
50 
51 #include <boost/cstdint.hpp>
52 
54  public:
57 
58 // typedef edm::DetSet<PixelRecHit>::const_iterator RecHitIterator;
59 
60  virtual void analyze(const edm::Event&, const edm::EventSetup&);
61  virtual void beginJob() ;
62  virtual void endJob() ;
63  virtual void beginRun(const edm::Run&, edm::EventSetup const&) ;
64 
65  virtual void buildStructure(edm::EventSetup const&);
66  virtual void bookMEs();
67 
68  private:
71 
72  bool saveFile;
73  bool isPIB;
74  bool slowDown;
75  int eventNo;
77  std::map<uint32_t,SiPixelRecHitModule*> thePixelStructure;
78  std::map<uint32_t,int> rechit_count;
79  bool modOn;
80  bool twoDimOn;
81  bool reducedSet;
82  //barrel:
83  bool ladOn, layOn, phiOn;
84  //forward:
86 
87  bool firstRun;
88 
89  };
90 
91 #endif
SiPixelRecHitSource(const edm::ParameterSet &conf)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::map< uint32_t, int > rechit_count
virtual void beginRun(const edm::Run &, edm::EventSetup const &)
edm::ParameterSet conf_
virtual void buildStructure(edm::EventSetup const &)
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
tuple conf
Definition: dbtoconf.py:185
edm::EDGetTokenT< SiPixelRecHitCollection > src_
Definition: Run.h:41