Opened 10 years ago
Last modified 10 years ago
#536 new Bug
Error on examples 4 and display
Reported by: | Bryan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description (last modified by )
I am just starting out with Delphes, so I am probably making an easy mistake. Following through the README, I was able to install Delphes and run the first 3 examples. However, examples 4 and the event display do not seem to work. Specifically for the event display, when I enter
root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","delphes_output.root")'
I get out
Processing examples/EventDisplay.C("cards/delphes_card_CMS.tcl","delphes_output.root")... Error in <TUnixSystem::DynamicPathName>: libDelphesDisplay[.so | .dll | .dylib | .sl | .dl | .a] does not exist in :/Users/Bryan/Tools/root/lib:/Users/Bryan/Tools/root/lib::/Users/Bryan/Tools/root/lib::.:/Users/Bryan/Tools/root/lib/root::/Users/Bryan/Tools/root/lib/root/cint/cint/stl Info in <TGeoManager::TGeoManager>: Geometry delphes, Delphes geometry created Warning in <TGeoManager::Init>: Deleting previous geometry: delphes/Delphes geometry Info in <TGeoManager::TGeoManager>: Geometry delphes, Delphes geometry created Error: Invalid type 'Delphes3DGeometry' in declaration of 'det3D' examples/EventDisplay.C:34: Error: Function Delphes3DGeometry det3D(new TGeoManager("delphes","Delphes geometry"),true) is not defined in current scope examples/EventDisplay.C:34: *** Interpreter error recovered ***
It seems that it cannot find libDelphesDisplay, but is looking for it in the rootpath directory. Looking through the Delphes directory, a library called libDelphesDisplay.
Any suggestions on what I am doing wrong?
Change History (4)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
follow-up: 4 comment:3 by , 10 years ago
As an intermediate solution, could you remove loadFromFile and save methods from display/Delphes3DGeometry.h and then rerun the two commands?
make display root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","delphes_output.root")'
comment:4 by , 10 years ago
Replying to pavel:
As an intermediate solution, could you remove loadFromFile and save methods from display/Delphes3DGeometry.h and then rerun the two commands?
make display root -l examples/EventDisplay.C'("cards/delphes_card_CMS.tcl","delphes_output.root")'
This fixed the problem and the event display now works correctly.
I've just tried to run the event display following the instructions at
https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/EventDisplay
and I have some quite differenet problems.
I'm using MacOSX 10.10, ROOT 5.34.28 and Delphes 3.2.0.
The commands are
The first command produce the following error:
The fix is to remove the unimplemented loadFromFile and save methods from Delphes3DGeometry.h. This fix is already in the source code repository.
The second command produces the following error:
but event display appears and seems to work.