1 #ifndef MCMatchSelector_h 2 #define MCMatchSelector_h 13 template <
typename T1,
typename T2>
17 std::vector<int> ids =
cfg.getParameter<std::vector<int> >(
"mcPdgId");
18 for (std::vector<int>::const_iterator
i = ids.begin();
i != ids.end(); ++
i)
20 std::vector<int>
status =
cfg.getParameter<std::vector<int> >(
"mcStatus");
21 for (std::vector<int>::const_iterator
i =
status.begin();
i !=
status.end(); ++
i)
bool operator()(const T1 &c, const T2 &mc) const
true if match is possible
MCMatchSelector(const edm::ParameterSet &cfg)
Abs< T >::type abs(const T &t)