CMS 3D CMS Logo

PreMixingDTDigiSimLinkWorker.cc
Go to the documentation of this file.
4 
5 // DT does not use DetSetVector, so have to specialize put()
6 template <>
8  edm::EventSetup const &iSetup) {
10  pep.getByLabel(pileupTag_, digis);
11  if (digis.isValid()) {
12  for (const auto &elem : *digis) {
13  merged_->put(elem.second, elem.first);
14  }
15  }
16 }
17 
19 
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
bool isValid() const
Definition: HandleBase.h:70
#define DEFINE_PREMIXING_WORKER(TYPE)
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const