Changeset 4157


Ignore:
Timestamp:
05/24/04 18:46:02 (21 years ago)
Author:
stamerra
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mpisa
Files:
10 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mpisa/Changelog_pisa

    r4112 r4157  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2004/05/24: Antonio Stamerra
     21
     22   * mpisa/classes/MTriggerCell.[h.cc]
     23     - added new class container for the cell rates from report files (.rep)
     24
     25   * mpisa/classes/MTriggerBit.[h.cc]
     26     - added new class container for the L2 bits rates from report files (.rep)
     27
     28   * mpisa/classes/MTriggerPrescFact.[h.cc]
     29     - added new class container for the prescaling factors from
     30        report files (.rep)
     31
     32   * mpisa/classes/MTriggerReport.[h.cc]
     33     - added copy of the mreport/MReportTrigger class to modify to new
     34        report file format and to use the trigger class containers
     35
     36
    2037 2004/05/21: Antonio Stamerra
    2138
  • trunk/MagicSoft/Mars/mtemp/mpisa/Makefile

    r4112 r4157  
    3838
    3939SRCFILES = \
    40         ./classes/MTriggerIPR.cc
     40        ./classes/MTriggerIPR.cc \
     41        ./classes/MTriggerCell.cc \
     42        ./classes/MTriggerBit.cc \
     43        ./classes/MTriggerPrescFact.cc \
     44        ./classes/MTriggerLiveTime.cc
    4145
    4246############################################################
  • trunk/MagicSoft/Mars/mtemp/mpisa/PisaLinkDef.h

    r4112 r4157  
    66
    77#pragma link C++ class MTriggerIPR+;
     8#pragma link C++ class MTriggerCell+;
     9#pragma link C++ class MTriggerBit+;
     10#pragma link C++ class MTriggerPrescFact+;
     11#pragma link C++ class MTriggerLiveTime+;
    812
    913#endif
  • trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h

    r4111 r4157  
    1515class MTriggerIPR : public MParContainer, public MCamEvent
    1616{
    17     friend class MReportCamera;
     17    friend class MReportTrigger;
    1818private:
    1919    Byte_t  fStatus;        // Monitor of the L2T status
    2020
    21     TArrayL fIPR;            // Array of the measured IPR
     21    TArrayL fIPR;            // [Hz] IPR (Individual Pixel Rates)
     22   
     23    Int_t gsNTrigPix=397;  // number of trigger pixels
    2224
    2325public:
    24     MTriggerIPR() : fIPR(397)
     26    MTriggerIPR() : fIPR(gsNTrigPix)
    2527    {
    2628        fName  = "MTriggerIPR";
     
    3234    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
    3335    {
    34         val = fIPR[idx];
    35         return val>0;
     36      if (idx > gsNTrigPix)
     37        return kFALSE;
     38
     39      val = fIPR[idx];
     40      return val>0;
    3641    }
    3742
    38     Double_t operator[](const UInt_t idx) { return fIPR[idx]; }
     43    Double_t operator[](const UInt_t idx)
     44      {
     45        if (idx > gsNTrigPix)
     46          return kFALSE;
     47
     48        return fIPR[idx];
     49      }
    3950
    4051    void DrawPixelContent(Int_t num) const
Note: See TracChangeset for help on using the changeset viewer.