Skip to content

Commit

Permalink
PhysicsTools/IsolationAlgos: add missing dependecy on DataFormats/Pat…
Browse files Browse the repository at this point in the history
…Candidates

The plugin is failing to build on CMSSW_7_5_X/AArch64:

    PhysicsToolsIsolationAlgos_plugins/CITKPFIsolationSumProducer.o: In function 'citk::PFIsolationSumProducer::produce(edm::Event&, edm::EventSetup const&)':
    CITKPFIsolationSumProducer.cc:(.text+0x186c): undefined reference to 'pat::PackedCandidate::unpack() const'
    PhysicsToolsIsolationAlgos_plugins/CITKPFIsolationSumProducer.o: In function 'pat::PackedCandidate::pt() const':
    CITKPFIsolationSumProducer.cc:(.text._ZNK3pat15PackedCandidate2ptEv[_ZNK3pat15PackedCandidate2ptEv]+0x18): undefined reference to 'pat::PackedCandidate::unpack() const'

According to LXR `pat::PackedCandidate` is used in 3 files.

http://cmslxr.fnal.gov/ident?v=CMSSW_7_5_X_2015-06-02-2300&_i=PackedCandidate&_remember=1

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
  • Loading branch information
David Abdurachmanov authored and David Abdurachmanov committed Jun 4, 2015
1 parent 3bf4f81 commit c16cdb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PhysicsTools/IsolationAlgos/plugins/BuildFile.xml
Expand Up @@ -3,6 +3,7 @@
<library name="PhysicsToolsIsolationAlgos_plugins" file="*.cc">
<use name="CommonTools/Utils"/>
<use name="DataFormats/Candidate"/>
<use name="DataFormats/PatCandidates"/>
<use name="DataFormats/TauReco"/>
<use name="DataFormats/TrackReco"/>
<use name="PhysicsTools/IsolationAlgos"/>
Expand Down

0 comments on commit c16cdb7

Please sign in to comment.