# Using Fasjet Header Files in Root

**URL:** <https://root-forum.cern.ch/t/using-fasjet-header-files-in-root/17254>\
**Category:** ROOT\
**Created:** [February 21, 2014, 1:09pm UTC](https://root-forum.cern.ch/t/using-fasjet-header-files-in-root/17254 "2014-02-21T13:09:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [February 26, 2014, 9:04pm UTC](https://root-forum.cern.ch/t/using-fasjet-header-files-in-root/17254/4 "2014-02-26T21:04:24Z")

</div>

[quote]Regarding your suggestion in my another post ([[How to call external libraries](https://root-forum.cern.ch/t/how-to-call-external-libraries/10845/1) , I did not exactly understand what you mean by _after_ ‘actual declaration’? Does it mean including pragma after #include [/quote]I somewhat mis-read your code snipped and guessed (wrong) that fastjet::PseudoJet was declare later in the same file. In that case it looks like all you were missing was the proper #include before the #pragma:[code]#include   
#include \<iostream.h\>  
#include   
#include “TString.h”  
#include “fastjet/PseudoJet.hh”  
#include “fastjet/ClusterSequence.hh”  
#include “fastjet/Selector.hh”

#ifdef **CINT**

#pragma link off all globals;  
#pragma link off all classes;  
#pragma link off all functions;  
#pragma link C++ nestedclasses;  
#pragma link C++ class fastjet::PseudoJet+;  
#pragma link C++ class std::vectorfastjet::PseudoJet+;

#endif  
…[/code]

Cheers,  
Philippe.

---

_[View the full topic](https://root-forum.cern.ch/t/using-fasjet-header-files-in-root/17254)._
