15 produces<reco::HLTTauCollection>();
32 float eta_, phi_, pt_;
34 int trackIsolation = 1000.;
37 for (
unsigned int i = 0;
i <
tau.size();
i++) {
39 math::XYZVector jetDir(jetTracks->first->px(), jetTracks->first->py(), jetTracks->first->pz());
42 pt_ = jetTracks->first->pt();
48 ptLeadTk = (*leadTk).pt();
52 HLTTau pippo(eta_, phi_, pt_, -1, trackIsolation, ptLeadTk, trackIsolation, ptLeadTk);
55 jetCollection->push_back(pippo);
58 std::unique_ptr<reco::HLTTauCollection> selectedTaus(jetCollection);
DQMTauProducer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::IsolatedTauTagInfoCollection > trackIsolatedJets_
void setNL25TrackIsolation(int nTracks)
std::vector< IsolatedTauTagInfo > IsolatedTauTagInfoCollection
std::vector< HLTTau > HLTTauCollection
collection of HLTTau objects
void produce(edm::Event &, const edm::EventSetup &) override
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T getParameter(std::string const &) const
~DQMTauProducer() override
void setNL3TrackIsolation(int nTracks)