Root dictionary

From: Harinder Singh Bawa <hbawa_at_csufresno.edu>
Date: Wed, 30 Jun 2010 07:51:46 -0700


Dear Root experts,

This problem may be addressed several times and sorted out but I couldnot get through. I am compiling C++ code through root CINT and when I compile it is complaining about the class dictionary.

Error in <TChain::SetBranchAddress>: The class requested (vector<float>) for the branch "el_cl_phi" refer to an stl collection and do not have a compiled CollectionProxy. Please generate the dictionary for this class (vector<float>)

I googled this problem and earlier it was given remedy as to add in front
#include <vector>
#ifdef __MAKECINT__
#pragma link C++ class vector<vector<double> >+;
#endif

and load it as .L filename.C++

I did that except loading it in C+ because I want to compile with my Makefile and run as ./. Could you suggest how to do this.

thanks

H.S Received on Wed Jun 30 2010 - 16:52:28 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 30 2010 - 17:50:01 CEST