1 #ifndef UtilAlgos_EventSetupInitTrait_h 2 #define UtilAlgos_EventSetupInitTrait_h 13 struct NullAndOperand;
31 template <
typename Selector>
42 template <
typename T1,
44 typename T3 = helpers::NullAndOperand,
45 typename T4 = helpers::NullAndOperand,
46 typename T5 = helpers::NullAndOperand>
49 template <
template <
typename,
typename,
typename,
typename,
typename>
class SelectorT>
64 template <
typename T1,
typename T2,
typename T3,
typename T4>
67 template <
template <
typename,
typename,
typename,
typename,
typename>
class SelectorT>
68 void init(SelectorT<T1, T2, T3, T4, helpers::NullAndOperand>&
selector,
82 template <
typename T1,
typename T2,
typename T3>
85 template <
template <
typename,
typename,
typename,
typename,
typename>
class SelectorT>
86 void init(SelectorT<T1, T2, T3, helpers::NullAndOperand, helpers::NullAndOperand>&
selector,
98 template <
typename T1,
typename T2>
101 template <
template <
typename,
typename,
typename,
typename,
typename>
class SelectorT>
102 void init(SelectorT<T1, T2, helpers::NullAndOperand, helpers::NullAndOperand, helpers::NullAndOperand>&
selector,
112 template <
typename T1,
typename T2,
typename T3,
typename T4,
typename T5>
117 template <
typename T1,
typename T2,
typename T3,
typename T4,
typename T5>
125 #define EVENTSETUP_STD_INIT(SELECTOR) \ 127 namespace modules { \ 129 struct EventSetupInit<SELECTOR> { \ 130 typedef CommonSelectorEventSetupInit type; \ 134 struct __useless_ignoreme 136 #define EVENTSETUP_STD_INIT_T1(SELECTOR) \ 138 namespace modules { \ 139 template <typename T1> \ 140 struct EventSetupInit<SELECTOR<T1> > { \ 141 typedef CommonSelectorEventSetupInit type; \ 145 struct __useless_ignoreme 147 #define EVENTSETUP_STD_INIT_T2(SELECTOR) \ 149 namespace modules { \ 150 template <typename T1, typename T2> \ 151 struct EventSetupInit<SELECTOR<T1, T2> > { \ 152 typedef CommonSelectorEventSetupInit type; \ 156 struct __useless_ignoreme 158 #define EVENTSETUP_STD_INIT_T3(SELECTOR) \ 160 namespace modules { \ 161 template <typename T1, typename T2, typename T3> \ 162 struct EventSetupInit<SELECTOR<T1, T2, T3> > { \ 163 typedef CommonSelectorEventSetupInit type; \ 167 struct __useless_ignoreme EventSetupInit< T5 >::type t5_
void init(Selector &selector, const edm::Event &evt, const edm::EventSetup &es)
EventSetupInit< T1 >::type t1_
void init(T &, const edm::Event &, const edm::EventSetup &)
void init(SelectorT< T1, T2, helpers::NullAndOperand, helpers::NullAndOperand, helpers::NullAndOperand > &selector, const edm::Event &evt, const edm::EventSetup &es)
EventSetupInit< T3 >::type t3_
CommonSelectorEventSetupInit()=delete
void init(SelectorT< T1, T2, T3, T4, T5 > &selector, const edm::Event &evt, const edm::EventSetup &es)
EventSetupInit< T4 >::type t4_
CombinedEventSetupInit(edm::ConsumesCollector iC)
EventSetupInit< T1 >::type t1_
CombinedEventSetupInit(edm::ConsumesCollector iC)
EventSetupInit< T3 >::type t3_
EventSetupInit< T2 >::type t2_
CombinedEventSetupInit< T1, T2, T3, T4, T5 > type
CombinedEventSetupInit(edm::ConsumesCollector iC)
CombinedEventSetupInit< T1, T2, T3, T4, T5 > type
Functor that operates on <T>
EventSetupInit< T1 >::type t1_
EventSetupInit< T2 >::type t2_
void init(SelectorT< T1, T2, T3, T4, helpers::NullAndOperand > &selector, const edm::Event &evt, const edm::EventSetup &es)
EventSetupInit< T1 >::type t1_
CommonSelectorEventSetupInit(edm::ConsumesCollector)
NoEventSetupInit(edm::ConsumesCollector)
EventSetupInit< T4 >::type t4_
CombinedEventSetupInit(edm::ConsumesCollector iC)
EventSetupInit< T3 >::type t3_
NoEventSetupInit< T > type
void init(SelectorT< T1, T2, T3, helpers::NullAndOperand, helpers::NullAndOperand > &selector, const edm::Event &evt, const edm::EventSetup &es)
EventSetupInit< T2 >::type t2_
EventSetupInit< T2 >::type t2_
NoEventSetupInit()=delete