Can anyone suggest me where i did mistake. I have defined
std::vector<TLorentzVector> *Muons1 , *Electrons1 ;
t1->SetBranchAddress("Muons",&Muons1);
t1->SetBranchAddress("Electrons",&Electrons1);
in my code. and trying to get size of Vector Muons and Electrons.
std::cout<<"Muonsize ..... "<<Muons1->size()<<std::endl;
std::cout<<"Electron ...."<<Electrons1->size()<<std::endl;
and i am getting error message like this
Please generate the dictionary for this collection (vector<TLorentzVector>) to avoid to write corrupted data.
Can anyone suggest me how to get size of Vector of TLorentzVector. Is there any other way to define it and get size (unlike Vector of Double data).
Please do reply
Thanks in advance.