fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 tsbackground.h - description 00003 00004 begin : Sat Jun 16 2001 00005 copyright : (C) 2001 by A Kopmann 00006 email : kopmann@hpe.fzk.de 00007 status : 00008 test : 00009 history : 00010 ***************************************************************************/ 00011 00012 00013 #ifndef TSBACKGROUND_H 00014 #define TSBACKGROUND_H 00015 00016 #include <FEdata/TsBackgroundBase.h> 00017 00018 // --- forward declaration(s) 00019 00020 #ifndef __CINT__ 00021 class Subrack; // V3 00022 #endif // __CINT__ 00023 00024 // Don't allow ROOT CINT the access to the hardware definitions 00025 // This is only a class for writing TFile in this case 00026 #ifdef __CINT__ 00027 # define USE_ROOT 00028 #else 00029 # include <FEdata/tsdef.h> 00030 #endif // USE_ROOT 00031 00037 class TsBackground : public TsBackgroundBase { 00038 public: 00040 TsBackground() {} 00042 ~TsBackground() {} 00043 00044 #ifndef __CINT__ 00045 00046 int get(SubrackBase *s, int select=0); 00047 00049 int get(Subrack *s, int select=0); 00050 00052 int set(SubrackBase *s, int select=0); 00053 00055 int set(Subrack *s, int select=0); 00056 #endif // __CINT__ 00057 00058 #ifdef USE_ROOT 00059 ClassDef(TsBackground,4) 00060 #endif 00061 }; 00062 00063 #endif // TSBACKGROUND_H