Index: /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc	(revision 4111)
+++ /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc	(revision 4111)
@@ -0,0 +1,37 @@
+/* ======================================================================== *\
+!
+! *
+! * This file is part of MARS, the MAGIC Analysis and Reconstruction
+! * Software. It is distributed to you in the hope that it can be a useful
+! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
+! * It is distributed WITHOUT ANY WARRANTY.
+! *
+! * Permission to use, copy, modify and distribute this software and its
+! * documentation for any purpose is hereby granted without fee,
+! * provided that the above copyright notice appear in all copies and
+! * that both that copyright notice and this permission notice appear
+! * in supporting documentation. It is provided "as is" without express
+! * or implied warranty.
+! *
+!
+!
+!   Author(s): Thomas Bretz, 11/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
+!              Antonio Stamerra, 05/2004 <mailto:antonio.stamerra@pi.infn.it> 
+!
+!   Copyright: MAGIC Software Development, 2000-2004
+!
+!
+\* ======================================================================== */
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// MTriggerIPR
+//   This class stores the information about the Individual Pixel Rates
+//   
+//
+/////////////////////////////////////////////////////////////////////////////
+#include "MTriggerIPR.h"
+
+ClassImp(MTriggerIPR);
+
+using namespace std;
Index: /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc~
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc~	(revision 4111)
+++ /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.cc~	(revision 4111)
@@ -0,0 +1,34 @@
+/* ======================================================================== *\
+!
+! *
+! * This file is part of MARS, the MAGIC Analysis and Reconstruction
+! * Software. It is distributed to you in the hope that it can be a useful
+! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
+! * It is distributed WITHOUT ANY WARRANTY.
+! *
+! * Permission to use, copy, modify and distribute this software and its
+! * documentation for any purpose is hereby granted without fee,
+! * provided that the above copyright notice appear in all copies and
+! * that both that copyright notice and this permission notice appear
+! * in supporting documentation. It is provided "as is" without express
+! * or implied warranty.
+! *
+!
+!
+!   Author(s): Thomas Bretz, 11/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
+!
+!   Copyright: MAGIC Software Development, 2000-2003
+!
+!
+\* ======================================================================== */
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// MCameraHV
+//
+/////////////////////////////////////////////////////////////////////////////
+#include "MCameraHV.h"
+
+ClassImp(MCameraHV);
+
+using namespace std;
Index: /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h	(revision 4111)
+++ /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h	(revision 4111)
@@ -0,0 +1,47 @@
+#ifndef MARS_MTriggerIPR
+#define MARS_MTriggerIPR
+
+#ifndef MARS_MCamEvent
+#include "MCamEvent.h"
+#endif
+#ifndef MARS_MParContainer
+#include "MParContainer.h"
+#endif 
+
+#ifndef ROOT_TArrayL
+#include <TArrayL.h>
+#endif
+
+class MTriggerIPR : public MParContainer, public MCamEvent
+{
+    friend class MReportCamera;
+private:
+    Byte_t  fStatus;        // Monitor of the L2T status
+
+    TArrayL fIPR;            // Array of the measured IPR
+
+public:
+    MTriggerIPR() : fIPR(397)
+    {
+        fName  = "MTriggerIPR";
+        fTitle = "Container for the Individual Pixel Rate (IPR)";
+    }
+
+    Float_t GetMean() const { return fIPR.GetSum()/fIPR.GetSize(); }
+
+    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
+    {
+        val = fIPR[idx];
+        return val>0;
+    }
+
+    Double_t operator[](const UInt_t idx) { return fIPR[idx]; }
+
+    void DrawPixelContent(Int_t num) const
+    {
+    }
+
+    ClassDef(MTriggerIPR, 1) // Container for the Individual Pixel Rate (IPR)
+};
+
+#endif
Index: /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h~
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h~	(revision 4111)
+++ /trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h~	(revision 4111)
@@ -0,0 +1,63 @@
+#ifndef MARS_MCameraHV
+#define MARS_MCameraHV
+
+#ifndef MARS_MCamEvent
+#include "MCamEvent.h"
+#endif
+#ifndef MARS_MParContainer
+#include "MParContainer.h"
+#endif
+
+#ifndef ROOT_TArrayS
+#include <TArrayS.h>
+#endif
+
+class MCameraHV : public MParContainer, public MCamEvent
+{
+    friend class MReportCamera;
+private:
+    Byte_t  fStatus;        // CaCo monitored status of the High Voltage [0-9], Cam.HV.PS_state
+    Bool_t  fStatusRamping; // CaCo monitored status of ramping the HV, Cam.HV_state
+
+    Short_t fVoltageA;      // [V] Measured voltage of power supply A, hvps1
+    Short_t fVoltageB;      // [V] Measured voltage of power supply B, hvps2
+
+    Byte_t fCurrentA;       // [mA] Measured current of power supply A, curr1
+    Byte_t fCurrentB;       // [mA] Measured current of power supply B, curr2
+
+    TArrayS fHV;            // [V] Measured high Voltages for all PMTs
+
+public:
+    MCameraHV() : fHV(577)
+    {
+        fName  = "MCameraHV";
+        fTitle = "Container storing information about the Camera HV";
+    }
+
+    Byte_t  GetStatus() const { return fStatus; }
+    Bool_t  GetStatusRamping() const { return fStatusRamping; }
+
+    Short_t GetVoltageA() const { return fVoltageA; }
+    Short_t GetVoltageB() const { return fVoltageB; }
+
+    Byte_t  GetCurrentA() const { return fCurrentA; }
+    Byte_t  GetCurrentB() const { return fCurrentB; }
+
+    Float_t GetMean() const { return fHV.GetSum()/fHV.GetSize(); }
+
+    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
+    {
+        val = fHV[idx];
+        return val>0;
+    }
+
+    Double_t operator[](const UInt_t idx) { return fHV[idx]; }
+
+    void DrawPixelContent(Int_t num) const
+    {
+    }
+
+    ClassDef(MCameraHV, 1) // Container storing information about the Camera HV
+};
+
+#endif
