Good morning,
I’m want to create a tree with 3 branch.
I have a problem with the third branch. I want to fill this branch with an array of float but with a size equal to GROUPES + 1.
The code is in this moment :
TTree * tDecoupages = new TTree("DECOUPAGES","DECOUPAGES");
tDecoupages->Branch("NOM_DEC",dec.nomdecoupage,"NOM_DEC[64]/C");
tDecoupages->Branch("GROUPES",&dec.groupes,"GROUPES/I");
tDecoupages->Branch("BORNES",dec.bornes,"BORNES[GROUPES]/F");
But I want a thing like this
tDecoupages->Branch("BORNES",dec.bornes,"BORNES[GROUPES+1]/F");
How can I do this ?
Thx for your help