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
Streamer output modules ported to one::OutputModule (76X) #11115
Streamer output modules ported to one::OutputModule (76X) #11115
Conversation
template, and adding override
…minosityBlocks> is needed to compile (in analogy to PoolOutputModule) *streamer output module now also needs beginLumi and endLumi handlers
A new Pull Request was created by @smorovic (Srecko Morovic) for CMSSW_7_6_X. Streamer output modules ported to one::OutputModule (76X) It involves the following packages: EventFilter/Utilities @smuzaffar, @Dr15Jones, @cvuosalo, @emeschi, @cmsbuild, @slava77, @mommsen can you please review it and eventually sign? Thanks. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
@@ -44,8 +44,8 @@ namespace evf { | |||
virtual void doOutputEvent(EventMsgBuilder const& msg) const; | |||
//virtual void beginRun(edm::RunPrincipal const&, edm::ModuleCallingContext const*); | |||
virtual void beginJob(); |
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.
override would be nice here as well.
-1 >> Compiling edm plugin /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/DQMServices/StreamerIO/test/DQMStreamerOutputModule.cc >> Compiling edm plugin /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/IOPool/Streamer/plugins/Module.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/IOPool/Streamer/bin/CalcAdler32.cpp >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/IOPool/Streamer/bin/DiagStreamerFile.cpp /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/DQMServices/StreamerIO/test/DQMStreamerOutputModule.cc: In constructor 'edm::DQMStreamerOutputModule::DQMStreamerOutputModule(const edm::ParameterSet&)': /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/DQMServices/StreamerIO/test/DQMStreamerOutputModule.cc:65:20: error: no matching function for call to 'edm::one::OutputModuleBase::OutputModuleBase()' currentRun_(0) { ^ /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-03-1100/src/DQMServices/StreamerIO/test/DQMStreamerOutputModule.cc:65:20: note: candidate is: In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc493/cms/cmssw-patch/CMSSW_7_6_X_2015-09-03-1100/src/FWCore/Framework/interface/one/outputmoduleAbilityToImplementor.h:27:0, from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc493/cms/cmssw-patch/CMSSW_7_6_X_2015-09-03-1100/src/FWCore/Framework/interface/one/OutputModule.h:24, you can see the results of the tests here: |
@@ -55,7 +56,8 @@ namespace { | |||
|
|||
namespace edm { | |||
StreamerOutputModuleBase::StreamerOutputModuleBase(ParameterSet const& ps) : | |||
OutputModule(ps), | |||
one::OutputModuleBase::OutputModuleBase(ps), |
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.
Not sure either, but without it compiler complains at template instantiation because tries to use default constructor:
/home/smorovic/CMSSW/CMSSW_7_6_0_pre4/src/EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h:88:41: error: no matching function for call to 'edm::one::OutputModuleBase::OutputModuleBase()'
outBuf_(new unsigned char[1024*1024])
Pull request #11115 was updated. @smuzaffar, @Dr15Jones, @cvuosalo, @emeschi, @cmsbuild, @deguio, @slava77, @mommsen, @danduggan can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
+1 |
tracked at #10964 |
+1 |
Streamer output modules ported to one::OutputModule (76X)
Migrates EvFOutputModule (DAQ) and EventStreamFileWriter from legacy to one::OutputModule interface