If your Tree contains branches with non split objects you will have to
add an include statement
to declare the corresponding object class.
#include <edm???.h>
Rene Brun
Ijaz Ahmed wrote:
> Hi.....
>
> MakeClass() function of a TTree is usually used to produce a class for the given root data file, which is later on compiled in ROOT and run with Loop() function. Similarly a class file, of the ROOT data produced with the CMS software CMSSW (EDM based) is generated along with header file, which is not able to compile within ROOT by giving the following message:
> *************
>
> Error: class,struct,union or type edm not defined Ijaz.h:294:
> *** Interpreter error recovered
>
> ********
> How can i remove this error, either this class is not valid for edm based software or something else?
>
>
> Ijaz Ahmed
> Post-Doctoral Fellow
> National Centre for Physics (NCP)
> Quaid-i-Azam University (QAU) Campus
> Shahdra Road valley, 44000
> ph# +92512896135 (NCP)
> mob#+923345349527
> URL: http://cern.ch/iahmed
>
>
>
Received on Tue Jan 12 2010 - 08:38:45 CET
This archive was generated by hypermail 2.2.0 : Tue Jan 12 2010 - 17:50:01 CET