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

Cleanup of refVector() and ptrVector() calls to edm::View<T> #6385

Conversation

ferencek
Copy link
Contributor

Cleanup of refVector() and ptrVector() calls to edm::View. This is a follow-up to #6245.

@Dr15Jones @arizzi

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ferencek (Dinko Ferencek) for CMSSW_7_3_X.

Cleanup of refVector() and ptrVector() calls to edm::View

It involves the following packages:

CommonTools/CandAlgos
DPGAnalysis/Skims
DataFormats/Common
EgammaAnalysis/ElectronTools
FWCore/Framework
MuonAnalysis/MuonAssociators
PhysicsTools/IsolationAlgos
PhysicsTools/SelectorUtils
PhysicsTools/TagAndProbe
RecoEcal/EgammaClusterAlgos
RecoEgamma/EgammaPhotonProducers
RecoEgamma/ElectronIdentification
RecoTauTag/TauTagTools
SimMuon/MCTruth
Validation/RecoMuon

@civanch, @nclopezo, @StoyanStoynev, @vlimant, @danduggan, @rovere, @monttj, @cmsbuild, @franzoni, @mdhildreth, @deguio, @slava77, @vadler, @ojeda, @davidlange6 can you please review it and eventually sign? Thanks.
@jpavel, @battibass, @wmtan, @abbiendi, @wddgit, @argiro, @bellan, @lgray, @trocino, @rociovilar this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@slava77
Copy link
Contributor

slava77 commented Nov 14, 2014

   [1] Running path 'validation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociation'
Exception Message:
In VectorHolder<T, REFV> trying to push_back wrong reference type 

@cmsbuild
Copy link
Contributor

-1
Tested at: 8745b32
When I ran the RelVals I found an error in the following worklfows:
5.1 step1

runTheMatrix-results/5.1_TTbar+TTbarFS+HARVESTFS/step1_TTbar+TTbarFS+HARVESTFS.log
----- Begin Fatal Exception 14-Nov-2014 05:04:05 CET-----------------------
An exception of category 'InvalidReference' occurred while
   [0] Processing run: 1 lumi: 1 event: 1
   [1] Running path 'prevalidation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociationFS'
Exception Message:
In VectorHolder trying to push_back wrong reference type 
----- End Fatal Exception -------------------------------------------------

50101.0 step2

runTheMatrix-results/50101.0_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID/step2_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID.log
----- Begin Fatal Exception 14-Nov-2014 05:11:48 CET-----------------------
An exception of category 'InvalidReference' occurred while
   [0] Processing run: 1 lumi: 5 event: 12001
   [1] Running path 'prevalidation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociationFS'
Exception Message:
In VectorHolder trying to push_back wrong reference type 
----- End Fatal Exception -------------------------------------------------

9.0 step3

runTheMatrix-results/9.0_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST/step3_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST.log
----- Begin Fatal Exception 14-Nov-2014 05:14:26 CET-----------------------
An exception of category 'InvalidReference' occurred while
   [0] Processing run: 1 lumi: 1 event: 1
   [1] Running path 'validation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociation'
Exception Message:
In VectorHolder trying to push_back wrong reference type 
----- End Fatal Exception -------------------------------------------------

25.0 step3

runTheMatrix-results/25.0_TTbar+TTbar+DIGI+RECO+HARVEST+ALCATT/step3_TTbar+TTbar+DIGI+RECO+HARVEST+ALCATT.log
----- Begin Fatal Exception 14-Nov-2014 05:14:42 CET-----------------------
An exception of category 'InvalidReference' occurred while
   [0] Processing run: 1 lumi: 1 event: 1
   [1] Running path 'validation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociation'
Exception Message:
In VectorHolder trying to push_back wrong reference type 
----- End Fatal Exception -------------------------------------------------

25202.0 step3

runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC/step3_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC.log
----- Begin Fatal Exception 14-Nov-2014 05:32:35 CET-----------------------
An exception of category 'InvalidReference' occurred while
   [0] Processing run: 1 lumi: 1 event: 1
   [1] Running path 'validation_step'
   [2] Calling event method for module MuonAssociatorEDProducer/'tpToTkMuonAssociation'
Exception Message:
In VectorHolder trying to push_back wrong reference type 
----- End Fatal Exception -------------------------------------------------

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6385/870/summary.html

@ferencek
Copy link
Contributor Author

Can this be pushed through?

@slava77
Copy link
Contributor

slava77 commented Nov 17, 2014

@vadler @mdhildreth @civanch
we need your signatures here.
Please check and report if there are any issues.
Thank you.

@civanch
Copy link
Contributor

civanch commented Nov 17, 2014

But unit tests have some problem?

@ferencek
Copy link
Contributor Author

@civanch Chris already commented that the unit test failure was unrelated to the code changes in this PR.

@vadler
Copy link

vadler commented Nov 17, 2014

+1
Tested with CMSSW_7_3_X_2014-11-17-0200

@davidlange6
Copy link
Contributor

sim changes are trivial - bypassing

davidlange6 added a commit that referenced this pull request Nov 17, 2014
…rom-CMSSW_7_3_0_pre2

Cleanup of refVector() and ptrVector() calls to edm::View<T>
@davidlange6 davidlange6 merged commit 69dce88 into cms-sw:CMSSW_7_3_X Nov 17, 2014
@ferencek ferencek deleted the RefVectorAndPtrVectorCleanup_from-CMSSW_7_3_0_pre2 branch November 17, 2014 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants