]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGJE/EMCALJetTasks/AliJetShape.h
Compilation with Root6
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / AliJetShape.h
1 #ifndef AliJetShape_H
2 #define AliJetShape_H
3
4 // $Id$
5
6 #include <vector>
7 #include <TString.h>
8 #include "fastjet/PseudoJet.hh"
9 #ifdef FASTJET_VERSION
10 #include "fastjet/FunctionOfPseudoJet.hh"
11 #endif
12
13 #ifdef FASTJET_VERSION
14 class AliJetShapeMass : public fastjet::FunctionOfPseudoJet<Double32_t>
15 {
16  public:
17   virtual std::string description() const{return "jet mass";}
18   Double32_t result(const fastjet::PseudoJet &jet) const{ return jet.m();}
19 };
20 #endif
21 #endif