Ignore:
Timestamp:
02/17/04 17:03:46 (21 years ago)
Author:
reyes
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2870 r3214  
    1010#endif
    1111
    12 class MCameraHV : public MParContainer
     12class MCameraHV : public MParContainer, public MCamEvent
    1313{
    1414    friend class MReportCamera;
     
    2424
    2525    TArrayS fHV;            // [V] Measured high Voltages for all PMTs
     26
     27    Float_t fMean;          // [V] Mean high voltage of the camera
     28
    2629public:
    2730    MCameraHV() : fHV(577)
     
    3841    Byte_t GetCurrentB() const { return fCurrentB; }
    3942
     43    Float_t GetMean() { fMean = fHV.GetSum()/fHV.GetSize(); return fMean; }
     44
     45    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
     46      {
     47        val = fHV[idx];
     48        return val>0;
     49      }
     50    void DrawPixelContent(Int_t num) const
     51      {
     52      }
     53
    4054    ClassDef(MCameraHV, 1) // Container storing information about the Camera HV
    4155};
Note: See TracChangeset for help on using the changeset viewer.