Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove HROOTxxx.h/.cpp

  • Loading branch information...
commit 8b31869188912bbf511b3dd247f284a934ba3b8a 1 parent 1d76a1d
@wavewave authored
View
13 HFastJet.cabal
@@ -30,21 +30,30 @@ Library
Build-Depends: base>4 && < 5, HROOT > 0.7
Exposed-Modules:
HEP.Jet.FastJet.Class.Deletable
+ HEP.Jet.FastJet.Class.PseudoJet
Other-Modules:
HEP.Jet.FastJet.Class.Deletable.RawType
HEP.Jet.FastJet.Class.Deletable.FFI
HEP.Jet.FastJet.Class.Deletable.Interface
HEP.Jet.FastJet.Class.Deletable.Cast
HEP.Jet.FastJet.Class.Deletable.Implementation
- extra-libraries: stdc++
- Include-dirs: csrc
+ HEP.Jet.FastJet.Class.PseudoJet.RawType
+ HEP.Jet.FastJet.Class.PseudoJet.FFI
+ HEP.Jet.FastJet.Class.PseudoJet.Interface
+ HEP.Jet.FastJet.Class.PseudoJet.Cast
+ HEP.Jet.FastJet.Class.PseudoJet.Implementation
+
+ extra-libraries: stdc++, fastjet, fastjetplugins, fastjettools, siscone, siscone_spherical
+ Include-dirs: csrc, /Users/iankim/mac/usr/include
Install-includes:
addon.h
HFastJetType.h
HFastJetDeletable.h
+ HFastJetPseudoJet.h
C-sources:
csrc/HFastJetDeletable.cpp
+ csrc/HFastJetPseudoJet.cpp
View
25 csrc/HROOTDeletable.cpp
@@ -1,25 +0,0 @@
-
-#include "HROOTDeletable.h"
-
-using namespace std;
-
-template<class ToType, class FromType>
-const ToType* to_const(const FromType* x) {
- return reinterpret_cast<const ToType*>(x);
-}
-
-template<class ToType, class FromType>
-ToType* to_nonconst(FromType* x) {
- return reinterpret_cast<ToType*>(x);
-}
-
-
-
-
-
-
-void dummyDeletable ( void )
-{
-
-}
-
View
32 csrc/HROOTDeletable.h
@@ -1,32 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "HROOTType.h"
-
-
-
-#undef ROOT_DELETABLE_DECLARATIONVIRT
-#define ROOT_DELETABLE_DECLARATIONVIRT(Type) \
-void Type ## _delete ( Type ## _p p )
-
-#undef ROOT_DELETABLE_DECLARATIONNONVIRT
-#define ROOT_DELETABLE_DECLARATIONNONVIRT(Type) \
-
-
-#undef ROOT_DELETABLE_DEFINITIONVIRT
-#define ROOT_DELETABLE_DEFINITIONVIRT(Type)\
-void Type ## _delete ( Type ## _p p )\
-{\
-delete (to_nonconst<Type,Type ## _t>(p)) ; \
-}
-
-#undef ROOT_DELETABLE_DEFINITIONNONVIRT
-#define ROOT_DELETABLE_DEFINITIONNONVIRT(Type)\
-
-
-
-
-#ifdef __cplusplus
-}
-#endif
View
35 csrc/HROOTTClass.cpp
@@ -1,35 +0,0 @@
-#include "HROOTTDictionary.h"
-#include "HROOTTNamed.h"
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-#include "TClass.h"
-#include "HROOTTClass.h"
-
-using namespace std;
-
-template<class ToType, class FromType>
-const ToType* to_const(const FromType* x) {
- return reinterpret_cast<const ToType*>(x);
-}
-
-template<class ToType, class FromType>
-ToType* to_nonconst(FromType* x) {
- return reinterpret_cast<ToType*>(x);
-}
-
-
-
-ROOT_TDICTIONARY_DEFINITIONVIRT(TClass)
-ROOT_TNAMED_DEFINITIONVIRT(TClass)
-ROOT_TOBJECT_DEFINITIONVIRT(TClass)
-ROOT_DELETABLE_DEFINITIONVIRT(TClass)
-
-ROOT_TCLASS_DEFINITIONVIRT(TClass)
-
-ROOT_TCLASS_DEFINITIONNONVIRT(TClass)
-
-void dummyTClass ( void )
-{
-
-}
-
View
42 csrc/HROOTTClass.h
@@ -1,42 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "HROOTType.h"
-
-#include "HROOTTDictionary.h"
-#include "HROOTTNamed.h"
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-
-#undef ROOT_TCLASS_DECLARATIONVIRT
-#define ROOT_TCLASS_DECLARATIONVIRT(Type) \
-
-
-#undef ROOT_TCLASS_DECLARATIONNONVIRT
-#define ROOT_TCLASS_DECLARATIONNONVIRT(Type) \
-
-
-#undef ROOT_TCLASS_DEFINITIONVIRT
-#define ROOT_TCLASS_DEFINITIONVIRT(Type)\
-
-
-#undef ROOT_TCLASS_DEFINITIONNONVIRT
-#define ROOT_TCLASS_DEFINITIONNONVIRT(Type)\
-
-
-ROOT_TDICTIONARY_DECLARATIONVIRT(TClass);
-ROOT_TNAMED_DECLARATIONVIRT(TClass);
-ROOT_TOBJECT_DECLARATIONVIRT(TClass);
-ROOT_DELETABLE_DECLARATIONVIRT(TClass);
-
-
-ROOT_TCLASS_DECLARATIONVIRT(TClass);
-
-
-ROOT_TCLASS_DECLARATIONNONVIRT(TClass);
-
-
-#ifdef __cplusplus
-}
-#endif
View
31 csrc/HROOTTDictionary.cpp
@@ -1,31 +0,0 @@
-#include "HROOTTNamed.h"
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-#include "TDictionary.h"
-#include "HROOTTDictionary.h"
-
-using namespace std;
-
-template<class ToType, class FromType>
-const ToType* to_const(const FromType* x) {
- return reinterpret_cast<const ToType*>(x);
-}
-
-template<class ToType, class FromType>
-ToType* to_nonconst(FromType* x) {
- return reinterpret_cast<ToType*>(x);
-}
-
-
-
-ROOT_TNAMED_DEFINITIONVIRT(TDictionary)
-ROOT_TOBJECT_DEFINITIONVIRT(TDictionary)
-ROOT_DELETABLE_DEFINITIONVIRT(TDictionary)
-
-
-
-void dummyTDictionary ( void )
-{
-
-}
-
View
40 csrc/HROOTTDictionary.h
@@ -1,40 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "HROOTType.h"
-
-#include "HROOTTNamed.h"
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-
-#undef ROOT_TDICTIONARY_DECLARATIONVIRT
-#define ROOT_TDICTIONARY_DECLARATIONVIRT(Type) \
-
-
-#undef ROOT_TDICTIONARY_DECLARATIONNONVIRT
-#define ROOT_TDICTIONARY_DECLARATIONNONVIRT(Type) \
-
-
-#undef ROOT_TDICTIONARY_DEFINITIONVIRT
-#define ROOT_TDICTIONARY_DEFINITIONVIRT(Type)\
-
-
-#undef ROOT_TDICTIONARY_DEFINITIONNONVIRT
-#define ROOT_TDICTIONARY_DEFINITIONNONVIRT(Type)\
-
-
-ROOT_TNAMED_DECLARATIONVIRT(TDictionary);
-ROOT_TOBJECT_DECLARATIONVIRT(TDictionary);
-ROOT_DELETABLE_DECLARATIONVIRT(TDictionary);
-
-
-ROOT_TDICTIONARY_DECLARATIONVIRT(TDictionary);
-
-
-ROOT_TDICTIONARY_DECLARATIONNONVIRT(TDictionary);
-
-
-#ifdef __cplusplus
-}
-#endif
View
31 csrc/HROOTTNamed.cpp
@@ -1,31 +0,0 @@
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-#include "TNamed.h"
-#include "HROOTTNamed.h"
-
-using namespace std;
-
-template<class ToType, class FromType>
-const ToType* to_const(const FromType* x) {
- return reinterpret_cast<const ToType*>(x);
-}
-
-template<class ToType, class FromType>
-ToType* to_nonconst(FromType* x) {
- return reinterpret_cast<ToType*>(x);
-}
-
-
-
-ROOT_TOBJECT_DEFINITIONVIRT(TNamed)
-ROOT_DELETABLE_DEFINITIONVIRT(TNamed)
-
-ROOT_TNAMED_DEFINITIONVIRT(TNamed)
-
-ROOT_TNAMED_DEFINITIONNONVIRT(TNamed)
-
-void dummyTNamed ( void )
-{
-
-}
-
View
55 csrc/HROOTTNamed.h
@@ -1,55 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "HROOTType.h"
-
-#include "HROOTTObject.h"
-#include "HROOTDeletable.h"
-
-#undef ROOT_TNAMED_DECLARATIONVIRT
-#define ROOT_TNAMED_DECLARATIONVIRT(Type) \
-void Type ## _SetName ( Type ## _p p, const char * name ); \
-void Type ## _SetNameTitle ( Type ## _p p, const char * name, const char * title ); \
-void Type ## _SetTitle ( Type ## _p p, const char * name )
-
-#undef ROOT_TNAMED_DECLARATIONNONVIRT
-#define ROOT_TNAMED_DECLARATIONNONVIRT(Type) \
-Type ## _p Type ## _newTNamed ( const char * name, const char * title )
-
-#undef ROOT_TNAMED_DEFINITIONVIRT
-#define ROOT_TNAMED_DEFINITIONVIRT(Type)\
-void Type ## _SetName ( Type ## _p p, const char * name )\
-{\
-to_nonconst<Type,Type ## _t>(p)->SetName(name);\
-}\
-void Type ## _SetNameTitle ( Type ## _p p, const char * name, const char * title )\
-{\
-to_nonconst<Type,Type ## _t>(p)->SetNameTitle(name, title);\
-}\
-void Type ## _SetTitle ( Type ## _p p, const char * name )\
-{\
-to_nonconst<Type,Type ## _t>(p)->SetTitle(name);\
-}
-
-#undef ROOT_TNAMED_DEFINITIONNONVIRT
-#define ROOT_TNAMED_DEFINITIONNONVIRT(Type)\
-Type ## _p Type ## _newTNamed ( const char * name, const char * title )\
-{\
-Type * newp = new Type (name, title); \
-return to_nonconst<Type ## _t, Type >(newp);\
-}
-
-ROOT_TOBJECT_DECLARATIONVIRT(TNamed);
-ROOT_DELETABLE_DECLARATIONVIRT(TNamed);
-
-
-ROOT_TNAMED_DECLARATIONVIRT(TNamed);
-
-
-ROOT_TNAMED_DECLARATIONNONVIRT(TNamed);
-
-
-#ifdef __cplusplus
-}
-#endif
View
29 csrc/HROOTTObject.cpp
@@ -1,29 +0,0 @@
-#include "HROOTDeletable.h"
-#include "TObject.h"
-#include "HROOTTObject.h"
-
-using namespace std;
-
-template<class ToType, class FromType>
-const ToType* to_const(const FromType* x) {
- return reinterpret_cast<const ToType*>(x);
-}
-
-template<class ToType, class FromType>
-ToType* to_nonconst(FromType* x) {
- return reinterpret_cast<ToType*>(x);
-}
-
-
-
-ROOT_DELETABLE_DEFINITIONVIRT(TObject)
-
-ROOT_TOBJECT_DEFINITIONVIRT(TObject)
-
-ROOT_TOBJECT_DEFINITIONNONVIRT(TObject)
-
-void dummyTObject ( void )
-{
-
-}
-
View
78 csrc/HROOTTObject.h
@@ -1,78 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "HROOTType.h"
-
-#include "HROOTDeletable.h"
-
-#undef ROOT_TOBJECT_DECLARATIONVIRT
-#define ROOT_TOBJECT_DECLARATIONVIRT(Type) \
-void Type ## _Draw ( Type ## _p p, const char * option ); \
-TObject_p Type ## _FindObject ( Type ## _p p, const char * name ); \
-const char * Type ## _GetName ( Type ## _p p ); \
-TClass_p Type ## _IsA ( Type ## _p p ); \
-void Type ## _Paint ( Type ## _p p, const char * option ); \
-void Type ## _printObj ( Type ## _p p, const char * option ); \
-void Type ## _SaveAs ( Type ## _p p, const char * filename, const char * option ); \
-int Type ## _Write ( Type ## _p p, const char * name, int option, int bufsize )
-
-#undef ROOT_TOBJECT_DECLARATIONNONVIRT
-#define ROOT_TOBJECT_DECLARATIONNONVIRT(Type) \
-Type ## _p Type ## _newTObject ( )
-
-#undef ROOT_TOBJECT_DEFINITIONVIRT
-#define ROOT_TOBJECT_DEFINITIONVIRT(Type)\
-void Type ## _Draw ( Type ## _p p, const char * option )\
-{\
-to_nonconst<Type,Type ## _t>(p)->Draw(option);\
-}\
-TObject_p Type ## _FindObject ( Type ## _p p, const char * name )\
-{\
-return to_nonconst<TObject_t,TObject>((TObject*)to_nonconst<Type,Type ## _t>(p)->FindObject(name));\
-}\
-const char * Type ## _GetName ( Type ## _p p )\
-{\
-return to_nonconst<Type,Type ## _t>(p)->GetName();\
-}\
-TClass_p Type ## _IsA ( Type ## _p p )\
-{\
-return to_nonconst<TClass_t,TClass>((TClass*)to_nonconst<Type,Type ## _t>(p)->IsA());\
-}\
-void Type ## _Paint ( Type ## _p p, const char * option )\
-{\
-to_nonconst<Type,Type ## _t>(p)->Paint(option);\
-}\
-void Type ## _printObj ( Type ## _p p, const char * option )\
-{\
-to_nonconst<Type,Type ## _t>(p)->Print(option);\
-}\
-void Type ## _SaveAs ( Type ## _p p, const char * filename, const char * option )\
-{\
-to_nonconst<Type,Type ## _t>(p)->SaveAs(filename, option);\
-}\
-int Type ## _Write ( Type ## _p p, const char * name, int option, int bufsize )\
-{\
-return to_nonconst<Type,Type ## _t>(p)->Write(name, option, bufsize);\
-}
-
-#undef ROOT_TOBJECT_DEFINITIONNONVIRT
-#define ROOT_TOBJECT_DEFINITIONNONVIRT(Type)\
-Type ## _p Type ## _newTObject ( )\
-{\
-Type * newp = new Type (); \
-return to_nonconst<Type ## _t, Type >(newp);\
-}
-
-ROOT_DELETABLE_DECLARATIONVIRT(TObject);
-
-
-ROOT_TOBJECT_DECLARATIONVIRT(TObject);
-
-
-ROOT_TOBJECT_DECLARATIONNONVIRT(TObject);
-
-
-#ifdef __cplusplus
-}
-#endif
View
24 csrc/HROOTType.h
@@ -1,24 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef __HROOTTYPE__
-#define __HROOTTYPE__
-
-#undef ROOT_TYPE_DECLARATION
-#define ROOT_TYPE_DECLARATION(Type) \
-typedef struct Type ##_tag Type ## _t; \
-typedef Type ## _t * Type ## _p; \
-typedef Type ## _t const* const_ ## Type ## _p
-
-ROOT_TYPE_DECLARATION(Deletable);
-ROOT_TYPE_DECLARATION(TObject);
-ROOT_TYPE_DECLARATION(TClass);
-ROOT_TYPE_DECLARATION(TDictionary);
-ROOT_TYPE_DECLARATION(TNamed);
-
-#endif __HROOTTYPE__
-
-#ifdef __cplusplus
-}
-#endif
Please sign in to comment.
Something went wrong with that request. Please try again.