Project

General

Profile

Bug #3321

Services do not call preBeginRun, endJob etc...

Added by Denis Perevalov over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/17/2013
Due date:
% Done:

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

I look at the description in the mu2e webpage, which describes services (http://mu2e.fnal.gov/public/hep/computing/Services.shtml).

I see that the in "Making New Services" paragraph there is preBeginRun method, which I guess is supposed to be called by art. I tried that and other methods like endJob and they don't get called. It's either the description on the webpage is wrong or it doesn't work.

History

#1 Updated by Denis Perevalov over 6 years ago

Actually, I see that it's being used in Geometry service. So, at least it probably works there.

Again, it's hard for me to figure out why exactly it's not called for my services, because I don't know what art is up to.

#2 Updated by Denis Perevalov over 6 years ago

  • % Done changed from 0 to 100

Denis Perevalov wrote:

I look at the description in the mu2e webpage, which describes services (http://mu2e.fnal.gov/public/hep/computing/Services.shtml).

I see that the in "Making New Services" paragraph there is preBeginRun method, which I guess is supposed to be called by art. I tried that and other methods like endJob and they don't get called. It's either the description on the webpage is wrong or it doesn't work.

Ahhh, I think I got it!

I guess the key is to register the art::ActivityRegistry.

Sorry for reporting this issue

#3 Updated by Christopher Green over 6 years ago

  • Status changed from New to Rejected


Also available in: Atom PDF