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 buildStructure(edm::EventSetup const&);
60  virtual void bookMEs(DQMStore::IBooker &);
61 
62  private:
65  bool saveFile;
66  bool isPIB;
67  bool slowDown;
68  bool modOn;
69  bool twoDimOn;
70  bool twoDimModOn;
72  bool hiRes;
73  bool reducedSet;
74  //barrel:
75  bool ladOn, layOn, phiOn;
76  //forward:
78  int eventNo;
79  int lumSec;
80  int nLumiSecs;
81  std::map<uint32_t,SiPixelDigiModule*> thePixelStructure;
82 
83  int nDP1P1M1;
84  int nDP1P1M2;
85  int nDP1P1M3;
86  int nDP1P1M4;
87  int nDP1P2M1;
88  int nDP1P2M2;
89  int nDP1P2M3;
90  int nDP2P1M1;
91  int nDP2P1M2;
92  int nDP2P1M3;
93  int nDP2P1M4;
94  int nDP2P2M1;
95  int nDP2P2M2;
96  int nDP2P2M3;
97  int nDP3P1M1;
98  int nDP3P2M1;
99  int nDM1P1M1;
100  int nDM1P1M2;
101  int nDM1P1M3;
102  int nDM1P1M4;
103  int nDM1P2M1;
104  int nDM1P2M2;
105  int nDM1P2M3;
106  int nDM2P1M1;
107  int nDM2P1M2;
108  int nDM2P1M3;
109  int nDM2P1M4;
110  int nDM2P2M1;
111  int nDM2P2M2;
112  int nDM2P2M3;
113  int nDM3P1M1;
114  int nDM3P2M1;
115  int nL1M1;
116  int nL1M2;
117  int nL1M3;
118  int nL1M4;
119  int nL2M1;
120  int nL2M2;
121  int nL2M3;
122  int nL2M4;
123  int nL3M1;
124  int nL3M2;
125  int nL3M3;
126  int nL3M4;
127  int nL4M1;
128  int nL4M2;
129  int nL4M3;
130  int nL4M4;
193 
195  bool isUpgrade;
196  bool firstRun;
197 
199  unsigned int I_detId[1856];
200  int I_fedId[1856];
201  int I_linkId1[1856];
202  int I_linkId2[1856];
203  int nDigisPerFed[40];
204  int nDigisPerChan[1152];
206  int numberOfDigis[336];
207  int nDigisA;
208  int nDigisB;
209 
210  //define Token(-s)
212  };
213 
214 #endif
MonitorElement * meNDigisCHANBarrelCh19_
virtual void bookMEs(DQMStore::IBooker &)
MonitorElement * meNDigisCHANBarrelCh35_
MonitorElement * meNDigisCHANBarrelCh2_
MonitorElement * meNDigisCHANEndcapDm3_
MonitorElement * meNDigisCHANBarrelCh30_
MonitorElement * meNDigisCHANEndcapDp1_
MonitorElement * meNDigisCHANBarrelCh31_
MonitorElement * meNDigisCHANBarrelCh8_
MonitorElement * meNDigisCHANBarrelCh36_
MonitorElement * loOccROCsEndcap
MonitorElement * meNDigisCHANBarrelCh17_
MonitorElement * meNDigisCHANBarrelCh25_
edm::DetSet< PixelDigi >::const_iterator DigiIterator
MonitorElement * meNDigisCHANBarrelCh6_
MonitorElement * meNDigisCOMBBarrel_
MonitorElement * meNDigisCHANBarrelL4_
MonitorElement * meNDigisCHANEndcapDm1_
MonitorElement * meNDigisCOMBEndcap_
MonitorElement * meNDigisCHANBarrelCh14_
MonitorElement * meNDigisCHANBarrelCh12_
MonitorElement * meNDigisCHANBarrelL3_
MonitorElement * meNDigisCHANBarrelCh29_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > srcToken_
MonitorElement * meNDigisCHANBarrelCh27_
SiPixelDigiSource(const edm::ParameterSet &conf)
MonitorElement * meNDigisCHANEndcapDm2_
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_
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
tuple conf
Definition: dbtoconf.py:185
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 * meNDigisCHANEndcapDp2_
MonitorElement * meNDigisCHANEndcapDp3_
MonitorElement * bigEventRate
MonitorElement * meNDigisCHANBarrelCh20_
MonitorElement * avgfedDigiOccvsLumi
edm::ParameterSet conf_
MonitorElement * meNDigisCHANBarrelCh22_
MonitorElement * pixEvtsPerBX
std::map< uint32_t, SiPixelDigiModule * > thePixelStructure
MonitorElement * meNDigisCHANBarrelL1_
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
MonitorElement * meNDigisCHANBarrelCh16_
MonitorElement * meNDigisCHANBarrelCh11_
virtual void buildStructure(edm::EventSetup const &)
edm::InputTag src_
MonitorElement * meNDigisCHANBarrelL2_
std::string I_name[1856]
MonitorElement * meNDigisCHANBarrelCh24_
Definition: Run.h:41