Ignore:
Timestamp:
04/06/04 13:41:56 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcamera
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcamera/MCameraAUX.h

    r2593 r3666  
    1414    Bool_t fStatusCaosLEDs;  // Monitored status: o=off, 1=on, Cam.CaOs.LED_state
    1515    Bool_t fStatusFansFADC;  // Monitored status: o=off, 1=on, Cam.FADC.Fans_state
     16
    1617public:
    1718    MCameraAUX()
     
    2021        fTitle = "Container storing information about the Camera auxiliary system";
    2122    }
     23
     24    Bool_t GetRequestCaosLEDs() const { return fRequestCaosLEDs; }
     25    Bool_t GetRequestFansFADC() const { return fRequestFansFADC; }
     26    Bool_t GetStatusCaosLEDs() const  { return fStatusCaosLEDs;  }
     27    Bool_t GetStatusFansFADC() const  { return fStatusFansFADC;  }
     28
    2229    ClassDef(MCameraAUX, 1) // Container storing information about the Camera auxiliary system
    2330};
  • trunk/MagicSoft/Mars/mcamera/MCameraCalibration.h

    r2864 r3666  
    3131    Byte_t GetStatusIO() const         { return fStatusIO; }
    3232    Byte_t GetStatusLoVoltage() const  { return fStatusLoVoltage; }
     33
    3334    Bool_t GetRequestHiVoltage() const { return fRequestHiVoltage; }
    3435    Bool_t GetRequestLoVoltage() const { return fRequestLoVoltage; }
  • trunk/MagicSoft/Mars/mcamera/MCameraHV.h

    r3216 r3666  
    2828    TArrayS fHV;            // [V] Measured high Voltages for all PMTs
    2929
    30     Float_t fMean;          // [V] Mean high voltage of the camera
    31 
    3230public:
    3331    MCameraHV() : fHV(577)
     
    3937    Byte_t  GetStatus() const { return fStatus; }
    4038    Bool_t  GetStatusRamping() const { return fStatusRamping; }
     39
    4140    Short_t GetVoltageA() const { return fVoltageA; }
    4241    Short_t GetVoltageB() const { return fVoltageB; }
    43     Byte_t GetCurrentA() const { return fCurrentA; }
    44     Byte_t GetCurrentB() const { return fCurrentB; }
    4542
    46     Float_t GetMean() { fMean = fHV.GetSum()/fHV.GetSize(); return fMean; }
     43    Byte_t  GetCurrentA() const { return fCurrentA; }
     44    Byte_t  GetCurrentB() const { return fCurrentB; }
     45
     46    Float_t GetMean() const { return fHV.GetSum()/fHV.GetSize(); }
    4747
    4848    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
    49       {
    50         val = fHV[idx];
    51         return val>0;
    52       }
     49    {
     50        val = fHV[idx];
     51        return val>0;
     52    }
    5353    void DrawPixelContent(Int_t num) const
    54       {
    55       }
     54    {
     55    }
    5656
    5757    ClassDef(MCameraHV, 1) // Container storing information about the Camera HV
  • trunk/MagicSoft/Mars/mcamera/MCameraLV.h

    r2895 r3666  
    1414    friend class MReportCamera;
    1515private:
    16     Byte_t  fStatus;                    // CaCo monitored LV PS status:  , Cam.LV_state
    17     Bool_t  fRequestPowerSupply;        // Requested status: o=off, 1=on, blv_ps_status
     16    Byte_t  fStatus;                  // CaCo monitored LV PS status:  , Cam.LV_state
     17    Bool_t  fRequestPowerSupply;      // Requested status: o=off, 1=on, blv_ps_status
    1818
    19     Float_t fTemp;                     // Measured status: o=off, 1=on, blv_temp
    20     Byte_t  fHumidity;                 // Measured status: o=off, 1=on, blv_RelativeHumidity
     19    Float_t fTemp;                    // Measured status: o=off, 1=on, blv_temp
     20    Byte_t  fHumidity;                // Measured status: o=off, 1=on, blv_RelativeHumidity
    2121
    22     MCameraPowerSupply fPowerSupplyA;   // power supply camera part A
    23     MCameraPowerSupply fPowerSupplyB;   // power supply camera part B
     22    MCameraPowerSupply fPowerSupplyA; // power supply camera part A
     23    MCameraPowerSupply fPowerSupplyB; // power supply camera part B
    2424
    2525public:
     
    3232    Byte_t  GetStatus() const { return fStatus; }
    3333    Bool_t  GetRequestPowerSupply() const { return fRequestPowerSupply; }
     34
    3435    Float_t GetTemp() const { return fTemp; }
    3536    Byte_t  GetHumidity() const { return fHumidity; }
     37
     38    const MCameraPowerSupply &GetPowerSupplyA() const { return fPowerSupplyA; }
     39    const MCameraPowerSupply &GetPowerSupplyB() const { return fPowerSupplyB; }
    3640
    3741    ClassDef(MCameraLV, 1) // Container storing information about the Camera LV
  • trunk/MagicSoft/Mars/mcamera/MCameraLid.h

    r2593 r3666  
    1414     Bool_t fLimitOpen;        // 0=not active, 1= active
    1515     Bool_t fLimitClose;       // 0=not active, 1= active
     16
    1617     Bool_t fSafetyLimitOpen;  // 0=not active, 1= active
    1718     Bool_t fSafetyLimitClose; // 0=not active, 1= active
     19
    1820     Byte_t fStatusLid;        // 0=positioning, 1=open, 2=closed
    1921     Byte_t fStatusMotor;      // 0=stopped, 1=opening, 2=closing
     22
    2023public:
    2124    MCameraLid()
     
    2427        fTitle = "Container storing information about a Camera lid";
    2528    }
     29
     30    Bool_t GetLimitOpen() const        { return fLimitOpen;        }
     31    Bool_t GetLimitClose() const       { return fLimitClose;       }
     32
     33    Bool_t GetSafetyLimitOpen() const  { return fSafetyLimitOpen;  }
     34    Bool_t GetSafetyLimitClose() const { return fSafetyLimitClose; }
     35
     36    Byte_t GetStatusLid() const        { return fStatusLid;        }
     37    Byte_t GetStatusMotor() const      { return fStatusMotor;      }
     38
    2639    ClassDef(MCameraLid, 1) // Container storing information about a Camera lid
    2740};
  • trunk/MagicSoft/Mars/mcamera/MCameraLids.h

    r3066 r3666  
    2727    Byte_t GetStatus() const { return fStatus; }
    2828
     29    const MCameraLid &GetLidA() const { return fLidA; }
     30    const MCameraLid &GetLidB() const { return fLidB; }
     31
    2932    ClassDef(MCameraLids, 1) // Container storing information about the Camera lids
    3033};
  • trunk/MagicSoft/Mars/mcamera/MCameraPowerSupply.h

    r2593 r3666  
    1010    friend class MReportCamera;
    1111private:
    12      Float_t fVoltagePos5V;         // [V] voltage_pos5  (+5V)
    13      Float_t fVoltagePos12V;        // [V] voltage_pos12 (+12V)
    14      Float_t fVoltageNeg12V;        // [V] voltage_neg12 (-12V)
    15      Float_t fVoltageOptLinkPos12V; // [V] volatge_opt_link_pos12 (+12V)
     12    Float_t fVoltagePos5V;         // [V] voltage_pos5  (+5V)
     13    Float_t fVoltagePos12V;        // [V] voltage_pos12 (+12V)
     14    Float_t fVoltageNeg12V;        // [V] voltage_neg12 (-12V)
     15    Float_t fVoltageOptLinkPos12V; // [V] volatge_opt_link_pos12 (+12V)
    1616
    17      Float_t fCurrentPos5V;         // [A] current_pos5  (+5V)
    18      Float_t fCurrentPos12V;        // [A] current_pos12 (+12V)
    19      Float_t fCurrentNeg12V;        // [A] current_neg12 (-12V)
    20      Float_t fCurrentOptLinkPos12V; // [A] current_opt_link_pos12 (+12V)
     17    Float_t fCurrentPos5V;         // [A] current_pos5  (+5V)
     18    Float_t fCurrentPos12V;        // [A] current_pos12 (+12V)
     19    Float_t fCurrentNeg12V;        // [A] current_neg12 (-12V)
     20    Float_t fCurrentOptLinkPos12V; // [A] current_opt_link_pos12 (+12V)
    2121
    2222public:
     
    2626        fTitle = "Container storing information about the Camera power supply";
    2727    }
     28
     29    Float_t GetVoltagePos5V() const         { return fVoltagePos5V; }
     30    Float_t GetVoltagePos12V() const        { return fVoltagePos12V; }
     31    Float_t GetVoltageNeg12V() const        { return fVoltageNeg12V; }
     32    Float_t GetVoltageOptLinkPos12V() const { return fVoltageOptLinkPos12V; }
     33
     34    Float_t GetCurrentPos5V() const         { return fCurrentPos5V; }
     35    Float_t GetCurrentPos12V() const        { return fCurrentPos12V; }
     36    Float_t GetCurrentNeg12V() const        { return fCurrentNeg12V; }
     37    Float_t GetCurrentOptLinkPos12V() const { return fCurrentOptLinkPos12V; }
     38
    2839    ClassDef(MCameraPowerSupply, 1) // Container storing information about the Camera power supply
    2940};
Note: See TracChangeset for help on using the changeset viewer.