CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
JetPlusTrackProducer Class Reference

#include <JetPlusTrackProducer.cc>

Inheritance diagram for JetPlusTrackProducer:
edm::stream::EDProducer<>

Public Member Functions

 JetPlusTrackProducer (const edm::ParameterSet &)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~JetPlusTrackProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Attributes

std::string alias_
 
double dRcone_
 
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_addjets_token_
 
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_jets_token_
 
edm::EDGetTokenT< edm::View< reco::TrackJet > > input_trackjets_token_
 
edm::EDGetTokenT< reco::VertexCollectioninput_vertex_token_
 
edm::EDGetTokenT< std::vector< reco::TrackExtrapolation > > mExtrapolations_
 
JetPlusTrackCorrectormJPTalgo
 
ZSPJPTJetCorrectormZSPalgo
 
double ptCUT_
 
edm::InputTag src_
 
edm::InputTag srcPVs_
 
edm::InputTag srcTrackJets_
 
bool usePAT_
 
bool useZSP_
 
bool vectorial_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 43 of file JetPlusTrackProducer.h.

Constructor & Destructor Documentation

◆ JetPlusTrackProducer()

JetPlusTrackProducer::JetPlusTrackProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 61 of file JetPlusTrackProducer.cc.

61  {
62  //register your products
63  src_ = iConfig.getParameter<edm::InputTag>("src");
64  srcTrackJets_ = iConfig.getParameter<edm::InputTag>("srcTrackJets");
65  alias_ = iConfig.getUntrackedParameter<string>("alias");
66  srcPVs_ = iConfig.getParameter<edm::InputTag>("srcPVs");
67  vectorial_ = iConfig.getParameter<bool>("VectorialCorrection");
68  useZSP_ = iConfig.getParameter<bool>("UseZSP");
69  ptCUT_ = iConfig.getParameter<double>("ptCUT");
70  dRcone_ = iConfig.getParameter<double>("dRcone");
71  usePAT_ = iConfig.getParameter<bool>("UsePAT");
72 
73  mJPTalgo = new JetPlusTrackCorrector(iConfig, consumesCollector());
74  if (useZSP_)
75  mZSPalgo = new ZSPJPTJetCorrector(iConfig);
76 
77  produces<reco::JPTJetCollection>().setBranchAlias(alias_);
78  produces<reco::CaloJetCollection>().setBranchAlias("ak4CaloJetsJPT");
79 
80  input_jets_token_ = consumes<edm::View<reco::CaloJet> >(src_);
81  input_addjets_token_ = consumes<edm::View<reco::CaloJet> >(iConfig.getParameter<edm::InputTag>("srcAddCaloJets"));
82  input_trackjets_token_ = consumes<edm::View<reco::TrackJet> >(srcTrackJets_);
83  input_vertex_token_ = consumes<reco::VertexCollection>(srcPVs_);
85  consumes<std::vector<reco::TrackExtrapolation> >(iConfig.getParameter<edm::InputTag>("extrapolations"));
86 }

References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().

◆ ~JetPlusTrackProducer()

JetPlusTrackProducer::~JetPlusTrackProducer ( )
override

Definition at line 88 of file JetPlusTrackProducer.cc.

88  {
89  // do anything here that needs to be done at desctruction time
90  // (e.g. close files, deallocate resources etc.)
91 }

Member Function Documentation

◆ produce()

void JetPlusTrackProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 99 of file JetPlusTrackProducer.cc.

99  {
100  using namespace edm;
101 
102  auto const& jets_h = iEvent.get(input_jets_token_);
103  auto const& addjets_h = iEvent.get(input_addjets_token_);
104  auto const& iExtrapolations = iEvent.get(mExtrapolations_);
105  edm::RefProd<reco::CaloJetCollection> pOut1RefProd = iEvent.getRefBeforePut<reco::CaloJetCollection>();
107 
108  auto pOut = std::make_unique<reco::JPTJetCollection>();
109  auto pOut1 = std::make_unique<reco::CaloJetCollection>();
110 
111  double scaleJPT = 1.;
112  for (auto const& jet : iEvent.get(input_trackjets_token_)) {
113  int icalo = -1;
114  int i = 0;
115  for (auto const& oldjet : addjets_h) {
116  double dr2 = deltaR2(jet, oldjet);
117  if (dr2 <= dRcone_ * dRcone_) {
118  icalo = i;
119  }
120  i++;
121  } // Calojets
122  if (icalo < 0)
123  continue;
124  auto const& mycalo = addjets_h[icalo];
125  std::vector<edm::Ptr<reco::Track> > tracksinjet = jet.tracks();
126  reco::TrackRefVector tracksincalo;
127  reco::TrackRefVector tracksinvert;
128  for (auto const& itrack : tracksinjet) {
129  for (auto const& ixtrp : iExtrapolations) {
130  if (ixtrp.positions().empty())
131  continue;
132  if (usePAT_) {
133  double mydphi = deltaPhi(ixtrp.track()->phi(), itrack->phi());
134  if (fabs(ixtrp.track()->pt() - itrack->pt()) > 0.001 || fabs(ixtrp.track()->eta() - itrack->eta()) > 0.001 ||
135  mydphi > 0.001)
136  continue;
137  } else {
138  if (itrack.id() != ixtrp.track().id() || itrack.key() != ixtrp.track().key())
139  continue;
140  }
141  tracksinvert.push_back(ixtrp.track());
142  reco::TrackBase::Point const& point = ixtrp.positions().at(0);
143  double dr2 = deltaR2(jet, point);
144  if (dr2 <= dRcone_ * dRcone_) {
145  tracksincalo.push_back(ixtrp.track());
146  }
147  } // Track extrapolations
148  } // tracks
149 
150  const reco::TrackJet& corrected = jet;
152  jpt::MatchedTracks pions;
155 
156  scaleJPT =
157  mJPTalgo->correction(corrected, mycalo, iEvent, iSetup, tracksinvert, tracksincalo, p4, pions, muons, elecs);
158  if (p4.pt() > ptCUT_) {
159  reco::JPTJet::Specific jptspe;
160  jptspe.pionsInVertexInCalo = pions.inVertexInCalo_;
163  jptspe.muonsInVertexInCalo = muons.inVertexInCalo_;
164  jptspe.muonsInVertexOutCalo = muons.inVertexOutOfCalo_;
165  jptspe.muonsOutVertexInCalo = muons.outOfVertexInCalo_;
166  jptspe.elecsInVertexInCalo = elecs.inVertexInCalo_;
167  jptspe.elecsInVertexOutCalo = elecs.inVertexOutOfCalo_;
168  jptspe.elecsOutVertexInCalo = elecs.outOfVertexInCalo_;
169  reco::CaloJetRef myjet(pOut1RefProd, idxCaloJet++);
171  jptspe.mZSPCor = 1.;
172  reco::JPTJet fJet(p4, jet.primaryVertex()->position(), jptspe, mycalo.getJetConstituents());
173  pOut->push_back(fJet);
174  pOut1->push_back(mycalo);
175  }
176  } // trackjets
177 
178  int iJet = 0;
179  for (auto const& oldjet : jets_h) {
180  reco::CaloJet corrected = oldjet;
181 
182  // ZSP corrections
183  double factorZSP = 1.;
184  if (useZSP_)
185  factorZSP = mZSPalgo->correction(corrected, iEvent, iSetup);
186  corrected.scaleEnergy(factorZSP);
187 
188  // JPT corrections
189  scaleJPT = 1.;
190 
192 
193  jpt::MatchedTracks pions;
196  bool ok = false;
197 
198  if (!vectorial_) {
199  scaleJPT = mJPTalgo->correction(corrected, oldjet, iEvent, iSetup, pions, muons, elecs, ok);
200  p4 = math::XYZTLorentzVector(corrected.px() * scaleJPT,
201  corrected.py() * scaleJPT,
202  corrected.pz() * scaleJPT,
203  corrected.energy() * scaleJPT);
204  } else {
205  scaleJPT = mJPTalgo->correction(corrected, oldjet, iEvent, iSetup, p4, pions, muons, elecs, ok);
206  }
207 
209 
210  if (ok) {
211  specific.pionsInVertexInCalo = pions.inVertexInCalo_;
212  specific.pionsInVertexOutCalo = pions.inVertexOutOfCalo_;
213  specific.pionsOutVertexInCalo = pions.outOfVertexInCalo_;
214  specific.muonsInVertexInCalo = muons.inVertexInCalo_;
215  specific.muonsInVertexOutCalo = muons.inVertexOutOfCalo_;
216  specific.muonsOutVertexInCalo = muons.outOfVertexInCalo_;
217  specific.elecsInVertexInCalo = elecs.inVertexInCalo_;
218  specific.elecsInVertexOutCalo = elecs.inVertexOutOfCalo_;
219  specific.elecsOutVertexInCalo = elecs.outOfVertexInCalo_;
220  }
221 
222  // Fill JPT Specific
223  specific.theCaloJetRef = edm::RefToBase<reco::Jet>(jets_h.refAt(iJet));
224  specific.mZSPCor = factorZSP;
225  specific.mResponseOfChargedWithEff = (float)mJPTalgo->getResponseOfChargedWithEff();
226  specific.mResponseOfChargedWithoutEff = (float)mJPTalgo->getResponseOfChargedWithoutEff();
227  specific.mSumPtOfChargedWithEff = (float)mJPTalgo->getSumPtWithEff();
228  specific.mSumPtOfChargedWithoutEff = (float)mJPTalgo->getSumPtWithoutEff();
229  specific.mSumEnergyOfChargedWithEff = (float)mJPTalgo->getSumEnergyWithEff();
230  specific.mSumEnergyOfChargedWithoutEff = (float)mJPTalgo->getSumEnergyWithoutEff();
231  specific.mChargedHadronEnergy = (float)mJPTalgo->getSumEnergyWithoutEff();
232 
233  // Fill Charged Jet shape parameters
234  double deR2Tr = 0.;
235  double deEta2Tr = 0.;
236  double dePhi2Tr = 0.;
237  double Zch = 0.;
238  double Pout2 = 0.;
239  double Pout = 0.;
240  double denominator_tracks = 0.;
241  int ntracks = 0;
242 
244  it++) {
245  double deR = deltaR((*it)->eta(), (*it)->phi(), p4.eta(), p4.phi());
246  double deEta = (*it)->eta() - p4.eta();
247  double dePhi = deltaPhi((*it)->phi(), p4.phi());
248  if ((**it).ptError() / (**it).pt() < 0.1) {
249  deR2Tr = deR2Tr + deR * deR * (*it)->pt();
250  deEta2Tr = deEta2Tr + deEta * deEta * (*it)->pt();
251  dePhi2Tr = dePhi2Tr + dePhi * dePhi * (*it)->pt();
252  denominator_tracks = denominator_tracks + (*it)->pt();
253  Zch = Zch + (*it)->pt();
254 
255  Pout2 = Pout2 + (**it).p() * (**it).p() - (Zch * p4.P()) * (Zch * p4.P());
256  ntracks++;
257  }
258  }
259 
260  for (reco::TrackRefVector::const_iterator it = muons.inVertexInCalo_.begin(); it != muons.inVertexInCalo_.end();
261  it++) {
262  double deR = deltaR((*it)->eta(), (*it)->phi(), p4.eta(), p4.phi());
263  double deEta = (*it)->eta() - p4.eta();
264  double dePhi = deltaPhi((*it)->phi(), p4.phi());
265  if ((**it).ptError() / (**it).pt() < 0.1) {
266  deR2Tr = deR2Tr + deR * deR * (*it)->pt();
267  deEta2Tr = deEta2Tr + deEta * deEta * (*it)->pt();
268  dePhi2Tr = dePhi2Tr + dePhi * dePhi * (*it)->pt();
269  denominator_tracks = denominator_tracks + (*it)->pt();
270  Zch = Zch + (*it)->pt();
271 
272  Pout2 = Pout2 + (**it).p() * (**it).p() - (Zch * p4.P()) * (Zch * p4.P());
273  ntracks++;
274  }
275  }
276  for (reco::TrackRefVector::const_iterator it = elecs.inVertexInCalo_.begin(); it != elecs.inVertexInCalo_.end();
277  it++) {
278  double deR = deltaR((*it)->eta(), (*it)->phi(), p4.eta(), p4.phi());
279  double deEta = (*it)->eta() - p4.eta();
280  double dePhi = deltaPhi((*it)->phi(), p4.phi());
281  if ((**it).ptError() / (**it).pt() < 0.1) {
282  deR2Tr = deR2Tr + deR * deR * (*it)->pt();
283  deEta2Tr = deEta2Tr + deEta * deEta * (*it)->pt();
284  dePhi2Tr = dePhi2Tr + dePhi * dePhi * (*it)->pt();
285  denominator_tracks = denominator_tracks + (*it)->pt();
286  Zch = Zch + (*it)->pt();
287 
288  Pout2 = Pout2 + (**it).p() * (**it).p() - (Zch * p4.P()) * (Zch * p4.P());
289  ntracks++;
290  }
291  }
293  it != pions.inVertexOutOfCalo_.end();
294  it++) {
295  Zch = Zch + (*it)->pt();
296  }
297  for (reco::TrackRefVector::const_iterator it = muons.inVertexOutOfCalo_.begin();
298  it != muons.inVertexOutOfCalo_.end();
299  it++) {
300  Zch = Zch + (*it)->pt();
301  }
302  for (reco::TrackRefVector::const_iterator it = elecs.inVertexOutOfCalo_.begin();
303  it != elecs.inVertexOutOfCalo_.end();
304  it++) {
305  Zch = Zch + (*it)->pt();
306  }
307 
308  if (mJPTalgo->getSumPtForBeta() > 0.)
309  Zch = Zch / mJPTalgo->getSumPtForBeta();
310 
311  if (ntracks > 0) {
312  Pout = sqrt(fabs(Pout2)) / ntracks;
313  }
314  if (denominator_tracks != 0) {
315  deR2Tr = deR2Tr / denominator_tracks;
316  deEta2Tr = deEta2Tr / denominator_tracks;
317  dePhi2Tr = dePhi2Tr / denominator_tracks;
318  }
319 
320  specific.R2momtr = deR2Tr;
321  specific.Eta2momtr = deEta2Tr;
322  specific.Phi2momtr = dePhi2Tr;
323  specific.Pout = Pout;
324  specific.Zch = Zch;
325 
326  // Create JPT jet
327 
328  reco::Particle::Point vertex_ = reco::Jet::Point(0, 0, 0);
329 
330  // If we add primary vertex
333  if (pvCollection.isValid() && !pvCollection->empty())
334  vertex_ = pvCollection->begin()->position();
335 
336  reco::JPTJet fJet(p4, vertex_, specific, corrected.getJetConstituents());
337  iJet++;
338 
339  // Output module
340  if (fJet.pt() > ptCUT_)
341  pOut->push_back(fJet);
342  }
343  std::sort(pOut->begin(), pOut->end(), sort_by_pt);
344  iEvent.put(std::move(pOut1));
345  iEvent.put(std::move(pOut));
346 }

References edm::RefVector< C, T, F >::begin(), SiPixelRawToDigiRegional_cfi::deltaPhi, PbPb_ZMuSkimMuonDPG_cff::deltaR, HLTMuonOfflineAnalyzer_cfi::deltaR2, singleTopDQM_cfi::elecs, reco::JPTJet::Specific::elecsInVertexInCalo, reco::JPTJet::Specific::elecsInVertexOutCalo, reco::JPTJet::Specific::elecsOutVertexInCalo, edm::RefVector< C, T, F >::end(), reco::LeafCandidate::energy(), dqmMemoryStats::float, reco::Jet::getJetConstituents(), mps_fire::i, iEvent, jpt::MatchedTracks::inVertexInCalo_, jpt::MatchedTracks::inVertexOutOfCalo_, metsig::jet, eostools::move(), PDWG_BPHSkim_cff::muons, reco::JPTJet::Specific::muonsInVertexInCalo, reco::JPTJet::Specific::muonsInVertexOutCalo, reco::JPTJet::Specific::muonsOutVertexInCalo, reco::JPTJet::Specific::mZSPCor, vertices_cff::ntracks, convertSQLiteXML::ok, jpt::MatchedTracks::outOfVertexInCalo_, p4, reco::JPTJet::Specific::pionsInVertexInCalo, reco::JPTJet::Specific::pionsInVertexOutCalo, reco::JPTJet::Specific::pionsOutVertexInCalo, point, edm::RefVector< C, T, F >::push_back(), anotherprimaryvertexanalyzer_cfi::pvCollection, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), reco::Jet::scaleEnergy(), sort_by_pt(), timingPdfMaker::specific, mathSSE::sqrt(), and reco::JPTJet::Specific::theCaloJetRef.

Member Data Documentation

◆ alias_

std::string JetPlusTrackProducer::alias_
private

Definition at line 56 of file JetPlusTrackProducer.h.

◆ dRcone_

double JetPlusTrackProducer::dRcone_
private

Definition at line 61 of file JetPlusTrackProducer.h.

◆ input_addjets_token_

edm::EDGetTokenT<edm::View<reco::CaloJet> > JetPlusTrackProducer::input_addjets_token_
private

Definition at line 64 of file JetPlusTrackProducer.h.

◆ input_jets_token_

edm::EDGetTokenT<edm::View<reco::CaloJet> > JetPlusTrackProducer::input_jets_token_
private

Definition at line 63 of file JetPlusTrackProducer.h.

◆ input_trackjets_token_

edm::EDGetTokenT<edm::View<reco::TrackJet> > JetPlusTrackProducer::input_trackjets_token_
private

Definition at line 65 of file JetPlusTrackProducer.h.

◆ input_vertex_token_

edm::EDGetTokenT<reco::VertexCollection> JetPlusTrackProducer::input_vertex_token_
private

Definition at line 66 of file JetPlusTrackProducer.h.

◆ mExtrapolations_

edm::EDGetTokenT<std::vector<reco::TrackExtrapolation> > JetPlusTrackProducer::mExtrapolations_
private

Definition at line 67 of file JetPlusTrackProducer.h.

◆ mJPTalgo

JetPlusTrackCorrector* JetPlusTrackProducer::mJPTalgo
private

Definition at line 51 of file JetPlusTrackProducer.h.

◆ mZSPalgo

ZSPJPTJetCorrector* JetPlusTrackProducer::mZSPalgo
private

Definition at line 52 of file JetPlusTrackProducer.h.

◆ ptCUT_

double JetPlusTrackProducer::ptCUT_
private

Definition at line 60 of file JetPlusTrackProducer.h.

◆ src_

edm::InputTag JetPlusTrackProducer::src_
private

Definition at line 53 of file JetPlusTrackProducer.h.

◆ srcPVs_

edm::InputTag JetPlusTrackProducer::srcPVs_
private

Definition at line 55 of file JetPlusTrackProducer.h.

◆ srcTrackJets_

edm::InputTag JetPlusTrackProducer::srcTrackJets_
private

Definition at line 54 of file JetPlusTrackProducer.h.

◆ usePAT_

bool JetPlusTrackProducer::usePAT_
private

Definition at line 59 of file JetPlusTrackProducer.h.

◆ useZSP_

bool JetPlusTrackProducer::useZSP_
private

Definition at line 58 of file JetPlusTrackProducer.h.

◆ vectorial_

bool JetPlusTrackProducer::vectorial_
private

Definition at line 57 of file JetPlusTrackProducer.h.

edm::RefProd
Definition: EDProductfwd.h:25
reco::JPTJet
Jets made from CaloJets corrected for ZSP and tracks.
Definition: JPTJet.h:28
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
reco::CaloJet
Jets made from CaloTowers.
Definition: CaloJet.h:27
reco::Jet::scaleEnergy
virtual void scaleEnergy(double fScale)
scale energy of the jet
mps_fire.i
i
Definition: mps_fire.py:428
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
JetPlusTrackProducer::useZSP_
bool useZSP_
Definition: JetPlusTrackProducer.h:58
JetPlusTrackProducer::input_jets_token_
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_jets_token_
Definition: JetPlusTrackProducer.h:63
jpt::MatchedTracks::inVertexOutOfCalo_
reco::TrackRefVector inVertexOutOfCalo_
Definition: JetPlusTrackCorrector.h:151
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::RefVector::begin
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223
sort_by_pt
bool sort_by_pt(const reco::JPTJet &a, const reco::JPTJet &b)
Definition: JetPlusTrackProducer.cc:96
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::RefVector< TrackCollection >
reco::JPTJet::Specific::pionsInVertexOutCalo
reco::TrackRefVector pionsInVertexOutCalo
Definition: JPTJet.h:51
vertices_cff.ntracks
ntracks
Definition: vertices_cff.py:34
jpt::MatchedTracks::inVertexInCalo_
reco::TrackRefVector inVertexInCalo_
Definition: JetPlusTrackCorrector.h:149
reco::JPTJet::Specific::elecsInVertexOutCalo
reco::TrackRefVector elecsInVertexOutCalo
Definition: JPTJet.h:57
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle< reco::VertexCollection >
ZSPJPTJetCorrector
Definition: ZSPJPTJetCorrector.h:21
reco::TrackJet
Jets made out of tracks.
Definition: TrackJet.h:24
edm::Ref
Definition: AssociativeIterator.h:58
jpt::MatchedTracks
Particles matched to tracks that are in/in, in/out, out/in at Vertex and CaloFace.
Definition: JetPlusTrackCorrector.h:144
JetPlusTrackProducer::srcPVs_
edm::InputTag srcPVs_
Definition: JetPlusTrackProducer.h:55
JetPlusTrackProducer::usePAT_
bool usePAT_
Definition: JetPlusTrackProducer.h:59
edm::RefVector::end
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
JetPlusTrackCorrector::correction
double correction(const reco::Jet &, const reco::Jet &, const edm::Event &, const edm::EventSetup &, P4 &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs, bool &validMatches)
Vectorial correction method (corrected 4-momentum passed by reference)
Definition: JetPlusTrackCorrector.cc:151
JetPlusTrackProducer::ptCUT_
double ptCUT_
Definition: JetPlusTrackProducer.h:60
reco::JPTJet::Specific::mZSPCor
float mZSPCor
Definition: JPTJet.h:48
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
reco::LeafCandidate::py
double py() const final
y coordinate of momentum vector
Definition: LeafCandidate.h:142
timingPdfMaker.specific
specific
Definition: timingPdfMaker.py:78
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
reco::Jet::getJetConstituents
virtual Constituents getJetConstituents() const
list of constituents
singleTopDQM_cfi.elecs
elecs
Definition: singleTopDQM_cfi.py:41
anotherprimaryvertexanalyzer_cfi.pvCollection
pvCollection
Definition: anotherprimaryvertexanalyzer_cfi.py:4
reco::JPTJet::Specific::pionsOutVertexInCalo
reco::TrackRefVector pionsOutVertexInCalo
Definition: JPTJet.h:52
reco::JPTJet::Specific::elecsInVertexInCalo
reco::TrackRefVector elecsInVertexInCalo
Definition: JPTJet.h:56
ZSPJPTJetCorrector::correction
virtual double correction(const reco::Jet &, const edm::Event &, const edm::EventSetup &) const
apply correction using Event information
Definition: ZSPJPTJetCorrector.cc:41
reco::JPTJet::Specific
Definition: JPTJet.h:30
PbPb_ZMuSkimMuonDPG_cff.deltaR
deltaR
Definition: PbPb_ZMuSkimMuonDPG_cff.py:63
JetPlusTrackCorrector::getSumEnergyWithoutEff
double getSumEnergyWithoutEff()
Definition: JetPlusTrackCorrector.h:249
reco::JPTJet::Specific::muonsInVertexOutCalo
reco::TrackRefVector muonsInVertexOutCalo
Definition: JPTJet.h:54
JetPlusTrackProducer::input_vertex_token_
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
Definition: JetPlusTrackProducer.h:66
JetPlusTrackProducer::dRcone_
double dRcone_
Definition: JetPlusTrackProducer.h:61
JetPlusTrackCorrector
Jet energy correction algorithm using tracks.
Definition: JetPlusTrackCorrector.h:171
reco::JPTJet::Specific::pionsInVertexInCalo
reco::TrackRefVector pionsInVertexInCalo
Definition: JPTJet.h:50
JetPlusTrackCorrector::getResponseOfChargedWithEff
double getResponseOfChargedWithEff()
Get responses/sumPT/SumEnergy with and without Efficiency correction.
Definition: JetPlusTrackCorrector.h:244
JetPlusTrackProducer::mJPTalgo
JetPlusTrackCorrector * mJPTalgo
Definition: JetPlusTrackProducer.h:51
JetPlusTrackProducer::alias_
std::string alias_
Definition: JetPlusTrackProducer.h:56
iEvent
int iEvent
Definition: GenABIO.cc:224
reco::CaloJetCollection
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
Definition: CaloJetCollection.h:15
p4
double p4[4]
Definition: TauolaWrapper.h:92
JetPlusTrackProducer::mExtrapolations_
edm::EDGetTokenT< std::vector< reco::TrackExtrapolation > > mExtrapolations_
Definition: JetPlusTrackProducer.h:67
JetPlusTrackCorrector::getSumPtWithoutEff
double getSumPtWithoutEff()
Definition: JetPlusTrackCorrector.h:247
reco::JPTJet::Specific::elecsOutVertexInCalo
reco::TrackRefVector elecsOutVertexInCalo
Definition: JPTJet.h:58
edm::RefVector::push_back
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67
edm::Ref::key_type
std::remove_cv< typename std::remove_reference< argument_type >::type >::type key_type
Definition: Ref.h:164
JetPlusTrackCorrector::getSumEnergyWithEff
double getSumEnergyWithEff()
Definition: JetPlusTrackCorrector.h:248
JetPlusTrackProducer::mZSPalgo
ZSPJPTJetCorrector * mZSPalgo
Definition: JetPlusTrackProducer.h:52
reco::TrackBase::Point
math::XYZPoint Point
point in the space
Definition: TrackBase.h:80
JetPlusTrackCorrector::getSumPtForBeta
double getSumPtForBeta()
Definition: JetPlusTrackCorrector.h:250
jpt::MatchedTracks::outOfVertexInCalo_
reco::TrackRefVector outOfVertexInCalo_
Definition: JetPlusTrackCorrector.h:150
eostools.move
def move(src, dest)
Definition: eostools.py:511
JetPlusTrackProducer::srcTrackJets_
edm::InputTag srcTrackJets_
Definition: JetPlusTrackProducer.h:54
reco::JPTJet::Specific::muonsOutVertexInCalo
reco::TrackRefVector muonsOutVertexInCalo
Definition: JPTJet.h:55
HLTMuonOfflineAnalyzer_cfi.deltaR2
deltaR2
Definition: HLTMuonOfflineAnalyzer_cfi.py:105
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
metsig::jet
Definition: SignAlgoResolutions.h:47
JetPlusTrackCorrector::getResponseOfChargedWithoutEff
double getResponseOfChargedWithoutEff()
Definition: JetPlusTrackCorrector.h:245
edm::RefVectorIterator
Definition: EDProductfwd.h:33
JetPlusTrackProducer::input_addjets_token_
edm::EDGetTokenT< edm::View< reco::CaloJet > > input_addjets_token_
Definition: JetPlusTrackProducer.h:64
JetPlusTrackProducer::src_
edm::InputTag src_
Definition: JetPlusTrackProducer.h:53
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::RefToBase< reco::Jet >
JetPlusTrackCorrector::getSumPtWithEff
double getSumPtWithEff()
Definition: JetPlusTrackCorrector.h:246
reco::LeafCandidate::energy
double energy() const final
energy
Definition: LeafCandidate.h:125
reco::Particle::Point
math::XYZPoint Point
point in the space
Definition: Particle.h:25
JetPlusTrackProducer::input_trackjets_token_
edm::EDGetTokenT< edm::View< reco::TrackJet > > input_trackjets_token_
Definition: JetPlusTrackProducer.h:65
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
JetPlusTrackProducer::vectorial_
bool vectorial_
Definition: JetPlusTrackProducer.h:57
reco::LeafCandidate::px
double px() const final
x coordinate of momentum vector
Definition: LeafCandidate.h:140
reco::LeafCandidate::pz
double pz() const final
z coordinate of momentum vector
Definition: LeafCandidate.h:144
edm::InputTag
Definition: InputTag.h:15
reco::JPTJet::Specific::muonsInVertexInCalo
reco::TrackRefVector muonsInVertexInCalo
Definition: JPTJet.h:53
reco::JPTJet::Specific::theCaloJetRef
edm::RefToBase< reco::Jet > theCaloJetRef
Definition: JPTJet.h:49