Skip to content

Commit 51311e8

Browse files
committed
Add crash if wrong network version is used with corrected dedx
1 parent d45a411 commit 51311e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Common/TableProducer/PID/pidTPCModule.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,10 @@ class pidTPCModule
363363
return;
364364
}
365365
}
366+
367+
if(pidTPCopts.useCorrecteddEdx.value && networkVersion != "5"){
368+
LOGF(fatal, "Using corrected dE/dx with a network version other than 5 will not work. Crashing now.");
369+
}
366370
} // end init
367371

368372
//__________________________________________________

0 commit comments

Comments
 (0)