1 #ifndef Framework_ESWatcher_h
2 #define Framework_ESWatcher_h
42 template <
class TFunc>
45 template <
class TObj,
class TMemFunc>
47 callback_(std::bind(iFunc,iObj,std::placeholders::_1)),
58 const T&
record = iSetup.template get<T>();
ESWatcher(TFunc iFunctor)
ESWatcher(TObj const &iObj, TMemFunc iFunc)
unsigned long long cacheId_
const ESWatcher & operator=(const ESWatcher &)
bool check(const edm::EventSetup &iSetup)
void operator()(const T &)
std::function< void(const T &)> callback_