12 #ifndef TauAnalysis_MCEmbeddingTools_TrackMergeremb_H 13 #define TauAnalysis_MCEmbeddingTools_TrackMergeremb_H 37 template <
typename T1>
54 std::map<std::string, std::vector<edm::EDGetTokenT<TrackCollectionemb > > >
inputs_;
55 std::map<std::string, std::vector<edm::EDGetTokenT<edm::ValueMap<reco::MuonQuality> > > >
inputs_qual_;
70 template <
typename T1>
74 std::vector<edm::InputTag> inCollections = iConfig.
getParameter<std::vector<edm::InputTag> >(
"mergCollections");
75 for (
auto inCollection : inCollections){
76 inputs_[inCollection.instance()].push_back(consumes<TrackCollectionemb >(inCollection) );
84 template <
typename T1>
91 template <
typename T1>
T getParameter(std::string const &) const
void willconsume(const edm::ParameterSet &iConfig)
static PFTauRenderPlugin instance
void willproduce(std::string instance, std::string alias)
std::map< std::string, std::vector< edm::EDGetTokenT< edm::ValueMap< reco::MuonQuality > > > > inputs_qual_
edm::EDGetTokenT< reco::MuonCollection > inputs_fixmucol_
edm::EDGetTokenT< reco::MuonToMuonMap > inputs_fixmurefs_
edm::EDGetTokenT< reco::TrackCollection > inputs_fixtrackcol_
std::map< std::string, std::vector< edm::EDGetTokenT< TrackCollectionemb > > > inputs_
void merg_and_put(edm::Event &, std::string, std::vector< edm::EDGetTokenT< TrackCollectionemb > > &)
edm::EDGetTokenT< TrackToTrackMapnew > inputs_fixtrackrefs_
edm::ValueMap< reco::TrackRefVector > TrackToTrackMapnew
TrackMergeremb(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &) override