Simple way to create branches

Hi all

I want to know if there is a better and simple way to create (maybe dinamically) branches in a tree? Now I am doing the old way:

Create the tree, then a branch like
outTree_->Branch(“jetChf” ,“vector” ,&chf_);
then create a vector:
chf_ = new std::vector;
fill the vector, fill the tree and delete the vector for the next event. However, I need to store like 100 variables in my tree and I think that there must be a better and simple way to do this.

If somebody knows a better way, I will really appreciate it.