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

Make SiStripClusterizer prods stream modules #3866

Merged

Conversation

Dr15Jones
Copy link
Contributor

Needed to convert ClustersFromRawProducer to a stream module so that we get a unique lazy filler of DetSetVector for each stream. This avoids threading problems when running with multiple events. It also makes the threading jobs more efficient.
Also converted SiStripClusterToDigiProducer to stream since it appears to be safe to do so (static analyzer gives it a clean bill of health).

The ClustersFromRawProducer puts a helper it owns into the DetSetVector
so it is necessary for this module to be a stream module so each Event
gets its own helper. This avoids problems in the threaded framework when
multiple Events are being processed.
This code will have to be revisited when we start to use multiple threads
for one Event.
We believe it is safe to convert this to a stream module to allow
efficient processing when using multiple threads.
@Dr15Jones
Copy link
Contributor Author

@ktf this should fix many of the failures in the THREADED IB

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Make SiStripClusterizer prods stream modules

It involves the following packages:

RecoLocalTracker/SiStripClusterizer

@nclopezo, @cmsbuild, @anton-a, @thspeer, @slava77, @Degano can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @rovere, @gpetruc, @cerati, @threus, @venturia 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, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

ktf added a commit that referenced this pull request May 14, 2014
…eamModules

Multithreading -- Make SiStripClusterizer prods stream modules
@ktf ktf merged commit cd166fa into cms-sw:CMSSW_7_1_X May 14, 2014
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones Dr15Jones deleted the makeSiStripCusterizerProdsStreamModules branch June 12, 2014 16:26
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

3 participants