CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SingleObjectSelector.h
Go to the documentation of this file.
1 #ifndef UtilAlgos_SingleObjectSelector_h
2 #define UtilAlgos_SingleObjectSelector_h
3 /* \class SingleObjectSelector
4  *
5  * \author Luca Lista, INFN
6  */
16 
17 /* the following is just to ease transition
18  * grep -r SingleObjectSelector * | wc
19  * 209 540 22532
20  */
21 
22 template <typename InputCollection,
23  typename Selector,
24  typename EdmFilter,
27  typename PostProcessor = ::helper::NullPostProcessor<OutputCollection>,
32  : public ObjectSelectorBase<
33  SingleElementCollectionSelector<InputCollection, Selector, OutputCollection, StoreContainer, RefAdder>,
34  OutputCollection,
35  NonNullNumberSelector,
36  PostProcessor,
37  StoreManager,
38  Base,
39  typename ::reco::modules::EventSetupInit<
40  SingleElementCollectionSelector<InputCollection, Selector, OutputCollection, StoreContainer, RefAdder>>::
41  type> {
42  using Init = typename ::reco::modules::EventSetupInit<
44 
45 public:
46  // SingleObjectSelectorBase() = default;
49  SingleElementCollectionSelector<InputCollection, Selector, OutputCollection, StoreContainer, RefAdder>,
50  OutputCollection,
52  PostProcessor,
53  StoreManager,
54  Base,
55  Init>(cfg) {}
57 };
58 
60 
61 template <typename InputCollection,
62  typename Selector,
65  typename PostProcessor = ::helper::NullPostProcessor<OutputCollection>>
67  Selector,
69  OutputCollection,
70  StoreContainer,
71  PostProcessor>;
72 
73 template <typename InputCollection,
74  typename Selector,
77  typename PostProcessor = ::helper::NullPostProcessor<OutputCollection>>
80 
81 #endif
tuple base
Main Program
Definition: newFWLiteAna.py:92
tuple cfg
Definition: looper.py:296
typename::reco::modules::EventSetupInit< SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >>::type Init
Functor that operates on &lt;T&gt;
Definition: Selector.h:22
SingleObjectSelectorBase(const edm::ParameterSet &cfg)