Skip to content

Commit 4897009

Browse files
remove redundant operation
1 parent 235a546 commit 4897009

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,6 @@ void Digitizer::registerDigits(Chip& chip, uint32_t roFrame, double time, int nR
556556
auto key = o2::iotof::Digit::getOrderingKey(nbc, tdc, row, col);
557557
o2::iotof::LabeledDigit* existingDigit = chip.findDigit(key);
558558

559-
chip.addDigit(row, col, nElectrons, absoluteTime, nbc, tdc, label);
560-
561559
if (!existingDigit) {
562560
// No existing digit, create a new one
563561
chip.addDigit(row, col, nElectrons, absoluteTime, nbc, tdc, label);

0 commit comments

Comments
 (0)