AraEvent/AraAntennaInfo.h
00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef ARAANTENNAINFO_H 00010 #define ARAANTENNAINFO_H 00011 00012 //Includes 00013 #include <TObject.h> 00014 #include "araIcrrStructures.h" 00015 #include "araIcrrDefines.h" 00016 #include "RawIcrrStationEvent.h" 00017 #include "AraEventCalibrator.h" 00018 00019 00020 namespace AraAntType { 00021 typedef enum EAraAntType { 00022 kBicone = 1, 00023 kBowtieSlot = 2, 00024 kDiscone = 3, 00025 kBatwing = 4, 00026 kFatDipole =5, 00027 kQuadSlot = 6 00028 } AraAntType_t; 00029 const char *antTypeAsString(AraAntType::AraAntType_t antType); 00030 00031 } 00032 00033 namespace AraAntPol { 00034 typedef enum EAraAntPol { 00035 kVertical = 0, 00036 kHorizontal = 1, 00037 kSurface = 2 00038 } AraAntPol_t; 00039 const char *antPolAsString(AraAntPol::AraAntPol_t antPol); 00040 } 00041 00042 namespace AraDaqChanType { 00043 typedef enum EAraDaqChanType { 00044 kDisconeChan =1, 00045 kBatwingChan =2 00046 } AraDaqChanType_t; 00047 } 00048 00049 namespace AraLabChip { 00050 typedef enum EAraLabChip { 00051 kA = 0, 00052 kB = 1, 00053 kC = 2 00054 } AraLabChip_t; 00055 const char *labChipAsString(AraLabChip::AraLabChip_t labChip); 00056 } 00057 00058 namespace AraAntDir { 00059 typedef enum EAraAntDir { 00060 kReceiver = 1, 00061 kTransmitter = 2 00062 } AraAntDir_t; 00063 } 00064 00065 00066 //JPD Depricated 00067 /* namespace AraSurfaceOrientation { */ 00068 /* typedef enum EAraSurfaceOrientation { */ 00069 /* kNorthSouth =1, */ 00070 /* kEastWest =2 */ 00071 /* } AraSurfaceOrientation_t; */ 00072 /* } */ 00073 00075 00081 class AraAntennaInfo: public TObject 00082 { 00083 public: 00084 AraAntennaInfo(); 00085 ~AraAntennaInfo(); 00086 00087 void printAntennaInfo(); 00088 const char *getDaqBoxChan(); 00089 Int_t chanNum; 00090 AraDaqChanType::AraDaqChanType_t daqChanType; 00091 Int_t daqChanNum; 00092 Double_t highPassFilterMhz; 00093 Double_t lowPassFilterMhz; 00094 Int_t daqTrigChan; 00095 Int_t numLabChans; 00096 AraLabChip::AraLabChip_t labChip; 00097 Int_t labChans[2]; 00098 Int_t isDiplexed; 00099 Int_t diplexedChans[2]; 00100 00101 00102 Int_t preAmpNum; 00103 Double_t avgNoiseFigure; 00104 Int_t rcvrNum; 00105 char designator[3]; 00106 Int_t antPolNum; 00107 AraAntType::AraAntType_t antType; 00108 AraAntPol::AraAntPol_t polType; 00109 char locationName[4]; 00110 Double_t antLocation[3]; 00111 Double_t cableDelay; 00112 AraAntDir::AraAntDir_t antDir; 00113 // JPD depricated - now using an array of doubles 00114 // AraSurfaceOrientation::AraSurfaceOrientation_t antOrient; ///<Only for surface antennas 00115 Double_t antOrient[3]; 00116 00117 Double_t debugHolePosition[3]; 00118 Double_t debugPreAmpDz; 00119 Double_t debugHolePositionZft; 00120 Double_t debugHolePositionZm; 00121 Double_t debugTrueAsBuiltPositon[3]; 00122 Double_t debugCableDelay2; //in ns 00123 Double_t debugFeedPointDelay; //in ns 00124 Double_t debugTotalCableDelay; //in ns 00125 00126 00127 00128 ClassDef(AraAntennaInfo,1); 00129 }; 00130 00131 00132 #endif //ARAANTENNAINFO_H
Generated on Mon Mar 18 16:04:45 2013 for ARA ROOT v3.6 Software by
