ARA ROOT v3.8 Software

AraEvent/AtriSensorHkData.h

00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef ATRISENSORHKDATA_H
00010 #define ATRISENSORHKDATA_H
00011 
00012 //Includes
00013 #include <TObject.h>
00014 #include "araSoft.h"
00015 #include "araAtriStructures.h"
00016 #include "RawAraGenericHeader.h"
00017 
00019 
00023 class AtriSensorHkData: public RawAraGenericHeader, public TObject
00024 {
00025  public:
00026    AtriSensorHkData(); 
00027    AtriSensorHkData(AraSensorHk_t *theHk); 
00028    ~AtriSensorHkData(); 
00029 
00030    ULong64_t unixTime; 
00031    UInt_t unixTimeUs; 
00032 
00033    
00034    UChar_t atriVoltage; 
00035    UChar_t atriCurrent; 
00036    UShort_t ddaTemp[DDA_PER_ATRI]; 
00037    UShort_t tdaTemp[TDA_PER_ATRI]; 
00038    UInt_t ddaVoltageCurrent[DDA_PER_ATRI]; 
00039    UInt_t tdaVoltageCurrent[DDA_PER_ATRI]; 
00040 
00041    Double_t getDdaVoltage(Int_t dda); 
00042    Double_t getDdaCurrent(Int_t dda); 
00043    Double_t getTdaVoltage(Int_t tda); 
00044    Double_t getTdaCurrent(Int_t tda); 
00045    
00046    Double_t getDdaTemp(Int_t dda); 
00047    Double_t getTdaTemp(Int_t tda); 
00048    
00049    Double_t getAtriVoltage() {return 0.065*atriVoltage;}
00050    Double_t getAtriCurrent() {return (0.151/2)*atriCurrent;}
00051 
00052 
00053    ClassDef(AtriSensorHkData,1);
00054 };
00055 
00056 
00057 #endif //ATRISENSORHKDATA

Generated on Mon Jun 3 14:59:46 2013 for ARA ROOT v3.8 Software by doxygen 1.4.7