Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update x axis offset and update descriptions of ECAL BX binning plots #1043

Merged
merged 1 commit into from
Apr 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions dqmgui/layouts/ecal-layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def ecallayout(i, p, *rows): i[p] = DQMItem(layout=rows)
[{'path': 'EcalEndcap/EETimingTask/EETMT in-time vs BX+1 amplitude EE -', 'description': 'Correlation between in-time amplitude and BX+1 out-of-time amplitude. Only events with kGood reconstruction flag set, energy above ( EB:1, EE:3 ) GeV, and chi2 less than ( EB:16, EE:50 ) are used.'},
{'path': 'EcalEndcap/EETimingTask/EETMT in-time vs BX+1 amplitude EE +', 'description': 'Correlation between in-time amplitude and BX+1 out-of-time amplitude. Only events with kGood reconstruction flag set, energy above ( EB:1, EE:3 ) GeV, and chi2 less than ( EB:16, EE:50 ) are used.'}])
ecallayout(dqmitems, 'Ecal/Layouts/05 Timing/11 Timing vs BX',
[{'path': 'EcalBarrel/EBTimingTask/EBTMT Timing vs BX', 'description': 'Average hit timing in EB as a function of BX number. Only events with energy above 2.02 GeV and chi2 less than 16 are used.'}])
[{'path': 'EcalBarrel/EBTimingTask/EBTMT Timing vs BX', 'description': 'Average hit timing in EB as a function of BX number. BX ids start at 1. Only events with energy above 2.02 GeV and chi2 less than 16 are used.'}])

# By SuperModule _______________
for (detector, label, maxchannel) in [('Endcap', 'EE', 9), ('Barrel', 'EB', 18)]: # Loop over EB,EE
Expand Down Expand Up @@ -598,13 +598,13 @@ def ecallayout(i, p, *rows): i[p] = DQMItem(layout=rows)
[{'path': 'EcalEndcap/EESummaryClient/EETTT EE - Trigger Primitives Non Single Timing summary', 'description': 'Fraction of events whose emulator TP timing did not agree with the majority. Towers with entries less than 3 are not considered.'},
{'path': 'EcalEndcap/EESummaryClient/EETTT EE + Trigger Primitives Non Single Timing summary', 'description': 'Fraction of events whose emulator TP timing did not agree with the majority. Towers with entries less than 3 are not considered.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/07 Occupancy vs BX',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT TP occupancy vs bx Real Digis', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE -', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE +', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}])
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT TP occupancy vs bx Real Digis', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE -', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE +', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/08 Et vs BX',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT Et vs bx Real Digis', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE -', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE +', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}])
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT Et vs bx Real Digis', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE -', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE +', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/09 Emulation Timing',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT max TP matching index', 'description': 'Distribution of the index of emulated TP with the highest Et value.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT max TP matching index EE -', 'description': 'Distribution of the index of emulated TP with the highest Et value.'},
Expand Down
14 changes: 7 additions & 7 deletions dqmgui/layouts/ecal_T0_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def ecallayout(i, p, *rows): i[p] = DQMItem(layout=rows)
[{'path': 'EcalEndcap/EETimingTask/EETMT in-time vs BX+1 amplitude EE -', 'description': 'Correlation between in-time amplitude and BX+1 out-of-time amplitude. Only events with kGood reconstruction flag set, energy above ( EB:1, EE:3 ) GeV, and chi2 less than ( EB:16, EE:50 ) are used.'},
{'path': 'EcalEndcap/EETimingTask/EETMT in-time vs BX+1 amplitude EE +', 'description': 'Correlation between in-time amplitude and BX+1 out-of-time amplitude. Only events with kGood reconstruction flag set, energy above ( EB:1, EE:3 ) GeV, and chi2 less than ( EB:16, EE:50 ) are used.'}])
ecallayout(dqmitems, 'Ecal/Layouts/05 Timing/11 Timing vs BX',
[{'path': 'EcalBarrel/EBTimingTask/EBTMT Timing vs Finely Binned BX', 'description': 'Average hit timing in EB as a finely binned function of BX number. Only events with energy above 2.02 GeV and chi2 less than 16 are used.'}])
[{'path': 'EcalBarrel/EBTimingTask/EBTMT Timing vs Finely Binned BX', 'description': 'Average hit timing in EB as a finely binned function of BX number. BX ids start at 1. Only events with energy above 2.02 GeV and chi2 less than 16 are used. The Customize button can be used to zoom in.'}])
ecallayout(dqmitems, 'Ecal/Layouts/05 Timing/12 Pulse Shape Chi2',
[{'path': 'EcalBarrel/EBTimingTask/EBTMT EB Chi2', 'description': 'Chi2 of the pulse reconstruction.'}],
[{'path': 'EcalEndcap/EETimingTask/EETMT EEM Chi2', 'description': 'Chi2 of the pulse reconstruction.'},
Expand Down Expand Up @@ -600,13 +600,13 @@ def ecallayout(i, p, *rows): i[p] = DQMItem(layout=rows)
[{'path': 'EcalEndcap/EESummaryClient/EETTT EE - Trigger Primitives Non Single Timing summary', 'description': 'Fraction of events whose emulator TP timing did not agree with the majority. Towers with entries less than 3 are not considered.'},
{'path': 'EcalEndcap/EESummaryClient/EETTT EE + Trigger Primitives Non Single Timing summary', 'description': 'Fraction of events whose emulator TP timing did not agree with the majority. Towers with entries less than 3 are not considered.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/07 Occupancy vs BX',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT TP occupancy vs bx Real Digis', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE -', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE +', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}])
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT TP occupancy vs bx Real Digis', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE -', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT TP occupancy vs bx Real Digis EE +', 'description': 'TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/08 Et vs BX',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT Et vs bx Real Digis', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE -', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE +', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. It is normal to have very little entries in BX >= 3490.'}])
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT Et vs bx Real Digis', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE -', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'},
{'path': 'EcalEndcap/EETriggerTowerTask/EETTT Et vs bx Real Digis EE +', 'description': 'Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.'}])
ecallayout(dqmitems, 'Ecal/Layouts/06 Trigger Primitives/09 Emulation Timing',
[{'path': 'EcalBarrel/EBTriggerTowerTask/EBTTT max TP matching index', 'description': 'Distribution of the index of emulated TP with the highest Et value.'}],
[{'path': 'EcalEndcap/EETriggerTowerTask/EETTT max TP matching index EE -', 'description': 'Distribution of the index of emulated TP with the highest Et value.'},
Expand Down
5 changes: 5 additions & 0 deletions dqmgui/style/EcalRenderPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ EcalRenderPlugin::postDrawByName(TCanvas* canvas, VisDQMObject const& dqmObject,
TString fullpath(dqmObject.name.c_str());

if(!fullpath.Contains("Timing") &&
!fullpath.Contains("TriggerTower") &&
!fullpath.Contains("Real vs Emulated") &&
!fullpath.Contains("Occupancy") &&
!fullpath.Contains("Cluster") &&
Expand Down Expand Up @@ -1404,6 +1405,10 @@ EcalRenderPlugin::postDrawByName(TCanvas* canvas, VisDQMObject const& dqmObject,
gPad->SetGridy();
applyDefaults = false;
}
else if(TPRegexp("E[BE]TriggerTowerTask/E[BE]TTT TP occupancy vs bx Real Digis").MatchB(fullpath) ||
TPRegexp("E[BE]TriggerTowerTask/E[BE]TTT Et vs bx Real Digis").MatchB(fullpath)) {
obj->GetXaxis()->SetTitleOffset(1.5);
}
else if (TPRegexp("Ecal/MEM/StatusFlagsTask MEM front-end status bits").MatchB(fullpath)){
obj->GetXaxis()->SetNdivisions(54);
obj->GetXaxis()->SetLabelSize(0.02);
Expand Down