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 // $Id: SiPixelDigiSource.h,v 1.26 2012/06/26 14:06:43 duggan Exp $
20 //
21 
22 #include <memory>
23 
24 // user include files
28 
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 beginJob() ;
57  virtual void endJob() ;
58  virtual void beginRun(const edm::Run&, edm::EventSetup const&) ;
59 
60  virtual void buildStructure(edm::EventSetup const&);
61  virtual void bookMEs();
62 
63  private:
66  bool saveFile;
67  bool isPIB;
68  bool slowDown;
69  bool modOn;
70  bool twoDimOn;
71  bool twoDimModOn;
73  bool hiRes;
74  bool reducedSet;
75  //barrel:
76  bool ladOn, layOn, phiOn;
77  //forward:
79  int eventNo;
80  int lumSec;
81  int nLumiSecs;
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 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 nL1M1;
114  int nL1M2;
115  int nL1M3;
116  int nL1M4;
117  int nL2M1;
118  int nL2M2;
119  int nL2M3;
120  int nL2M4;
121  int nL3M1;
122  int nL3M2;
123  int nL3M3;
124  int nL3M4;
184 
186 
187  bool firstRun;
188 
189  std::string I_name[1440];
190  unsigned int I_detId[1440];
191  int I_fedId[1440];
192  int I_linkId1[1440];
193  int I_linkId2[1440];
194  int nDigisPerFed[40];
195  int nDigisPerChan[1152];
197  int numberOfDigis[192];
198  int nDigisA;
199  int nDigisB;
200  };
201 
202 #endif
MonitorElement * meNDigisCHANBarrelCh19_
MonitorElement * meNDigisCHANBarrelCh35_
MonitorElement * meNDigisCHANBarrelCh2_
MonitorElement * meNDigisCHANBarrelCh30_
virtual void bookMEs()
MonitorElement * meNDigisCHANEndcapDp1_
MonitorElement * meNDigisCHANBarrelCh31_
MonitorElement * meNDigisCHANBarrelCh8_
std::string I_name[1440]
MonitorElement * meNDigisCHANBarrelCh36_
MonitorElement * loOccROCsEndcap
MonitorElement * meNDigisCHANBarrelCh17_
MonitorElement * meNDigisCHANBarrelCh25_
edm::DetSet< PixelDigi >::const_iterator DigiIterator
MonitorElement * meNDigisCHANBarrelCh6_
MonitorElement * meNDigisCOMBBarrel_
MonitorElement * meNDigisCHANEndcapDm1_
MonitorElement * meNDigisCOMBEndcap_
MonitorElement * meNDigisCHANBarrelCh14_
MonitorElement * meNDigisCHANBarrelCh12_
MonitorElement * meNDigisCHANBarrelL3_
MonitorElement * meNDigisCHANBarrelCh29_
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_
MonitorElement * meNDigisCHANBarrelCh33_
MonitorElement * pixEventRate
MonitorElement * meNDigisCHANBarrelCh21_
MonitorElement * meNDigisCHANBarrelCh32_
virtual void beginRun(const edm::Run &, edm::EventSetup const &)
MonitorElement * meNDigisCHANBarrelCh10_
MonitorElement * loOccROCsBarrel
tuple conf
Definition: dbtoconf.py:185
MonitorElement * meNDigisCHANBarrelCh1_
MonitorElement * averageDigiOccupancy
unsigned int I_detId[1440]
MonitorElement * meNDigisCHANBarrelCh5_
virtual void endJob()
MonitorElement * meNDigisCHANBarrelCh7_
MonitorElement * meNDigisCHANBarrelCh15_
MonitorElement * meNDigisCHANBarrelCh13_
MonitorElement * meNDigisCHANBarrelCh23_
virtual void beginJob()
MonitorElement * meNDigisCHANBarrelCh18_
MonitorElement * meNDigisCHANEndcapDp2_
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:34
MonitorElement * meNDigisCHANBarrelCh16_
MonitorElement * meNDigisCHANBarrelCh11_
virtual void buildStructure(edm::EventSetup const &)
edm::InputTag src_
MonitorElement * meNDigisCHANBarrelL2_
MonitorElement * meNDigisCHANBarrelCh24_
Definition: Run.h:33