Skip to content

Commit

Permalink
Merge pull request #6675 from wddgit/threadBeamHaloProducer
Browse files Browse the repository at this point in the history
Thread safety improvement BeamHaloProducer
  • Loading branch information
cmsbuild committed Dec 15, 2014
2 parents 60aa05c + 8cb9528 commit 27700ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -20,7 +20,7 @@ namespace CLHEP {

namespace edm
{
class BeamHaloProducer : public one::EDProducer<EndRunProducer, one::WatchLuminosityBlocks> {
class BeamHaloProducer : public one::EDProducer<EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources> {
public:

/// Constructor
Expand Down
2 changes: 2 additions & 0 deletions GeneratorInterface/BeamHaloGenerator/src/BeamHaloProducer.cc
Expand Up @@ -87,6 +87,8 @@ BeamHaloProducer::BeamHaloProducer( const ParameterSet & pset) :
produces<GenEventInfoProduct>();
produces<GenRunInfoProduct, InRun>();

usesResource("BeamHaloProducer");

cout << "BeamHaloProducer: starting event generation ... " << endl;
}

Expand Down

0 comments on commit 27700ec

Please sign in to comment.