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 
29 
31 
35 
36 
42 
44 
45 #include <boost/cstdint.hpp>
46 
48  public:
49  explicit SiPixelDigiSource(const edm::ParameterSet& conf);
51 
53 
54  virtual void analyze(const edm::Event&, const edm::EventSetup&);
55  virtual void beginJob() ;
56  virtual void endJob() ;
57  virtual void beginRun(const edm::Run&, edm::EventSetup const&) ;
58 
59  virtual void buildStructure(edm::EventSetup const&);
60  virtual void bookMEs();
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;
82  std::map<uint32_t,SiPixelDigiModule*> thePixelStructure;
83 
84  int nDP1P1M1;
85  int nDP1P1M2;
86  int nDP1P1M3;
87  int nDP1P1M4;
88  int nDP1P2M1;
89  int nDP1P2M2;
90  int nDP1P2M3;
91  int nDP2P1M1;
92  int nDP2P1M2;
93  int nDP2P1M3;
94  int nDP2P1M4;
95  int nDP2P2M1;
96  int nDP2P2M2;
97  int nDP2P2M3;
98  int nDM1P1M1;
99  int nDM1P1M2;
100  int nDM1P1M3;
101  int nDM1P1M4;
102  int nDM1P2M1;
103  int nDM1P2M2;
104  int nDM1P2M3;
105  int nDM2P1M1;
106  int nDM2P1M2;
107  int nDM2P1M3;
108  int nDM2P1M4;
109  int nDM2P2M1;
110  int nDM2P2M2;
111  int nDM2P2M3;
112  int nL1M1;
113  int nL1M2;
114  int nL1M3;
115  int nL1M4;
116  int nL2M1;
117  int nL2M2;
118  int nL2M3;
119  int nL2M4;
120  int nL3M1;
121  int nL3M2;
122  int nL3M3;
123  int nL3M4;
183 
185 
186  bool firstRun;
187 
189  unsigned int I_detId[1440];
190  int I_fedId[1440];
191  int I_linkId1[1440];
192  int I_linkId2[1440];
193  int nDigisPerFed[40];
194  int nDigisPerChan[1152];
196  int numberOfDigis[192];
197  int nDigisA;
198  int nDigisB;
199 
200  //define Token(-s)
202  };
203 
204 #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_
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_
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:33
MonitorElement * meNDigisCHANBarrelCh16_
MonitorElement * meNDigisCHANBarrelCh11_
virtual void buildStructure(edm::EventSetup const &)
edm::InputTag src_
MonitorElement * meNDigisCHANBarrelL2_
MonitorElement * meNDigisCHANBarrelCh24_
Definition: Run.h:41