-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Castor DQM #58
Castor DQM #58
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,7 @@ class CastorMonitorModule : public edm::EDAnalyzer{ | |
MonitorElement* meLatency_; | ||
MonitorElement* meQuality_; | ||
MonitorElement* CastorEventProduct; | ||
//MonitorElement* CastorMonitorStatus; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we do not need commented code. This comment applies for all the files in this patch that have lots of commented code inside. |
||
|
||
|
||
////---- define monitors | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,46 @@ | ||
def castorlayout(i, p, *rows): i["Castor/Layouts/" + p] = DQMItem(layout=rows) | ||
|
||
|
||
castorlayout(dqmitems, "CASTOR Report Summary Map", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A general comment: why are you maintaining layout code that is bundled to the DQM GUI inside CMSSW? this will never ever make it into production, unless you submit it using the official procedures. There is no need to keep a copy here too. |
||
[{ 'path': "Castor/CastorPSMonitor/reportSummaryMap", | ||
'description':"Report Summary Map"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR Digi ChannelSummaryMap", | ||
[{ 'path': "Castor/CastorPSMonitor/CASTOR Digi ChannelSummaryMap", | ||
'description':""}] | ||
'description':"Digi Channel Summary Map"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR Digi Occupancy Map", | ||
[{ 'path': "Castor/CastorPSMonitor/CASTOR Digi Occupancy Map", | ||
'description':"dynamic scale"}] | ||
'description':"Digi Occcupancy Map"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR Digi Saturation Summary Map", | ||
[{ 'path': "Castor/CastorPSMonitor/CASTOR Digi SaturationSummaryMap", | ||
'description':"Digi Saturation Summary Map"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR FEDFatal errors", | ||
[{ 'path': "Castor/CastorDataIntegrityMonitor/CASTOR FEDFatal errors", | ||
'description':"FED Fatal errors"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR spigot status", | ||
[{ 'path': "Castor/CastorDataIntegrityMonitor/CASTOR spigot status", | ||
'description':"Data Integrity Summary - Spigot Status"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR RecHit Energies", | ||
[{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit Energies- above threshold on RecHitEnergy", | ||
'description':"Energy of all Castor RecHits"}] | ||
) | ||
|
||
#castorlayout(dqmitems, "CASTOR RecHit Energy 2D Map", | ||
# [{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit 2D Energy Map- above threshold", | ||
# 'description':"2D Energy Map"}] | ||
# ) | ||
|
||
castorlayout(dqmitems, "CASTOR RecHit Energy based Channel Status", | ||
[{ 'path': "Castor/CastorChannelQuality/RecHitEnergyBasedSummaryMap", | ||
'description':"Green - OK, Red - dead, Yellow - noisy"}] | ||
|
@@ -19,12 +49,7 @@ def castorlayout(i, p, *rows): i["Castor/Layouts/" + p] = DQMItem(layout=rows) | |
castorlayout(dqmitems, "CASTOR event products", | ||
[{ 'path': "Castor/CastorEventProducts/CastorEventProduct", | ||
'description':"check whether CASTOR objects are present in the events"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR RecHit Energies", | ||
[{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit Energies- above threshold on RecHitEnergy", | ||
'description':"Energy of all Castor RecHits"}] | ||
) | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR RecHit Energy in modules", | ||
[{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit Energy in modules- above threshold", | ||
|
@@ -34,27 +59,17 @@ def castorlayout(i, p, *rows): i["Castor/Layouts/" + p] = DQMItem(layout=rows) | |
castorlayout(dqmitems, "CASTOR RecHit Energy in sectors", | ||
[{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit Energy in sectors- above threshold", | ||
'description':"RecHitEnergy in each of 16 CASTOR sectors"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR RecHit Energy 2D Map", | ||
[{ 'path': "Castor/CastorRecHitMonitor/CastorRecHit 2D Energy Map- above threshold", | ||
'description':"2D Energy Map"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR All Digi Values", | ||
[{ 'path': "Castor/CastorDigiMonitor/Castor All Digi Values", | ||
'description':"all CASTOR ADC values"}] | ||
) | ||
|
||
castorlayout(dqmitems, "CASTOR hits 3D- cumulative", | ||
[{ 'path': "Castor/CastorEventDisplay/CASTOR 3D hits- cumulative", | ||
'description':"cumulative event display"}] | ||
) | ||
#castorlayout(dqmitems, "CASTOR hits 3D- cumulative", | ||
# [{ 'path': "Castor/CastorEventDisplay/CASTOR 3D hits- cumulative", | ||
# 'description':"cumulative event display"}] | ||
# ) | ||
|
||
castorlayout(dqmitems, "CASTOR hits 3D- event with the largest deposited E", | ||
[{ 'path': "Castor/CastorEventDisplay/CASTOR 3D hits- event with the largest deposited E", | ||
'description':"display of the event with largest deposited energy"}] | ||
) | ||
#castorlayout(dqmitems, "CASTOR hits 3D- event with the largest deposited E", | ||
# [{ 'path': "Castor/CastorEventDisplay/CASTOR 3D hits- event with the largest deposited E", | ||
# 'description':"display of the event with largest deposited energy"}] | ||
# ) | ||
|
||
castorlayout(dqmitems, "CASTOR average pulse in bunch crossings", | ||
[{ 'path': "Castor/CastorPSMonitor/CASTOR average pulse in bunch crossings", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the indentation here, possibly reverting the nice, old one...