16 produces<reco::HLTTauCollection>();
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::unique_ptr<reco::HLTTauCollection>
selectedTaus(jetCollection);
T getParameter(std::string const &) const
const unsigned int nTracks(const reco::Vertex &sv)
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_
selectedTaus
====================================== Taus
void setNL25TrackIsolation(int nTracks)
std::vector< IsolatedTauTagInfo > IsolatedTauTagInfoCollection
std::vector< HLTTau > HLTTauCollection
collection of HLTTau objects
void produce(edm::Event &, const edm::EventSetup &) override
T const * product() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
~DQMTauProducer() override
void setNL3TrackIsolation(int nTracks)