CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDigiSource.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorDigi_SiPixelDigiSource_h
2 #define SiPixelMonitorDigi_SiPixelDigiSource_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorDigi
6 // Class : SiPixelDigiSource
7 //
16 //
17 // Original Author: Vincenzo Chiochia
18 // Created:
19 //
20 
21 #include <memory>
22 
23 // user include files
27 
30 
32 
36 
37 
43 
45 
46 #include <boost/cstdint.hpp>
47 
49  public:
50  explicit SiPixelDigiSource(const edm::ParameterSet& conf);
52 
54 
55  virtual void analyze(const edm::Event&, const edm::EventSetup&);
56  virtual void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
57  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
58 
59  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
60  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
61 
62  virtual void buildStructure(edm::EventSetup const&);
63  virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup& iSetup);
64 
66 
67  private:
70  bool saveFile;
71  bool isPIB;
72  bool slowDown;
73  bool modOn;
74  bool twoDimOn;
75  bool twoDimModOn;
77  bool hiRes;
78  bool reducedSet;
79  //barrel:
80  bool ladOn, layOn, phiOn;
81  //forward:
83  std::map<uint32_t,SiPixelDigiModule*> thePixelStructure;
84 
85  int nDP1P1M1;
86  int nDP1P1M2;
87  int nDP1P1M3;
88  int nDP1P1M4;
89  int nDP1P2M1;
90  int nDP1P2M2;
91  int nDP1P2M3;
92  int nDP2P1M1;
93  int nDP2P1M2;
94  int nDP2P1M3;
95  int nDP2P1M4;
96  int nDP2P2M1;
97  int nDP2P2M2;
98  int nDP2P2M3;
99  int nDP3P1M1;
100  int nDP3P2M1;
101  int nDM1P1M1;
102  int nDM1P1M2;
103  int nDM1P1M3;
104  int nDM1P1M4;
105  int nDM1P2M1;
106  int nDM1P2M2;
107  int nDM1P2M3;
108  int nDM2P1M1;
109  int nDM2P1M2;
110  int nDM2P1M3;
111  int nDM2P1M4;
112  int nDM2P2M1;
113  int nDM2P2M2;
114  int nDM2P2M3;
115  int nDM3P1M1;
116  int nDM3P2M1;
117  int nL1M1;
118  int nL1M2;
119  int nL1M3;
120  int nL1M4;
121  int nL2M1;
122  int nL2M2;
123  int nL2M3;
124  int nL2M4;
125  int nL3M1;
126  int nL3M2;
127  int nL3M3;
128  int nL3M4;
129  int nL4M1;
130  int nL4M2;
131  int nL4M3;
132  int nL4M4;
148  std::vector<MonitorElement*> meNDigisCHANBarrelLs_;
186  std::vector<MonitorElement*> meNDigisCHANEndcapDps_;
187  std::vector<MonitorElement*> meNDigisCHANEndcapDms_;
188 
190  bool isUpgrade;
191  bool firstRun;
192 
194  unsigned int I_detId[1856];
195  int I_fedId[1856];
196  int I_linkId1[1856];
197  int I_linkId2[1856];
198  int nDigisPerFed[40];
199  int nDigisPerChan[1152];
201  int numberOfDigis[336];
202  int nDigisA;
203  int nDigisB;
204 
205  //define Token(-s)
209  };
210 
211 #endif
MonitorElement * meNDigisCHANBarrelCh19_
MonitorElement * meNDigisCHANBarrelCh35_
MonitorElement * meNDigisCHANBarrelCh2_
MonitorElement * meNDigisCHANBarrelCh30_
MonitorElement * meNDigisCHANBarrelCh31_
MonitorElement * meNDigisCHANBarrelCh8_
MonitorElement * meNDigisCHANBarrelCh36_
MonitorElement * loOccROCsEndcap
MonitorElement * meNDigisCHANBarrelCh17_
MonitorElement * meNDigisCHANBarrelCh25_
edm::DetSet< PixelDigi >::const_iterator DigiIterator
MonitorElement * meNDigisCHANBarrelCh6_
MonitorElement * meNDigisCOMBBarrel_
std::string topFolderName_
MonitorElement * meNDigisCOMBEndcap_
MonitorElement * meNDigisCHANBarrelCh14_
MonitorElement * meNDigisCHANBarrelCh12_
MonitorElement * meNDigisCHANBarrelCh29_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > srcToken_
MonitorElement * meNDigisCHANBarrelCh27_
virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup &iSetup)
SiPixelDigiSource(const edm::ParameterSet &conf)
MonitorElement * meNDigisCHANBarrelCh3_
MonitorElement * meNDigisCHANBarrelCh9_
MonitorElement * meNDigisCHANBarrelCh4_
MonitorElement * meNDigisCHANBarrelCh34_
MonitorElement * meNDigisCHANBarrelCh26_
MonitorElement * noOccROCsBarrel
MonitorElement * meNDigisCHANEndcap_
MonitorElement * meNDigisCHANBarrelCh28_
MonitorElement * noOccROCsEndcap
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * meNDigisCHANBarrel_
std::vector< MonitorElement * > meNDigisCHANEndcapDms_
virtual void dqmBeginRun(const edm::Run &, edm::EventSetup const &)
MonitorElement * meNDigisCHANBarrelCh33_
MonitorElement * pixEventRate
MonitorElement * meNDigisCHANBarrelCh21_
unsigned int I_detId[1856]
MonitorElement * meNDigisCHANBarrelCh32_
MonitorElement * meNDigisCHANBarrelCh10_
MonitorElement * loOccROCsBarrel
MonitorElement * meNDigisCHANBarrelCh1_
MonitorElement * averageDigiOccupancy
MonitorElement * meNDigisCHANBarrelCh5_
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meNDigisCHANBarrelCh7_
MonitorElement * meNDigisCHANBarrelCh15_
MonitorElement * meNDigisCHANBarrelCh13_
MonitorElement * meNDigisCHANBarrelCh23_
MonitorElement * meNDigisCHANBarrelCh18_
MonitorElement * bigEventRate
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * meNDigisCHANBarrelCh20_
MonitorElement * avgfedDigiOccvsLumi
edm::ParameterSet conf_
MonitorElement * meNDigisCHANBarrelCh22_
std::vector< MonitorElement * > meNDigisCHANEndcapDps_
MonitorElement * pixEvtsPerBX
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::vector< MonitorElement * > meNDigisCHANBarrelLs_
std::map< uint32_t, SiPixelDigiModule * > thePixelStructure
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
MonitorElement * meNDigisCHANBarrelCh16_
MonitorElement * meNDigisCHANBarrelCh11_
virtual void buildStructure(edm::EventSetup const &)
edm::InputTag src_
std::string I_name[1856]
MonitorElement * meNDigisCHANBarrelCh24_
Definition: Run.h:43