No complaint when you don't register a module
So I found a bug where if you make a module and don't include the line DEFINE_ART_MODULE(ModuleName) the code will compile and run without complaint. However, it will simply pick up the wrong library (whichever library previously was being compiled) and just move on.
Only thanks to some help from Kazu and a criptic message from LArSoft at run time identifying that my module was running under the wrong flag was I able to find my error.
I think having a complaint from a producer if this line isn't there might be a good idea
#2 Updated by Christopher Green over 5 years ago
- Category set to User Code
- Status changed from New to Feedback
- Assignee set to Christopher Green
- Scope set to Internal
- Experiment MicroBooNE added
- Experiment deleted (
- SSI Package art added
- SSI Package deleted (
I'm afraid we're having trouble gleaning enough information from your report to identify the exact problem here. Could we have you visit (or, if you are not at FNAL, talk to us by 'phone) us so we can have a better idea of exactly what happened?