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
#define DEFINE_FWK_MODULE(type)
TCRecoTauProducer(const edm::ParameterSet &iConfig)
virtual void setP4(const LorentzVector &p4)
set 4-momentum
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
virtual void produce(edm::Event &, const edm::EventSetup &) override
tuple caloRecoTauProducer
T const * product() const
TCTauAlgorithm * tcTauAlgorithm
edm::InputTag caloRecoTauProducer