Fork me on GitHub

Opened 10 years ago

Closed 10 years ago

#370 closed Bug (fixed)

ERROR: can't find class 'FastJetFinder'

Reported by: Sergei Chekanov Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: fastjet Cc:

Description

Hello,

I've put version Delphes 3.2.0 into our framework for HCAL studies:

https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=community:refhepsim&#fast_detector_simulation_on_the_fly

I can compile everything fine, but when I run the example:

./analysis delphes_card_FCC_basic_notau.tcl histo.root inputdata.txt

it fails with the error:

ERROR: can't find class 'FastJetFinder'

it worked before when we used Delphes 3.1.2. Can you please tell what has changed for fastjet and how to fix it?

If I create a ROOT file, everything works. But when I run the code "analysis.cc" (which was copped from the Delphes web page as one possible method to run Delphes), it failed.

best wishes, Sergei

Change History (4)

comment:1 by Pavel Demin, 10 years ago

Hi Sergei,

I've just tried to follow the installation instructions and the ./install.sh script crashes with the following error message:

Setup ProMC
./install.sh: line 190: lib/promc/setup.sh: No such file or directory
Setting hs-toolkit-1 (Java 1.7.0_65) from /work/ProMC/FastHepSim/libraries/hs-toolkit

I'd say that the line 190 should read source lib/ProMC/setup.sh with three capitalized letters.

comment:2 by Pavel Demin, 10 years ago

A correction to my previous comment.

Actually, I can't find neither lib/promc/setup.sh nor lib/ProMC/setup.sh in my FastHepSim directory.

So, I'm stuck with the FastHepSim installation and I can't reproduce the problem.

comment:3 by Pavel Demin, 10 years ago

Looking at the Makefiles, I see that you are building libDelphes-static.a in libraries/cmt/Makefile and then linking analysis.cc against this static library.

I'd say that the easiest solution would be to modify analysis/Makefile and replace:

LIBS         += -L$(FASTSIM)/libraries/lib/delphes -lDelphes-static

with

LIBS         += -Wl,-rpath,$(DELPHES) -L$(DELPHES) -lDelphes

I can't test it right now because of the FastHepSim installation problem that I described in my previous comments.

comment:4 by Pavel Demin, 10 years ago

Resolution: fixed
Status: newclosed

I've built FastHepSim on lxplus and tested the solution from my previous comment.

With the -Wl,-rpath,$(DELPHES) -L$(DELPHES) -lDelphes flags, the analysis.cc program can be compiled and runs without any problem.

Closing this ticket.

Note: See TracTickets for help on using tickets.