ARA ROOT v3.13 Software

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     kNotAPol = 3
00039   } AraAntPol_t;
00040   const char *antPolAsString(AraAntPol::AraAntPol_t antPol); 
00041 }
00042 
00043 namespace AraDaqChanType {
00044   typedef enum EAraDaqChanType {
00045     kDisconeChan =1,
00046     kBatwingChan =2
00047   } AraDaqChanType_t;
00048 }
00049 
00050 namespace AraLabChip {
00051   typedef enum EAraLabChip {
00052     kA = 0,
00053     kB = 1,
00054     kC = 2
00055   } AraLabChip_t;
00056   const char *labChipAsString(AraLabChip::AraLabChip_t labChip);
00057 }
00058 
00059 namespace AraAntDir {
00060   typedef enum EAraAntDir {
00061     kReceiver = 1,
00062     kTransmitter = 2
00063   } AraAntDir_t;
00064 }
00065     
00066 
00067 //JPD Depricated
00068 /* namespace AraSurfaceOrientation { */
00069 /*   typedef enum EAraSurfaceOrientation { */
00070 /*     kNorthSouth =1, */
00071 /*     kEastWest =2 */
00072 /*   } AraSurfaceOrientation_t; */
00073 /* } */
00074 
00076 
00082 class AraAntennaInfo: public TObject
00083 {
00084  public:
00085    AraAntennaInfo(); 
00086    ~AraAntennaInfo(); 
00087 
00088    void printAntennaInfoIcrr();
00089    void printAntennaInfoAtri();
00090    const char *getDaqBoxChan();
00091 
00092    const char *getRFChanName();
00093 
00094    Double_t getCableDelay() {return cableDelay;}  
00095    Double_t *getLocationXYZ() {return antLocation;}  
00096    Double_t *getLocationENU() { return antLocationArray;}
00097    void fillArrayCoords();
00098 
00099    Int_t getTrigChan() { return daqTrigChan;}
00100 
00101 
00102    AraStationId_t fStationId;
00103 
00104    //ICRR Specific Numbers
00105 
00106    AraDaqChanType::AraDaqChanType_t daqChanType;
00107    Int_t numLabChans;
00108    AraLabChip::AraLabChip_t labChip;
00109    Int_t labChans[2]; 
00110    Int_t isDiplexed; 
00111    Int_t diplexedChans[2]; 
00112    Int_t preAmpNum;
00113    Int_t rcvrNum;
00114 
00115    char locationName[4];
00116    Double_t antLocationArray[3]; 
00117    AraAntDir::AraAntDir_t antDir; 
00118 
00119    Double_t debugHolePosition[3]; 
00120    Double_t debugPreAmpDz; 
00121    Double_t debugHolePositionZft; 
00122    Double_t debugHolePositionZm; 
00123    Double_t debugTrueAsBuiltPositon[3]; 
00124    Double_t debugCableDelay2; //in ns
00125    Double_t debugFeedPointDelay; //in ns
00126    Double_t debugTotalCableDelay; //in ns
00127      
00128 
00129 
00130 
00131    //ATRI & ICRR -- Common data types
00132    Int_t chanNum; 
00133    AraAntPol::AraAntPol_t polType; 
00134    Int_t antPolNum; 
00135 
00136    Int_t daqChanNum; 
00137    Int_t daqTrigChan; 
00138    Int_t foamId; 
00139    Int_t foamChanNum; 
00140    AraAntType::AraAntType_t antType; 
00141 
00142    Double_t antLocation[3]; 
00143    Double_t calibAntLocation[3]; //< x,y,z in m from calibration
00144    Double_t cableDelay; 
00145    Double_t calibCableDelay; 
00146 
00147 
00148    Double_t antOrient[3]; 
00149 
00150    Double_t highPassFilterMhz; 
00151    Double_t lowPassFilterMhz; 
00152 
00153    Double_t avgNoiseFigure; 
00154 
00155    //RJN change to fix bug
00156    char designator[12]; 
00157 
00158    //ATRI -- new data
00159    char holeName[6];
00160    char antName[6];
00161    
00162 
00163 
00164    //More information 
00165    
00166    
00167 
00168 
00169 
00170   ClassDef(AraAntennaInfo,1);
00171 };
00172 
00173 
00174 #endif //ARAANTENNAINFO_H

Generated on Mon Dec 9 13:20:21 2013 for ARA ROOT v3.13 Software by doxygen 1.4.7