Skip to content

Commit

Permalink
harmonise two noise tool interfaces (#214)
Browse files Browse the repository at this point in the history
* harmonise naming with ICaloReadCellNoiseMap

* fix pre-commit test error

* implement comments from review
  • Loading branch information
giovannimarchiori authored Jul 25, 2024
1 parent 724e2c9 commit da375fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions k4Interface/include/k4Interface/ICaloReadCellNoiseMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/** @class ICaloReadCellNoiseMap RecInterface/RecInterface/ICaloReadCellNoiseMap.h ICaloReadCellNoiseMap.h
*
* Abstarct Interface to noise per Calorimeter cell.
* Abstract interface for tools that read noise values (RMS and offset) per calorimeter cell
*
* @author Coralie Neubueser
*/
Expand All @@ -36,4 +36,4 @@ class ICaloReadCellNoiseMap : virtual public IAlgTool {
virtual double noiseRMS(uint64_t aCellId) = 0;
virtual double noiseOffset(uint64_t aCellId) = 0;
};
#endif /* RECINTERFACE_ICALOREADNEIGHBOURSMAP_H */
#endif /* RECINTERFACE_ICALOREADCELLNOISEMAP_H */
2 changes: 1 addition & 1 deletion k4Interface/include/k4Interface/INoiseCaloCellsTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/** @class INoiseCaloCellsTool
*
* Abstract interface to calorimeter noise tool
* Abstract interface for tools that add or filter noise to calorimeter cells
*
* @author Jana Faltova
* @date 2016-09
Expand Down
6 changes: 3 additions & 3 deletions k4Interface/include/k4Interface/INoiseConstTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/** @class INoiseConstTool
*
* Abstract interface to get calorimeter noise per cell tool
* Abstract interface for tools that return noise values (RMS and offset) per calorimeter cell
* @author Coralie Neubueser
* @date 2018-01
*/
Expand All @@ -33,8 +33,8 @@ class INoiseConstTool : virtual public IAlgTool {
public:
DeclareInterfaceID(INoiseConstTool, 1, 0);

virtual double getNoiseConstantPerCell(uint64_t aCellID) = 0;
virtual double getNoiseOffsetPerCell(uint64_t aCellID) = 0;
virtual double getNoiseRMSPerCell(uint64_t aCellID) = 0;
virtual double getNoiseOffsetPerCell(uint64_t aCellID) = 0;
};

#endif /* RECINTERFACE_INOISECONSTTOOL_H */

0 comments on commit da375fa

Please sign in to comment.