-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ALCAHARVEST:SiPixelAli is broken #31381
Comments
A new Issue was created by @mmusich Marco Musich. @Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign alca, dqm |
New categories assigned: dqm,alca @jfernan2,@christopheralanwest,@andrius-k,@fioriNTU,@tlampen,@pohsun,@tocheng,@kmaeshima you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Do I read the code correctly that Then a correct ordering can be guaranteed by changing |
Hi @makortel
the intention is that
Thanks for the suggestion. cmssw/Alignment/CommonAlignmentProducer/plugins/AlignmentProducerAsAnalyzer.h Lines 26 to 28 in 1cd14f8
Does your suggestion imply it should become an |
In a sense DQM itself serves as an example (but see more specific suggestions below).
Yes, it would have to become an Overall the necessary changes would be, in addition,
|
@makortel
I've tried: diff --git a/Alignment/MillePedeAlignmentAlgorithm/plugins/MillePedeDQMModule.cc b/Alignment/MillePedeAlignmentAlgorithm/plugins/MillePedeDQMModule.cc
index ea391c5e9ac..a8fca1594bf 100644
--- a/Alignment/MillePedeAlignmentAlgorithm/plugins/MillePedeDQMModule.cc
+++ b/Alignment/MillePedeAlignmentAlgorithm/plugins/MillePedeDQMModule.cc
@@ -30,8 +30,14 @@
/*** Thresholds from DB ***/
#include "CondFormats/DataRecord/interface/AlignPCLThresholdsRcd.h"
+/*** Necessary Framework infrastructure ***/
+#include "FWCore/Framework/interface/ProcessBlock.h"
+#include "DataFormats/Alignment/interface/AlignmentToken.h"
+
MillePedeDQMModule ::MillePedeDQMModule(const edm::ParameterSet& config)
- : mpReaderConfig_(config.getParameter<edm::ParameterSet>("MillePedeFileReader")) {}
+ : mpReaderConfig_(config.getParameter<edm::ParameterSet>("MillePedeFileReader")) {
+ consumes<AlignmentToken, edm::Transition::EndProcessBlock>();
+}
MillePedeDQMModule ::~MillePedeDQMModule() {} but that clearly doesn't even compile.
what's the syntactic equivalent for |
Your syntax was correct, however you stll need to pass an |
@Dr15Jones perhaps I am doing something very dumb but using: + consumes<AlignmentToken, edm::Transition::EndProcessBlock>(edm::InputTag("alignmentToken")); I am still getting this compilation error: https://paste.in/VlCgCb |
The second template argument isn't a
Sorry I missed that initially. |
Right, apologies for the confusion in my recipe #31381 (comment) (which I just updated), without thinking I was assuming that |
@Dr15Jones @makortel thanks for the suggestions. |
This issue has been solved by #31411 AlCa and DQM conveners might want to sign this. |
+alca For the record, the PR that resolves the issue is #31411. |
+1 |
This issue is fully signed and ready to be closed. |
Since
CMSSW_11_2_0_pre4
the following command:returns:
The output DQM file contains no information whatsoever of the alignment parameters fit, while in previous releases the same command does not have any issue:
CMSSW_11_2_0_pre4
CMSSW_11_2_0_pre3
I strongly suspect that's tied to #30698.
It looks like
MillePedeFileReader ::read()
cmssw/Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc
Lines 24 to 27 in 2c7b8d6
is called even before the result files
millepede.end (res, log)
are created.What guarantees the ordering is correct in the
endProcessBlock()
?The sequence which is run is:
cc:
@dmeuser @connorpa @vbotta
The text was updated successfully, but these errors were encountered: