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 
35 
37 
42 
43 
49 
51 
52 #include <boost/cstdint.hpp>
53 
55  public:
58 
59 // typedef edm::DetSet<PixelRecHit>::const_iterator RecHitIterator;
60 
61  virtual void analyze(const edm::Event&, const edm::EventSetup&);
62  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
63  virtual void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
64 
65  virtual void buildStructure(edm::EventSetup const&);
66  virtual void bookMEs(DQMStore::IBooker &);
67 
68  private:
71 
72  bool saveFile;
73  bool isPIB;
74  bool slowDown;
75  int eventNo;
76  std::map<uint32_t,SiPixelRecHitModule*> thePixelStructure;
77  std::map<uint32_t,int> rechit_count;
78  bool modOn;
79  bool twoDimOn;
80  bool reducedSet;
81  //barrel:
82  bool ladOn, layOn, phiOn;
83  //forward:
85 
86  bool firstRun;
87  bool isUpgrade;
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 bookMEs(DQMStore::IBooker &)
edm::ParameterSet conf_
virtual void buildStructure(edm::EventSetup const &)
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
virtual void dqmBeginRun(const edm::Run &, edm::EventSetup const &)
tuple conf
Definition: dbtoconf.py:185
edm::EDGetTokenT< SiPixelRecHitCollection > src_
Definition: Run.h:41
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override