14 vector<LorentzVector> *pfels_p4_h =
new vector<LorentzVector>;
17 vector<LorentzVector> *els_p4_h =
new vector<LorentzVector>;
21 for (vector<LorentzVector>::const_iterator pfels_it = pfels_p4_h->begin(); pfels_it != pfels_p4_h->end(); pfels_it++) {
23 double pfel_eta = pfels_it->Eta();
24 double pfel_phi = pfels_it->Phi();
30 for (vector<LorentzVector>::const_iterator els_it = els_p4_h->begin(); els_it != els_p4_h->end(); els_it++, i++) {
32 double el_eta = els_it->Eta();
33 double el_phi = els_it->Phi();
34 double dR =
deltaR(pfel_eta, pfel_phi, el_eta, el_phi);
std::vector< int > & pfels_elsidx()
std::vector< LorentzVector > & pfels_p4()
std::vector< LorentzVector > & els_p4()
double deltaR(double eta1, double eta2, double phi1, double phi2)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
math::PtEtaPhiELorentzVectorF LorentzVector