CMS 3D CMS Logo

eventsetup_dependsOn Class Reference

Description: function used to set what methods to call when a dependent Record changes. More...

#include <FWCore/Framework/interface/eventsetup_dependsOn.h>


Detailed Description

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));
          ...
      }

The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:20:28 2009 for CMSSW by  doxygen 1.5.4