4 #include "Math/GenVector/VectorUtil.h"
18 produces<reco::CaloJetCollection>();
34 for( vtag::const_iterator
s =
jetSrc.begin();
s !=
jetSrc.end(); ++
s ) {
37 IsolatedTauTagInfoCollection::const_iterator
i = tauJets->begin();
38 for(;i !=tauJets->end(); i++ ) {
41 const CaloJet* pippo =
dynamic_cast<const CaloJet*
>((i->jet().get()));
45 jetCollectionTmp->push_back(*mioPippo);
49 const TrackRef leadTk = i->leadingSignalTrack();
53 float discriminator = i->discriminator();
54 const CaloJet* pippo =
dynamic_cast<const CaloJet*
>((i->jet().get()));
59 jetCollectionTmp->push_back(*mioPippo);
63 jetCollectionTmp->push_back(*mioPippo);
73 std::auto_ptr<reco::CaloJetCollection> selectedTaus(jetCollectionTmp);
75 iEvent.
put(selectedTaus);
T getParameter(std::string const &) const
Jets made from CaloTowers.
bool useIsolationDiscriminator
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
IsolatedTauJetsSelector(const edm::ParameterSet &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< edm::InputTag > vtag
virtual void produce(edm::Event &, const edm::EventSetup &) override
~IsolatedTauJetsSelector()
virtual void setPdgId(int pdgId) GCC11_FINAL
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects