Changeset 4157 for trunk/MagicSoft/Mars/mtemp/mpisa
- Timestamp:
- 05/24/04 18:46:02 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mpisa
- Files:
-
- 10 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mpisa/Changelog_pisa
r4112 r4157 18 18 19 19 -*-*- 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 20 37 2004/05/21: Antonio Stamerra 21 38 -
trunk/MagicSoft/Mars/mtemp/mpisa/Makefile
r4112 r4157 38 38 39 39 SRCFILES = \ 40 ./classes/MTriggerIPR.cc 40 ./classes/MTriggerIPR.cc \ 41 ./classes/MTriggerCell.cc \ 42 ./classes/MTriggerBit.cc \ 43 ./classes/MTriggerPrescFact.cc \ 44 ./classes/MTriggerLiveTime.cc 41 45 42 46 ############################################################ -
trunk/MagicSoft/Mars/mtemp/mpisa/PisaLinkDef.h
r4112 r4157 6 6 7 7 #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+; 8 12 9 13 #endif -
trunk/MagicSoft/Mars/mtemp/mpisa/classes/MTriggerIPR.h
r4111 r4157 15 15 class MTriggerIPR : public MParContainer, public MCamEvent 16 16 { 17 friend class MReport Camera;17 friend class MReportTrigger; 18 18 private: 19 19 Byte_t fStatus; // Monitor of the L2T status 20 20 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 22 24 23 25 public: 24 MTriggerIPR() : fIPR( 397)26 MTriggerIPR() : fIPR(gsNTrigPix) 25 27 { 26 28 fName = "MTriggerIPR"; … … 32 34 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const 33 35 { 34 val = fIPR[idx]; 35 return val>0; 36 if (idx > gsNTrigPix) 37 return kFALSE; 38 39 val = fIPR[idx]; 40 return val>0; 36 41 } 37 42 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 } 39 50 40 51 void DrawPixelContent(Int_t num) const
Note:
See TracChangeset
for help on using the changeset viewer.