no, nomBarrage is a variable in this case
by addlayer(nomBarrage); you create a layer with name="nomBarrage"
by addlayer(get(nomBarrage)); you create a layer with name="<what is inside the variable nomBarrage>"
in krpano you need get() to "resolve" a variable
you will need get() in most functions, except for debug(), trace() and very few other exceptions
in your example you create 4x the same layer "nomBarrage" so in the end you just have the last iteration