CMS 3D CMS Logo

SingleObjectRefSelector.h
Go to the documentation of this file.
1 #ifndef UtilAlgos_SingleObjectRefSelector_h
2 #define UtilAlgos_SingleObjectRefSelector_h
3 /* \class SingleObjectRefSelector
4  *
5  * \author Luca Lista, INFN
6  */
13 
14 template <typename InputType,
15  typename Selector,
16  typename OutputCollection = typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType>>::type,
18  typename PostProcessor = ::helper::NullPostProcessor<OutputCollection>,
19  typename StoreManager = typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDFilter<>>::type,
20  typename Base = typename ::helper::StoreManagerTrait<OutputCollection, edm::stream::EDFilter<>>::base,
21  typename RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>::type>
23  : public ObjectSelector<
24  SingleElementCollectionRefSelector<InputType, Selector, OutputCollection, StoreContainer, RefAdder>,
25  OutputCollection,
26  NonNullNumberSelector,
27  PostProcessor,
28  StoreManager,
29  Base> {
30 public:
36  PostProcessor>(cfg) {}
38 };
39 
40 #endif
InputType
Definition: InputType.h:5
def Base(process)
SingleObjectRefSelector(const edm::ParameterSet &cfg)
Functor that operates on <T>
Definition: Selector.h:22