fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 kaflt.h - description 00003 ------------------- 00004 begin : Mo Jul 11 2005 00005 copyright : (C) 2005 by 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KAFLT_H 00019 #define KAFLT_H 00020 00021 00022 #include <katrinhw/kafltdef.h> 00023 00024 #include <Hw/subrackboard.h> 00025 00026 #include <Hw/FltRegister.h> 00027 #include <Hw/FltPixRegister.h> 00028 #include <Hw/FltMemory.h> 00029 #include <katrinhw/kafltcontrolstatusreg.h> 00030 #include <katrinhw/kaflthitratecontrolreg.h> 00031 #include <katrinhw/kaflttriggercontrolreg.h> 00032 #include <katrinhw/kaflttriggermemory.h> 00033 #include <katrinhw/kafltthreshold.h> 00034 00035 class FltRegister; 00036 class FltPixRegister; 00037 class FltPeriphRegister; 00038 class FltMemory; 00039 class KaFltControlStatusReg; 00040 class KaFltHitrateControlReg; 00041 00042 00052 class KaFlt : public SubrackBoard { 00053 public: 00054 KaFlt(int ID); 00055 ~KaFlt(); 00056 00059 bool checkPresence(); 00060 00068 int getHardwareModelVersion(); 00069 00070 00071 KaFltControlStatusReg *cntrlStatus; 00072 FltRegister *timeCounter; 00073 KaFltTriggerControlReg *trigControl; 00074 //FltPixRegister *threshold; 00075 KaFltThreshold *threshold; 00076 KaFltHitrateControlReg *hitrateControl; 00077 FltPixRegister *hitrate; 00078 FltPixRegister *gain; 00079 KaFltTriggerMemory *trigData; 00080 FltPixRegister *trigEnergy; 00081 FltMemory *memory; 00082 00083 00084 00085 }; 00086 00087 #endif