26 tokenVMd_(iC.consumes<edm::ValueMap<double> >(in)),
27 tokenVMf_(iC.consumes<edm::ValueMap<float> >(in)),
28 tokenVMi_(iC.consumes<edm::ValueMap<int> >(in)),
29 tokenVMb_(iC.consumes<edm::ValueMap<bool> >(in)),
102 template <
typename T>
106 std::vector<value_type> &
ret);
119 template <
typename T>
123 std::vector<value_type> &
ret) {
129 for (
size_t i = 0,
n = coll.
size();
i <
n; ++
i) {
131 ret.push_back((*handle)[ref]);
142 using namespace pat::helper;
tuple ret
prodAgent to be discontinued
bool run(const edm::Event &iEvent, const Collection &coll, std::vector< value_type > &ret)
bool run_(const edm::EDGetTokenT< T > &token, const edm::Event &iEvent, const Collection &coll, std::vector< value_type > &ret)
static PFTauRenderPlugin instance
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::ValueMap< float > > tokenVMf_
RefToBase< value_type > refAt(size_type i) const
ManyThingsToValueMaps< AnyNumberAssociationAdaptor > AnyNumbersToValueMaps
edm::EDGetTokenT< AssoVec< int >::type > tokenAVi_
edm::AssociationVector< reco::CandidateBaseRefProd, typename std::vector< T > > type
AnyNumberAssociationAdaptor(const edm::InputTag &in, const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< AssoVec< double >::type > tokenAVd_
edm::EDGetTokenT< edm::ValueMap< bool > > tokenVMb_
edm::View< reco::Candidate > Collection
edm::EDGetTokenT< AssoVec< float >::type > tokenAVf_
const std::string & label()
edm::EDGetTokenT< edm::ValueMap< double > > tokenVMd_
edm::EDGetTokenT< edm::ValueMap< int > > tokenVMi_