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 
277  int ndigiperRingLayer1[8];
278  int ndigiperRingLayer2[8];
279  int ndigiperRingLayer3[8];
280  for(int i = 0; i< 8; i++ ) {
281  ndigiperRingLayer1[i] = 0;
282  ndigiperRingLayer2[i] = 0;
283  ndigiperRingLayer3[i] = 0;
284  }
285 
286 int ndigiZpDisk1PerPanel1[24];
287 int ndigiZpDisk1PerPanel2[24];
288 int ndigiZpDisk2PerPanel1[24];
289 int ndigiZpDisk2PerPanel2[24];
290 int ndigiZmDisk1PerPanel1[24];
291 int ndigiZmDisk1PerPanel2[24];
292 int ndigiZmDisk2PerPanel1[24];
293 int ndigiZmDisk2PerPanel2[24];
294 
295 for ( int i =0 ; i< 24; i++) {
296  ndigiZpDisk1PerPanel1[i] = 0;
297  ndigiZpDisk1PerPanel2[i] = 0;
298  ndigiZpDisk2PerPanel1[i] = 0;
299  ndigiZpDisk2PerPanel2[i] = 0;
300  ndigiZmDisk1PerPanel1[i] = 0;
301  ndigiZmDisk1PerPanel2[i] = 0;
302  ndigiZmDisk2PerPanel1[i] = 0;
303  ndigiZmDisk2PerPanel2[i] = 0;
304 }
305 
306 int ndigilayer1ladders[20];
307 int ndigilayer2ladders[32];
308 int ndigilayer3ladders[44];
309 
310 for ( int i =0 ; i< 20; i++) {
311  ndigilayer1ladders[i]= 0;
312 }
313 
314 for ( int i =0 ; i< 32; i++) {
315  ndigilayer2ladders[i] = 0;
316 }
317 
318 for ( int i =0 ; i< 44; i++) {
319  ndigilayer3ladders[i] = 0;
320 }
321 
322  //LogInfo("EventInfo") << " Run = " << e.id().run() << " Event = " << e.id().event();
323 
325  c.get<TrackerDigiGeometryRecord>().get( tracker );
326 
327  //string digiProducer = "siPixelDigis";
329  e.getByLabel(src_, pixelDigis);
330 
331  edm::DetSetVector<PixelDigi>::const_iterator DSViter = pixelDigis->begin();
332  for( ; DSViter != pixelDigis->end(); DSViter++) {
333  unsigned int id = DSViter->id;
334  DetId detId(id);
338 
340  PXBDetId bdetid(id);
341  unsigned int layer = bdetid.layer(); // Layer:1,2,3.
342  unsigned int ladder = bdetid.ladder(); // Ladeer: 1-20, 32, 44.
343  unsigned int zindex = bdetid.module(); // Z-index: 1-8.
344  //LogInfo("SiPixelDigiValid")<<"Barrel:: Layer="<<layer<<" Ladder="<<ladder<<" zindex="<<zindex;
345  for ( iter = begin ; iter != end; iter++ ) {
346  if( layer == 1 ) {
347  ++ndigilayer1ladders[ladder-1];
348  ++ndigiperRingLayer1[zindex-1];
349  if (zindex == 1) {
350  meAdcLayer1Ring1_->Fill((*iter).adc());
351  meRowLayer1Ring1_->Fill((*iter).row());
352  meColLayer1Ring1_->Fill((*iter).column());
353  }
354  if (zindex == 2) {
355  meAdcLayer1Ring2_->Fill((*iter).adc());
356  meRowLayer1Ring2_->Fill((*iter).row());
357  meColLayer1Ring2_->Fill((*iter).column());
358  }
359 
360  if (zindex == 3) {
361  meAdcLayer1Ring3_->Fill((*iter).adc());
362  meRowLayer1Ring3_->Fill((*iter).row());
363  meColLayer1Ring3_->Fill((*iter).column());
364  }
365 
366  if (zindex == 4) {
367  meAdcLayer1Ring4_->Fill((*iter).adc());
368  meRowLayer1Ring4_->Fill((*iter).row());
369  meColLayer1Ring4_->Fill((*iter).column());
370  }
371 
372  if (zindex == 5) {
373  meAdcLayer1Ring5_->Fill((*iter).adc());
374  meRowLayer1Ring5_->Fill((*iter).row());
375  meColLayer1Ring5_->Fill((*iter).column());
376  }
377 
378  if (zindex == 6) {
379  meAdcLayer1Ring6_->Fill((*iter).adc());
380  meRowLayer1Ring6_->Fill((*iter).row());
381  meColLayer1Ring6_->Fill((*iter).column());
382  }
383 
384  if (zindex == 7) {
385  meAdcLayer1Ring7_->Fill((*iter).adc());
386  meRowLayer1Ring7_->Fill((*iter).row());
387  meColLayer1Ring7_->Fill((*iter).column());
388  }
389  if (zindex == 8) {
390  meAdcLayer1Ring8_->Fill((*iter).adc());
391  meRowLayer1Ring8_->Fill((*iter).row());
392  meColLayer1Ring8_->Fill((*iter).column());
393  }
394 
395  }
396  if( layer == 2 ) {
397  ++ndigilayer2ladders[ladder-1];
398  ++ndigiperRingLayer2[zindex-1];
399  if (zindex == 1) {
400  meAdcLayer2Ring1_->Fill((*iter).adc());
401  meRowLayer2Ring1_->Fill((*iter).row());
402  meColLayer2Ring1_->Fill((*iter).column());
403  }
404  if (zindex == 2) {
405  meAdcLayer2Ring2_->Fill((*iter).adc());
406  meRowLayer2Ring2_->Fill((*iter).row());
407  meColLayer2Ring2_->Fill((*iter).column());
408  }
409 
410  if (zindex == 3) {
411  meAdcLayer2Ring3_->Fill((*iter).adc());
412  meRowLayer2Ring3_->Fill((*iter).row());
413  meColLayer2Ring3_->Fill((*iter).column());
414  }
415 
416  if (zindex == 4) {
417  meAdcLayer2Ring4_->Fill((*iter).adc());
418  meRowLayer2Ring4_->Fill((*iter).row());
419  meColLayer2Ring4_->Fill((*iter).column());
420  }
421 
422  if (zindex == 5) {
423  meAdcLayer2Ring5_->Fill((*iter).adc());
424  meRowLayer2Ring5_->Fill((*iter).row());
425  meColLayer2Ring5_->Fill((*iter).column());
426  }
427 
428  if (zindex == 6) {
429  meAdcLayer2Ring6_->Fill((*iter).adc());
430  meRowLayer2Ring6_->Fill((*iter).row());
431  meColLayer2Ring6_->Fill((*iter).column());
432  }
433 
434  if (zindex == 7) {
435  meAdcLayer2Ring7_->Fill((*iter).adc());
436  meRowLayer2Ring7_->Fill((*iter).row());
437  meColLayer2Ring7_->Fill((*iter).column());
438  }
439  if (zindex == 8) {
440  meAdcLayer2Ring8_->Fill((*iter).adc());
441  meRowLayer2Ring8_->Fill((*iter).row());
442  meColLayer2Ring8_->Fill((*iter).column());
443  }
444 
445  }
446  if( layer == 3 ) {
447  ++ndigilayer3ladders[ladder-1];
448  ++ndigiperRingLayer3[zindex-1];
449  if (zindex == 1) {
450  meAdcLayer3Ring1_->Fill((*iter).adc());
451  meRowLayer3Ring1_->Fill((*iter).row());
452  meColLayer3Ring1_->Fill((*iter).column());
453  }
454  if (zindex == 2) {
455  meAdcLayer3Ring2_->Fill((*iter).adc());
456  meRowLayer3Ring2_->Fill((*iter).row());
457  meColLayer3Ring2_->Fill((*iter).column());
458  }
459 
460  if (zindex == 3) {
461  meAdcLayer3Ring3_->Fill((*iter).adc());
462  meRowLayer3Ring3_->Fill((*iter).row());
463  meColLayer3Ring3_->Fill((*iter).column());
464  }
465 
466  if (zindex == 4) {
467  meAdcLayer3Ring4_->Fill((*iter).adc());
468  meRowLayer3Ring4_->Fill((*iter).row());
469  meColLayer3Ring4_->Fill((*iter).column());
470  }
471 
472  if (zindex == 5) {
473  meAdcLayer3Ring5_->Fill((*iter).adc());
474  meRowLayer3Ring5_->Fill((*iter).row());
475  meColLayer3Ring5_->Fill((*iter).column());
476  }
477 
478  if (zindex == 6) {
479  meAdcLayer3Ring6_->Fill((*iter).adc());
480  meRowLayer3Ring6_->Fill((*iter).row());
481  meColLayer3Ring6_->Fill((*iter).column());
482  }
483 
484  if (zindex == 7) {
485  meAdcLayer3Ring7_->Fill((*iter).adc());
486  meRowLayer3Ring7_->Fill((*iter).row());
487  meColLayer3Ring7_->Fill((*iter).column());
488  }
489  if (zindex == 8) {
490  meAdcLayer3Ring8_->Fill((*iter).adc());
491  meRowLayer3Ring8_->Fill((*iter).row());
492  meColLayer3Ring8_->Fill((*iter).column());
493  }
494  }
495 
496  }
497 
498  }
499 
500  if(detId.subdetId()==PixelSubdetector::PixelEndcap ){ //Endcap
501  PXFDetId fdetid(id);
502  unsigned int side = fdetid.side();
503  unsigned int disk = fdetid.disk();
504  unsigned int blade = fdetid.blade();
505  unsigned int panel = fdetid.panel();
506  unsigned int mod = fdetid.module();
507  //LogInfo("SiPixelDigiValid")<<"EndcaP="<<side<<" Disk="<<disk<<" Blade="<<blade<<" Panel="<<panel<<" Module="<<mod;
508  for ( iter = begin ; iter != end; iter++ ) {
509  if(side == 1 && disk == 1 && panel ==1 ){
510  if ( mod == 1 ) {
511  meAdcZmDisk1Panel1Plaq1_->Fill((*iter).adc());
512  meRowZmDisk1Panel1Plaq1_->Fill((*iter).row());
513  meColZmDisk1Panel1Plaq1_->Fill((*iter).column());
514  }else if( mod == 2 ) {
515  meAdcZmDisk1Panel1Plaq2_->Fill((*iter).adc());
516  meRowZmDisk1Panel1Plaq2_->Fill((*iter).row());
517  meColZmDisk1Panel1Plaq2_->Fill((*iter).column());
518  }else if( mod == 3 ) {
519  meAdcZmDisk1Panel1Plaq3_->Fill((*iter).adc());
520  meRowZmDisk1Panel1Plaq3_->Fill((*iter).row());
521  meColZmDisk1Panel1Plaq3_->Fill((*iter).column());
522  }else if( mod == 4 ) {
523  meAdcZmDisk1Panel1Plaq4_->Fill((*iter).adc());
524  meRowZmDisk1Panel1Plaq4_->Fill((*iter).row());
525  meColZmDisk1Panel1Plaq4_->Fill((*iter).column());
526  }else {
527  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
528  }
529  ++ndigiZmDisk1PerPanel1[blade-1];
530  }
531 
532  if(side == 1 && disk == 1 && panel ==2 ){
533  if ( mod == 1 ) {
534  meAdcZmDisk1Panel2Plaq1_->Fill((*iter).adc());
535  meRowZmDisk1Panel2Plaq1_->Fill((*iter).row());
536  meColZmDisk1Panel2Plaq1_->Fill((*iter).column());
537  }else if( mod == 2 ) {
538  meAdcZmDisk1Panel2Plaq2_->Fill((*iter).adc());
539  meRowZmDisk1Panel2Plaq2_->Fill((*iter).row());
540  meColZmDisk1Panel2Plaq2_->Fill((*iter).column());
541  }else if( mod == 3 ) {
542  meAdcZmDisk1Panel2Plaq3_->Fill((*iter).adc());
543  meRowZmDisk1Panel2Plaq3_->Fill((*iter).row());
544  meColZmDisk1Panel2Plaq3_->Fill((*iter).column());
545  }else {
546  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
547  }
548  ++ndigiZmDisk1PerPanel2[blade-1];
549  }
550 
551  if(side == 1 && disk == 2 && panel ==1 ){
552  if ( mod == 1 ) {
553  meAdcZmDisk2Panel1Plaq1_->Fill((*iter).adc());
554  meRowZmDisk2Panel1Plaq1_->Fill((*iter).row());
555  meColZmDisk2Panel1Plaq1_->Fill((*iter).column());
556  }else if( mod == 2 ) {
557  meAdcZmDisk2Panel1Plaq2_->Fill((*iter).adc());
558  meRowZmDisk2Panel1Plaq2_->Fill((*iter).row());
559  meColZmDisk2Panel1Plaq2_->Fill((*iter).column());
560  }else if( mod == 3 ) {
561  meAdcZmDisk2Panel1Plaq3_->Fill((*iter).adc());
562  meRowZmDisk2Panel1Plaq3_->Fill((*iter).row());
563  meColZmDisk2Panel1Plaq3_->Fill((*iter).column());
564  }else if( mod == 4 ) {
565  meAdcZmDisk2Panel1Plaq4_->Fill((*iter).adc());
566  meRowZmDisk2Panel1Plaq4_->Fill((*iter).row());
567  meColZmDisk2Panel1Plaq4_->Fill((*iter).column());
568  }else {
569  // LogError("SiPixelDigiValid")<<" The number of module is Wrong";
570  }
571  ++ndigiZmDisk2PerPanel1[blade-1];
572  }
573 
574  if(side == 1 && disk == 2 && panel ==2 ){
575  if ( mod == 1 ) {
576  meAdcZmDisk2Panel2Plaq1_->Fill((*iter).adc());
577  meRowZmDisk2Panel2Plaq1_->Fill((*iter).row());
578  meColZmDisk2Panel2Plaq1_->Fill((*iter).column());
579  }else if( mod == 2 ) {
580  meAdcZmDisk2Panel2Plaq2_->Fill((*iter).adc());
581  meRowZmDisk2Panel2Plaq2_->Fill((*iter).row());
582  meColZmDisk2Panel2Plaq2_->Fill((*iter).column());
583  }else if( mod == 3 ) {
584  meAdcZmDisk2Panel2Plaq3_->Fill((*iter).adc());
585  meRowZmDisk2Panel2Plaq3_->Fill((*iter).row());
586  meColZmDisk2Panel2Plaq3_->Fill((*iter).column());
587  }else {
588  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
589  }
590  ++ndigiZmDisk2PerPanel2[blade-1];
591  }
592 
593 
594  if(side == 2 && disk == 1 && panel ==1 ){
595  if ( mod == 1 ) {
596  meAdcZpDisk1Panel1Plaq1_->Fill((*iter).adc());
597  meRowZpDisk1Panel1Plaq1_->Fill((*iter).row());
598  meColZpDisk1Panel1Plaq1_->Fill((*iter).column());
599  }else if( mod == 2 ) {
600  meAdcZpDisk1Panel1Plaq2_->Fill((*iter).adc());
601  meRowZpDisk1Panel1Plaq2_->Fill((*iter).row());
602  meColZpDisk1Panel1Plaq2_->Fill((*iter).column());
603  }else if( mod == 3 ) {
604  meAdcZpDisk1Panel1Plaq3_->Fill((*iter).adc());
605  meRowZpDisk1Panel1Plaq3_->Fill((*iter).row());
606  meColZpDisk1Panel1Plaq3_->Fill((*iter).column());
607  }else if( mod == 4 ) {
608  meAdcZpDisk1Panel1Plaq4_->Fill((*iter).adc());
609  meRowZpDisk1Panel1Plaq4_->Fill((*iter).row());
610  meColZpDisk1Panel1Plaq4_->Fill((*iter).column());
611  }else {
612  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
613  }
614  ++ndigiZpDisk1PerPanel1[blade-1];
615  }
616 
617  if(side == 2 && disk == 1 && panel ==2 ){
618  if ( mod == 1 ) {
619  meAdcZpDisk1Panel2Plaq1_->Fill((*iter).adc());
620  meRowZpDisk1Panel2Plaq1_->Fill((*iter).row());
621  meColZpDisk1Panel2Plaq1_->Fill((*iter).column());
622  }else if( mod == 2 ) {
623  meAdcZpDisk1Panel2Plaq2_->Fill((*iter).adc());
624  meRowZpDisk1Panel2Plaq2_->Fill((*iter).row());
625  meColZpDisk1Panel2Plaq2_->Fill((*iter).column());
626  }else if( mod == 3 ) {
627  meAdcZpDisk1Panel2Plaq3_->Fill((*iter).adc());
628  meRowZpDisk1Panel2Plaq3_->Fill((*iter).row());
629  meColZpDisk1Panel2Plaq3_->Fill((*iter).column());
630  }else {
631  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
632  }
633  ++ndigiZpDisk1PerPanel2[blade-1];
634  }
635 
636  if(side == 2 && disk == 2 && panel ==1 ){
637  if ( mod == 1 ) {
638  meAdcZpDisk2Panel1Plaq1_->Fill((*iter).adc());
639  meRowZpDisk2Panel1Plaq1_->Fill((*iter).row());
640  meColZpDisk2Panel1Plaq1_->Fill((*iter).column());
641  }else if( mod == 2 ) {
642  meAdcZpDisk2Panel1Plaq2_->Fill((*iter).adc());
643  meRowZpDisk2Panel1Plaq2_->Fill((*iter).row());
644  meColZpDisk2Panel1Plaq2_->Fill((*iter).column());
645  }else if( mod == 3 ) {
646  meAdcZpDisk2Panel1Plaq3_->Fill((*iter).adc());
647  meRowZpDisk2Panel1Plaq3_->Fill((*iter).row());
648  meColZpDisk2Panel1Plaq3_->Fill((*iter).column());
649  }else if( mod == 4 ) {
650  meAdcZpDisk2Panel1Plaq4_->Fill((*iter).adc());
651  meRowZpDisk2Panel1Plaq4_->Fill((*iter).row());
652  meColZpDisk2Panel1Plaq4_->Fill((*iter).column());
653  }else {
654  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
655  }
656  ++ndigiZpDisk2PerPanel1[blade-1];
657 
658  }
659 
660  if(side == 2 && disk == 2 && panel ==2 ){
661  if ( mod == 1 ) {
662  meAdcZpDisk2Panel2Plaq1_->Fill((*iter).adc());
663  meRowZpDisk2Panel2Plaq1_->Fill((*iter).row());
664  meColZpDisk2Panel2Plaq1_->Fill((*iter).column());
665  }else if( mod == 2 ) {
666  meAdcZpDisk2Panel2Plaq2_->Fill((*iter).adc());
667  meRowZpDisk2Panel2Plaq2_->Fill((*iter).row());
668  meColZpDisk2Panel2Plaq2_->Fill((*iter).column());
669  }else if( mod == 3 ) {
670  meAdcZpDisk2Panel2Plaq3_->Fill((*iter).adc());
671  meRowZpDisk2Panel2Plaq3_->Fill((*iter).row());
672  meColZpDisk2Panel2Plaq3_->Fill((*iter).column());
673  }else {
674  //LogError("SiPixelDigiValid")<<" The number of module is Wrong";
675  }
676  ++ndigiZpDisk2PerPanel2[blade-1];
677  }
678  } //iterating the digi
679 
680  }//Endcap
681 
682  } // end for loop
683 
684  meDigiMultiLayer1Ring1_->Fill(ndigiperRingLayer1[0]);
685  meDigiMultiLayer1Ring2_->Fill(ndigiperRingLayer1[1]);
686  meDigiMultiLayer1Ring3_->Fill(ndigiperRingLayer1[2]);
687  meDigiMultiLayer1Ring4_->Fill(ndigiperRingLayer1[3]);
688  meDigiMultiLayer1Ring5_->Fill(ndigiperRingLayer1[4]);
689  meDigiMultiLayer1Ring6_->Fill(ndigiperRingLayer1[5]);
690  meDigiMultiLayer1Ring7_->Fill(ndigiperRingLayer1[6]);
691  meDigiMultiLayer1Ring8_->Fill(ndigiperRingLayer1[7]);
692 
693  meDigiMultiLayer2Ring1_->Fill(ndigiperRingLayer2[0]);
694  meDigiMultiLayer2Ring2_->Fill(ndigiperRingLayer2[1]);
695  meDigiMultiLayer2Ring3_->Fill(ndigiperRingLayer2[2]);
696  meDigiMultiLayer2Ring4_->Fill(ndigiperRingLayer2[3]);
697  meDigiMultiLayer2Ring5_->Fill(ndigiperRingLayer2[4]);
698  meDigiMultiLayer2Ring6_->Fill(ndigiperRingLayer2[5]);
699  meDigiMultiLayer2Ring7_->Fill(ndigiperRingLayer2[6]);
700  meDigiMultiLayer2Ring8_->Fill(ndigiperRingLayer2[7]);
701 
702  meDigiMultiLayer3Ring1_->Fill(ndigiperRingLayer3[0]);
703  meDigiMultiLayer3Ring2_->Fill(ndigiperRingLayer3[1]);
704  meDigiMultiLayer3Ring3_->Fill(ndigiperRingLayer3[2]);
705  meDigiMultiLayer3Ring4_->Fill(ndigiperRingLayer3[3]);
706  meDigiMultiLayer3Ring5_->Fill(ndigiperRingLayer3[4]);
707  meDigiMultiLayer3Ring6_->Fill(ndigiperRingLayer3[5]);
708  meDigiMultiLayer3Ring7_->Fill(ndigiperRingLayer3[6]);
709  meDigiMultiLayer3Ring8_->Fill(ndigiperRingLayer3[7]);
710 
711  for(int i =0; i< 24; i++) {
712  meNdigiZmDisk1PerPanel1_->Fill(ndigiZmDisk1PerPanel1[i]);
713  meNdigiZmDisk1PerPanel2_->Fill(ndigiZmDisk1PerPanel2[i]);
714  meNdigiZmDisk2PerPanel1_->Fill(ndigiZmDisk2PerPanel1[i]);
715  meNdigiZmDisk2PerPanel2_->Fill(ndigiZmDisk2PerPanel2[i]);
716  meNdigiZpDisk1PerPanel1_->Fill(ndigiZpDisk1PerPanel1[i]);
717  meNdigiZpDisk1PerPanel2_->Fill(ndigiZpDisk1PerPanel2[i]);
718  meNdigiZpDisk2PerPanel1_->Fill(ndigiZpDisk2PerPanel1[i]);
719  meNdigiZpDisk2PerPanel2_->Fill(ndigiZpDisk2PerPanel2[i]);
720  }
721 
722  for (int i =0; i< 20; i++) {
723  meDigiMultiLayer1Ladders_->Fill(i+1,ndigilayer1ladders[i]);
724  }
725 
726  for (int i =0; i< 32; i++) {
727  meDigiMultiLayer2Ladders_->Fill(i+1,ndigilayer2ladders[i]);
728  }
729 
730  for (int i =0; i< 44; i++) {
731  meDigiMultiLayer3Ladders_->Fill(i+1,ndigilayer3ladders[i]);
732  }
733 
734 }
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_
unsigned int panel() const
panel id
Definition: PXFDetId.h:52
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_
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:2113
MonitorElement * meDigiMultiLayer3Ring3_
MonitorElement * meAdcZmDisk2Panel2Plaq2_
MonitorElement * meColLayer2Ring4_
MonitorElement * meDigiMultiLayer3Ring8_
MonitorElement * meColZmDisk2Panel2Plaq3_
MonitorElement * meColZmDisk2Panel2Plaq1_
MonitorElement * meColLayer3Ring5_
MonitorElement * meColZmDisk1Panel2Plaq1_
MonitorElement * meRowLayer1Ring5_
MonitorElement * meColLayer1Ring7_
unsigned int ladder() const
ladder id
Definition: PXBDetId.h:39
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_
unsigned int layer() const
layer id
Definition: PXBDetId.h:35
MonitorElement * meRowLayer1Ring2_
MonitorElement * meAdcZmDisk2Panel1Plaq4_
MonitorElement * meAdcLayer1Ring1_
void Fill(long long x)
MonitorElement * meDigiMultiLayer1Ring2_
MonitorElement * meRowZmDisk1Panel2Plaq3_
MonitorElement * meColZpDisk1Panel1Plaq2_
unsigned int blade() const
blade id
Definition: PXFDetId.h:48
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_
unsigned int module() const
det id
Definition: PXBDetId.h:43
MonitorElement * meRowLayer1Ring4_
MonitorElement * meRowZmDisk2Panel1Plaq4_
unsigned int module() const
det id
Definition: PXFDetId.h:56
MonitorElement * meAdcLayer2Ring7_
#define end
Definition: vmac.h:38
list mod
Load physics model.
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:356
MonitorElement * meRowZmDisk2Panel2Plaq1_
iterator end()
Return the off-the-end iterator.
Definition: DetSetVector.h:356
unsigned int disk() const
disk id
Definition: PXFDetId.h:43
MonitorElement * meRowLayer3Ring1_
MonitorElement * meRowLayer2Ring7_
MonitorElement * meAdcZpDisk2Panel2Plaq2_
DQMStore * dbe_
MonitorElement * meColLayer1Ring5_
MonitorElement * meAdcZpDisk1Panel1Plaq1_
Forwar Pixel.
MonitorElement * meDigiMultiLayer1Ring1_
MonitorElement * meColZmDisk1Panel1Plaq1_
MonitorElement * meAdcLayer2Ring8_
MonitorElement * meRowLayer1Ring6_
MonitorElement * meRowZmDisk1Panel1Plaq2_
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_
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 side() const
positive or negative id
Definition: PXFDetId.h:38
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_
MonitorElement * meRowZpDisk1Panel2Plaq1_
MonitorElement * meColZpDisk2Panel1Plaq2_
MonitorElement * meNdigiZpDisk2PerPanel2_
MonitorElement * meDigiMultiLayer3Ring4_
MonitorElement * meColLayer2Ring1_
MonitorElement * meAdcLayer3Ring1_
MonitorElement * meColLayer3Ring6_
MonitorElement * meNdigiZmDisk2PerPanel2_
MonitorElement * meRowLayer1Ring7_
MonitorElement * meColZpDisk2Panel2Plaq2_
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_