29 dbe_->setCurrentFolder(
"TrackerDigisV/TrackerDigis/Strip");
31 for(
int i = 0 ;
i<3 ;
i++) {
34 sprintf(histo,
"adc_tib_layer1_extmodule%d_zp",
i+1);
36 sprintf(histo,
"adc_tib_layer1_intmodule%d_zp",
i+1);
38 sprintf(histo,
"adc_tib_layer2_extmodule%d_zp",
i+1);
40 sprintf(histo,
"adc_tib_layer2_intmodule%d_zp",
i+1);
42 sprintf(histo,
"adc_tib_layer3_extmodule%d_zp",
i+1);
44 sprintf(histo,
"adc_tib_layer3_intmodule%d_zp",
i+1);
46 sprintf(histo,
"adc_tib_layer4_extmodule%d_zp",
i+1);
48 sprintf(histo,
"adc_tib_layer4_intmodule%d_zp",
i+1);
50 sprintf(histo,
"strip_tib_layer1_extmodule%d_zp",
i+1);
52 sprintf(histo,
"strip_tib_layer1_intmodule%d_zp",
i+1);
54 sprintf(histo,
"strip_tib_layer2_extmodule%d_zp",
i+1);
56 sprintf(histo,
"strip_tib_layer2_intmodule%d_zp",
i+1);
58 sprintf(histo,
"strip_tib_layer3_extmodule%d_zp",
i+1);
60 sprintf(histo,
"strip_tib_layer3_intmodule%d_zp",
i+1);
62 sprintf(histo,
"strip_tib_layer4_extmodule%d_zp",
i+1);
64 sprintf(histo,
"strip_tib_layer4_intmodule%d_zp",
i+1);
67 sprintf(histo,
"adc_tib_layer1_extmodule%d_zm",
i+1);
69 sprintf(histo,
"adc_tib_layer1_intmodule%d_zm",
i+1);
71 sprintf(histo,
"adc_tib_layer2_extmodule%d_zm",
i+1);
73 sprintf(histo,
"adc_tib_layer2_intmodule%d_zm",
i+1);
75 sprintf(histo,
"adc_tib_layer3_extmodule%d_zm",
i+1);
77 sprintf(histo,
"adc_tib_layer3_intmodule%d_zm",
i+1);
79 sprintf(histo,
"adc_tib_layer4_extmodule%d_zm",
i+1);
81 sprintf(histo,
"adc_tib_layer4_intmodule%d_zm",
i+1);
83 sprintf(histo,
"strip_tib_layer1_extmodule%d_zm",
i+1);
85 sprintf(histo,
"strip_tib_layer1_intmodule%d_zm",
i+1);
87 sprintf(histo,
"strip_tib_layer2_extmodule%d_zm",
i+1);
89 sprintf(histo,
"strip_tib_layer2_intmodule%d_zm",
i+1);
91 sprintf(histo,
"strip_tib_layer3_extmodule%d_zm",
i+1);
93 sprintf(histo,
"strip_tib_layer3_intmodule%d_zm",
i+1);
95 sprintf(histo,
"strip_tib_layer4_extmodule%d_zm",
i+1);
97 sprintf(histo,
"strip_tib_layer4_intmodule%d_zm",
i+1);
102 for(
int i = 0 ;
i<6 ;
i++) {
105 sprintf(histo,
"adc_tob_layer1_module%d_zp",
i+1);
107 sprintf(histo,
"strip_tob_layer1_module%d_zp",
i+1);
109 sprintf(histo,
"adc_tob_layer2_module%d_zp",
i+1);
111 sprintf(histo,
"strip_tob_layer2_module%d_zp",
i+1);
113 sprintf(histo,
"adc_tob_layer3_module%d_zp",
i+1);
115 sprintf(histo,
"strip_tob_layer3_module%d_zp",
i+1);
117 sprintf(histo,
"adc_tob_layer4_module%d_zp",
i+1);
119 sprintf(histo,
"strip_tob_layer4_module%d_zp",
i+1);
121 sprintf(histo,
"adc_tob_layer5_module%d_zp",
i+1);
123 sprintf(histo,
"strip_tob_layer5_module%d_zp",
i+1);
125 sprintf(histo,
"adc_tob_layer6_module%d_zp",
i+1);
127 sprintf(histo,
"strip_tob_layer6_module%d_zp",
i+1);
130 sprintf(histo,
"adc_tob_layer1_module%d_zm",
i+1);
132 sprintf(histo,
"strip_tob_layer1_module%d_zm",
i+1);
134 sprintf(histo,
"adc_tob_layer2_module%d_zm",
i+1);
136 sprintf(histo,
"strip_tob_layer2_module%d_zm",
i+1);
138 sprintf(histo,
"adc_tob_layer3_module%d_zm",
i+1);
140 sprintf(histo,
"strip_tob_layer3_module%d_zm",
i+1);
142 sprintf(histo,
"adc_tob_layer4_module%d_zm",
i+1);
144 sprintf(histo,
"strip_tob_layer4_module%d_zm",
i+1);
146 sprintf(histo,
"adc_tob_layer5_module%d_zm",
i+1);
148 sprintf(histo,
"strip_tob_layer5_module%d_zm",
i+1);
150 sprintf(histo,
"adc_tob_layer6_module%d_zm",
i+1);
152 sprintf(histo,
"strip_tob_layer6_module%d_zm",
i+1);
156 for(
int i = 0 ;
i<3 ;
i++) {
159 sprintf(histo,
"adc_tid_wheel1_ring%d_zp",
i+1);
161 sprintf(histo,
"adc_tid_wheel2_ring%d_zp",
i+1);
163 sprintf(histo,
"adc_tid_wheel3_ring%d_zp",
i+1);
165 sprintf(histo,
"strip_tid_wheel1_ring%d_zp",
i+1);
167 sprintf(histo,
"strip_tid_wheel2_ring%d_zp",
i+1);
169 sprintf(histo,
"strip_tid_wheel3_ring%d_zp",
i+1);
172 sprintf(histo,
"adc_tid_wheel1_ring%d_zm",
i+1);
174 sprintf(histo,
"adc_tid_wheel2_ring%d_zm",
i+1);
176 sprintf(histo,
"adc_tid_wheel3_ring%d_zm",
i+1);
178 sprintf(histo,
"strip_tid_wheel1_ring%d_zm",
i+1);
180 sprintf(histo,
"strip_tid_wheel2_ring%d_zm",
i+1);
182 sprintf(histo,
"strip_tid_wheel3_ring%d_zm",
i+1);
187 for(
int i = 0 ;
i<7 ;
i++) {
190 sprintf(histo,
"adc_tec_wheel1_ring%d_zp",
i+1);
192 sprintf(histo,
"adc_tec_wheel2_ring%d_zp",
i+1);
194 sprintf(histo,
"adc_tec_wheel3_ring%d_zp",
i+1);
196 sprintf(histo,
"strip_tec_wheel1_ring%d_zp",
i+1);
198 sprintf(histo,
"strip_tec_wheel2_ring%d_zp",
i+1);
200 sprintf(histo,
"strip_tec_wheel3_ring%d_zp",
i+1);
204 sprintf(histo,
"adc_tec_wheel1_ring%d_zm",
i+1);
206 sprintf(histo,
"adc_tec_wheel2_ring%d_zm",
i+1);
208 sprintf(histo,
"adc_tec_wheel3_ring%d_zm",
i+1);
210 sprintf(histo,
"strip_tec_wheel1_ring%d_zm",
i+1);
212 sprintf(histo,
"strip_tec_wheel2_ring%d_zm",
i+1);
214 sprintf(histo,
"strip_tec_wheel3_ring%d_zm",
i+1);
218 for(
int i = 0 ;
i<6 ;
i++) {
221 sprintf(histo,
"adc_tec_wheel4_ring%d_zp",
i+1);
223 sprintf(histo,
"adc_tec_wheel5_ring%d_zp",
i+1);
225 sprintf(histo,
"adc_tec_wheel6_ring%d_zp",
i+1);
227 sprintf(histo,
"strip_tec_wheel4_ring%d_zp",
i+1);
229 sprintf(histo,
"strip_tec_wheel5_ring%d_zp",
i+1);
231 sprintf(histo,
"strip_tec_wheel6_ring%d_zp",
i+1);
235 sprintf(histo,
"adc_tec_wheel4_ring%d_zm",
i+1);
237 sprintf(histo,
"adc_tec_wheel5_ring%d_zm",
i+1);
239 sprintf(histo,
"adc_tec_wheel6_ring%d_zm",
i+1);
241 sprintf(histo,
"strip_tec_wheel4_ring%d_zm",
i+1);
243 sprintf(histo,
"strip_tec_wheel5_ring%d_zm",
i+1);
245 sprintf(histo,
"strip_tec_wheel6_ring%d_zm",
i+1);
249 for(
int i = 0 ;
i<5 ;
i++) {
252 sprintf(histo,
"adc_tec_wheel7_ring%d_zp",
i+1);
254 sprintf(histo,
"adc_tec_wheel8_ring%d_zp",
i+1);
256 sprintf(histo,
"strip_tec_wheel7_ring%d_zp",
i+1);
258 sprintf(histo,
"strip_tec_wheel8_ring%d_zp",
i+1);
262 sprintf(histo,
"adc_tec_wheel7_ring%d_zm",
i+1);
264 sprintf(histo,
"adc_tec_wheel8_ring%d_zm",
i+1);
266 sprintf(histo,
"strip_tec_wheel7_ring%d_zm",
i+1);
268 sprintf(histo,
"strip_tec_wheel8_ring%d_zm",
i+1);
272 for(
int i = 0 ;
i<4 ;
i++) {
275 sprintf(histo,
"adc_tec_wheel9_ring%d_zp",
i+1);
277 sprintf(histo,
"strip_tec_wheel9_ring%d_zp",
i+1);
281 sprintf(histo,
"adc_tec_wheel9_ring%d_zm",
i+1);
283 sprintf(histo,
"strip_tec_wheel9_ring%d_zm",
i+1);
288 for(
int i = 0 ;
i<4 ;
i++) {
290 sprintf(histo,
"ndigi_tib_layer_%d_zm",
i+1);
292 sprintf(histo,
"ndigi_tib_layer_%d_zp",
i+1);
296 for(
int i = 0 ;
i<6 ;
i++) {
298 sprintf(histo,
"ndigi_tob_layer_%d_zm",
i+1);
300 sprintf(histo,
"ndigi_tob_layer_%d_zp",
i+1);
305 for(
int i = 0 ;
i<3 ;
i++) {
307 sprintf(histo,
"ndigi_tid_wheel_%d_zm",
i+1);
309 sprintf(histo,
"ndigi_tid_wheel_%d_zp",
i+1);
313 for(
int i = 0 ;
i<9 ;
i++) {
315 sprintf(histo,
"ndigi_tec_wheel_%d_zm",
i+1);
317 sprintf(histo,
"ndigi_tec_wheel_%d_zp",
i+1);
343 int ndigilayertibzp[4];
344 int ndigilayertibzm[4];
346 for(
int i = 0;
i< 4;
i++ ) {
347 ndigilayertibzp[
i] = 0;
348 ndigilayertibzm[
i] = 0;
351 int ndigilayertobzp[6];
352 int ndigilayertobzm[6];
354 for(
int i = 0;
i< 6;
i++ ) {
355 ndigilayertobzp[
i] = 0;
356 ndigilayertobzm[
i] = 0;
359 int ndigiwheeltidzp[3];
360 int ndigiwheeltidzm[3];
362 for(
int i = 0;
i< 3;
i++ ) {
363 ndigiwheeltidzp[
i] = 0;
364 ndigiwheeltidzm[
i] = 0;
367 int ndigiwheelteczp[9];
368 int ndigiwheelteczm[9];
370 for(
int i = 0;
i< 9;
i++ ) {
371 ndigiwheelteczp[
i] = 0;
372 ndigiwheelteczm[
i] = 0;
385 for( ; DSViter != stripDigis->end(); DSViter++) {
386 unsigned int id = DSViter->id;
394 for ( iter = begin ; iter !=
end; iter++ ) {
395 if( tibid.
string()[0] == 1) {
396 ++ndigilayertibzm[tibid.
layer()-1];
397 if( tibid.
layer() == 1 ) {
398 if ( tibid.
string()[1] == 1 ) {
408 if( tibid.
layer() == 2 ) {
409 if ( tibid.
string()[1] == 1 ) {
419 if( tibid.
layer() == 3 ) {
420 if ( tibid.
string()[1] == 1 ) {
430 if( tibid.
layer() == 4 ) {
431 if ( tibid.
string()[1] == 1 ) {
442 ++ndigilayertibzp[tibid.
layer()-1];
443 if( tibid.
layer() == 1 ) {
444 if ( tibid.
string()[1] == 1 ) {
454 if( tibid.
layer() == 2 ) {
455 if ( tibid.
string()[1] == 1 ) {
465 if( tibid.
layer() == 3 ) {
466 if ( tibid.
string()[1] == 1 ) {
476 if( tibid.
layer() == 4 ) {
477 if ( tibid.
string()[1] == 1) {
493 for ( iter = begin ; iter !=
end; iter++ ) {
494 if( tobid.
rod()[0] == 1) {
495 ++ndigilayertobzm[tobid.
layer()-1];
496 if( tobid.
layer() == 1 ) {
504 if( tobid.
layer() == 2 ) {
512 if( tobid.
layer() == 3 ) {
520 if( tobid.
layer() == 4 ) {
528 if( tobid.
layer() == 5 ) {
536 if( tobid.
layer() == 6 ) {
546 ++ndigilayertobzp[tobid.
layer()-1];
547 if( tobid.
layer() == 1 ) {
555 if( tobid.
layer() == 2 ) {
563 if( tobid.
layer() == 3 ) {
571 if( tobid.
layer() == 4 ) {
579 if( tobid.
layer() == 5 ) {
587 if( tobid.
layer() == 6 ) {
603 for ( iter = begin ; iter !=
end; iter++ ) {
604 if( tidid.
side() == 1){
605 ++ndigiwheeltidzm[tidid.
wheel()-1];
606 if( tidid.
wheel() == 1 ) {
611 if( tidid.
wheel() == 2 ) {
616 if( tidid.
wheel() == 3 ) {
623 ++ndigiwheeltidzp[tidid.
wheel()-1];
624 if( tidid.
wheel() == 1 ) {
629 if( tidid.
wheel() == 2 ) {
634 if( tidid.
wheel() == 3 ) {
645 for ( iter = begin ; iter !=
end; iter++ ) {
646 if(tecid.
side() == 1) {
647 ++ndigiwheelteczm[tecid.
wheel()-1];
648 if( tecid.
wheel() == 1 ) {
657 if( tecid.
wheel() == 2 ) {
666 if( tecid.
wheel() == 3 ) {
675 if( tecid.
wheel() == 4 ) {
683 if( tecid.
wheel() == 5 ) {
691 if( tecid.
wheel() == 6 ) {
699 if( tecid.
wheel() == 7 ) {
706 if( tecid.
wheel() == 8 ) {
713 if( tecid.
wheel() == 9 ) {
720 ++ndigiwheelteczp[tecid.
wheel()-1];
721 if( tecid.
wheel() == 1 ) {
730 if( tecid.
wheel() == 2 ) {
739 if( tecid.
wheel() == 3 ) {
748 if( tecid.
wheel() == 4 ) {
756 if( tecid.
wheel() == 5 ) {
764 if( tecid.
wheel() == 6 ) {
772 if( tecid.
wheel() == 7 ) {
779 if( tecid.
wheel() == 8 ) {
786 if( tecid.
wheel() == 9 ) {
798 for (
int i =0;
i< 4;
i++ ) {
803 for (
int i =0;
i< 6;
i++ ) {
808 for (
int i =0;
i< 3;
i++ ) {
813 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 layer() const
layer id
MonitorElement * meStripTECWheel7zp_[5]
MonitorElement * meStripTIDWheel1zp_[3]
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]
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]
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 > string() const
string id
MonitorElement * meNDigiTOBLayerzm_[6]
MonitorElement * meStripTOBLayer5zp_[6]
unsigned int side() const
positive or negative id
MonitorElement * meStripTECWheel3zp_[7]
std::vector< unsigned int > rod() const
rod id
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]
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]
unsigned int ring() const
ring id
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]
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]
unsigned int module() const
detector id
MonitorElement * meAdcTOBLayer3zp_[6]
unsigned int side() const
positive or negative id
MonitorElement * meAdcTOBLayer6zm_[6]
SiStripDigiValid(const edm::ParameterSet &ps)
MonitorElement * meStripTIDWheel3zp_[3]
unsigned int wheel() const
wheel id
MonitorElement * meStripTOBLayer6zp_[6]
MonitorElement * meAdcTOBLayer3zm_[6]
unsigned int layer() const
layer id
MonitorElement * meAdcTIBLayer4Intzm_[3]
MonitorElement * meAdcTECWheel2zp_[7]
MonitorElement * meAdcTOBLayer6zp_[6]
MonitorElement * meAdcTIBLayer3Extzm_[3]
MonitorElement * meAdcTIDWheel2zp_[3]
MonitorElement * meStripTOBLayer2zp_[6]
unsigned int ring() const
ring id
MonitorElement * meStripTIDWheel2zp_[3]
MonitorElement * meStripTIBLayer4Extzp_[3]
MonitorElement * meStripTOBLayer1zm_[6]
MonitorElement * meAdcTIBLayer1Extzm_[3]
MonitorElement * meStripTECWheel3zm_[7]
MonitorElement * meAdcTOBLayer2zm_[6]
unsigned int module() const
detector id
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]
MonitorElement * meStripTIBLayer3Intzp_[3]
MonitorElement * meAdcTECWheel4zp_[6]
MonitorElement * meAdcTECWheel9zm_[4]
MonitorElement * meStripTIBLayer2Extzp_[3]
MonitorElement * meAdcTECWheel2zm_[7]
unsigned int wheel() const
wheel id
MonitorElement * meStripTIDWheel3zm_[3]