Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#703 new Bug

error during analysis of a .root file using Delphes 3.2.0 compiled with root 6.02.05

Reported by: Debashis Saha Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: ExRootResult Cc:

Description

Hi, with ROOT 6.02.05 I was able to compile Delphes 3.2.0 succesfully, but when trying to analyse a .root file using Example2.C, I am getting these sort of errors:

member access into incomplete type 'ExRootResult'
  plots->fJetPT[0] = result->AddHist1D(
                           ^
     forward declaration of 'ExRootResult'
class ExRootResult;
      ^
     member access into incomplete type 'ExRootTreeReader'
  TClonesArray *branchJet = treeReader->UseBranch("Jet");
                                      ^

So can you please suggest me how to give path to those header files, so that analysis can be done using root 6.02.05?

P.S: I couldn't use recent version of root (root 6.04), as it was showing some error related to KVarible, during Delphes compilation.

P.S: The same .root file can be successfully analysed using Delphes 3.2.0 compiled with ROOT 5.34 .

Change History (2)

comment:1 by Debashis Saha, 9 years ago

Summary: error during analysis of a .root file using Delphes 3.2.0 copiled with root 6.02.05error during analysis of a .root file using Delphes 3.2.0 compiled with root 6.02.05

comment:2 by Pavel Demin, 9 years ago

There are two other tickets about this problem (#444, #659).

All the Delphes examples were tested and are still working with ROOT 5.

The main source of the problem is that the following code does not work with ROOT 6:

void f() {gSystem->Load("libEvent"); Event* e = new Event();}

Here is the link confirming this:

https://root.cern.ch/drupal/content/way-root-6

New version of the examples and EventDisplay now also works with ROOT 6.04. It will be included in the next release.

You can download this new version of the code using the following command:

git clone https://github.com/delphes/delphes.git
Version 0, edited 9 years ago by Pavel Demin (next)
Note: See TracTickets for help on using tickets.