27 dbe_->setCurrentFolder(
"TrackerDigisV/TrackerDigis/Strip");
29 for(
int i = 0 ;
i<3 ;
i++) {
32 sprintf(histo,
"adc_tib_layer1_extmodule%d_zp",
i+1);
34 sprintf(histo,
"adc_tib_layer1_intmodule%d_zp",
i+1);
36 sprintf(histo,
"adc_tib_layer2_extmodule%d_zp",
i+1);
38 sprintf(histo,
"adc_tib_layer2_intmodule%d_zp",
i+1);
40 sprintf(histo,
"adc_tib_layer3_extmodule%d_zp",
i+1);
42 sprintf(histo,
"adc_tib_layer3_intmodule%d_zp",
i+1);
44 sprintf(histo,
"adc_tib_layer4_extmodule%d_zp",
i+1);
46 sprintf(histo,
"adc_tib_layer4_intmodule%d_zp",
i+1);
48 sprintf(histo,
"strip_tib_layer1_extmodule%d_zp",
i+1);
50 sprintf(histo,
"strip_tib_layer1_intmodule%d_zp",
i+1);
52 sprintf(histo,
"strip_tib_layer2_extmodule%d_zp",
i+1);
54 sprintf(histo,
"strip_tib_layer2_intmodule%d_zp",
i+1);
56 sprintf(histo,
"strip_tib_layer3_extmodule%d_zp",
i+1);
58 sprintf(histo,
"strip_tib_layer3_intmodule%d_zp",
i+1);
60 sprintf(histo,
"strip_tib_layer4_extmodule%d_zp",
i+1);
62 sprintf(histo,
"strip_tib_layer4_intmodule%d_zp",
i+1);
65 sprintf(histo,
"adc_tib_layer1_extmodule%d_zm",
i+1);
67 sprintf(histo,
"adc_tib_layer1_intmodule%d_zm",
i+1);
69 sprintf(histo,
"adc_tib_layer2_extmodule%d_zm",
i+1);
71 sprintf(histo,
"adc_tib_layer2_intmodule%d_zm",
i+1);
73 sprintf(histo,
"adc_tib_layer3_extmodule%d_zm",
i+1);
75 sprintf(histo,
"adc_tib_layer3_intmodule%d_zm",
i+1);
77 sprintf(histo,
"adc_tib_layer4_extmodule%d_zm",
i+1);
79 sprintf(histo,
"adc_tib_layer4_intmodule%d_zm",
i+1);
81 sprintf(histo,
"strip_tib_layer1_extmodule%d_zm",
i+1);
83 sprintf(histo,
"strip_tib_layer1_intmodule%d_zm",
i+1);
85 sprintf(histo,
"strip_tib_layer2_extmodule%d_zm",
i+1);
87 sprintf(histo,
"strip_tib_layer2_intmodule%d_zm",
i+1);
89 sprintf(histo,
"strip_tib_layer3_extmodule%d_zm",
i+1);
91 sprintf(histo,
"strip_tib_layer3_intmodule%d_zm",
i+1);
93 sprintf(histo,
"strip_tib_layer4_extmodule%d_zm",
i+1);
95 sprintf(histo,
"strip_tib_layer4_intmodule%d_zm",
i+1);
100 for(
int i = 0 ;
i<6 ;
i++) {
103 sprintf(histo,
"adc_tob_layer1_module%d_zp",
i+1);
105 sprintf(histo,
"strip_tob_layer1_module%d_zp",
i+1);
107 sprintf(histo,
"adc_tob_layer2_module%d_zp",
i+1);
109 sprintf(histo,
"strip_tob_layer2_module%d_zp",
i+1);
111 sprintf(histo,
"adc_tob_layer3_module%d_zp",
i+1);
113 sprintf(histo,
"strip_tob_layer3_module%d_zp",
i+1);
115 sprintf(histo,
"adc_tob_layer4_module%d_zp",
i+1);
117 sprintf(histo,
"strip_tob_layer4_module%d_zp",
i+1);
119 sprintf(histo,
"adc_tob_layer5_module%d_zp",
i+1);
121 sprintf(histo,
"strip_tob_layer5_module%d_zp",
i+1);
123 sprintf(histo,
"adc_tob_layer6_module%d_zp",
i+1);
125 sprintf(histo,
"strip_tob_layer6_module%d_zp",
i+1);
128 sprintf(histo,
"adc_tob_layer1_module%d_zm",
i+1);
130 sprintf(histo,
"strip_tob_layer1_module%d_zm",
i+1);
132 sprintf(histo,
"adc_tob_layer2_module%d_zm",
i+1);
134 sprintf(histo,
"strip_tob_layer2_module%d_zm",
i+1);
136 sprintf(histo,
"adc_tob_layer3_module%d_zm",
i+1);
138 sprintf(histo,
"strip_tob_layer3_module%d_zm",
i+1);
140 sprintf(histo,
"adc_tob_layer4_module%d_zm",
i+1);
142 sprintf(histo,
"strip_tob_layer4_module%d_zm",
i+1);
144 sprintf(histo,
"adc_tob_layer5_module%d_zm",
i+1);
146 sprintf(histo,
"strip_tob_layer5_module%d_zm",
i+1);
148 sprintf(histo,
"adc_tob_layer6_module%d_zm",
i+1);
150 sprintf(histo,
"strip_tob_layer6_module%d_zm",
i+1);
154 for(
int i = 0 ;
i<3 ;
i++) {
157 sprintf(histo,
"adc_tid_wheel1_ring%d_zp",
i+1);
159 sprintf(histo,
"adc_tid_wheel2_ring%d_zp",
i+1);
161 sprintf(histo,
"adc_tid_wheel3_ring%d_zp",
i+1);
163 sprintf(histo,
"strip_tid_wheel1_ring%d_zp",
i+1);
165 sprintf(histo,
"strip_tid_wheel2_ring%d_zp",
i+1);
167 sprintf(histo,
"strip_tid_wheel3_ring%d_zp",
i+1);
170 sprintf(histo,
"adc_tid_wheel1_ring%d_zm",
i+1);
172 sprintf(histo,
"adc_tid_wheel2_ring%d_zm",
i+1);
174 sprintf(histo,
"adc_tid_wheel3_ring%d_zm",
i+1);
176 sprintf(histo,
"strip_tid_wheel1_ring%d_zm",
i+1);
178 sprintf(histo,
"strip_tid_wheel2_ring%d_zm",
i+1);
180 sprintf(histo,
"strip_tid_wheel3_ring%d_zm",
i+1);
185 for(
int i = 0 ;
i<7 ;
i++) {
188 sprintf(histo,
"adc_tec_wheel1_ring%d_zp",
i+1);
190 sprintf(histo,
"adc_tec_wheel2_ring%d_zp",
i+1);
192 sprintf(histo,
"adc_tec_wheel3_ring%d_zp",
i+1);
194 sprintf(histo,
"strip_tec_wheel1_ring%d_zp",
i+1);
196 sprintf(histo,
"strip_tec_wheel2_ring%d_zp",
i+1);
198 sprintf(histo,
"strip_tec_wheel3_ring%d_zp",
i+1);
202 sprintf(histo,
"adc_tec_wheel1_ring%d_zm",
i+1);
204 sprintf(histo,
"adc_tec_wheel2_ring%d_zm",
i+1);
206 sprintf(histo,
"adc_tec_wheel3_ring%d_zm",
i+1);
208 sprintf(histo,
"strip_tec_wheel1_ring%d_zm",
i+1);
210 sprintf(histo,
"strip_tec_wheel2_ring%d_zm",
i+1);
212 sprintf(histo,
"strip_tec_wheel3_ring%d_zm",
i+1);
216 for(
int i = 0 ;
i<6 ;
i++) {
219 sprintf(histo,
"adc_tec_wheel4_ring%d_zp",
i+1);
221 sprintf(histo,
"adc_tec_wheel5_ring%d_zp",
i+1);
223 sprintf(histo,
"adc_tec_wheel6_ring%d_zp",
i+1);
225 sprintf(histo,
"strip_tec_wheel4_ring%d_zp",
i+1);
227 sprintf(histo,
"strip_tec_wheel5_ring%d_zp",
i+1);
229 sprintf(histo,
"strip_tec_wheel6_ring%d_zp",
i+1);
233 sprintf(histo,
"adc_tec_wheel4_ring%d_zm",
i+1);
235 sprintf(histo,
"adc_tec_wheel5_ring%d_zm",
i+1);
237 sprintf(histo,
"adc_tec_wheel6_ring%d_zm",
i+1);
239 sprintf(histo,
"strip_tec_wheel4_ring%d_zm",
i+1);
241 sprintf(histo,
"strip_tec_wheel5_ring%d_zm",
i+1);
243 sprintf(histo,
"strip_tec_wheel6_ring%d_zm",
i+1);
247 for(
int i = 0 ;
i<5 ;
i++) {
250 sprintf(histo,
"adc_tec_wheel7_ring%d_zp",
i+1);
252 sprintf(histo,
"adc_tec_wheel8_ring%d_zp",
i+1);
254 sprintf(histo,
"strip_tec_wheel7_ring%d_zp",
i+1);
256 sprintf(histo,
"strip_tec_wheel8_ring%d_zp",
i+1);
260 sprintf(histo,
"adc_tec_wheel7_ring%d_zm",
i+1);
262 sprintf(histo,
"adc_tec_wheel8_ring%d_zm",
i+1);
264 sprintf(histo,
"strip_tec_wheel7_ring%d_zm",
i+1);
266 sprintf(histo,
"strip_tec_wheel8_ring%d_zm",
i+1);
270 for(
int i = 0 ;
i<4 ;
i++) {
273 sprintf(histo,
"adc_tec_wheel9_ring%d_zp",
i+1);
275 sprintf(histo,
"strip_tec_wheel9_ring%d_zp",
i+1);
279 sprintf(histo,
"adc_tec_wheel9_ring%d_zm",
i+1);
281 sprintf(histo,
"strip_tec_wheel9_ring%d_zm",
i+1);
286 for(
int i = 0 ;
i<4 ;
i++) {
288 sprintf(histo,
"ndigi_tib_layer_%d_zm",
i+1);
290 sprintf(histo,
"ndigi_tib_layer_%d_zp",
i+1);
294 for(
int i = 0 ;
i<6 ;
i++) {
296 sprintf(histo,
"ndigi_tob_layer_%d_zm",
i+1);
298 sprintf(histo,
"ndigi_tob_layer_%d_zp",
i+1);
303 for(
int i = 0 ;
i<3 ;
i++) {
305 sprintf(histo,
"ndigi_tid_wheel_%d_zm",
i+1);
307 sprintf(histo,
"ndigi_tid_wheel_%d_zp",
i+1);
311 for(
int i = 0 ;
i<9 ;
i++) {
313 sprintf(histo,
"ndigi_tec_wheel_%d_zm",
i+1);
315 sprintf(histo,
"ndigi_tec_wheel_%d_zp",
i+1);
347 int ndigilayertibzp[4];
348 int ndigilayertibzm[4];
350 for(
int i = 0;
i< 4;
i++ ) {
351 ndigilayertibzp[
i] = 0;
352 ndigilayertibzm[
i] = 0;
355 int ndigilayertobzp[6];
356 int ndigilayertobzm[6];
358 for(
int i = 0;
i< 6;
i++ ) {
359 ndigilayertobzp[
i] = 0;
360 ndigilayertobzm[
i] = 0;
363 int ndigiwheeltidzp[3];
364 int ndigiwheeltidzm[3];
366 for(
int i = 0;
i< 3;
i++ ) {
367 ndigiwheeltidzp[
i] = 0;
368 ndigiwheeltidzm[
i] = 0;
371 int ndigiwheelteczp[9];
372 int ndigiwheelteczm[9];
374 for(
int i = 0;
i< 9;
i++ ) {
375 ndigiwheelteczp[
i] = 0;
376 ndigiwheelteczm[
i] = 0;
389 for( ; DSViter != stripDigis->end(); DSViter++) {
390 unsigned int id = DSViter->id;
398 for ( iter = begin ; iter !=
end; iter++ ) {
400 ++ndigilayertibzm[tTopo->
tibLayer(
id)-1];
446 ++ndigilayertibzp[tTopo->
tibLayer(
id)-1];
497 for ( iter = begin ; iter !=
end; iter++ ) {
499 ++ndigilayertobzm[tTopo->
tobLayer(
id)-1];
550 ++ndigilayertobzp[tTopo->
tobLayer(
id)-1];
607 for ( iter = begin ; iter !=
end; iter++ ) {
609 ++ndigiwheeltidzm[tTopo->
tidWheel(
id)-1];
627 ++ndigiwheeltidzp[tTopo->
tidWheel(
id)-1];
649 for ( iter = begin ; iter !=
end; iter++ ) {
651 ++ndigiwheelteczm[tTopo->
tecWheel(
id)-1];
724 ++ndigiwheelteczp[tTopo->
tecWheel(
id)-1];
802 for (
int i =0;
i< 4;
i++ ) {
807 for (
int i =0;
i< 6;
i++ ) {
812 for (
int i =0;
i< 3;
i++ ) {
817 for (
int i =0;
i< 9;
i++ ) {
MonitorElement * meAdcTOBLayer5zp_[6]
MonitorElement * meAdcTIBLayer4Extzm_[3]
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meStripTIBLayer4Intzm_[3]
MonitorElement * meAdcTIDWheel3zm_[3]
MonitorElement * meStripTECWheel1zm_[7]
MonitorElement * meAdcTECWheel6zp_[6]
MonitorElement * meStripTECWheel2zm_[7]
MonitorElement * meNDigiTIDWheelzm_[3]
MonitorElement * meAdcTIBLayer2Extzp_[3]
MonitorElement * meAdcTECWheel1zp_[7]
MonitorElement * meStripTECWheel8zp_[5]
MonitorElement * meStripTOBLayer2zm_[6]
MonitorElement * meStripTIBLayer2Extzm_[3]
unsigned int tibLayer(const DetId &id) const
MonitorElement * meStripTECWheel7zp_[5]
MonitorElement * meStripTIDWheel1zp_[3]
unsigned int tidRing(const DetId &id) const
MonitorElement * meAdcTECWheel4zm_[6]
MonitorElement * meAdcTOBLayer4zp_[6]
MonitorElement * meStripTIBLayer4Intzp_[3]
MonitorElement * meAdcTIBLayer2Extzm_[3]
MonitorElement * meStripTOBLayer1zp_[6]
MonitorElement * meStripTECWheel9zp_[4]
MonitorElement * meStripTOBLayer3zp_[6]
MonitorElement * meNDigiTECWheelzm_[9]
MonitorElement * meAdcTECWheel9zp_[4]
MonitorElement * meAdcTOBLayer5zm_[6]
unsigned int tecRing(const DetId &id) const
ring id
MonitorElement * meStripTIBLayer2Intzp_[3]
MonitorElement * meAdcTECWheel3zm_[7]
MonitorElement * meStripTOBLayer4zm_[6]
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")
MonitorElement * meStripTECWheel4zp_[6]
MonitorElement * meNDigiTIBLayerzp_[4]
MonitorElement * meNDigiTOBLayerzp_[6]
MonitorElement * meAdcTIBLayer1Intzp_[3]
MonitorElement * meStripTECWheel5zp_[6]
unsigned int tidWheel(const DetId &id) const
MonitorElement * meAdcTIDWheel2zm_[3]
MonitorElement * meStripTOBLayer4zp_[6]
MonitorElement * meAdcTIBLayer2Intzp_[3]
MonitorElement * meAdcTECWheel8zm_[5]
MonitorElement * meStripTIBLayer3Extzp_[3]
MonitorElement * meAdcTIBLayer2Intzm_[3]
MonitorElement * meAdcTECWheel5zm_[6]
std::vector< unsigned int > tibStringInfo(const DetId &id) const
MonitorElement * meNDigiTOBLayerzm_[6]
MonitorElement * meStripTOBLayer5zp_[6]
MonitorElement * meStripTECWheel3zp_[7]
MonitorElement * meStripTECWheel6zm_[6]
MonitorElement * meStripTIBLayer3Intzm_[3]
MonitorElement * meAdcTOBLayer2zp_[6]
MonitorElement * meAdcTIDWheel3zp_[3]
MonitorElement * meStripTIBLayer2Intzm_[3]
MonitorElement * meAdcTIBLayer1Extzp_[3]
MonitorElement * meStripTECWheel4zm_[6]
MonitorElement * meStripTIBLayer4Extzm_[3]
MonitorElement * meAdcTOBLayer1zp_[6]
unsigned int tidSide(const DetId &id) const
std::vector< unsigned int > tobRodInfo(const DetId &id) const
MonitorElement * meAdcTOBLayer4zm_[6]
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * meStripTOBLayer5zm_[6]
MonitorElement * meAdcTECWheel8zp_[5]
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * meAdcTIDWheel1zp_[3]
MonitorElement * meAdcTIBLayer1Intzm_[3]
MonitorElement * meStripTECWheel9zm_[4]
MonitorElement * meAdcTECWheel7zp_[5]
MonitorElement * meAdcTECWheel1zm_[7]
MonitorElement * meStripTIBLayer1Intzp_[3]
MonitorElement * meStripTIDWheel2zm_[3]
MonitorElement * meStripTOBLayer3zm_[6]
MonitorElement * meStripTIDWheel1zm_[3]
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * meAdcTIBLayer3Extzp_[3]
MonitorElement * meStripTIBLayer3Extzm_[3]
MonitorElement * meStripTECWheel7zm_[5]
MonitorElement * meStripTECWheel2zp_[7]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
iterator end()
Return the off-the-end iterator.
MonitorElement * meAdcTIBLayer3Intzm_[3]
MonitorElement * meNDigiTIBLayerzm_[4]
MonitorElement * meAdcTECWheel3zp_[7]
unsigned int tibModule(const DetId &id) const
MonitorElement * meAdcTIDWheel1zm_[3]
MonitorElement * meAdcTECWheel7zm_[5]
MonitorElement * meAdcTECWheel5zp_[6]
MonitorElement * meAdcTOBLayer1zm_[6]
MonitorElement * meStripTECWheel8zm_[5]
MonitorElement * meStripTECWheel5zm_[6]
MonitorElement * meStripTIBLayer1Intzm_[3]
MonitorElement * meAdcTIBLayer4Intzp_[3]
MonitorElement * meStripTIBLayer1Extzp_[3]
MonitorElement * meStripTIBLayer1Extzm_[3]
MonitorElement * meNDigiTIDWheelzp_[3]
MonitorElement * meAdcTOBLayer3zp_[6]
MonitorElement * meAdcTOBLayer6zm_[6]
SiStripDigiValid(const edm::ParameterSet &ps)
T const * product() const
MonitorElement * meStripTIDWheel3zp_[3]
MonitorElement * meStripTOBLayer6zp_[6]
MonitorElement * meAdcTOBLayer3zm_[6]
unsigned int tobModule(const DetId &id) const
MonitorElement * meAdcTIBLayer4Intzm_[3]
MonitorElement * meAdcTECWheel2zp_[7]
MonitorElement * meAdcTOBLayer6zp_[6]
MonitorElement * meAdcTIBLayer3Extzm_[3]
MonitorElement * meAdcTIDWheel2zp_[3]
MonitorElement * meStripTOBLayer2zp_[6]
MonitorElement * meStripTIDWheel2zp_[3]
MonitorElement * meStripTIBLayer4Extzp_[3]
MonitorElement * meStripTOBLayer1zm_[6]
MonitorElement * meAdcTIBLayer1Extzm_[3]
MonitorElement * meStripTECWheel3zm_[7]
MonitorElement * meAdcTOBLayer2zm_[6]
MonitorElement * meAdcTIBLayer4Extzp_[3]
MonitorElement * meStripTECWheel6zp_[6]
iterator begin()
Return an iterator to the first DetSet.
MonitorElement * meStripTOBLayer6zm_[6]
MonitorElement * meNDigiTECWheelzp_[9]
MonitorElement * meAdcTIBLayer3Intzp_[3]
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
MonitorElement * meAdcTECWheel6zm_[6]
MonitorElement * meStripTECWheel1zp_[7]
unsigned int tecWheel(const DetId &id) const
MonitorElement * meStripTIBLayer3Intzp_[3]
MonitorElement * meAdcTECWheel4zp_[6]
MonitorElement * meAdcTECWheel9zm_[4]
MonitorElement * meStripTIBLayer2Extzp_[3]
unsigned int tobLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const
MonitorElement * meAdcTECWheel2zm_[7]
MonitorElement * meStripTIDWheel3zm_[3]