From 2dfb6111a3aa0de2b86c664e3c8b98745b5cf7dd Mon Sep 17 00:00:00 2001 From: akisiel Date: Fri, 5 Jun 2009 14:39:19 +0000 Subject: [PATCH] Add AliFemtoCorrFctn to CINT --- PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx | 21 +++++++++++++++++++ PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h | 15 +++---------- 2 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx diff --git a/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx b/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx new file mode 100644 index 00000000000..0e25566a517 --- /dev/null +++ b/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx @@ -0,0 +1,21 @@ +//////////////////////////////////////////////////////////////////////////////// +/// AliFemtoCorrFctn - the pure virtual base class for correlation function /// +/// All correlation function classes must inherit from this one /// +//////////////////////////////////////////////////////////////////////////////// +#include "AliFemtoCorrFctn.h" + +void AliFemtoCorrFctn::AddRealPair(AliFemtoPair*) { cout << "Not implemented" << endl; } +void AliFemtoCorrFctn::AddMixedPair(AliFemtoPair*) { cout << "Not implemented" << endl; } + +AliFemtoCorrFctn::AliFemtoCorrFctn(const AliFemtoCorrFctn& /* c */):fyAnalysis(0),fPairCut(0x0) {} +AliFemtoCorrFctn::AliFemtoCorrFctn(): fyAnalysis(0),fPairCut(0x0) {/* no-op */} +void AliFemtoCorrFctn::SetAnalysis(AliFemtoAnalysis* analysis) { fyAnalysis = analysis; } +AliFemtoCorrFctn& AliFemtoCorrFctn::operator=(const AliFemtoCorrFctn& aCorrFctn) { if (this == &aCorrFctn) return *this; fyAnalysis = aCorrFctn.fyAnalysis; fPairCut = aCorrFctn.fPairCut; return *this; } + +void AliFemtoCorrFctn::EventBegin(const AliFemtoEvent* /* aEvent */) { /* no-op */ } +void AliFemtoCorrFctn::EventEnd(const AliFemtoEvent* /* aEvent */) { /* no-op */ } +void AliFemtoCorrFctn::SetPairSelectionCut(AliFemtoPairCut* aCut) { fPairCut = aCut; } + +#ifdef __ROOT__ +ClassImp(AliFemtoCorrFctn) +#endif diff --git a/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h b/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h index 83041fdf634..a8f6e080c49 100644 --- a/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h +++ b/PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h @@ -43,18 +43,9 @@ protected: private: +#ifdef __ROOT__ + ClassDef(AliFemtoCorrFctn, 1) +#endif }; -inline void AliFemtoCorrFctn::AddRealPair(AliFemtoPair*) { cout << "Not implemented" << endl; } -inline void AliFemtoCorrFctn::AddMixedPair(AliFemtoPair*) { cout << "Not implemented" << endl; } - -inline AliFemtoCorrFctn::AliFemtoCorrFctn(const AliFemtoCorrFctn& /* c */):fyAnalysis(0),fPairCut(0x0) {} -inline AliFemtoCorrFctn::AliFemtoCorrFctn(): fyAnalysis(0),fPairCut(0x0) {/* no-op */} -inline void AliFemtoCorrFctn::SetAnalysis(AliFemtoAnalysis* analysis) { fyAnalysis = analysis; } -inline AliFemtoCorrFctn& AliFemtoCorrFctn::operator=(const AliFemtoCorrFctn& aCorrFctn) { if (this == &aCorrFctn) return *this; fyAnalysis = aCorrFctn.fyAnalysis; fPairCut = aCorrFctn.fPairCut; return *this; } - -inline void AliFemtoCorrFctn::EventBegin(const AliFemtoEvent* /* aEvent */) { /* no-op */ } -inline void AliFemtoCorrFctn::EventEnd(const AliFemtoEvent* /* aEvent */) { /* no-op */ } -inline void AliFemtoCorrFctn::SetPairSelectionCut(AliFemtoPairCut* aCut) { fPairCut = aCut; } - #endif -- 2.43.0