File indexing completed on 2024-04-06 12:01:16
0001 #ifndef CommonTools_UtilAlgos_ObjectSelectorStreamProducer_h
0002 #define CommonTools_UtilAlgos_ObjectSelectorStreamProducer_h
0003
0004 #include "FWCore/Framework/interface/stream/EDProducer.h"
0005 #include "CommonTools/UtilAlgos/interface/ObjectSelectorProducer.h"
0006
0007 template <
0008 typename Selector,
0009 typename OutputCollection = typename ::helper::SelectedOutputCollectionTrait<typename Selector::collection>::type,
0010 typename PostProcessor = ::helper::NullPostProcessor<OutputCollection>,
0011 typename StoreManager = typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDProducer<>>::type,
0012 typename Init = typename ::reco::modules::EventSetupInit<Selector>::type>
0013 using ObjectSelectorStreamProducer =
0014 ObjectSelectorProducer<Selector,
0015 OutputCollection,
0016 PostProcessor,
0017 StoreManager,
0018 typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDProducer<>>::base,
0019 Init>;
0020
0021 #endif