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 // $Id: SiPixelRecHitSource.h,v 1.10 2011/05/20 17:17:24 wmtan Exp $
20 //
21 // Updated by: Keith Rose
22 // for use in SiPixelMonitorRecHits
23 // Updated by: Lukas Wehrli
24 // for pixel offline DQM
25 
26 
27 #include <memory>
28 
29 // user include files
33 
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 beginJob() ;
63  virtual void endJob() ;
64  virtual void beginRun(const edm::Run&, edm::EventSetup const&) ;
65 
66  virtual void buildStructure(edm::EventSetup const&);
67  virtual void bookMEs();
68 
69  private:
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
Definition: Run.h:33