Skip to content

Commit 3c2491e

Browse files
committed
Fix clang error in MTDDigiGeometryAnalyzer and rebbining of some histograms in EtlDigiHitsValidation
1 parent 790ac59 commit 3c2491e

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

Geometry/MTDGeometryBuilder/test/MTDDigiGeometryAnalyzer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class MTDDigiGeometryAnalyzer : public edm::one::EDAnalyzer<> {
7070
// LGAD counter per Disc, DiscSide, and Sector: [disk][discSide][sector]
7171
static constexpr int n_discSide = 2;
7272
static constexpr int n_sector = 3; // Use size 3 to allow 1-based indexing (1 to 2)
73-
uint32_t LGADsPerDiscSideSector_[4][n_discSide][n_sector] = {{{{0}}}};
73+
uint32_t LGADsPerDiscSideSector_[4][n_discSide][n_sector] = {};
7474

7575
// Counter for total LGADs per disk per eta bin: [disk][eta_bin]
7676
uint32_t LGADsPerDiskperEtaBin_[4][n_bin_Eta] = {{0}};

Validation/MtdValidation/plugins/EtlDigiHitsValidation.cc

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -324,37 +324,37 @@ void EtlDigiHitsValidation::bookHistograms(DQMStore::IBooker& ibook,
324324

325325
meNhitsPerLGAD_[0] = ibook.book1D("EtlNhitsPerLGADZnegD1",
326326
"Number of ETL DIGI hits (-Z, Single(topo1D)/First(topo2D) disk) per LGAD;N_{DIGI}",
327-
50,
327+
20,
328328
0.,
329-
50.);
329+
20.);
330330
meNhitsPerLGAD_[1] =
331-
ibook.book1D("EtlNhitsPerLGADZnegD2", "Number of ETL DIGI hits (-Z, Second disk) per LGAD;N_{DIGI}", 50, 0., 50.);
331+
ibook.book1D("EtlNhitsPerLGADZnegD2", "Number of ETL DIGI hits (-Z, Second disk) per LGAD;N_{DIGI}", 20, 0., 20.);
332332
meNhitsPerLGAD_[2] = ibook.book1D("EtlNhitsPerLGADZposD1",
333333
"Number of ETL DIGI hits (+Z, Single(topo1D)/First(topo2D) disk) per LGAD;N_{DIGI}",
334-
50,
334+
20,
335335
0.,
336-
50.);
336+
20.);
337337
meNhitsPerLGAD_[3] =
338-
ibook.book1D("EtlNhitsPerLGADZposD2", "Number of ETL DIGI hits (+Z, Second disk) per LGAD;N_{DIGI}", 50, 0., 50.);
338+
ibook.book1D("EtlNhitsPerLGADZposD2", "Number of ETL DIGI hits (+Z, Second disk) per LGAD;N_{DIGI}", 20, 0., 20.);
339339

340340
meNLgadWithHits_[0] = ibook.book1D("EtlNLgadWithHitsZnegD1",
341341
"Number of ETL LGADs with at least 1 DIGI hit (-Z, D1);N_{LGAD with hit}",
342-
100,
342+
50,
343343
0.,
344344
4000.);
345345
meNLgadWithHits_[1] = ibook.book1D("EtlNLgadWithHitsZnegD2",
346346
"Number of ETL LGADs with at least 1 DIGI hit (-Z, D2);N_{LGAD with hit}",
347-
100,
347+
50,
348348
0.,
349349
4000.);
350350
meNLgadWithHits_[2] = ibook.book1D("EtlNLgadWithHitsZposD1",
351351
"Number of ETL LGADs with at least 1 DIGI hit (+Z, D1);N_{LGAD with hit}",
352-
100,
352+
50,
353353
0.,
354354
4000.);
355355
meNLgadWithHits_[3] = ibook.book1D("EtlNLgadWithHitsZposD2",
356356
"Number of ETL LGADs with at least 1 DIGI hit (+Z, D2);N_{LGAD with hit}",
357-
100,
357+
50,
358358
0.,
359359
4000.);
360360

@@ -365,31 +365,31 @@ void EtlDigiHitsValidation::bookHistograms(DQMStore::IBooker& ibook,
365365
Q_Min,
366366
Q_Max,
367367
0.,
368-
50.);
368+
20.);
369369
meNhitsPerLGADoverQ_[1] =
370370
ibook.bookProfile("EtlNhitsPerLGADvsQThZnegD2",
371371
"ETL DIGI Hits per LGAD vs Q Threshold (-Z, D2);Q Threshold [ADC counts];<N_{DIGI} per LGAD>",
372372
n_bin_Q,
373373
Q_Min,
374374
Q_Max,
375375
0.,
376-
50.);
376+
20.);
377377
meNhitsPerLGADoverQ_[2] =
378378
ibook.bookProfile("EtlNhitsPerLGADvsQThZposD1",
379379
"ETL DIGI Hits per LGAD vs Q Threshold (+Z, D1);Q Threshold [ADC counts];<N_{DIGI} per LGAD>",
380380
n_bin_Q,
381381
Q_Min,
382382
Q_Max,
383383
0.,
384-
50.);
384+
20.);
385385
meNhitsPerLGADoverQ_[3] =
386386
ibook.bookProfile("EtlNhitsPerLGADvsQThZposD2",
387387
"ETL DIGI Hits per LGAD vs Q Threshold (+Z, D2);Q Threshold [ADC counts];<N_{DIGI} per LGAD>",
388388
n_bin_Q,
389389
Q_Min,
390390
Q_Max,
391391
0.,
392-
50.);
392+
20.);
393393

394394
meNLgadWithHitsoverQ_[0] = ibook.bookProfile(
395395
"EtlNLgadWithHitsvsQThZnegD1",
@@ -430,28 +430,28 @@ void EtlDigiHitsValidation::bookHistograms(DQMStore::IBooker& ibook,
430430
n_bin_Eta,
431431
eta_bins_edges_neg,
432432
0.,
433-
50.);
433+
20.);
434434
meNhitsPerLGADoverEta_[1] =
435435
ibook.bookProfile("EtlNhitsPerLGADvsEtaZnegD2",
436436
"ETL DIGI Hits per LGAD vs Eta Bin (-Z, D2);#eta_{DIGI};<N_{DIGI} per LGAD>",
437437
n_bin_Eta,
438438
eta_bins_edges_neg,
439439
0.,
440-
50.);
440+
20.);
441441
meNhitsPerLGADoverEta_[2] =
442442
ibook.bookProfile("EtlNhitsPerLGADvsEtaZposD1",
443443
"ETL DIGI Hits per LGAD vs Eta Bin (+Z, D1);#eta_{DIGI};<N_{DIGI} per LGAD>",
444444
n_bin_Eta,
445445
eta_bins_edges_pos,
446446
0.,
447-
50.);
447+
20.);
448448
meNhitsPerLGADoverEta_[3] =
449449
ibook.bookProfile("EtlNhitsPerLGADvsEtaZposD2",
450450
"ETL DIGI Hits per LGAD vs Eta Bin (+Z, D2);#eta_{DIGI};<N_{DIGI} per LGAD>",
451451
n_bin_Eta,
452452
eta_bins_edges_pos,
453453
0.,
454-
50.);
454+
20.);
455455

456456
meNLgadWithHitsoverEta_[0] = ibook.bookProfile(
457457
"EtlNLgadWithHitsvsEtaZnegD1",

0 commit comments

Comments
 (0)