00001 00002 // $Id: RSM.h,v 1.8 2005/01/27 13:12:07 west Exp $ 00003 // 00004 // RSM.h contains the definitions used across many classes in the 00005 // RunSummary package 00006 // 00007 // Author: B. Speakman 2004.09.03 00008 // 00010 #ifndef RSM_H 00011 #define RSM_H 00012 00013 const short SMPLANES = 486; 00014 const short SM1PLANES = 248; 00015 const short SM2PLANES = 236; 00016 const short SMGAP = 1; 00017 00018 const short SMSTRIPS = 192; 00019 const short SHPLANES = 256; 00020 const short SHSTRIPS = 20; 00021 const short SHOFFSET = 512; 00022 00023 const short NVMEBAYS = 8; 00024 const short NFEEBAYS = 16; 00025 00026 const char NCRATE = 16; 00027 const char NVARC = 4; 00028 const char NVMM = 6; 00029 const char NVADC = 2; 00030 const char NVACHIP = 3; 00031 const char NVACHAN = 16; 00032 00033 const char NMF = 8; 00034 const char NBOX = 10; 00035 const char NPMT = 3; 00036 00037 const short MAXSMPLANE = 485; 00038 00039 //Last fardet run before using the new runtypes 00040 const int RUNNUM_NEW_RUNTYPES = 25190; 00041 00042 //Convenient MSG replacements 00043 #include "MessageService/Msg.h" 00044 /* This is how it's probably supposed to be done. I can't get it to 00045 * work and have lost the will to pester coregroup types to make it 00046 * work. 00047 MsgStream& RSMVer = MSGSTREAM("RSM",Msg::kVerbose); 00048 MsgStream& RSMDeb = MSGSTREAM("RSM",Msg::kDebug); 00049 MsgStream& RSMSyn = MSGSTREAM("RSM",Msg::kSynopsis); 00050 MsgStream& RSMInf = MSGSTREAM("RSM",Msg::kInfo); 00051 MsgStream& RSMWar = MSGSTREAM("RSM",Msg::kWarning); 00052 MsgStream& RSMErr = MSGSTREAM("RSM",Msg::kError); 00053 MsgStream& RSMFat = MSGSTREAM("RSM",Msg::kFatal); 00054 */ 00055 #define RSMVer MSG("RSM",Msg::kVerbose) 00056 #define RSMDeb MSG("RSM",Msg::kDebug) 00057 #define RSMSyn MSG("RSM",Msg::kSynopsis) 00058 #define RSMInf MSG("RSM",Msg::kInfo) 00059 #define RSMWar MSG("RSM",Msg::kWarning) 00060 #define RSMErr MSG("RSM",Msg::kError) 00061 #define RSMFat MSG("RSM",Msg::kFatal) 00062 00063 #endif //RSM_H