#include <DaqSnarlEvent.h>
Inheritance diagram for DaqSnarlEvent:

Public Member Functions | |
| DaqSnarlEvent () | |
| void | LocalReset () |
| DSChipEvent * | ChipGen (Char_t Crate, Char_t Varc, Char_t Vmm, Char_t Vadc, Char_t Vachip) |
| ClassDef (DaqSnarlEvent, 2) | |
Public Attributes | |
| Int_t | CrateADC [NCRATE] |
| Int_t | MFADC [NMF] |
| Int_t | PreTrigADC |
| Int_t | PostTrigADC |
| Int_t | TotalADC |
| Short_t | SMPlanesHit [2] |
| Short_t | SMHitBlock |
| Short_t | Hits |
|
|
Definition at line 43 of file DaqSnarlEvent.cxx. References RSMVer. 00043 {
00044 RSMVer << "DaqSnarlEvent::DaqSnarlEvent()" << endl;
00045 ChipEvents = new TClonesArray("DSChipEvent",2304);
00046 this->Reset();
00047 }
|
|
||||||||||||||||||||||||
|
Definition at line 64 of file DaqSnarlEvent.cxx. References BlockEvent::IChip(), ChipEvent::PackLoc(), and RSMVer. Referenced by RateSummary::Ana(). 00068 {
00069 RSMVer << "DaqSnarlEvent::ChipGen()" << endl;
00070 int ichip = this->IChip(Crate,Varc,Vmm,Vadc,Vachip);
00071
00072 DSChipEvent* chip = 0;
00073 if((chip=dynamic_cast<DSChipEvent*>(ChipEvents->At(ichip))))
00074 return chip;
00075
00076 chip = new((*ChipEvents)[ichip]) DSChipEvent();
00077 chip->PackLoc(Crate,Varc,Vmm,Vadc,Vachip);
00078 return chip;
00079 }
|
|
||||||||||||
|
|
|
|
Reimplemented from BlockEvent. Definition at line 49 of file DaqSnarlEvent.cxx. References CrateADC, Hits, MFADC, PostTrigADC, PreTrigADC, RSMVer, SMHitBlock, SMPlanesHit, and TotalADC. 00049 {
00050 RSMVer << "DaqSnarlEvent::LocalReset()" << endl;
00051 for(int i=0; i<NCRATE; i++) CrateADC[i]=0;
00052 for(int i=0; i<NMF; i++) MFADC[i]=0;
00053 PreTrigADC=0;
00054 PostTrigADC=0;
00055 TotalADC=0;
00056
00057 for(int i=0;i<2;i++) SMPlanesHit[i]=0;
00058 //for(int i=0;i<4;i++) SHPlanesHit[i]=0;
00059
00060 SMHitBlock=0;
00061 Hits=0;
00062 }
|
|
|
Definition at line 35 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 44 of file DaqSnarlEvent.h. Referenced by LocalReset(). |
|
|
Definition at line 36 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 38 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 37 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 43 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 41 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
|
|
Definition at line 39 of file DaqSnarlEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
1.3.9.1