36 produces<CaloTauCollection>();
39 delete tcTauAlgorithm;
49 tcTauAlgorithm->eventSetup(iEvent,iSetup);
53 CaloTauCollection::const_iterator iTau;
54 for(iTau = caloTaus.begin(); iTau != caloTaus.end(); iTau++){
56 theTCTau.
setP4(tcTauAlgorithm->recalculateEnergy(theTCTau));
57 tcTauCollection->push_back(theTCTau);
61 iEvent.
put(tcTauCollection);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
TCRecoTauProducer(const edm::ParameterSet &iConfig)
DEFINE_FWK_MODULE(HiMixingModule)
std::vector< CaloTau > CaloTauCollection
collection of CaloTau objects
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
tuple caloRecoTauProducer
T const * product() const
TCTauAlgorithm * tcTauAlgorithm
virtual void setP4(const LorentzVector &p4) GCC11_FINAL
set 4-momentum
edm::InputTag caloRecoTauProducer