1 #ifndef CommonTools_UtilAlgos_AssociatedVariableCollectionSelector_h
2 #define CommonTools_UtilAlgos_AssociatedVariableCollectionSelector_h
26 template<
typename InputCollection,
typename VarCollection,
typename Selector,
37 varToken_(iC.consumes<VarCollection>(cfg.
template getParameter<edm::InputTag>(
"var"))),
45 for(
size_t idx = 0;
idx < c->size(); ++
idx) {
64 struct AssociatedVariableCollectionSelectorEventSetupInit {
71 template<
typename I,
typename V,
typename S,
typename O,
typename C,
typename R>
helper::MatcherGetRef< C >::ref_type getRef(const Handle< C > &c, size_t k)
edm::EDGetTokenT< VarCollection > varToken_
const_iterator end() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
S make(const edm::ParameterSet &cfg)
static void init(S &s, const edm::Event &evt, const edm::EventSetup &es)
AssociatedVariableCollectionSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
const_iterator begin() const
container::const_iterator const_iterator
const std::complex< double > I
Functor that operates on <T>
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
AssociatedVariableCollectionSelectorEventSetupInit< AssociatedVariableCollectionSelector< I, V, S, O, C, R > > type
InputCollection collection
void select(const edm::Handle< InputCollection > &c, const edm::Event &evt, const edm::EventSetup &)