ARA ROOT Test BEd 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 
00020 
00025 namespace AraAntType {
00026   typedef enum EAraAntType {
00027     kBicone = 1,
00028     kBowtieSlot = 2,
00029     kDiscone = 3,
00030     kBatwing = 4,
00031     kFatDipole =5,
00032     kQuadSlot = 6
00033   } AraAntType_t;
00034   const char *antTypeAsString(AraAntType::AraAntType_t antType); 
00035 
00036 }
00037 
00038 namespace AraAntPol {
00039   typedef enum EAraAntPol {
00040     kVertical = 0,
00041     kHorizontal = 1,
00042     kSurface = 2
00043   } AraAntPol_t;
00044   const char *antPolAsString(AraAntPol::AraAntPol_t antPol); 
00045 }
00046 
00047 namespace AraDaqChanType {
00048   typedef enum EAraDaqChanType {
00049     kDisconeChan =1,
00050     kBatwingChan =2
00051   } AraDaqChanType_t;
00052 }
00053 
00054 namespace AraLabChip {
00055   typedef enum EAraLabChip {
00056     kA = 0,
00057     kB = 1,
00058     kC = 2
00059   } AraLabChip_t;
00060   const char *labChipAsString(AraLabChip::AraLabChip_t labChip);
00061 }
00062 
00063 namespace AraAntDir {
00064   typedef enum EAraAntDir {
00065     kReceiver = 1,
00066     kTransmitter = 2
00067   } AraAntDir_t;
00068 }
00069     
00070 namespace AraSurfaceOrientation {
00071   typedef enum EAraSurfaceOrientation {
00072     kNorthSouth =1,
00073     kEastWest =2
00074   } AraSurfaceOrientation_t;
00075 }
00076 
00077 class AraAntennaInfo: public TObject
00078 {
00079  public:
00080    AraAntennaInfo(); 
00081    ~AraAntennaInfo(); 
00082 
00083    void printAntennaInfo();
00084    const char *getDaqBoxChan();
00085    Int_t chanNum;
00086    AraDaqChanType::AraDaqChanType_t daqChanType;
00087    Int_t daqChanNum;
00088    Double_t highPassFilterMhz;
00089    Double_t lowPassFilterMhz;
00090    Int_t daqTrigChan;
00091    Int_t numLabChans;
00092    AraLabChip::AraLabChip_t labChip;
00093    Int_t labChans[2]; 
00094    Int_t isDiplexed; 
00095    Int_t diplexedChans[2]; 
00096 
00097 
00098    Int_t preAmpNum;
00099    Double_t avgNoiseFigure;
00100    Int_t rcvrNum;
00101    char designator[3];
00102    Int_t antPolNum;
00103    AraAntType::AraAntType_t antType;
00104    AraAntPol::AraAntPol_t polType;
00105    char locationName[4];
00106    Double_t antLocation[3]; 
00107    Double_t cableDelay; 
00108    AraAntDir::AraAntDir_t antDir;
00109    AraSurfaceOrientation::AraSurfaceOrientation_t antOrient; 
00110    
00111    Double_t debugHolePosition[3]; 
00112    Double_t debugPreAmpDz; 
00113    Double_t debugHolePositionZft; 
00114    Double_t debugHolePositionZm; 
00115    Double_t debugTrueAsBuiltPositon[3]; 
00116    Double_t debugCableDelay2; //in ns
00117    Double_t debugFeedPointDelay; //in ns
00118    Double_t debugTotalCableDelay; //in ns
00119      
00120        
00121 
00122   ClassDef(AraAntennaInfo,1);
00123 };
00124 
00125 
00126 #endif //ARAANTENNAINFO_H

Generated on Wed Aug 8 16:20:07 2012 for ARA ROOT Test Bed Software by doxygen 1.4.7