Skip to content

Commit

Permalink
implementing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swagata87 committed Mar 1, 2021
1 parent 552ae09 commit 9e20287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions RecoHGCal/TICL/plugins/SeedingRegionByL1.cc
Expand Up @@ -34,7 +34,7 @@ void ticl::SeedingRegionByL1::makeRegions(const edm::Event &ev,

for (size_t indx = 0; indx < (*l1TrkEms).size(); indx++) {
const auto &l1TrkEm = (*l1TrkEms)[indx];
double offlinePt = this->TkEmOfflineEt(l1TrkEm.pt());
double offlinePt = this->tkEmOfflineEt(l1TrkEm.pt());
if ((offlinePt < minPt_) || (std::abs(l1TrkEm.eta()) < minAbsEta_) || (std::abs(l1TrkEm.eta()) > maxAbsEta_) ||
(l1TrkEm.EGRef()->hwQual() != quality_)) {
continue;
Expand All @@ -53,8 +53,8 @@ void ticl::SeedingRegionByL1::makeRegions(const edm::Event &ev,
});
}

double ticl::SeedingRegionByL1::TkEmOfflineEt(double Et) const {
return (endcapScalings_.at(0) + Et * endcapScalings_.at(1) + Et * Et * endcapScalings_.at(2));
double ticl::SeedingRegionByL1::tkEmOfflineEt(double et) const {
return (endcapScalings_.at(0) + et * endcapScalings_.at(1) + et * et * endcapScalings_.at(2));
}

void ticl::SeedingRegionByL1::fillPSetDescription(edm::ParameterSetDescription &desc) {
Expand Down
2 changes: 1 addition & 1 deletion RecoHGCal/TICL/plugins/SeedingRegionByL1.h
Expand Up @@ -37,7 +37,7 @@ namespace ticl {
std::vector<double> endcapScalings_; // pT scaling factors for endcap
int quality_; // hwQual

double TkEmOfflineEt(double Et) const;
double tkEmOfflineEt(double et) const;
};
} // namespace ticl
#endif

0 comments on commit 9e20287

Please sign in to comment.