Fork me on GitHub

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1079 closed Bug (fixed)

Error in Delphes' ExRootAnalysis

Reported by: Amin Abou Ibrahim Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Dear Delphes developers,

I have been having issues with ROOT 6 and after fixing some errors it boiled down to an error in ExRootAnalysis. I have this question posted on the ROOT forum but then I figured it might be Delphes-specific so I am posting it here as well.
I am running Example2.C on my ROOT file and it works perfectly as long as I am in the Delphes directory. If I run it outside the directory I get an error, but this doesn't prevent the histograms from being generated. I have my LD_LIBRARY_PATH set to Delphes-3.4.0. The errors I get are:

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h
requested to autoload type ExRootTreeReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeWriter.h
requested to autoload type ExRootTreeWriter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTreeBranch.h
requested to autoload type ExRootTreeBranch
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootResult.h
requested to autoload type ExRootResult
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootClassifier.h
requested to autoload type ExRootClassifier
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootFilter.h
requested to autoload type ExRootFilter
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootProgressBar.h
requested to autoload type ExRootProgressBar
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfParam
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootConfReader.h
requested to autoload type ExRootConfReader
Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
Missing FileEntry for ExRootAnalysis/ExRootTask.h
requested to autoload type ExRootTask

Any idea what's going on?
Thanks a lot.

Amin

Attachments (1)

Example2.C (4.8 KB ) - added by Amin Abou Ibrahim 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Pavel Demin, 8 years ago

I think that the following commands should be somehow added to Example2.C when running it outside the Delphes directory:

.include <path_to_delphes>
.include <path_to_delphes>/external
gSystem->Load("<path_to_delphes>/libDelphes");

by Amin Abou Ibrahim, 8 years ago

Attachment: Example2.C added

comment:2 by Amin Abou Ibrahim, 8 years ago

Hi Pavel,

I have those lines added in the script along with gSystem->Load("libDelphes"):
#include "external/ExRootAnalysis/ExRootTreeReader.h"
#include "external/ExRootAnalysis/ExRootResult.h

Also, PATH to Delphes is defined in my .profile. This is still not working.
I attached Example2.C so you can have a look at it if it helps locate the problem.

Thanks a lot.
Amin

comment:3 by Pavel Demin, 8 years ago

Resolution: fixed
Status: newclosed

I've just tested that the following works:

# start ROOT
root -l

# run Delphes example from the ROOT command line
.include <path_to_delphes>
.include <path_to_delphes>/external
.L <path_to_delphes>/examples/Example2.C
Example2("delphes_output.root")
Version 0, edited 8 years ago by Pavel Demin (next)

comment:4 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:5 by Amin Abou Ibrahim, 8 years ago

Thanks Pavel.
I tried this from the command line and it works. But I want to have those lines in my script and this where #include "path_to_delphes" is not working. Have you tried doing this?
I'm sorry for the trouble and thanks again.

Best,
Amin

comment:6 by Pavel Demin, 8 years ago

But I want to have those lines in my script and this where #include "path_to_delphes" is not working. Have you tried doing this?

No, I don't have any idea how to do it. Hopefully, you'll have a solution via the ROOT forum.

Last edited 8 years ago by Pavel Demin (previous) (diff)
Note: See TracTickets for help on using tickets.