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
Thread safe access to HCAL conditions containers #6060
Thread safe access to HCAL conditions containers #6060
Conversation
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_3_X. Thread safe access to HCAL conditions containers It involves the following packages: CalibCalorimetry/CaloTPG @diguida, @cerminar, @Martin-Grunewald, @rcastello, @perrotta, @civanch, @cmsbuild, @fwyzard, @mdhildreth, @rovere, @deguio, @slava77, @ggovi, @vadler, @mmusich, @ojeda, @mulhearn, @apfeiffer1, @nclopezo, @danduggan, @monttj, @StoyanStoynev can you please review it and eventually sign? Thanks. |
everything was approved before the rebase, so pushing in - please post any issues we missed to this PR. |
Thread safe access to HCAL conditions containers
Modified how HCAL conditions containers are used in order to be thread safe. The
setTopo
method of the containers is now non-const. Therefore to fully initialize a container read from the database, the container is copied and the copy gets thesetTopo
call. This copy is either done via an ESProducer or, for less used containers, by the module which requested the original container.