33 std::vector<l1t::EGamma> preSortEGammas;
34 std::vector<l1t::EGamma> preGtEGammas;
37 egCand != EMCands.end(); egCand++) {
39 int eg_et = egCand->hwPt();
40 int eg_eta = egCand->hwEta();
41 int eg_phi = egCand->hwPhi();
42 int index = (egCand->hwIso()*4 + egCand->hwQual()) ;
44 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> > egLorentz(0,0,0,0);
47 bool isinBarrel =
false;
48 if((egEtaCut & (1<<eg_eta))>>eg_eta) {
53 l1t::EGamma theEG(*&egLorentz, eg_et, eg_eta, eg_phi, index, isoFlag);
54 preSortEGammas.push_back(theEG);
CaloParamsHelper const *const params_
void SortEGammas(std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
void EGammaToGtScales(CaloParamsHelper const *params, const std::vector< l1t::EGamma > *input, std::vector< l1t::EGamma > *output)
std::vector< T >::const_iterator const_iterator