#include <FWCore/Framework/interface/eventsetup_dependsOn.h>
Description: function used to set what methods to call when a dependent Record changes
Usage: The function dependsOn takes a variable number of pointers to member methods as arguments. These methods are then called for the ESProducer whenever the dependent Record (determined by looking at the methods lone argument) has changed since the last time the ESProducer's produce method was called.
MyProducer : public ESProducer { ... }; MyProducer::MyProducer(...) { setWhatProduced(this, eventsetup::dependsOn(&MyProducer::callWhenChanges)); ... }