PAC-Suite 2.0(r200)
|
00001 /*************************************************************************** 00002 * Copyright (C) 2008 by Matthias Nagl * 00003 * mnagl@uni-goettingen.de * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 #ifndef PACDATATYPES_H 00022 #define PACDATATYPES_H 00023 00024 namespace Pac { 00025 00026 enum NetMsgType { 00027 RequestNodeSetup = 1, 00028 NodeSetupProperty = 2, 00029 ChangedNodeSetupProperty = 3, 00030 NodeSetupChangeConfirmation = 4, 00031 LookForOffsetSignal = 5, 00032 LookingForOffsetSignal = 6, 00033 FoundOffsetSignal = 7, 00034 InitializeDigitizer = 8, 00035 StartRecording = 9, 00036 StopRecording =10, 00037 EndOfData =11, 00038 Results =12, 00039 WaveformTeaser =13 00040 }; 00041 00043 00044 enum DataFileColumns { 00045 InvalidCol = 0, 00046 EnergyCol = 1, 00047 FirstEnergyCol = 2, 00048 SecondEnergyCol = 3, 00049 TimeCol = 4, 00050 TimeDiffCol = 5, 00051 EventIDCol = 6, 00052 FirstEventIDCol = 7, 00053 SecondEventIDCol = 8, 00054 ThetaCol = 9, 00055 PhiCol =10, 00056 AngDiffCol =11, 00057 NodeIDCol =12, 00058 FirstNodeIDCol =13, 00059 SecondNodeIDCol =14 00060 }; 00061 00063 00064 enum DataFileColumType { 00065 InvalidColType = 0, 00066 QUInt8Col = 1, 00067 QUInt16Col = 2, 00068 QUInt32Col = 3, 00069 QUInt64Col = 4, 00070 QInt8Col = 5, 00071 QInt16Col = 6, 00072 QInt32Col = 7, 00073 QInt64Col = 8, 00074 QRealCol = 9, 00075 FloatCol =10 00076 }; 00077 00079 00080 enum DataFileFlags { 00081 StillRecording = 0x0, 00082 Finalized = 0x1, 00083 ManuallyFinalized = 0x2, 00084 ManuallyMerged = 0x4, 00085 ParametersManuallyModified = 0x8 00086 }; 00087 00088 enum QueueStatus { 00089 EnqueueSuccess, 00090 QueueIsFull 00091 }; 00092 00093 } 00094 00095 #endif 00096 00097 00098