#include <JetTracksAssociatorAtCaloFace.h>
◆ JetTracksAssociatorAtCaloFace() [1/2]
JetTracksAssociatorAtCaloFace::JetTracksAssociatorAtCaloFace |
( |
const edm::ParameterSet & |
fConfig | ) |
|
◆ ~JetTracksAssociatorAtCaloFace()
JetTracksAssociatorAtCaloFace::~JetTracksAssociatorAtCaloFace |
( |
| ) |
|
|
inlineoverride |
◆ JetTracksAssociatorAtCaloFace() [2/2]
JetTracksAssociatorAtCaloFace::JetTracksAssociatorAtCaloFace |
( |
| ) |
|
|
inlineprivate |
◆ produce()
Definition at line 27 of file JetTracksAssociatorAtCaloFace.cc.
35 throw cms::Exception(
"InvalidInput") <<
"Did not get geometry" << std::endl;
47 if (jets_h->empty()) {
53 reco::CaloJet const* caloJet0 = dynamic_cast<reco::CaloJet const*>(&(jets_h->at(0)));
55 if (caloJet0 ==
nullptr) {
56 throw cms::Exception(
"InvalidInput") <<
" Jet-track association is only defined for CaloJets.";
60 std::vector<edm::RefToBase<reco::Jet> >
allJets;
61 allJets.reserve(jets_h->size());
62 for (
unsigned i = 0;
i < jets_h->size(); ++
i)
References reco::JetExtendedAssociation::allJets(), dR_, Exception, hcaldqm::fEvent, firstRun, edm::EventSetup::get(), get, mps_fire::i, edm::ESHandleBase::isValid(), HLT_FULL_cff::jetTracks, mAssociator, mExtrapolations, mJets, eostools::move(), pGeo, and JetTracksAssociationXtrpCalo::produce().
◆ dR_
double JetTracksAssociatorAtCaloFace::dR_ |
|
private |
◆ firstRun
bool JetTracksAssociatorAtCaloFace::firstRun |
|
private |
◆ mAssociator
◆ mExtrapolations
◆ mJets
◆ pGeo
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
void produce(Association *, JetRefs const &, std::vector< reco::TrackExtrapolation > const &, CaloGeometry const &, double dR)
Associates tracks to jets.