fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/FEdata/Ts4Background.h
Go to the documentation of this file.
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 TS4BACKGROUND_H
00014 #define TS4BACKGROUND_H
00015 
00016 #include <FEdata/TsBackgroundBase.h>
00017 
00018 // --- forward declaration(s)
00019 
00020 #ifndef __CINT__
00021 namespace hw4 {
00022   class SubrackAuger;  // V4
00023 }
00024 #endif // __CINT__
00025 
00026 // Don't allow ROOT CINT the access to the hardware definitions
00027 // This is only a class for writing TFile in this case
00028 #ifdef __CINT__
00029 # define USE_ROOT
00030 #else
00031 # include <FEdata/tsdef.h>
00032 #endif // USE_ROOT
00033 
00034 namespace hw4 {
00035 
00041 class TsBackground : public TsBackgroundBase {
00042 public:
00044   TsBackground();
00046   ~TsBackground();
00047   
00048 #ifndef __CINT__
00049 
00050   int get(SubrackBase *s, int select=0);
00051   
00053   int get(hw4::SubrackAuger *s, int select=0);
00054   
00056   int set(SubrackBase *s, int select=0);
00057   
00059   int set(hw4::SubrackAuger *s, int select=0);
00060 #endif // __CINT__
00061 
00062 #ifdef USE_ROOT
00063   ClassDef(TsBackground,4)
00064 #endif
00065 };
00066 
00067 } // namespace hw4
00068 
00069 #endif // TS4BACKGROUND_H