Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CalibratedHk Class Reference

CalibratedHk – The calibrated housekeeping data. More...

#include <CalibratedHk.h>

Public Member Functions

 CalibratedHk ()
 Default constructor.
 
 ~CalibratedHk ()
 Default destructor.
 
 CalibratedHk (RawHk *hkPtr, RawHk *avzPtr, RawHk *calPtr)
 Assignment constructor... takes the RawHk data along with the zero (avzPtr) and +5V (calPtr) calibration points.
 
Float_t getInternalTemp (int index)
 Returns internal temperature in degrees (0:14)
 
Float_t getSBSTemp (int index)
 Returns SBS temperature in degrees (0:3)
 
Float_t getNTUTemp (int index)
 Returns NTU temperature in degrees (0:3)
 
Float_t getExternalTemp (int index)
 Returns external temperature in degrees (0:24)
 
Float_t getVoltage (int index)
 Returns voltage (0:10)
 
Float_t getCurrent (int index)
 Returns current (0:11)
 
Float_t getPower (int index)
 Returns power (0:5)
 
Float_t getAttitude (int index)
 Returns attitude (0:12)
 
Float_t getPressure (int index)
 Returns pressure (0:1)
 
Float_t getAccelerometer (int acInd, int type)
 Returns accelerometer stuff.
 
Float_t getRawSunsensor (int ssInd, int type)
 Returns raw sunsensor stuff, here type goes x1,x2,y1,y2,T.
 
Float_t getNeobrickTemp ()
 Returns the neobrick temperature.
 
Float_t getNeobrickPres ()
 Returns the neobrick pressure.
 
void getSSMagnitude (int ssInd, Float_t *magnitude, Float_t *magX, Float_t *magY)
 Get sunsensor magnitude.
 
Float_t getSSTemp (int ssInd)
 Get sunsensor temperature.
 
Int_t getSSXRatio (int ssInd, Float_t *xRatio)
 Get sunsensor x-ratio.
 
Int_t getSSYRatio (int ssInd, Float_t *yRatio)
 Get sunsensor y-ratio.
 
Int_t getFancySS (int ssInd, Float_t pos[3], Float_t *azimuth, Float_t *elevation, Float_t *relAzimuth)
 Convert sunsensor data to elevation and azimuth.
 
Float_t getSSAzimuth (int ssInd)
 
Float_t getSSAzimuthAdu5 (int ssInd)
 
Float_t getSSElevation (int ssInd)
 
 ClassDef (CalibratedHk, 11)
 

Static Public Member Functions

static const char * getPowerName (int index)
 Return char string name of power.
 
static const char * getCurrentName (int index)
 Return char string name of current.
 
static const char * getVoltageName (int index)
 Return char string name of voltage.
 
static const char * getExternalTempName (int index)
 Return char string name of external temperature sensor.
 
static const char * getInternalTempName (int index)
 Return char string name of internal temperature sensor.
 
static const char * getSBSTempName (int index)
 Return char string name of SBS temperature sensor.
 
static const char * getNTUTempName (int index)
 Return char string name of SBS temperature sensor.
 
static const char * getAttitudeName (int index)
 Return char string name of attitude sensor.
 
static const char * getSSName (int index)
 Return string name of sun-sensor.
 

Public Attributes

unsigned char gHdr_verId
 
Int_t run
 Assigned offline.
 
UInt_t realTime
 Time in unixTime.
 
UInt_t payloadTime
 Time in unixTime.
 
UInt_t payloadTimeUs
 Sub second time in us.
 
Float_t voltage [3][40]
 Array of voltages.
 
Float_t useful [3][40]
 Array of calibrated temperatures, currents, etc.
 
Float_t magX
 Magnetometer x direction.
 
Float_t magY
 Magnetometer y direction.
 
Float_t magZ
 Magnetometer z direction.
 
Short_t sbsTemp [3]
 The three onboard temperature sensors.
 
Short_t ntuTemp [3]
 The 7 (packed) NTU temperature sensors.
 

Detailed Description

CalibratedHk – The calibrated housekeeping data.

The calibrated housekeeping data.

Definition at line 61 of file CalibratedHk.h.

Inheritance diagram for CalibratedHk:
Inheritance graph
[legend]
Collaboration diagram for CalibratedHk:
Collaboration graph
[legend]

The documentation for this class was generated from the following files: