ATLAS Offline Software
Jet_PseudoJet.icc
Go to the documentation of this file.
1 // this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // Jet_PseudoJet.icc
8 
9 // David Adams
10 // January 2014
11 //
12 // Sources using Jet::setPseudoJet should include this header AND
13 // the JetEDM/FastJetLink.h header
14 //
15 #ifndef jet_Jet_PseudoJet_ICC
16 #define jet_Jet_PseudoJet_ICC
17 
18 
19 
20 
21 template<class PSEUDOJET>
22 void xAOD::Jet::setPseudoJet(const PSEUDOJET* ppj) {
23  m_fastJetLink = new FastJetLink( *ppj );
24  // m_pseudoJet = 0;
25  // if ( ppj == 0 ) return;
26  // const fastjet::ClusterSequence* pcs = ppj->associated_cluster_sequence();
27  // if ( pcs == 0 ) return;
28  // int ich = ppj->cluster_hist_index();
29  // int ipj = pcs->history()[ich].jetp_index;
30  // m_pseudoJet = &pcs->jets()[ipj];
31 }
32 
33 #endif