From 2c02988afeb55ebc51bdd79fe1a9971c913645a4 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Fri, 9 Mar 2012 16:52:37 -0500 Subject: [PATCH] A start of a Hall C specific decoder --- Makefile | 3 ++- src/HallC_LinkDef.h | 1 + src/THcCodaDecoder.cxx | 10 ++++++++++ src/THcCodaDecoder.h | 19 +++++++++++++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/THcCodaDecoder.cxx create mode 100644 src/THcCodaDecoder.h diff --git a/Makefile b/Makefile index 8db4341..30f7d0f 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ # there must be a corresponding header file (*.h). -SRC = src/THcInterface.cxx src/THcParmList.cxx src/THcCrateMap.cxx +SRC = src/THcInterface.cxx src/THcParmList.cxx src/THcCrateMap.cxx \ + src/THcCodaDecoder.cxx # Name of your package. # The shared library that will be built will get the name lib$(PACKAGE).so diff --git a/src/HallC_LinkDef.h b/src/HallC_LinkDef.h index 1adde52..e6da1aa 100644 --- a/src/HallC_LinkDef.h +++ b/src/HallC_LinkDef.h @@ -9,5 +9,6 @@ #pragma link C++ class THcInterface+; #pragma link C++ class THcParmList+; #pragma link C++ class THcCrateMap+; +#pragma link C++ class THcCodaDecoder+; #endif diff --git a/src/THcCodaDecoder.cxx b/src/THcCodaDecoder.cxx new file mode 100644 index 0000000..2146945 --- /dev/null +++ b/src/THcCodaDecoder.cxx @@ -0,0 +1,10 @@ +// +// THcCodaDecoder +// +// author Stephen Wood (saw@jlab.org) + +#include "THcCodaDecoder.h" + +using namespace std; + +ClassImp(THcCodaDecoder) diff --git a/src/THcCodaDecoder.h b/src/THcCodaDecoder.h new file mode 100644 index 0000000..d94d749 --- /dev/null +++ b/src/THcCodaDecoder.h @@ -0,0 +1,19 @@ +#ifndef THcCodaDecoder_ +#define THcCodaDecoder_ + +// Hall C version of decoder + +#include "THaCodaDecoder.h" + +class THcCodaDecoder : public THaCodaDecoder { + + public: + + private: + + protected: + ClassDef(THcCodaDecoder,0) // Hall C Coda Decoder + +}; +#endif + -- GitLab