Skip to content

Commit 2aec03e

Browse files
committed
Add big warning in case of non-official dedx mode
1 parent c7e3a9f commit 2aec03e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Common/TableProducer/PID/pidTPCModule.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,16 @@ class pidTPCModule
230230
// read in configurations from the task where it's used
231231
pidTPCopts = external_pidtpcopts;
232232

233+
if(pidTPCopts.useCorrecteddEdx.value){
234+
LOGF(info, "***************************************************");
235+
LOGF(info, " WARNING: YOU HAVE SWITCHED ON 'corrected dEdx!");
236+
LOGF(info, " This mode is still in development and it is meant");
237+
LOGF(info, " ONLY FOR EXPERTS at this time. Please switch ");
238+
LOGF(info, " this option off UNLESS you are absolutely SURE");
239+
LOGF(info, " of what you're doing! You've been warned!");
240+
LOGF(info, "***************************************************");
241+
}
242+
233243
// initialize PID response
234244
response = new o2::pid::tpc::Response();
235245

0 commit comments

Comments
 (0)