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

Porting Castor DQM to 7_0_X #67

Merged
merged 10 commits into from Jul 31, 2013

Conversation

pedro-cipriano
Copy link
Contributor

Moving histogram booking to beginRun (required by changes in the framework)
Removing EventDisplay module (useless artefact not meant for DMQ)
Verbose levels defined (to improve the debugging process)
Removed the getbyType statements (they are now became obsolete)
Code cleaning and improved readeability

@ktf
Copy link
Contributor

ktf commented Jul 9, 2013

@rovere @deguio can you look into this? Pedro, once again, can you use a meaningful title for the pull request please?

@cmsbuild
Copy link
Contributor

The following categories have been rejected by @deguio: DQM

@cms-git-dqm

@deguio
Copy link
Contributor

deguio commented Jul 11, 2013

The code doesn't run because of the following exception [1]
Pedro, could you please solve the problem, test the code and submit it again?

here the documentation needed in order to run the tests:
https://twiki.cern.ch/twiki/bin/viewauth/CMS/DQMOffline

in particular Test # 1,7,8, & 11 failed.
(just ignore test5 for the moment)

thanks,
F.

[1]
----- Begin Fatal Exception 11-Jul-2013 18:49:27 CEST-----------------------
An exception of category 'ProductNotFound' occurred while
[0] Processing run: 165633 lumi: 346 event: 448872519
[1] Running path 'dqmoffline_step'
[2] Calling event method for module CastorMonitorModule/'castorOfflineMonitor'
Exception Message:
Principal::getByLabel: Found zero products matching all criteria
Looking for type: FEDRawDataCollection
Looking for module label: source
Looking for productInstanceName:

Additional Info:
[a] If you wish to continue processing events after a ProductNotFound exception,
add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception -------------------------------------------------

@pedro-cipriano
Copy link
Contributor Author

I changed the global tag and that error disappeared. I will run the tests and see how it behaves.

@ktf
Copy link
Contributor

ktf commented Jul 16, 2013

@pedro-cipriano any news on this?

@pedro-cipriano
Copy link
Contributor Author

Dear Giulio,

The code was not designed to handle some of those tests and I dont know how to make it compatible. This incompatibility is present also in the old code. To solve this I will have to understand each test in detail (i think that the main problem is the lack of raw data).

Could you approve the code, as any of the changes proposed have anything to do with this problem?

Best regards, Pedro

@ktf
Copy link
Contributor

ktf commented Jul 16, 2013

That's a question for @deguio.

@deguio
Copy link
Contributor

deguio commented Jul 23, 2013

ciao @pedro-cipriano ,
I had a quick look and there are at least 2 things to be corrected.
I attach the patch here below.

please apply the changes to your code and update the pull request (#67)
I will test in detail once I receive the new notification.

thanks,
F.

diff --git a/DQM/CastorMonitor/interface/CastorMonitorModule.h b/DQM/CastorMonitor/interface/CastorMonitorModule.h
index 9f21d24..3de844c 100644
--- a/DQM/CastorMonitor/interface/CastorMonitorModule.h
+++ b/DQM/CastorMonitor/interface/CastorMonitorModule.h
@@ -53,7 +53,6 @@
#include "DQM/CastorMonitor/interface/CastorChannelQualityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorLEDMonitor.h"
#include "DQM/CastorMonitor/interface/CastorPSMonitor.h"
-#include "DQM/CastorMonitor/interface/CastorEventDisplay.h"
#include "DQM/CastorMonitor/interface/CastorHIMonitor.h"
#include "DQM/CastorMonitor/interface/CastorDataIntegrityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorTowerJetMonitor.h"
diff --git a/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py b/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
index 4614e59..22ea4fd 100644
--- a/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
+++ b/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
@@ -16,7 +16,7 @@ castorOfflineMonitor = cms.EDAnalyzer("CastorMonitorModule",

                       # Define Labels
                        digiLabel            = cms.InputTag("castorDigis"),
  •                       rawLabel             = cms.InputTag("source"),
    
  •                       rawLabel             = cms.InputTag("rawDataCollector"),
                        unpackerReportLabel  = cms.InputTag("castorDigis"),
                        CastorRecHitLabel    = cms.InputTag("castorreco"),
                        CastorTowerLabel     = cms.InputTag("CastorTowerReco"),
    

@pedro-cipriano
Copy link
Contributor Author

Dear deguio,

Thank you for help.

I changed the labels and I'm sending now the update.

Best Regards, Pedro


Pedro Miguel Ribeiro Cipriano
pedro.cipriano@desy.de, pedro.cipriano@ua.pt, pedro.miguel.ribeiro.cipriano@cern.ch
Scientific Assistant - PhD Student
CMS Group, DESY Hamburg, Germany
Forward Physics, CASTOR, Unfolding

-----Mensagem original-----
De: deguio [mailto:notifications@github.com]
Enviada: ter 23-07-2013 11:53
Para: cms-sw/cmssw
Cc: Cipriano, Pedro
Assunto: Re: [cmssw] Porting Castor DQM to 7_0_X (#67)

ciao,
I had a quick look and there are at least 2 things to be corrected.
I attach the patch here below.

please apply the changes to your code and update the pull request (#67)
I will test in detail once I receive the new notification.

thanks,
F.

diff --git a/DQM/CastorMonitor/interface/CastorMonitorModule.h b/DQM/CastorMonitor/interface/CastorMonitorModule.h
index 9f21d24..3de844c 100644
--- a/DQM/CastorMonitor/interface/CastorMonitorModule.h
+++ b/DQM/CastorMonitor/interface/CastorMonitorModule.h
@@ -53,7 +53,6 @@
#include "DQM/CastorMonitor/interface/CastorChannelQualityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorLEDMonitor.h"
#include "DQM/CastorMonitor/interface/CastorPSMonitor.h"
-#include "DQM/CastorMonitor/interface/CastorEventDisplay.h"
#include "DQM/CastorMonitor/interface/CastorHIMonitor.h"
#include "DQM/CastorMonitor/interface/CastorDataIntegrityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorTowerJetMonitor.h"
diff --git a/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py b/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
index 4614e59..22ea4fd 100644
--- a/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
+++ b/DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
@@ -16,7 +16,7 @@ castorOfflineMonitor = cms.EDAnalyzer("CastorMonitorModule",

                       # Define Labels
                        digiLabel            = cms.InputTag("castorDigis"),
  •                       rawLabel             = cms.InputTag("source"),
    
  •                       rawLabel             = cms.InputTag("rawDataCollector"),
                        unpackerReportLabel  = cms.InputTag("castorDigis"),
                        CastorRecHitLabel    = cms.InputTag("castorreco"),
                        CastorTowerLabel     = cms.InputTag("CastorTowerReco"),
    

Reply to this email directly or view it on GitHub:
#67 (comment)

@deguio
Copy link
Contributor

deguio commented Jul 25, 2013

@pedro-cipriano I am not sure I understand. I would suggest you to apply the patch I have pasted in my previous message. here the changes again:

in DQM/CastorMonitor/interface/CastorMonitorModule.h
remove
#include "DQM/CastorMonitor/interface/CastorEventDisplay.h"

in DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
change
rawLabel = cms.InputTag("source"),
to
rawLabel = cms.InputTag("rawDataCollector")

please ask if something is not clear.
ciao and thanks,
F.

@pedro-cipriano
Copy link
Contributor Author

@deguio: Sorry for the misunderstanding. It is now done. Thank you.

@deguio
Copy link
Contributor

deguio commented Jul 25, 2013

@pedro-cipriano the second change I was suggesting is still missing:

in DQM/CastorMonitor/python/castor_dqm_sourceclient_offline_cfi.py
change
rawLabel = cms.InputTag("source"),
to
rawLabel = cms.InputTag("rawDataCollector")

@pedro-cipriano
Copy link
Contributor Author

Now I got it. I had never used this offline file, that is why I never changed it. But I will now.

@nclopezo
Copy link
Contributor

Hi,

I tested took CMSSW_7_0_X_2013-07-30-1400, pulled these changes, ran the unit tests, and RelVals. All tests passed.

@nclopezo
Copy link
Contributor

Hi @deguio

Could you sign this pull request if everything is ok?

Thanks

@cmsbuild
Copy link
Contributor

The following categories have been signed by @deguio: DQM

@cms-git-dqm

nclopezo added a commit that referenced this pull request Jul 31, 2013
@nclopezo nclopezo merged commit 9518fa2 into cms-sw:CMSSW_7_0_X Jul 31, 2013
nclopezo added a commit to nclopezo/cmssw that referenced this pull request Nov 21, 2014
added yMin=0 to the url of the graphs
arizzi added a commit to arizzi/cmssw that referenced this pull request Jun 23, 2015
gpetruc pushed a commit to gpetruc/cmssw that referenced this pull request Aug 13, 2015
mandrenguyen pushed a commit to mandrenguyen/cmssw that referenced this pull request Mar 14, 2016
jbsauvan added a commit to jbsauvan/cmssw that referenced this pull request Nov 3, 2016
mariadalfonso pushed a commit to mariadalfonso/cmssw that referenced this pull request May 6, 2017
probably this patch will make submit work
cmsbuild pushed a commit that referenced this pull request Nov 3, 2017
Temporary customize to the unit tests that fail due to old input samples (2nd bunch)
vasile-ghete pushed a commit to vasile-ghete/cmssw that referenced this pull request Nov 13, 2017
felicepantaleo pushed a commit to felicepantaleo/cmssw that referenced this pull request Mar 28, 2019
Update setup instruction for 10_3_X and point to old releases
cmsbuild pushed a commit that referenced this pull request Feb 11, 2021
* Update Settings.h

* Update TrackletCalculatorDisplaced.cc
franzoni pushed a commit to franzoni/cmssw that referenced this pull request May 3, 2021
gpetruc added a commit to gpetruc/cmssw that referenced this pull request Aug 4, 2021
…r-dev

Sync deregionizer with correlator-common repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants