CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelClusterSource.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorCluster_SiPixelClusterSource_h
2 #define SiPixelMonitorCluster_SiPixelClusterSource_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorCluster
6 // Class : SiPixelClusterSource
7 //
8 /*
9 
10  Description: <one line class summary>
11 
12  Usage:
13  <usage>
14 
15 */
16 //
17 // Original Author: Vincenzo Chiochia & Andrew York
18 //
19 // Updated by: Lukas Wehrli
20 // for pixel offline DQM
21 // Created:
22 
23 #include <memory>
24 
25 // user include files
29 
32 
34 
38 
39 
45 
47 
48 #include <boost/cstdint.hpp>
49 
59 
61  public:
62  explicit SiPixelClusterSource(const edm::ParameterSet& conf);
64 
66 
67  virtual void analyze(const edm::Event&, const edm::EventSetup&);
68  virtual void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
69  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
70 
71  virtual void buildStructure(edm::EventSetup const&);
72  virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup& iSetup);
73 
75 
76  private:
79  bool saveFile;
80  bool isPIB;
81  bool slowDown;
82  int eventNo;
83  std::map<uint32_t,SiPixelClusterModule*> thePixelStructure;
84  bool modOn;
85  bool twoDimOn;
86  bool reducedSet;
87  //barrel:
88  bool ladOn, layOn, phiOn;
89  //forward:
91  bool smileyOn; //cluster sizeY vs Cluster eta plot
92  bool firstRun;
93  int lumSec;
94  int nLumiSecs;
98  bool isUpgrade;
99 
100  std::vector<MonitorElement*> meClPosLayer;
101  std::vector<MonitorElement*> meClPosDiskpz;
102  std::vector<MonitorElement*> meClPosDiskmz;
103 
106 
107  //define Token(-s)
109 };
110 
111 #endif
virtual void buildStructure(edm::EventSetup const &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< MonitorElement * > meClPosDiskmz
data_type const * const_iterator
Definition: DetSetNew.h:30
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > srcToken_
SiPixelClusterSource(const edm::ParameterSet &conf)
std::vector< MonitorElement * > meClPosDiskpz
std::vector< MonitorElement * > meClPosLayer
edm::ParameterSet conf_
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void dqmBeginRun(const edm::Run &, edm::EventSetup const &)
edmNew::DetSet< SiPixelCluster >::const_iterator ClusterIterator
virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup &iSetup)
std::map< uint32_t, SiPixelClusterModule * > thePixelStructure
MonitorElement * bigFpixClusterEventRate
Definition: Run.h:43