Call SetBatch(), before creating the TApplication to avoid Cocoa GUI.
Fix macro filename, write teh macro *code*!
Variable name clashes with ::select; fix cast.
ROOT-6010: Put and digest headers as keys for autoload
ROOT-6010: Adapt the callbacks to autoload on header name
Implemented accurate safety for tube segment

(cherry picked from commit 7aa60007e287875055763ee5b21fb7f9004d72d5)
Delegate to the ProcessReadPragma the sanity check of the ioreadrules

instead of putting fences in the XML parser.
Missing header.