cms-analysis / HiggsAnalysis-KITHiggsToTauTau

http://cms-analysis.github.io/HiggsAnalysis-KITHiggsToTauTau/
6 stars 18 forks source link

madGraphWeight producer treatment #58

Closed dwolfschlaeger closed 6 years ago

dwolfschlaeger commented 7 years ago

Currently it is not possible to include the necessary configs to run Artus for the initial state CP studies because they interfere with the other analyses. Contributors that do not have the CMSAachen3B/GeneratorTools get an error if we include the producers to fill our madgraphWeight quantities.

A possible fix suggested by @pistone87 would add the quantities to all analyses filled as undefined value as long as there is no pointer to the GeneratorTools. Like this the Init function of the producer would always be called which should avoid the occurence of this bug.