CrateMonitorEvent Class Reference

#include <CrateMonitorEvent.h>

Inheritance diagram for CrateMonitorEvent:
BlockEvent

List of all members.

Public Member Functions

 CrateMonitorEvent ()
void LocalReset ()
CMChipEventChipGen (Char_t Crate, Char_t Varc, Char_t Vmm, Char_t Vadc, Char_t Vachip)
 ClassDef (CrateMonitorEvent, 1)

Public Attributes

Float_t ROPTempCPU [NCRATE]
Float_t ROPTempMem [NCRATE]
Float_t ROPTempPmc [NCRATE]

Detailed Description

Definition at line 28 of file CrateMonitorEvent.h.


Constructor & Destructor Documentation

CrateMonitorEvent::CrateMonitorEvent (  ) 

Definition at line 49 of file CrateMonitorEvent.cxx.

References RSMVer.

00049                                      {
00050   RSMVer << "CrateMonitorEvent::CrateMonitorEvent()" << endl;
00051   ChipEvents = new TClonesArray("CMChipEvent",2304);
00052   this->Reset();
00053 }


Member Function Documentation

CMChipEvent * CrateMonitorEvent::ChipGen ( Char_t  Crate,
Char_t  Varc,
Char_t  Vmm,
Char_t  Vadc,
Char_t  Vachip 
)

Definition at line 63 of file CrateMonitorEvent.cxx.

References BlockEvent::ChipEvents, BlockEvent::IChip(), and ChipEvent::PackLoc().

Referenced by RateSummary::Ana().

00067                                                        {
00068   int ichip = this->IChip(Crate,Varc,Vmm,Vadc,Vachip);
00069 
00070   CMChipEvent* chip = 0;
00071   chip=dynamic_cast<CMChipEvent*>(ChipEvents->At(ichip));
00072   if(chip) return chip;
00073 
00074   chip = new((*ChipEvents)[ichip]) CMChipEvent();
00075   chip->PackLoc(Crate,Varc,Vmm,Vadc,Vachip);
00076   return chip;
00077 }

CrateMonitorEvent::ClassDef ( CrateMonitorEvent  ,
 
)

Reimplemented from BlockEvent.

void CrateMonitorEvent::LocalReset (  )  [virtual]

Reimplemented from BlockEvent.

Definition at line 55 of file CrateMonitorEvent.cxx.

References NCRATE, ROPTempCPU, ROPTempMem, and ROPTempPmc.

00055                                    {
00056   for (int i=0; i<NCRATE; i++) {
00057     ROPTempCPU[i]=0;
00058     ROPTempMem[i]=0;
00059     ROPTempPmc[i]=0;
00060   }
00061 }


Member Data Documentation

Definition at line 39 of file CrateMonitorEvent.h.

Referenced by RateSummary::Ana(), and LocalReset().

Definition at line 40 of file CrateMonitorEvent.h.

Referenced by RateSummary::Ana(), and LocalReset().

Definition at line 41 of file CrateMonitorEvent.h.

Referenced by RateSummary::Ana(), and LocalReset().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1