-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Replace TestRunLumiSource #593
Conversation
A new Pull Request was created by @wmtan for CMSSW_7_0_X. Replace TestRunLumiSource It involves the following packages: FWCore/Integration @Dr15Jones, @ktf can you please review it and eventually sign? Thanks. |
+1 I did a visual inspection of the code. As long as the test build works this should be merged. |
This pull request is fully signed and it will be integrated in one of the next IBs unless changes. |
@nclopezo can you test this? |
Hi, I ran the tests on top of CMSSW_7_0_X_2013-08-23-0200, the tests passed. You can see the logs here: |
updated for fwlite
HeppyCore heppy_loop: pass parser to main function (needed for error printout)
Address the pixel local reconstruction review comments. General clean up of the pixel local reconstruction code: - remove commented out and obsolete code and data members - use named constants more consistently - update variable names to follow the coding rules and for better consistency - use member initializer lists in the constructors - allow `if constexpr` in CUDA code - use `std::size` instead of hardcoding the array size - convert iterator-based loops to range-based loops - replace `cout` and `printf` with `LogDebug` or `LogWarning` - use put tokens - reorganise the auto-generated cfi files and use them more consistently - adjust code after rearranging an `#ifdef GPU_DEBUG` block - apply code formatting - other minor changes Improve comments: - improve comments and remove obsolete ones - clarify comments and types regarding `HostProduct` - update comments about `GPU_SMALL_EVENTS` being kept for testing purposes - add notes about the original cpu code Reuse some more common code: - move common pixel cluster code to `PixelClusterizerBase` - extend the `SiPixelCluster` constructor Rename classes and modules for better consistency: - remove the `TrackingRecHit2DCUDA.h` and `gpuClusteringConstants.h` forwarding headers - rename `PixelRecHits` to `PixelRecHitGPUKernel` - rename SiPixelRecHitFromSOA to SiPixelRecHitFromCUDA - rename `siPixelClustersCUDAPreSplitting` to `siPixelClustersPreSplittingCUDA` - rename `siPixelRecHitsCUDAPreSplitting` to `siPixelRecHitsPreSplittingCUDA` - rename `siPixelRecHitsLegacyPreSplitting` to `siPixelRecHitsPreSplittingLegacy` - rename `siPixelRecHitHostSoA` to `siPixelRecHitSoAFromLegacy` Re-apply changes from cms-sw#29805 that were lost in the Patatrack branch.
The input source TestRunLumiSource, which is used only for testing, is unsuited to the multithreaded framework, and is replaced in this pull request by a new source, ThrowingSource. TestRunLumiSource was formerly used in many unit tests, but its usage was previously replaced in all but two unit tests. One of the two unit tests can easily be modified to use EmptySource. The other test can be handled by a new source, ThrowingSource, which is modeled after EmptySource and conforms to the requirements for the multithreaded framework.
This pull request affects only unit tests. No code used in production is touched.