Making a TH2F plot taking data from a TTree and from a TH1F of a Root file

At the ROOT prompt, you need: .! del ...

Hello @Wile_E_Coyote I got

root [0] .! generatedSel* generatedSel*.*
"generatedSel*" non è riconosciuto come comando interno o esterno,
 un programma eseguibile o un file batch.

it means that generatedSel* isn’t an internal or external command or an executable or batch file

You need to actually request the deletion with the command del for Windows or rm for Linux:

# either
root [0] .! del generatedSel* generatedSel*.*
# or 
root [0] .! rm generatedSel* generatedSel*.*

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.