CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDigiValid.cc
Go to the documentation of this file.
14 
15 using namespace std;
16 using namespace edm;
17 
19 
20 
21  outputFile_ = ps.getUntrackedParameter<string>("outputFile", "pixeldigihisto.root");
22  src_ = ps.getParameter<edm::InputTag>( "src" );
23 
24 
26 
27  if ( dbe_ ) {
28  dbe_->setCurrentFolder("TrackerDigisV/TrackerDigis/Pixel");
29 
30  meDigiMultiLayer1Ring1_ = dbe_->book1D("digimulti_layer1ring1","Digi Multiplicity ",30, 0., 30.);
31  meDigiMultiLayer1Ring2_ = dbe_->book1D("digimulti_layer1ring2","Digi Multiplicity ",30, 0., 30.);
32  meDigiMultiLayer1Ring3_ = dbe_->book1D("digimulti_layer1ring3","Digi Multiplicity ",30, 0., 30.);
33  meDigiMultiLayer1Ring4_ = dbe_->book1D("digimulti_layer1ring4","Digi Multiplicity ",30, 0., 30.);
34  meDigiMultiLayer1Ring5_ = dbe_->book1D("digimulti_layer1ring5","Digi Multiplicity ",30, 0., 30.);
35  meDigiMultiLayer1Ring6_ = dbe_->book1D("digimulti_layer1ring6","Digi Multiplicity ",30, 0., 30.);
36  meDigiMultiLayer1Ring7_ = dbe_->book1D("digimulti_layer1ring7","Digi Multiplicity ",30, 0., 30.);
37  meDigiMultiLayer1Ring8_ = dbe_->book1D("digimulti_layer1ring8","Digi Multiplicity ",30, 0., 30.);
38 
39  meDigiMultiLayer2Ring1_ = dbe_->book1D("digimulti_layer2ring1","Digi Multiplicity ",30, 0., 30.);
40  meDigiMultiLayer2Ring2_ = dbe_->book1D("digimulti_layer2ring2","Digi Multiplicity ",30, 0., 30.);
41  meDigiMultiLayer2Ring3_ = dbe_->book1D("digimulti_layer2ring3","Digi Multiplicity ",30, 0., 30.);
42  meDigiMultiLayer2Ring4_ = dbe_->book1D("digimulti_layer2ring4","Digi Multiplicity ",30, 0., 30.);
43  meDigiMultiLayer2Ring5_ = dbe_->book1D("digimulti_layer2ring5","Digi Multiplicity ",30, 0., 30.);
44  meDigiMultiLayer2Ring6_ = dbe_->book1D("digimulti_layer2ring6","Digi Multiplicity ",30, 0., 30.);
45  meDigiMultiLayer2Ring7_ = dbe_->book1D("digimulti_layer2ring7","Digi Multiplicity ",30, 0., 30.);
46  meDigiMultiLayer2Ring8_ = dbe_->book1D("digimulti_layer2ring8","Digi Multiplicity ",30, 0., 30.);
47 
48  meDigiMultiLayer3Ring1_ = dbe_->book1D("digimulti_layer3ring1","Digi Multiplicity ",30, 0., 30.);
49  meDigiMultiLayer3Ring2_ = dbe_->book1D("digimulti_layer3ring2","Digi Multiplicity ",30, 0., 30.);
50  meDigiMultiLayer3Ring3_ = dbe_->book1D("digimulti_layer3ring3","Digi Multiplicity ",30, 0., 30.);
51  meDigiMultiLayer3Ring4_ = dbe_->book1D("digimulti_layer3ring4","Digi Multiplicity ",30, 0., 30.);
52  meDigiMultiLayer3Ring5_ = dbe_->book1D("digimulti_layer3ring5","Digi Multiplicity ",30, 0., 30.);
53  meDigiMultiLayer3Ring6_ = dbe_->book1D("digimulti_layer3ring6","Digi Multiplicity ",30, 0., 30.);
54  meDigiMultiLayer3Ring7_ = dbe_->book1D("digimulti_layer3ring7","Digi Multiplicity ",30, 0., 30.);
55  meDigiMultiLayer3Ring8_ = dbe_->book1D("digimulti_layer3ring8","Digi Multiplicity ",30, 0., 30.);
56 
58  meAdcLayer1Ring1_ = dbe_->book1D("adc_layer1ring1","Digi charge",50, 0., 300.);
59  meAdcLayer1Ring2_ = dbe_->book1D("adc_layer1ring2","Digi charge",50, 0., 300.);
60  meAdcLayer1Ring3_ = dbe_->book1D("adc_layer1ring3","Digi charge",50, 0., 300.);
61  meAdcLayer1Ring4_ = dbe_->book1D("adc_layer1ring4","Digi charge",50, 0., 300.);
62  meAdcLayer1Ring5_ = dbe_->book1D("adc_layer1ring5","Digi charge",50, 0., 300.);
63  meAdcLayer1Ring6_ = dbe_->book1D("adc_layer1ring6","Digi charge",50, 0., 300.);
64  meAdcLayer1Ring7_ = dbe_->book1D("adc_layer1ring7","Digi charge",50, 0., 300.);
65  meAdcLayer1Ring8_ = dbe_->book1D("adc_layer1ring8","Digi charge",50, 0., 300.);
66 
67  meRowLayer1Ring1_ = dbe_->book1D("row_layer1ring1","Digi row",50, 0., 200.);
68  meRowLayer1Ring2_ = dbe_->book1D("row_layer1ring2","Digi row",50, 0., 200.);
69  meRowLayer1Ring3_ = dbe_->book1D("row_layer1ring3","Digi row",50, 0., 200.);
70  meRowLayer1Ring4_ = dbe_->book1D("row_layer1ring4","Digi row",50, 0., 200.);
71  meRowLayer1Ring5_ = dbe_->book1D("row_layer1ring5","Digi row",50, 0., 200.);
72  meRowLayer1Ring6_ = dbe_->book1D("row_layer1ring6","Digi row",50, 0., 200.);
73  meRowLayer1Ring7_ = dbe_->book1D("row_layer1ring7","Digi row",50, 0., 200.);
74  meRowLayer1Ring8_ = dbe_->book1D("row_layer1ring8","Digi row",50, 0., 200.);
75 
76  meColLayer1Ring1_ = dbe_->book1D("col_layer1ring1","Digi column",50, 0., 500.);
77  meColLayer1Ring2_ = dbe_->book1D("col_layer1ring2","Digi column",50, 0., 500.);
78  meColLayer1Ring3_ = dbe_->book1D("col_layer1ring3","Digi column",50, 0., 500.);
79  meColLayer1Ring4_ = dbe_->book1D("col_layer1ring4","Digi column",50, 0., 500.);
80  meColLayer1Ring5_ = dbe_->book1D("col_layer1ring5","Digi column",50, 0., 500.);
81  meColLayer1Ring6_ = dbe_->book1D("col_layer1ring6","Digi column",50, 0., 500.);
82  meColLayer1Ring7_ = dbe_->book1D("col_layer1ring7","Digi column",50, 0., 500.);
83  meColLayer1Ring8_ = dbe_->book1D("col_layer1ring8","Digi column",50, 0., 500.);
84 
85 
86  meAdcLayer2Ring1_ = dbe_->book1D("adc_layer2ring1","Digi charge",50, 0., 300.);
87  meAdcLayer2Ring2_ = dbe_->book1D("adc_layer2ring2","Digi charge",50, 0., 300.);
88  meAdcLayer2Ring3_ = dbe_->book1D("adc_layer2ring3","Digi charge",50, 0., 300.);
89  meAdcLayer2Ring4_ = dbe_->book1D("adc_layer2ring4","Digi charge",50, 0., 300.);
90  meAdcLayer2Ring5_ = dbe_->book1D("adc_layer2ring5","Digi charge",50, 0., 300.);
91  meAdcLayer2Ring6_ = dbe_->book1D("adc_layer2ring6","Digi charge",50, 0., 300.);
92  meAdcLayer2Ring7_ = dbe_->book1D("adc_layer2ring7","Digi charge",50, 0., 300.);
93  meAdcLayer2Ring8_ = dbe_->book1D("adc_layer2ring8","Digi charge",50, 0., 300.);
94 
95  meRowLayer2Ring1_ = dbe_->book1D("row_layer2ring1","Digi row",50, 0., 200.);
96  meRowLayer2Ring2_ = dbe_->book1D("row_layer2ring2","Digi row",50, 0., 200.);
97  meRowLayer2Ring3_ = dbe_->book1D("row_layer2ring3","Digi row",50, 0., 200.);
98  meRowLayer2Ring4_ = dbe_->book1D("row_layer2ring4","Digi row",50, 0., 200.);
99  meRowLayer2Ring5_ = dbe_->book1D("row_layer2ring5","Digi row",50, 0., 200.);
100  meRowLayer2Ring6_ = dbe_->book1D("row_layer2ring6","Digi row",50, 0., 200.);
101  meRowLayer2Ring7_ = dbe_->book1D("row_layer2ring7","Digi row",50, 0., 200.);
102  meRowLayer2Ring8_ = dbe_->book1D("row_layer2ring8","Digi row",50, 0., 200.);
103 
104  meColLayer2Ring1_ = dbe_->book1D("col_layer2ring1","Digi column",50, 0., 500.);
105  meColLayer2Ring2_ = dbe_->book1D("col_layer2ring2","Digi column",50, 0., 500.);
106  meColLayer2Ring3_ = dbe_->book1D("col_layer2ring3","Digi column",50, 0., 500.);
107  meColLayer2Ring4_ = dbe_->book1D("col_layer2ring4","Digi column",50, 0., 500.);
108  meColLayer2Ring5_ = dbe_->book1D("col_layer2ring5","Digi column",50, 0., 500.);
109  meColLayer2Ring6_ = dbe_->book1D("col_layer2ring6","Digi column",50, 0., 500.);
110  meColLayer2Ring7_ = dbe_->book1D("col_layer2ring7","Digi column",50, 0., 500.);
111  meColLayer2Ring8_ = dbe_->book1D("col_layer2ring8","Digi column",50, 0., 500.);
112 
113 
114  meAdcLayer3Ring1_ = dbe_->book1D("adc_layer3ring1","Digi charge",50, 0., 300.);
115  meAdcLayer3Ring2_ = dbe_->book1D("adc_layer3ring2","Digi charge",50, 0., 300.);
116  meAdcLayer3Ring3_ = dbe_->book1D("adc_layer3ring3","Digi charge",50, 0., 300.);
117  meAdcLayer3Ring4_ = dbe_->book1D("adc_layer3ring4","Digi charge",50, 0., 300.);
118  meAdcLayer3Ring5_ = dbe_->book1D("adc_layer3ring5","Digi charge",50, 0., 300.);
119  meAdcLayer3Ring6_ = dbe_->book1D("adc_layer3ring6","Digi charge",50, 0., 300.);
120  meAdcLayer3Ring7_ = dbe_->book1D("adc_layer3ring7","Digi charge",50, 0., 300.);
121  meAdcLayer3Ring8_ = dbe_->book1D("adc_layer3ring8","Digi charge",50, 0., 300.);
122 
123  meRowLayer3Ring1_ = dbe_->book1D("row_layer3ring1","Digi row",50, 0., 200.);
124  meRowLayer3Ring2_ = dbe_->book1D("row_layer3ring2","Digi row",50, 0., 200.);
125  meRowLayer3Ring3_ = dbe_->book1D("row_layer3ring3","Digi row",50, 0., 200.);
126  meRowLayer3Ring4_ = dbe_->book1D("row_layer3ring4","Digi row",50, 0., 200.);
127  meRowLayer3Ring5_ = dbe_->book1D("row_layer3ring5","Digi row",50, 0., 200.);
128  meRowLayer3Ring6_ = dbe_->book1D("row_layer3ring6","Digi row",50, 0., 200.);
129  meRowLayer3Ring7_ = dbe_->book1D("row_layer3ring7","Digi row",50, 0., 200.);
130  meRowLayer3Ring8_ = dbe_->book1D("row_layer3ring8","Digi row",50, 0., 200.);
131 
132  meColLayer3Ring1_ = dbe_->book1D("col_layer3ring1","Digi column",50, 0., 500.);
133  meColLayer3Ring2_ = dbe_->book1D("col_layer3ring2","Digi column",50, 0., 500.);
134  meColLayer3Ring3_ = dbe_->book1D("col_layer3ring3","Digi column",50, 0., 500.);
135  meColLayer3Ring4_ = dbe_->book1D("col_layer3ring4","Digi column",50, 0., 500.);
136  meColLayer3Ring5_ = dbe_->book1D("col_layer3ring5","Digi column",50, 0., 500.);
137  meColLayer3Ring6_ = dbe_->book1D("col_layer3ring6","Digi column",50, 0., 500.);
138  meColLayer3Ring7_ = dbe_->book1D("col_layer3ring7","Digi column",50, 0., 500.);
139  meColLayer3Ring8_ = dbe_->book1D("col_layer3ring8","Digi column",50, 0., 500.);
140 
141  meDigiMultiLayer1Ladders_ =dbe_->bookProfile("digi_layer1_ladders","Digi Num. per ladder",22,0.0,21.0, 100, 0.0, 100);
142  meDigiMultiLayer2Ladders_ =dbe_->bookProfile("digi_layer2_ladders","Digi Num. per ladder",34,0.0,32.0, 100, 0.0, 100);
143  meDigiMultiLayer3Ladders_ =dbe_->bookProfile("digi_layer3_ladders","Digi Num. per ladder",46,0.0,45.0, 100, 0.0, 100);
144 
145  //Forward Pixel
146  /* ZMinus Side 1st Disk */
147  meAdcZmDisk1Panel1Plaq1_ = dbe_->book1D("adc_zm_disk1_panel1_plaq1","Digi charge",50,0.,300.);
148  meAdcZmDisk1Panel1Plaq2_ = dbe_->book1D("adc_zm_disk1_panel1_plaq2","Digi charge",50,0.,300.);
149  meAdcZmDisk1Panel1Plaq3_ = dbe_->book1D("adc_zm_disk1_panel1_plaq3","Digi charge",50,0.,300.);
150  meAdcZmDisk1Panel1Plaq4_ = dbe_->book1D("adc_zm_disk1_panel1_plaq4","Digi charge",50,0.,300.);
151  meAdcZmDisk1Panel2Plaq1_ = dbe_->book1D("adc_zm_disk1_panel2_plaq1","Digi charge",50,0.,300.);
152  meAdcZmDisk1Panel2Plaq2_ = dbe_->book1D("adc_zm_disk1_panel2_plaq2","Digi charge",50,0.,300.);
153  meAdcZmDisk1Panel2Plaq3_ = dbe_->book1D("adc_zm_disk1_panel2_plaq3","Digi charge",50,0.,300.);
154 
155  meRowZmDisk1Panel1Plaq1_ = dbe_->book1D("row_zm_disk1_panel1_plaq1","Digi row",50,0.,100.);
156  meRowZmDisk1Panel1Plaq2_ = dbe_->book1D("row_zm_disk1_panel1_plaq2","Digi row",50,0.,200.);
157  meRowZmDisk1Panel1Plaq3_ = dbe_->book1D("row_zm_disk1_panel1_plaq3","Digi row",50,0.,200.);
158  meRowZmDisk1Panel1Plaq4_ = dbe_->book1D("row_zm_disk1_panel1_plaq4","Digi row",50,0.,100.);
159  meRowZmDisk1Panel2Plaq1_ = dbe_->book1D("row_zm_disk1_panel2_plaq1","Digi row",50,0.,200.);
160  meRowZmDisk1Panel2Plaq2_ = dbe_->book1D("row_zm_disk1_panel2_plaq2","Digi row",50,0.,200.);
161  meRowZmDisk1Panel2Plaq3_ = dbe_->book1D("row_zm_disk1_panel2_plaq3","Digi row",50,0.,200.);
162 
163  meColZmDisk1Panel1Plaq1_ = dbe_->book1D("col_zm_disk1_panel1_plaq1","Digi column",50,0.,150.);
164  meColZmDisk1Panel1Plaq2_ = dbe_->book1D("col_zm_disk1_panel1_plaq2","Digi column",50,0.,200.);
165  meColZmDisk1Panel1Plaq3_ = dbe_->book1D("col_zm_disk1_panel1_plaq3","Digi column",50,0.,250.);
166  meColZmDisk1Panel1Plaq4_ = dbe_->book1D("col_zm_disk1_panel1_plaq4","Digi column",50,0.,300.);
167  meColZmDisk1Panel2Plaq1_ = dbe_->book1D("col_zm_disk1_panel2_plaq1","Digi column",50,0.,200.);
168  meColZmDisk1Panel2Plaq2_ = dbe_->book1D("col_zm_disk1_panel2_plaq2","Digi column",50,0.,250.);
169  meColZmDisk1Panel2Plaq3_ = dbe_->book1D("col_zm_disk1_panel2_plaq3","Digi column",50,0.,300.);
170  meNdigiZmDisk1PerPanel1_ = dbe_->book1D("digi_zm_disk1_panel1","Digi Num. Panel1 Of 1st Disk In ZMinus Side ",30,0.,30.);
171  meNdigiZmDisk1PerPanel2_ = dbe_->book1D("digi_zm_disk1_panel2","Digi Num. Panel2 Of 1st Disk In ZMinus Side ",30,0.,30.);
172 
173  /* ZMius Side 2nd disk */
174  meAdcZmDisk2Panel1Plaq1_ = dbe_->book1D("adc_zm_disk2_panel1_plaq1","Digi charge",50,0.,300.);
175  meAdcZmDisk2Panel1Plaq2_ = dbe_->book1D("adc_zm_disk2_panel1_plaq2","Digi charge",50,0.,300.);
176  meAdcZmDisk2Panel1Plaq3_ = dbe_->book1D("adc_zm_disk2_panel1_plaq3","Digi charge",50,0.,300.);
177  meAdcZmDisk2Panel1Plaq4_ = dbe_->book1D("adc_zm_disk2_panel1_plaq4","Digi charge",50,0.,300.);
178  meAdcZmDisk2Panel2Plaq1_ = dbe_->book1D("adc_zm_disk2_panel2_plaq1","Digi charge",50,0.,300.);
179  meAdcZmDisk2Panel2Plaq2_ = dbe_->book1D("adc_zm_disk2_panel2_plaq2","Digi charge",50,0.,300.);
180  meAdcZmDisk2Panel2Plaq3_ = dbe_->book1D("adc_zm_disk2_panel2_plaq3","Digi charge",50,0.,300.);
181 
182  meRowZmDisk2Panel1Plaq1_ = dbe_->book1D("row_zm_disk2_panel1_plaq1","Digi row",50,0.,100.);
183  meRowZmDisk2Panel1Plaq2_ = dbe_->book1D("row_zm_disk2_panel1_plaq2","Digi row",50,0.,200.);
184  meRowZmDisk2Panel1Plaq3_ = dbe_->book1D("row_zm_disk2_panel1_plaq3","Digi row",50,0.,200.);
185  meRowZmDisk2Panel1Plaq4_ = dbe_->book1D("row_zm_disk2_panel1_plaq4","Digi row",50,0.,100.);
186  meRowZmDisk2Panel2Plaq1_ = dbe_->book1D("row_zm_disk2_panel2_plaq1","Digi row",50,0.,200.);
187  meRowZmDisk2Panel2Plaq2_ = dbe_->book1D("row_zm_disk2_panel2_plaq2","Digi row",50,0.,200.);
188  meRowZmDisk2Panel2Plaq3_ = dbe_->book1D("row_zm_disk2_panel2_plaq3","Digi row",50,0.,200.);
189 
190  meColZmDisk2Panel1Plaq1_ = dbe_->book1D("col_zm_disk2_panel1_plaq1","Digi Column",50,0.,150.);
191  meColZmDisk2Panel1Plaq2_ = dbe_->book1D("col_zm_disk2_panel1_plaq2","Digi Column",50,0.,200.);
192  meColZmDisk2Panel1Plaq3_ = dbe_->book1D("col_zm_disk2_panel1_plaq3","Digi Column",50,0.,250.);
193  meColZmDisk2Panel1Plaq4_ = dbe_->book1D("col_zm_disk2_panel1_plaq4","Digi Column",50,0.,300.);
194  meColZmDisk2Panel2Plaq1_ = dbe_->book1D("col_zm_disk2_panel2_plaq1","Digi Column",50,0.,200.);
195  meColZmDisk2Panel2Plaq2_ = dbe_->book1D("col_zm_disk2_panel2_plaq2","Digi Column",50,0.,250.);
196  meColZmDisk2Panel2Plaq3_ = dbe_->book1D("col_zm_disk2_panel2_plaq3","Digi Column",50,0.,300.);
197  meNdigiZmDisk2PerPanel1_ = dbe_->book1D("digi_zm_disk2_panel1","Digi Num. Panel1 Of 2nd Disk In ZMinus Side ",30,0.,30.);
198  meNdigiZmDisk2PerPanel2_ = dbe_->book1D("digi_zm_disk2_panel2","Digi Num. Panel2 Of 2nd Disk In ZMinus Side ",30,0.,30.);
199 
200 
201  /* ZPlus Side 1st Disk */
202  meAdcZpDisk1Panel1Plaq1_ = dbe_->book1D("adc_zp_disk1_panel1_plaq1","Digi charge",50,0.,300.);
203  meAdcZpDisk1Panel1Plaq2_ = dbe_->book1D("adc_zp_disk1_panel1_plaq2","Digi charge",50,0.,300.);
204  meAdcZpDisk1Panel1Plaq3_ = dbe_->book1D("adc_zp_disk1_panel1_plaq3","Digi charge",50,0.,300.);
205  meAdcZpDisk1Panel1Plaq4_ = dbe_->book1D("adc_zp_disk1_panel1_plaq4","Digi charge",50,0.,300.);
206  meAdcZpDisk1Panel2Plaq1_ = dbe_->book1D("adc_zp_disk1_panel2_plaq1","Digi charge",50,0.,300.);
207  meAdcZpDisk1Panel2Plaq2_ = dbe_->book1D("adc_zp_disk1_panel2_plaq2","Digi charge",50,0.,300.);
208  meAdcZpDisk1Panel2Plaq3_ = dbe_->book1D("adc_zp_disk1_panel2_plaq3","Digi charge",50,0.,300.);
209 
210  meRowZpDisk1Panel1Plaq1_ = dbe_->book1D("row_zp_disk1_panel1_plaq1","Digi row",50,0.,100.);
211  meRowZpDisk1Panel1Plaq2_ = dbe_->book1D("row_zp_disk1_panel1_plaq2","Digi row",50,0.,200.);
212  meRowZpDisk1Panel1Plaq3_ = dbe_->book1D("row_zp_disk1_panel1_plaq3","Digi row",50,0.,200.);
213  meRowZpDisk1Panel1Plaq4_ = dbe_->book1D("row_zp_disk1_panel1_plaq4","Digi row",50,0.,100.);
214  meRowZpDisk1Panel2Plaq1_ = dbe_->book1D("row_zp_disk1_panel2_plaq1","Digi row",50,0.,200.);
215  meRowZpDisk1Panel2Plaq2_ = dbe_->book1D("row_zp_disk1_panel2_plaq2","Digi row",50,0.,200.);
216  meRowZpDisk1Panel2Plaq3_ = dbe_->book1D("row_zp_disk1_panel2_plaq3","Digi row",50,0.,200.);
217 
218  meColZpDisk1Panel1Plaq1_ = dbe_->book1D("col_zp_disk1_panel1_plaq1","Digi Column",50,0.,150.);
219  meColZpDisk1Panel1Plaq2_ = dbe_->book1D("col_zp_disk1_panel1_plaq2","Digi column",50,0.,200.);
220  meColZpDisk1Panel1Plaq3_ = dbe_->book1D("col_zp_disk1_panel1_plaq3","Digi column",50,0.,250.);
221  meColZpDisk1Panel1Plaq4_ = dbe_->book1D("col_zp_disk1_panel1_plaq4","Digi column",50,0.,300.);
222  meColZpDisk1Panel2Plaq1_ = dbe_->book1D("col_zp_disk1_panel2_plaq1","Digi column",50,0.,200.);
223  meColZpDisk1Panel2Plaq2_ = dbe_->book1D("col_zp_disk1_panel2_plaq2","Digi column",50,0.,250.);
224  meColZpDisk1Panel2Plaq3_ = dbe_->book1D("col_zp_disk1_panel2_plaq3","Digi column",50,0.,300.);
225  meNdigiZpDisk1PerPanel1_ = dbe_->book1D("digi_zp_disk1_panel1","Digi Num. Panel1 Of 1st Disk In ZPlus Side ",30,0.,30.);
226  meNdigiZpDisk1PerPanel2_ = dbe_->book1D("digi_zp_disk1_panel2","Digi Num. Panel2 Of 1st Disk In ZPlus Side ",30,0.,30.);
227 
228 
229  /* ZPlus Side 2nd disk */
230  meAdcZpDisk2Panel1Plaq1_ = dbe_->book1D("adc_zp_disk2_panel1_plaq1","Digi charge",50,0.,300.);
231  meAdcZpDisk2Panel1Plaq2_ = dbe_->book1D("adc_zp_disk2_panel1_plaq2","Digi charge",50,0.,300.);
232  meAdcZpDisk2Panel1Plaq3_ = dbe_->book1D("adc_zp_disk2_panel1_plaq3","Digi charge",50,0.,300.);
233  meAdcZpDisk2Panel1Plaq4_ = dbe_->book1D("adc_zp_disk2_panel1_plaq4","Digi charge",50,0.,300.);
234  meAdcZpDisk2Panel2Plaq1_ = dbe_->book1D("adc_zp_disk2_panel2_plaq1","Digi charge",50,0.,300.);
235  meAdcZpDisk2Panel2Plaq2_ = dbe_->book1D("adc_zp_disk2_panel2_plaq2","Digi charge",50,0.,300.);
236  meAdcZpDisk2Panel2Plaq3_ = dbe_->book1D("adc_zp_disk2_panel2_plaq3","Digi charge",50,0.,300.);
237 
238  meRowZpDisk2Panel1Plaq1_ = dbe_->book1D("row_zp_disk2_panel1_plaq1","Digi row",10,0.,100.);
239  meRowZpDisk2Panel1Plaq2_ = dbe_->book1D("row_zp_disk2_panel1_plaq2","Digi row",10,0.,200.);
240  meRowZpDisk2Panel1Plaq3_ = dbe_->book1D("row_zp_disk2_panel1_plaq3","Digi row",10,0.,200.);
241  meRowZpDisk2Panel1Plaq4_ = dbe_->book1D("row_zp_disk2_panel1_plaq4","Digi row",10,0.,100.);
242  meRowZpDisk2Panel2Plaq1_ = dbe_->book1D("row_zp_disk2_panel2_plaq1","Digi row",10,0.,200.);
243  meRowZpDisk2Panel2Plaq2_ = dbe_->book1D("row_zp_disk2_panel2_plaq2","Digi row",10,0.,200.);
244  meRowZpDisk2Panel2Plaq3_ = dbe_->book1D("row_zp_disk2_panel2_plaq3","Digi row",10,0.,200.);
245 
246  meColZpDisk2Panel1Plaq1_ = dbe_->book1D("col_zp_disk2_panel1_plaq1","Digi column",50,0.,150.);
247  meColZpDisk2Panel1Plaq2_ = dbe_->book1D("col_zp_disk2_panel1_plaq2","Digi column",50,0.,200.);
248  meColZpDisk2Panel1Plaq3_ = dbe_->book1D("col_zp_disk2_panel1_plaq3","Digi column",50,0.,250.);
249  meColZpDisk2Panel1Plaq4_ = dbe_->book1D("col_zp_disk2_panel1_plaq4","Digi column",50,0.,300.);
250  meColZpDisk2Panel2Plaq1_ = dbe_->book1D("col_zp_disk2_panel2_plaq1","Digi column",50,0.,200.);
251  meColZpDisk2Panel2Plaq2_ = dbe_->book1D("col_zp_disk2_panel2_plaq2","Digi column",50,0.,250.);
252  meColZpDisk2Panel2Plaq3_ = dbe_->book1D("col_zp_disk2_panel2_plaq3","Digi column",50,0.,300.);
253  meNdigiZpDisk2PerPanel1_ = dbe_->book1D("digi_zp_disk2_panel1","Digi Num. Panel1 Of 2nd Disk In ZPlus Side ",30,0.,30.);
254  meNdigiZpDisk2PerPanel2_ = dbe_->book1D("digi_zp_disk2_panel2","Digi Num. Panel2 Of 2nd Disk In ZPlus Side ",30,0.,30.);
255 
256  }
257 
258 }
259 
261 
262  // if ( outputFile_.size() != 0 && dbe_ ) dbe_->save(outputFile_);
263 }
264 
265 
267 
268 }
269 
271  if ( outputFile_.size() != 0 && dbe_ ) dbe_->save(outputFile_);
272 }
273 
274 
276  //Retrieve tracker topology from geometry
277  edm::ESHandle<TrackerTopology> tTopoHandle;
278  c.get<IdealGeometryRecord>().get(tTopoHandle);
279  const TrackerTopology* const tTopo = tTopoHandle.product();
280 
281 
282 
283  int ndigiperRingLayer1[8];
284  int ndigiperRingLayer2[8];
285  int ndigiperRingLayer3[8];
286  for(int i = 0; i< 8; i++ ) {
287  ndigiperRingLayer1[i] = 0;
288  ndigiperRingLayer2[i] = 0;
289  ndigiperRingLayer3[i] = 0;
290  }
291 
292 int ndigiZpDisk1PerPanel1[24];
293 int ndigiZpDisk1PerPanel2[24];
294 int ndigiZpDisk2PerPanel1[24];
295 int ndigiZpDisk2PerPanel2[24];
296 int ndigiZmDisk1PerPanel1[24];
297 int ndigiZmDisk1PerPanel2[24];
298 int ndigiZmDisk2PerPanel1[24];
299 int ndigiZmDisk2PerPanel2[24];
300 
301 for ( int i =0 ; i< 24; i++) {
302  ndigiZpDisk1PerPanel1[i] = 0;
303  ndigiZpDisk1PerPanel2[i] = 0;
304  ndigiZpDisk2PerPanel1[i] = 0;
305  ndigiZpDisk2PerPanel2[i] = 0;
306  ndigiZmDisk1PerPanel1[i] = 0;
307  ndigiZmDisk1PerPanel2[i] = 0;
308  ndigiZmDisk2PerPanel1[i] = 0;
309  ndigiZmDisk2PerPanel2[i] = 0;
310 }
311 
312 int ndigilayer1ladders[20];
313 int ndigilayer2ladders[32];
314 int ndigilayer3ladders[44];
315 
316 for ( int i =0 ; i< 20; i++) {
317  ndigilayer1ladders[i]= 0;
318 }
319 
320 for ( int i =0 ; i< 32; i++) {
321  ndigilayer2ladders[i] = 0;
322 }
323 
324 for ( int i =0 ; i< 44; i++) {
325  ndigilayer3ladders[i] = 0;
326 }
327 
328  //LogInfo("EventInfo") << " Run = " << e.id().run() << " Event = " << e.id().event();
329 
331  c.get<TrackerDigiGeometryRecord>().get( tracker );
332 
333  //string digiProducer = "siPixelDigis";
335  e.getByLabel(src_, pixelDigis);
336 
337  edm::DetSetVector<PixelDigi>::const_iterator DSViter = pixelDigis->begin();
338  for( ; DSViter != pixelDigis->end(); DSViter++) {
339  unsigned int id = DSViter->id;
340  DetId detId(id);
344 
346 
347  unsigned int layer = tTopo->pxbLayer(id); // Layer:1,2,3.
348  unsigned int ladder = tTopo->pxbLadder(id); // Ladeer: 1-20, 32, 44.
349  unsigned int zindex = tTopo->pxbModule(id); // Z-index: 1-8.
350  //LogInfo("SiPixelDigiValid")<<"Barrel:: Layer="<<layer<<" Ladder="<<ladder<<" zindex="<<zindex;
351  for ( iter = begin ; iter != end; iter++ ) {
352  if( layer == 1 ) {
353  ++ndigilayer1ladders[ladder-1];
354  ++ndigiperRingLayer1[zindex-1];
355  if (zindex == 1) {
356  meAdcLayer1Ring1_->Fill((*iter).adc());
357  meRowLayer1Ring1_->Fill((*iter).row());
358  meColLayer1Ring1_->Fill((*iter).column());
359  }
360  if (zindex == 2) {
361  meAdcLayer1Ring2_->Fill((*iter).adc());
362  meRowLayer1Ring2_->Fill((*iter).row());
363  meColLayer1Ring2_->Fill((*iter).column());
364  }
365 
366  if (zindex == 3) {
367  meAdcLayer1Ring3_->Fill((*iter).adc());
368  meRowLayer1Ring3_->Fill((*iter).row());
369  meColLayer1Ring3_->Fill((*iter).column());
370  }
371 
372  if (zindex == 4) {
373  meAdcLayer1Ring4_->Fill((*iter).adc());
374  meRowLayer1Ring4_->Fill((*iter).row());
375  meColLayer1Ring4_->Fill((*iter).column());
376  }
377 
378  if (zindex == 5) {
379  meAdcLayer1Ring5_->Fill((*iter).adc());
380  meRowLayer1Ring5_->Fill((*iter).row());
381  meColLayer1Ring5_->Fill((*iter).column());
382  }
383 
384  if (zindex == 6) {
385  meAdcLayer1Ring6_->Fill((*iter).adc());
386  meRowLayer1Ring6_->Fill((*iter).row());
387  meColLayer1Ring6_->Fill((*iter).column());
388  }
389 
390  if (zindex == 7) {
391  meAdcLayer1Ring7_->Fill((*iter).adc());
392  meRowLayer1Ring7_->Fill((*iter).row());
393  meColLayer1Ring7_->Fill((*iter).column());
394  }
395  if (zindex == 8) {
396  meAdcLayer1Ring8_->Fill((*iter).adc());
397  meRowLayer1Ring8_->Fill((*iter).row());
398  meColLayer1Ring8_->Fill((*iter).column());
399  }
400 
401  }
402  if( layer == 2 ) {
403  ++ndigilayer2ladders[ladder-1];
404  ++ndigiperRingLayer2[zindex-1];
405  if (zindex == 1) {
406  meAdcLayer2Ring1_->Fill((*iter).adc());
407  meRowLayer2Ring1_->Fill((*iter).row());
408  meColLayer2Ring1_->Fill((*iter).column());
409  }
410  if (zindex == 2) {
411  meAdcLayer2Ring2_->Fill((*iter).adc());
412  meRowLayer2Ring2_->Fill((*iter).row());
413  meColLayer2Ring2_->Fill((*iter).column());
414  }
415 
416  if (zindex == 3) {
417  meAdcLayer2Ring3_->Fill((*iter).adc());
418  meRowLayer2Ring3_->Fill((*iter).row());
419  meColLayer2Ring3_->Fill((*iter).column());
420  }
421 
422  if (zindex == 4) {
423  meAdcLayer2Ring4_->Fill((*iter).adc());
424  meRowLayer2Ring4_->Fill((*iter).row());
425  meColLayer2Ring4_->Fill((*iter).column());
426  }
427 
428  if (zindex == 5) {
429  meAdcLayer2Ring5_->Fill((*iter).adc());
430  meRowLayer2Ring5_->Fill((*iter).row());
431  meColLayer2Ring5_->Fill((*iter).column());
432  }
433 
434  if (zindex == 6) {
435  meAdcLayer2Ring6_->Fill((*iter).adc());
436  meRowLayer2Ring6_->Fill((*iter).row());
437  meColLayer2Ring6_->Fill((*iter).column());
438  }
439 
440  if (zindex == 7) {
441  meAdcLayer2Ring7_->Fill((*iter).adc());
442  meRowLayer2Ring7_->Fill((*iter).row());
443  meColLayer2Ring7_->Fill((*iter).column());
444  }
445  if (zindex == 8) {
446  meAdcLayer2Ring8_->Fill((*iter).adc());
447  meRowLayer2Ring8_->Fill((*iter).row());
448  meColLayer2Ring8_->Fill((*iter).column());
449  }
450 
451  }
452  if( layer == 3 ) {
453  ++ndigilayer3ladders[ladder-1];
454  ++ndigiperRingLayer3[zindex-1];
455  if (zindex == 1) {
456  meAdcLayer3Ring1_->Fill((*iter).adc());
457  meRowLayer3Ring1_->Fill((*iter).row());
458  meColLayer3Ring1_->Fill((*iter).column());
459  }
460  if (zindex == 2) {
461  meAdcLayer3Ring2_->Fill((*iter).adc());
462  meRowLayer3Ring2_->Fill((*iter).row());
463  meColLayer3Ring2_->Fill((*iter).column());
464  }
465 
466  if (zindex == 3) {
467  meAdcLayer3Ring3_->Fill((*iter).adc());
468  meRowLayer3Ring3_->Fill((*iter).row());
469  meColLayer3Ring3_->Fill((*iter).column());
470  }
471 
472  if (zindex == 4) {
473  meAdcLayer3Ring4_->Fill((*iter).adc());
474  meRowLayer3Ring4_->Fill((*iter).row());
475  meColLayer3Ring4_->Fill((*iter).column());
476  }
477 
478  if (zindex == 5) {
479  meAdcLayer3Ring5_->Fill((*iter).adc());
480  meRowLayer3Ring5_->Fill((*iter).row());
481  meColLayer3Ring5_->Fill((*iter).column());
482  }
483 
484  if (zindex == 6) {
485  meAdcLayer3Ring6_->Fill((*iter).adc());
486  meRowLayer3Ring6_->Fill((*iter).row());
487  meColLayer3Ring6_->Fill((*iter).column());
488  }
489 
490  if (zindex == 7) {
491  meAdcLayer3Ring7_->Fill((*iter).adc());
492  meRowLayer3Ring7_->Fill((*iter).row());
493  meColLayer3Ring7_->Fill((*iter).column());
494  }
495  if (zindex == 8) {
496  meAdcLayer3Ring8_->Fill((*iter).adc());
497  meRowLayer3Ring8_->Fill((*iter).row());
498  meColLayer3Ring8_->Fill((*iter).column());
499  }
500  }
501 
502  }
503 
504  }
505 
506  if(detId.subdetId()==PixelSubdetector::PixelEndcap ){ //Endcap
507 
508  unsigned int side = tTopo->pxfSide(id);
509  unsigned int disk = tTopo->pxfDisk(id);
510  unsigned int blade = tTopo->pxfBlade(id);
511  unsigned int panel = tTopo->pxfPanel(id);
512  unsigned int mod = tTopo->pxfModule(id);
513  //LogInfo("SiPixelDigiValid")<<"EndcaP="<<side<<" Disk="<<disk<<" Blade="<<blade<<" Panel="<<panel<<" Module="<<mod;
514  for ( iter = begin ; iter != end; iter++ ) {
515  if(side == 1 && disk == 1 && panel ==1 ){
516  if ( mod == 1 ) {
517  meAdcZmDisk1Panel1Plaq1_->Fill((*iter).adc());
518  meRowZmDisk1Panel1Plaq1_->Fill((*iter).row());
519  meColZmDisk1Panel1Plaq1_->Fill((*iter).column());
520  }else if( mod == 2 ) {
521  meAdcZmDisk1Panel1Plaq2_->Fill((*iter).adc());
522  meRowZmDisk1Panel1Plaq2_->Fill((*iter).row());
523  meColZmDisk1Panel1Plaq2_->Fill((*iter).column());
524  }else if( mod == 3 ) {
525  meAdcZmDisk1Panel1Plaq3_->Fill((*iter).adc());
526  meRowZmDisk1Panel1Plaq3_->Fill((*iter).row());
527  meColZmDisk1Panel1Plaq3_->Fill((*iter).column());
528  }else if( mod == 4 ) {
529  meAdcZmDisk1Panel1Plaq4_->Fill((*iter).adc());
530  meRowZmDisk1Panel1Plaq4_->Fill((*iter).row());
531  meColZmDisk1Panel1Plaq4_->Fill((*iter).column());
532  }else {
533  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
534  }
535  ++ndigiZmDisk1PerPanel1[blade-1];
536  }
537 
538  if(side == 1 && disk == 1 && panel ==2 ){
539  if ( mod == 1 ) {
540  meAdcZmDisk1Panel2Plaq1_->Fill((*iter).adc());
541  meRowZmDisk1Panel2Plaq1_->Fill((*iter).row());
542  meColZmDisk1Panel2Plaq1_->Fill((*iter).column());
543  }else if( mod == 2 ) {
544  meAdcZmDisk1Panel2Plaq2_->Fill((*iter).adc());
545  meRowZmDisk1Panel2Plaq2_->Fill((*iter).row());
546  meColZmDisk1Panel2Plaq2_->Fill((*iter).column());
547  }else if( mod == 3 ) {
548  meAdcZmDisk1Panel2Plaq3_->Fill((*iter).adc());
549  meRowZmDisk1Panel2Plaq3_->Fill((*iter).row());
550  meColZmDisk1Panel2Plaq3_->Fill((*iter).column());
551  }else {
552  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
553  }
554  ++ndigiZmDisk1PerPanel2[blade-1];
555  }
556 
557  if(side == 1 && disk == 2 && panel ==1 ){
558  if ( mod == 1 ) {
559  meAdcZmDisk2Panel1Plaq1_->Fill((*iter).adc());
560  meRowZmDisk2Panel1Plaq1_->Fill((*iter).row());
561  meColZmDisk2Panel1Plaq1_->Fill((*iter).column());
562  }else if( mod == 2 ) {
563  meAdcZmDisk2Panel1Plaq2_->Fill((*iter).adc());
564  meRowZmDisk2Panel1Plaq2_->Fill((*iter).row());
565  meColZmDisk2Panel1Plaq2_->Fill((*iter).column());
566  }else if( mod == 3 ) {
567  meAdcZmDisk2Panel1Plaq3_->Fill((*iter).adc());
568  meRowZmDisk2Panel1Plaq3_->Fill((*iter).row());
569  meColZmDisk2Panel1Plaq3_->Fill((*iter).column());
570  }else if( mod == 4 ) {
571  meAdcZmDisk2Panel1Plaq4_->Fill((*iter).adc());
572  meRowZmDisk2Panel1Plaq4_->Fill((*iter).row());
573  meColZmDisk2Panel1Plaq4_->Fill((*iter).column());
574  }else {
575  // LogError("SiPixelDigiValid")<<" The number of module is Wrong";
576  }
577  ++ndigiZmDisk2PerPanel1[blade-1];
578  }
579 
580  if(side == 1 && disk == 2 && panel ==2 ){
581  if ( mod == 1 ) {
582  meAdcZmDisk2Panel2Plaq1_->Fill((*iter).adc());
583  meRowZmDisk2Panel2Plaq1_->Fill((*iter).row());
584  meColZmDisk2Panel2Plaq1_->Fill((*iter).column());
585  }else if( mod == 2 ) {
586  meAdcZmDisk2Panel2Plaq2_->Fill((*iter).adc());
587  meRowZmDisk2Panel2Plaq2_->Fill((*iter).row());
588  meColZmDisk2Panel2Plaq2_->Fill((*iter).column());
589  }else if( mod == 3 ) {
590  meAdcZmDisk2Panel2Plaq3_->Fill((*iter).adc());
591  meRowZmDisk2Panel2Plaq3_->Fill((*iter).row());
592  meColZmDisk2Panel2Plaq3_->Fill((*iter).column());
593  }else {
594  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
595  }
596  ++ndigiZmDisk2PerPanel2[blade-1];
597  }
598 
599 
600  if(side == 2 && disk == 1 && panel ==1 ){
601  if ( mod == 1 ) {
602  meAdcZpDisk1Panel1Plaq1_->Fill((*iter).adc());
603  meRowZpDisk1Panel1Plaq1_->Fill((*iter).row());
604  meColZpDisk1Panel1Plaq1_->Fill((*iter).column());
605  }else if( mod == 2 ) {
606  meAdcZpDisk1Panel1Plaq2_->Fill((*iter).adc());
607  meRowZpDisk1Panel1Plaq2_->Fill((*iter).row());
608  meColZpDisk1Panel1Plaq2_->Fill((*iter).column());
609  }else if( mod == 3 ) {
610  meAdcZpDisk1Panel1Plaq3_->Fill((*iter).adc());
611  meRowZpDisk1Panel1Plaq3_->Fill((*iter).row());
612  meColZpDisk1Panel1Plaq3_->Fill((*iter).column());
613  }else if( mod == 4 ) {
614  meAdcZpDisk1Panel1Plaq4_->Fill((*iter).adc());
615  meRowZpDisk1Panel1Plaq4_->Fill((*iter).row());
616  meColZpDisk1Panel1Plaq4_->Fill((*iter).column());
617  }else {
618  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
619  }
620  ++ndigiZpDisk1PerPanel1[blade-1];
621  }
622 
623  if(side == 2 && disk == 1 && panel ==2 ){
624  if ( mod == 1 ) {
625  meAdcZpDisk1Panel2Plaq1_->Fill((*iter).adc());
626  meRowZpDisk1Panel2Plaq1_->Fill((*iter).row());
627  meColZpDisk1Panel2Plaq1_->Fill((*iter).column());
628  }else if( mod == 2 ) {
629  meAdcZpDisk1Panel2Plaq2_->Fill((*iter).adc());
630  meRowZpDisk1Panel2Plaq2_->Fill((*iter).row());
631  meColZpDisk1Panel2Plaq2_->Fill((*iter).column());
632  }else if( mod == 3 ) {
633  meAdcZpDisk1Panel2Plaq3_->Fill((*iter).adc());
634  meRowZpDisk1Panel2Plaq3_->Fill((*iter).row());
635  meColZpDisk1Panel2Plaq3_->Fill((*iter).column());
636  }else {
637  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
638  }
639  ++ndigiZpDisk1PerPanel2[blade-1];
640  }
641 
642  if(side == 2 && disk == 2 && panel ==1 ){
643  if ( mod == 1 ) {
644  meAdcZpDisk2Panel1Plaq1_->Fill((*iter).adc());
645  meRowZpDisk2Panel1Plaq1_->Fill((*iter).row());
646  meColZpDisk2Panel1Plaq1_->Fill((*iter).column());
647  }else if( mod == 2 ) {
648  meAdcZpDisk2Panel1Plaq2_->Fill((*iter).adc());
649  meRowZpDisk2Panel1Plaq2_->Fill((*iter).row());
650  meColZpDisk2Panel1Plaq2_->Fill((*iter).column());
651  }else if( mod == 3 ) {
652  meAdcZpDisk2Panel1Plaq3_->Fill((*iter).adc());
653  meRowZpDisk2Panel1Plaq3_->Fill((*iter).row());
654  meColZpDisk2Panel1Plaq3_->Fill((*iter).column());
655  }else if( mod == 4 ) {
656  meAdcZpDisk2Panel1Plaq4_->Fill((*iter).adc());
657  meRowZpDisk2Panel1Plaq4_->Fill((*iter).row());
658  meColZpDisk2Panel1Plaq4_->Fill((*iter).column());
659  }else {
660  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
661  }
662  ++ndigiZpDisk2PerPanel1[blade-1];
663 
664  }
665 
666  if(side == 2 && disk == 2 && panel ==2 ){
667  if ( mod == 1 ) {
668  meAdcZpDisk2Panel2Plaq1_->Fill((*iter).adc());
669  meRowZpDisk2Panel2Plaq1_->Fill((*iter).row());
670  meColZpDisk2Panel2Plaq1_->Fill((*iter).column());
671  }else if( mod == 2 ) {
672  meAdcZpDisk2Panel2Plaq2_->Fill((*iter).adc());
673  meRowZpDisk2Panel2Plaq2_->Fill((*iter).row());
674  meColZpDisk2Panel2Plaq2_->Fill((*iter).column());
675  }else if( mod == 3 ) {
676  meAdcZpDisk2Panel2Plaq3_->Fill((*iter).adc());
677  meRowZpDisk2Panel2Plaq3_->Fill((*iter).row());
678  meColZpDisk2Panel2Plaq3_->Fill((*iter).column());
679  }else {
680  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
681  }
682  ++ndigiZpDisk2PerPanel2[blade-1];
683  }
684  } //iterating the digi
685 
686  }//Endcap
687 
688  } // end for loop
689 
690  meDigiMultiLayer1Ring1_->Fill(ndigiperRingLayer1[0]);
691  meDigiMultiLayer1Ring2_->Fill(ndigiperRingLayer1[1]);
692  meDigiMultiLayer1Ring3_->Fill(ndigiperRingLayer1[2]);
693  meDigiMultiLayer1Ring4_->Fill(ndigiperRingLayer1[3]);
694  meDigiMultiLayer1Ring5_->Fill(ndigiperRingLayer1[4]);
695  meDigiMultiLayer1Ring6_->Fill(ndigiperRingLayer1[5]);
696  meDigiMultiLayer1Ring7_->Fill(ndigiperRingLayer1[6]);
697  meDigiMultiLayer1Ring8_->Fill(ndigiperRingLayer1[7]);
698 
699  meDigiMultiLayer2Ring1_->Fill(ndigiperRingLayer2[0]);
700  meDigiMultiLayer2Ring2_->Fill(ndigiperRingLayer2[1]);
701  meDigiMultiLayer2Ring3_->Fill(ndigiperRingLayer2[2]);
702  meDigiMultiLayer2Ring4_->Fill(ndigiperRingLayer2[3]);
703  meDigiMultiLayer2Ring5_->Fill(ndigiperRingLayer2[4]);
704  meDigiMultiLayer2Ring6_->Fill(ndigiperRingLayer2[5]);
705  meDigiMultiLayer2Ring7_->Fill(ndigiperRingLayer2[6]);
706  meDigiMultiLayer2Ring8_->Fill(ndigiperRingLayer2[7]);
707 
708  meDigiMultiLayer3Ring1_->Fill(ndigiperRingLayer3[0]);
709  meDigiMultiLayer3Ring2_->Fill(ndigiperRingLayer3[1]);
710  meDigiMultiLayer3Ring3_->Fill(ndigiperRingLayer3[2]);
711  meDigiMultiLayer3Ring4_->Fill(ndigiperRingLayer3[3]);
712  meDigiMultiLayer3Ring5_->Fill(ndigiperRingLayer3[4]);
713  meDigiMultiLayer3Ring6_->Fill(ndigiperRingLayer3[5]);
714  meDigiMultiLayer3Ring7_->Fill(ndigiperRingLayer3[6]);
715  meDigiMultiLayer3Ring8_->Fill(ndigiperRingLayer3[7]);
716 
717  for(int i =0; i< 24; i++) {
718  meNdigiZmDisk1PerPanel1_->Fill(ndigiZmDisk1PerPanel1[i]);
719  meNdigiZmDisk1PerPanel2_->Fill(ndigiZmDisk1PerPanel2[i]);
720  meNdigiZmDisk2PerPanel1_->Fill(ndigiZmDisk2PerPanel1[i]);
721  meNdigiZmDisk2PerPanel2_->Fill(ndigiZmDisk2PerPanel2[i]);
722  meNdigiZpDisk1PerPanel1_->Fill(ndigiZpDisk1PerPanel1[i]);
723  meNdigiZpDisk1PerPanel2_->Fill(ndigiZpDisk1PerPanel2[i]);
724  meNdigiZpDisk2PerPanel1_->Fill(ndigiZpDisk2PerPanel1[i]);
725  meNdigiZpDisk2PerPanel2_->Fill(ndigiZpDisk2PerPanel2[i]);
726  }
727 
728  for (int i =0; i< 20; i++) {
729  meDigiMultiLayer1Ladders_->Fill(i+1,ndigilayer1ladders[i]);
730  }
731 
732  for (int i =0; i< 32; i++) {
733  meDigiMultiLayer2Ladders_->Fill(i+1,ndigilayer2ladders[i]);
734  }
735 
736  for (int i =0; i< 44; i++) {
737  meDigiMultiLayer3Ladders_->Fill(i+1,ndigilayer3ladders[i]);
738  }
739 
740 }
MonitorElement * meColZpDisk1Panel1Plaq3_
MonitorElement * meColLayer3Ring7_
MonitorElement * meAdcLayer3Ring4_
MonitorElement * meRowZpDisk2Panel1Plaq1_
T getParameter(std::string const &) const
MonitorElement * meAdcLayer2Ring6_
MonitorElement * meColZmDisk2Panel2Plaq2_
MonitorElement * meRowZpDisk2Panel1Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq3_
MonitorElement * meAdcLayer3Ring5_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meDigiMultiLayer3Ring7_
MonitorElement * meDigiMultiLayer1Ring3_
MonitorElement * meAdcZpDisk2Panel1Plaq1_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meDigiMultiLayer2Ring1_
MonitorElement * meColLayer2Ring2_
MonitorElement * meDigiMultiLayer1Ring5_
MonitorElement * meAdcLayer1Ring2_
MonitorElement * meColLayer1Ring2_
MonitorElement * meNdigiZpDisk2PerPanel1_
MonitorElement * meAdcZmDisk2Panel1Plaq3_
MonitorElement * meColZmDisk2Panel1Plaq2_
MonitorElement * meAdcLayer1Ring8_
MonitorElement * meRowZpDisk2Panel1Plaq4_
MonitorElement * meRowZpDisk2Panel2Plaq1_
MonitorElement * meAdcLayer3Ring2_
MonitorElement * meRowLayer3Ring8_
MonitorElement * meColLayer2Ring3_
MonitorElement * meRowZpDisk1Panel1Plaq4_
MonitorElement * meAdcLayer2Ring3_
MonitorElement * meRowZpDisk1Panel2Plaq2_
MonitorElement * meAdcZmDisk1Panel2Plaq1_
MonitorElement * meRowZmDisk2Panel1Plaq1_
MonitorElement * meColLayer1Ring4_
MonitorElement * meRowZmDisk1Panel1Plaq3_
unsigned int pxfDisk(const DetId &id) const
MonitorElement * meDigiMultiLayer1Ring7_
MonitorElement * meRowZpDisk2Panel2Plaq3_
MonitorElement * meDigiMultiLayer3Ring6_
MonitorElement * meColZmDisk1Panel1Plaq3_
MonitorElement * meAdcZmDisk1Panel1Plaq3_
MonitorElement * meDigiMultiLayer1Ring4_
MonitorElement * meRowZpDisk2Panel1Plaq2_
MonitorElement * meRowLayer3Ring7_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:2118
MonitorElement * meDigiMultiLayer3Ring3_
unsigned int pxbLadder(const DetId &id) const
MonitorElement * meAdcZmDisk2Panel2Plaq2_
MonitorElement * meColLayer2Ring4_
MonitorElement * meDigiMultiLayer3Ring8_
MonitorElement * meColZmDisk2Panel2Plaq3_
MonitorElement * meColZmDisk2Panel2Plaq1_
MonitorElement * meColLayer3Ring5_
MonitorElement * meColZmDisk1Panel2Plaq1_
MonitorElement * meRowLayer1Ring5_
MonitorElement * meColLayer1Ring7_
unsigned int pxbModule(const DetId &id) const
MonitorElement * meColLayer3Ring1_
MonitorElement * meAdcZpDisk2Panel1Plaq4_
MonitorElement * meRowZmDisk1Panel1Plaq4_
MonitorElement * meRowZmDisk1Panel1Plaq1_
MonitorElement * meRowLayer2Ring3_
MonitorElement * meDigiMultiLayer2Ring7_
MonitorElement * meDigiMultiLayer3Ring1_
MonitorElement * meColZpDisk1Panel2Plaq1_
MonitorElement * meColLayer1Ring1_
MonitorElement * meColLayer2Ring7_
MonitorElement * meColLayer1Ring3_
MonitorElement * meAdcZmDisk1Panel1Plaq4_
MonitorElement * meRowZpDisk1Panel1Plaq1_
MonitorElement * meAdcZpDisk1Panel2Plaq1_
MonitorElement * meColZpDisk1Panel2Plaq2_
MonitorElement * meAdcLayer1Ring4_
MonitorElement * meAdcLayer1Ring5_
MonitorElement * meRowLayer1Ring2_
MonitorElement * meAdcZmDisk2Panel1Plaq4_
MonitorElement * meAdcLayer1Ring1_
void Fill(long long x)
MonitorElement * meDigiMultiLayer1Ring2_
MonitorElement * meRowZmDisk1Panel2Plaq3_
MonitorElement * meColZpDisk1Panel1Plaq2_
MonitorElement * meRowZpDisk2Panel2Plaq2_
MonitorElement * meAdcLayer3Ring6_
MonitorElement * meRowLayer3Ring3_
MonitorElement * meAdcZpDisk2Panel2Plaq3_
MonitorElement * meColZmDisk1Panel2Plaq2_
MonitorElement * meAdcZpDisk2Panel1Plaq3_
MonitorElement * meDigiMultiLayer2Ring5_
MonitorElement * meColLayer2Ring5_
MonitorElement * meRowZpDisk1Panel1Plaq3_
SiPixelDigiValid(const edm::ParameterSet &ps)
MonitorElement * meColLayer1Ring6_
MonitorElement * meNdigiZmDisk1PerPanel1_
MonitorElement * meAdcZmDisk1Panel1Plaq2_
MonitorElement * meColZpDisk1Panel1Plaq1_
MonitorElement * meAdcZmDisk2Panel1Plaq1_
MonitorElement * meDigiMultiLayer3Ring2_
MonitorElement * meAdcZmDisk1Panel1Plaq1_
MonitorElement * meColZpDisk2Panel2Plaq1_
MonitorElement * meDigiMultiLayer2Ring2_
MonitorElement * meColZpDisk2Panel1Plaq1_
MonitorElement * meDigiMultiLayer2Ring4_
MonitorElement * meDigiMultiLayer2Ring6_
MonitorElement * meAdcZmDisk1Panel2Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq2_
MonitorElement * meColLayer1Ring8_
MonitorElement * meColZpDisk1Panel2Plaq3_
MonitorElement * meAdcZmDisk2Panel2Plaq1_
MonitorElement * meRowLayer1Ring4_
MonitorElement * meRowZmDisk2Panel1Plaq4_
MonitorElement * meAdcLayer2Ring7_
#define end
Definition: vmac.h:38
MonitorElement * meRowZmDisk2Panel1Plaq2_
MonitorElement * meColZpDisk2Panel2Plaq3_
MonitorElement * meRowLayer3Ring6_
MonitorElement * meColLayer2Ring6_
MonitorElement * meColLayer3Ring8_
MonitorElement * meColZmDisk2Panel1Plaq3_
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
MonitorElement * meDigiMultiLayer2Ring8_
MonitorElement * meAdcLayer2Ring5_
MonitorElement * meAdcLayer3Ring7_
MonitorElement * meDigiMultiLayer1Ladders_
MonitorElement * meAdcZmDisk1Panel2Plaq2_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
MonitorElement * meRowZmDisk2Panel2Plaq1_
iterator end()
Return the off-the-end iterator.
Definition: DetSetVector.h:356
MonitorElement * meRowLayer3Ring1_
MonitorElement * meRowLayer2Ring7_
MonitorElement * meAdcZpDisk2Panel2Plaq2_
DQMStore * dbe_
MonitorElement * meColLayer1Ring5_
unsigned int pxfModule(const DetId &id) const
MonitorElement * meAdcZpDisk1Panel1Plaq1_
Forwar Pixel.
MonitorElement * meDigiMultiLayer1Ring1_
MonitorElement * meColZmDisk1Panel1Plaq1_
MonitorElement * meAdcLayer2Ring8_
MonitorElement * meRowLayer1Ring6_
MonitorElement * meRowZmDisk1Panel1Plaq2_
unsigned int pxbLayer(const DetId &id) const
MonitorElement * meAdcZpDisk1Panel2Plaq2_
MonitorElement * meDigiMultiLayer3Ring5_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: DetId.h:20
MonitorElement * meRowZmDisk2Panel1Plaq3_
MonitorElement * meAdcZpDisk2Panel1Plaq2_
MonitorElement * meColLayer3Ring3_
MonitorElement * meRowLayer2Ring5_
MonitorElement * meAdcZpDisk1Panel1Plaq4_
MonitorElement * meAdcLayer1Ring7_
MonitorElement * meColZpDisk2Panel1Plaq4_
MonitorElement * meRowLayer2Ring1_
MonitorElement * meColLayer2Ring8_
MonitorElement * meAdcLayer2Ring1_
const T & get() const
Definition: EventSetup.h:55
MonitorElement * meAdcZmDisk2Panel1Plaq2_
MonitorElement * meDigiMultiLayer3Ladders_
T const * product() const
Definition: ESHandle.h:62
MonitorElement * meRowLayer3Ring4_
MonitorElement * meAdcLayer1Ring3_
MonitorElement * meNdigiZmDisk1PerPanel2_
MonitorElement * meDigiMultiLayer2Ladders_
MonitorElement * meNdigiZmDisk2PerPanel1_
MonitorElement * meDigiMultiLayer1Ring6_
MonitorElement * meRowLayer2Ring8_
edm::InputTag src_
MonitorElement * meRowLayer3Ring2_
MonitorElement * meAdcLayer3Ring8_
#define begin
Definition: vmac.h:31
std::string outputFile_
MonitorElement * meAdcZpDisk1Panel1Plaq2_
MonitorElement * meNdigiZpDisk1PerPanel2_
MonitorElement * meRowZmDisk1Panel2Plaq1_
MonitorElement * meColZmDisk1Panel1Plaq4_
MonitorElement * meAdcLayer3Ring3_
MonitorElement * meRowLayer1Ring3_
MonitorElement * meDigiMultiLayer2Ring3_
unsigned int pxfSide(const DetId &id) const
MonitorElement * meColZpDisk2Panel1Plaq3_
MonitorElement * meColZmDisk1Panel1Plaq2_
iterator begin()
Return an iterator to the first DetSet.
Definition: DetSetVector.h:341
MonitorElement * meColZmDisk2Panel1Plaq4_
MonitorElement * meDigiMultiLayer1Ring8_
MonitorElement * meRowZpDisk1Panel1Plaq2_
MonitorElement * meColLayer3Ring2_
MonitorElement * meAdcZpDisk1Panel2Plaq3_
MonitorElement * meRowLayer2Ring6_
MonitorElement * meRowLayer1Ring1_
collection_type::const_iterator const_iterator
Definition: DetSet.h:34
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:106
MonitorElement * meColZpDisk1Panel1Plaq4_
MonitorElement * meRowLayer2Ring4_
MonitorElement * meAdcLayer1Ring6_
MonitorElement * meRowLayer1Ring8_
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
MonitorElement * meRowZpDisk1Panel2Plaq1_
MonitorElement * meColZpDisk2Panel1Plaq2_
MonitorElement * meNdigiZpDisk2PerPanel2_
MonitorElement * meDigiMultiLayer3Ring4_
MonitorElement * meColLayer2Ring1_
MonitorElement * meAdcLayer3Ring1_
MonitorElement * meColLayer3Ring6_
MonitorElement * meNdigiZmDisk2PerPanel2_
MonitorElement * meRowLayer1Ring7_
MonitorElement * meColZpDisk2Panel2Plaq2_
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
MonitorElement * meAdcLayer2Ring2_
MonitorElement * meAdcZpDisk1Panel1Plaq3_
MonitorElement * meColLayer3Ring4_
MonitorElement * meRowLayer3Ring5_
MonitorElement * meRowZmDisk1Panel2Plaq2_
MonitorElement * meAdcLayer2Ring4_
MonitorElement * meColZmDisk1Panel2Plaq3_
MonitorElement * meAdcZmDisk2Panel2Plaq3_
MonitorElement * meColZmDisk2Panel1Plaq1_
MonitorElement * meRowLayer2Ring2_
MonitorElement * meNdigiZpDisk1PerPanel1_
MonitorElement * meRowZpDisk1Panel2Plaq3_
MonitorElement * meAdcZpDisk2Panel2Plaq1_