Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1154 closed How to (fixed)

Adding new FastJet/contrib to Delphes

Reported by: kwei Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,

I am hoping to add FastJet/contrib/VariableR/ to delphes/external/fastjet/contribs.
https://fastjet.hepforge.org/contrib/contents/latest.html
There is already Njettiness algorithm in there, so I am following the same way as Njettiness.
Here is what I have done:

  1. Copy *.hh in fastjet/contribs
  2. Modify FastJetFinder.cc & FastJetFinder.h and add VariableR jet as case9 in FastJetFinder.cc

When I was trying to compile the modified code. Error messages show as:

tmp/modules/FastJetFinder.o: In function `FastJetFinder::Init()':
FastJetFinder.cc:(.text+0xd41): undefined reference to `fastjet::contrib::VariableRPlugin::VariableRPlugin(double, double, double, double, bool, fastjet::contrib::VariableRPlugin::Strategy)'
collect2: ERROR:ld RETURN 1
make: * [pileup2root] ERROR 1

It looks like that there is some problems with the link between files.
Is there any more file to modify to add new algorithm in FastJetFinder?
However, is there more convenient way to plug fastjet contribs into Delphes?

Thank you.

Best,
Kai

Attachments (1)

Modified_FastJetFinder.tar.gz (7.3 KB ) - added by kwei 7 years ago.

Download all attachments as: .zip

Change History (3)

by kwei, 7 years ago

comment:1 by kwei, 7 years ago

Problem solved. I need to do configure a second time.

comment:2 by kwei, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.