Skip to content

Commit

Permalink
Merge pull request cms-sw#144 from tstreble/ShowerShape_HGC
Browse files Browse the repository at this point in the history
Fixed Spp variables
  • Loading branch information
jbsauvan authored Oct 10, 2017
2 parents 7d67ea3 + c30af6a commit 100fe46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/src/be_algorithms/HGCalShowerShape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ float HGCalShowerShape::sigmaPhiPhiMax(const l1t::HGCalMulticluster& c3d) const

const std::vector<std::pair<float, float> >& energy_phi_layer = tc_iter.second;
const LorentzVector& LV_layer = layer_LV[tc_iter.first];
float SigmaPhiPhiLayer = sigmaXX(energy_phi_layer,LV_layer.phi()); //RMS wrt layer phi, not wrt c3d phi
float SigmaPhiPhiLayer = sigmaPhiPhi(energy_phi_layer,LV_layer.phi()); //RMS wrt layer phi, not wrt c3d phi
if(SigmaPhiPhiLayer > SigmaPhiPhiMax) SigmaPhiPhiMax = SigmaPhiPhiLayer;

}
Expand Down Expand Up @@ -433,7 +433,7 @@ float HGCalShowerShape::sigmaPhiPhiTot(const l1t::HGCalCluster& c2d) const {

}

float Spp = sigmaXX(tc_energy_phi,c2d.phi());
float Spp = sigmaPhiPhi(tc_energy_phi,c2d.phi());

return Spp;

Expand Down

0 comments on commit 100fe46

Please sign in to comment.