16 produces<reco::HLTTauCollection>();
36 IsolatedTauTagInfoCollection
tau = *(tauL25Jets.product());
39 float eta_, phi_, pt_;
41 int trackIsolation=1000.;
44 for(
unsigned int i=0;
i<
tau.size();
i++)
47 math::XYZVector jetDir(jetTracks->first->px(),jetTracks->first->py(),jetTracks->first->pz());
50 pt_ = jetTracks->first->pt();
56 ptLeadTk = (*leadTk).pt();
59 HLTTau pippo(eta_,phi_,pt_,-1,trackIsolation,ptLeadTk,trackIsolation,ptLeadTk);
62 jetCollection->push_back(pippo);
67 std::auto_ptr<reco::HLTTauCollection> selectedTaus(jetCollection);
69 iEvent.
put(selectedTaus);
T getParameter(std::string const &) const
DQMTauProducer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag trackIsolatedJets_
void setNL25TrackIsolation(int nTracks)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< HLTTau > HLTTauCollection
collection of HLTTau objects
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void setNL3TrackIsolation(int nTracks)