Skip to content

Commit

Permalink
Naming fix from PR cms-sw#41859
Browse files Browse the repository at this point in the history
  • Loading branch information
oljemark committed Jun 12, 2023
1 parent 67e31e8 commit ae1d0c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DQM/CTPPS/plugins/TotemT2DQMSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void TotemT2DQMSource::bookErrorFlagsHistogram(DQMStore::IBooker& ibooker) {
void TotemT2DQMSource::fillErrorFlagsHistogram(const TotemT2Digi& digi, const TotemT2DetId& detid) {
// readout flags histogram filling
for (unsigned int i = 0; i < 4; i++) {
if (digi.getStatus() & (1 << i))
if (digi.status() & (1 << i))
totemT2ErrorFlags_2D_->Fill(i + 0.0, detid.arm() + 0.0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/TotemReco/interface/TotemT2Digi.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TotemT2Digi {
unsigned short leadingEdge() const { return lead_edge_; }
void setTrailingEdge(unsigned short te) { trail_edge_ = te; }
unsigned short trailingEdge() const { return trail_edge_; }
unsigned char getStatus() const { return status_ & 0xF; }
unsigned char status() const { return status_ & 0xF; }
bool hasLE() const { return marker_ & 0x1; }
bool hasTE() const { return marker_ & 0x2; }
bool hasManyLE() const { return marker_ & 0x4; }
Expand Down

0 comments on commit ae1d0c8

Please sign in to comment.