Unknown type name 'TRootLHEFParticle'


_ROOT Version: 6.08.06
Platform: Not Provided
Compiler: Not Provided


I am having this trouble while running a macro :
error: unknown type name
‘TRootLHEFParticle’
TRootLHEFParticle p = (TRootLHEFParticle) branchParticle->At(i);
^

Waiting for your reply.

Hi,

is the library containing the implementation of that class and its header file(s) available to ROOT perhaps via a rootmap file?
Could you share a reproducer?
D

Dear dpiparo,

I don’t have a rootmap file. Can you suggest or send a sample file ?

I have attached the file which produces the error with this email. Please find the attachment.

Thanks,
Subhasishsubh_test.C (4.3 KB)

Dear dpiparo,

Thanks for your reply. I tried with my mentor here and find out that I need to add this :

R__ADD_INCLUDE_PATH(/ExRootAnalysis/ExRootAnalysis/)

R__ADD_LIBRARY_PATH(/ExRootAnalysis/)

R__LOAD_LIBRARY(libExRootAnalysis.so)

#include “ExRootTreeReader.h”

#include “ExRootClasses.h”

Now it is working. Hope this post will be helpful to other. My apology for keeping you busy.

Thanks,
Subhasish

Hi Subhasish,

glad you solved that and thanks for posting!
The rootmap file is generated together with the dictionaries and should be created by the Delphes build system.

Cheers,
D

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.