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

Public Member Functions | |
| TPSinglesEvent () | |
| void | LocalReset () |
| TPChipEvent * | ChipGen (Char_t Crate, Char_t Varc, Char_t Vmm, Char_t Vadc, Char_t Vachip) |
| ClassDef (TPSinglesEvent, 2) | |
Public Attributes | |
| Int_t | CrateRate [NCRATE] |
| Bool_t | CratePulsed [NCRATE] |
| Int_t | MFRate [NMF] |
|
|
Definition at line 40 of file TPSinglesEvent.cxx. References RSMVer. 00040 {
00041 RSMVer << "TPSinglesEvent::TPSinglesEvent()" << endl;
00042 ChipEvents = new TClonesArray("TPChipEvent",2304);
00043 this->Reset();
00044 }
|
|
||||||||||||||||||||||||
|
Definition at line 53 of file TPSinglesEvent.cxx. References BlockEvent::IChip(), ChipEvent::PackLoc(), and RSMVer. Referenced by RateSummary::Ana(). 00057 {
00058 RSMVer << "TPSinglesEvent::ChipGen()" << endl;
00059 int ichip = this->IChip(Crate,Varc,Vmm,Vadc,Vachip);
00060
00061 TPChipEvent* chip = 0;
00062 if((chip=dynamic_cast<TPChipEvent*>(ChipEvents->At(ichip))))
00063 return chip;
00064
00065 chip = new((*ChipEvents)[ichip]) TPChipEvent();
00066 chip->PackLoc(Crate,Varc,Vmm,Vadc,Vachip);
00067 return chip;
00068 }
|
|
||||||||||||
|
|
|
|
Reimplemented from BlockEvent. Definition at line 46 of file TPSinglesEvent.cxx. References CratePulsed, CrateRate, MFRate, and RSMVer. 00046 {
00047 RSMVer << "TPSinglesEvent::LocalReset()" << endl;
00048 for(int i=0; i<NCRATE; i++) CrateRate[i]=0;
00049 for(int i=0; i<NCRATE; i++) CratePulsed[i]=false;
00050 for(int i=0; i<NMF; i++) MFRate[i]=0;
00051 }
|
|
|
Definition at line 36 of file TPSinglesEvent.h. Referenced by RateSummary::Ana(), LocalReset(), and tp_plot(). |
|
|
Definition at line 35 of file TPSinglesEvent.h. Referenced by RateSummary::Ana(), LocalReset(), and tp_plot(). |
|
|
Definition at line 37 of file TPSinglesEvent.h. Referenced by RateSummary::Ana(), and LocalReset(). |
1.3.9.1