1 #ifndef WEBEVD_THREADSAFEGALLERYEVENT_H
2 #define WEBEVD_THREADSAFEGALLERYEVENT_H
4 #include "gallery/Event.h"
24 bool getByLabel(
const art::InputTag& tag, gallery::Handle<T>& result)
const
26 std::lock_guard guard(
fLock);
27 return fEvt->getByLabel(tag, result);
33 std::lock_guard guard(
fLock);
34 return fEvt->getInputTags<T>();
39 std::lock_guard guard(
fLock);
40 return fEvt->eventAuxiliary();
45 const gallery::Event*
fEvt;
ThreadsafeGalleryEvent(const gallery::Event *evt)
std::vector< art::InputTag > getInputTags() const
const art::EventAuxiliary & eventAuxiliary() const
const gallery::Event * fEvt
gallery::Event::template HandleT< PROD > HandleT
bool getByLabel(const art::InputTag &tag, gallery::Handle< T > &result) const