Header file to handle the TSeq class in a macro file

Dear root experts,

Do you know which header file I should include to handle the TSeq class in the macro file?

Attached are two samples.
The first one works within cling. You can make it work as follows;
$ root -l tseq_smpl.C
root [0].
Processing tseq_smpl.C…
0
1
2
3

The second is a macro file that I expect to have the same behavior.
When I type the command as follows, it fails to compile.
$ g++ root-config --glibs --cflags --libs TSeq_smpl.cpp

TSeq_smpl.cpp:7:21: Error: ‘TSeqI’ is not a member of ‘ROOT’
for(auto i: ROOT::TSeqI(4)){
^~~~~

_ROOT Version: 6.26/00
_Platform: CentOS Stream release 8
_Compiler: c++ (GCC) 8.5.0 20210514

Best regards.

tseq_smpl.C (89 Bytes)
TSeq_smpl.cpp (147 Bytes)

#include "ROOT/TSeq.hxx"