Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Apr 14, 2022
1 parent e8289cf commit 4f85095
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion L1Trigger/L1THGCal/interface/HGCalTriggerTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ class HGCalTriggerTools {
~HGCalTriggerTools() {}

void setGeometry(const HGCalTriggerGeometryBase* const);
void eventSetup(const edm::EventSetup&, const edm::ESGetToken<HGCalTriggerGeometryBase, CaloGeometryRecord>&); // Kept for backward compatibility: used in L1Trigger/L1CaloTrigger/test
void eventSetup(const edm::EventSetup&,
const edm::ESGetToken<
HGCalTriggerGeometryBase,
CaloGeometryRecord>&); // Kept for backward compatibility: used in L1Trigger/L1CaloTrigger/test
GlobalPoint getTCPosition(const DetId& id) const;
unsigned layers(ForwardSubdetector type) const;
unsigned layers(DetId::Detector type) const;
Expand Down
3 changes: 2 additions & 1 deletion L1Trigger/L1THGCal/src/HGCalTriggerTools.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ namespace {
} // namespace

// Kept for backward compatibility: used in L1Trigger/L1CaloTrigger/test
void HGCalTriggerTools::eventSetup(const edm::EventSetup& es, const edm::ESGetToken<HGCalTriggerGeometryBase, CaloGeometryRecord>& token) {
void HGCalTriggerTools::eventSetup(const edm::EventSetup& es,
const edm::ESGetToken<HGCalTriggerGeometryBase, CaloGeometryRecord>& token) {
const edm::ESHandle<HGCalTriggerGeometryBase>& triggerGeometry = es.getHandle(token);
setGeometry(triggerGeometry.product());
}
Expand Down

0 comments on commit 4f85095

Please sign in to comment.