File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RHStopTracer : public SimProducer,
2222 public Observer<const EndOfTrack *> {
2323public:
2424 RHStopTracer (edm::ParameterSet const &p);
25- ~RHStopTracer () override ;
25+ ~RHStopTracer () override = default ;
2626 void update (const BeginOfRun *) override ;
2727 void update (const BeginOfEvent *) override ;
2828 void update (const BeginOfTrack *) override ;
Original file line number Diff line number Diff line change @@ -36,13 +36,12 @@ RHStopTracer::RHStopTracer(edm::ParameterSet const& p) {
3636
3737 mTraceEnergy *= CLHEP::GeV;
3838 rePartName = mTraceParticleName ;
39+ setMT (true );
3940
40- edm::LogInfo (" SimG4CoreCustomPhysics" ) << " RHStopTracer::RHStopTracer " << mTraceParticleName
41- << " Eth(GeV)= " << mTraceEnergy ;
41+ edm::LogVerbatim (" SimG4CoreCustomPhysics" )
42+ << " RHStopTracer::RHStopTracer " << mTraceParticleName << " Eth(GeV)= " << mTraceEnergy ;
4243}
4344
44- RHStopTracer::~RHStopTracer () {}
45-
4645void RHStopTracer::update (const BeginOfRun* fRun ) {
4746 LogDebug (" SimG4CoreCustomPhysics" ) << " RHStopTracer::update-> begin of the run " << (*fRun )()->GetRunID ();
4847}
You can’t perform that action at this time.
0 commit comments