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

Public Types | |
| enum | ESimDaqTrigWindowMethod { kNone = 0, kGap = 1, kWindow = 2 } |
Public Member Functions | |
| SimDaqTrigger (void) | |
| virtual void | Configure (const Registry &r) |
| virtual void | Print (Option_t *option="") const |
| virtual Bool_t | ApplyTriggerAt (PlexHandle plex, SimDigitList &sortedDigitList, UInt_t startAt, UInt_t stopAt)=0 |
| ClassDef (SimDaqTrigger, 1) | |
Public Attributes | |
| TString | fType |
| Double_t | fThreshold |
| Int_t | fN |
| Int_t | fM |
| Int_t | fNhits |
|
|
Definition at line 19 of file SimDaqTrigger.h.
|
|
|
Definition at line 5 of file SimDaqTrigger.cxx. 00005 : 00006 fType("Unknown!"), 00007 fThreshold(0), 00008 fN(0), 00009 fM(0), 00010 fNhits(0) 00011 { 00012 }
|
|
||||||||||||||||||||
|
Implemented in SimDaqEnergyTrigger, SimDaqMultTrigger, and SimDaqPlaneTrigger. Referenced by SimDetector::SimulateTrigger(). |
|
||||||||||||
|
|
|
|
Definition at line 14 of file SimDaqTrigger.cxx. References fM, fN, fNhits, fThreshold, fType, and Registry::Get(). Referenced by SimDetector::Config(). 00015 {
00016 const char* type;
00017 if(r.Get("type", type)) fType = type;
00018
00019 r.Get("thresh",fThreshold);
00020 r.Get("N", fN);
00021 r.Get("M", fM);
00022 r.Get("Nhits", fNhits);
00023 }
|
|
|
Definition at line 25 of file SimDaqTrigger.cxx. References fM, fN, fNhits, fThreshold, and fType. Referenced by SimDetector::Print(). 00026 {
00027 printf(" fType %s\n" ,fType.Data());
00028 printf(" N/M %d / %d\n",fN,fM);
00029 printf(" fThreshold %f\n", fThreshold);
00030 printf(" fNhits %d\n", fNhits);
00031 }
|
|
|
Definition at line 38 of file SimDaqTrigger.h. Referenced by Configure(), and Print(). |
|
|
Definition at line 37 of file SimDaqTrigger.h. Referenced by Configure(), and Print(). |
|
|
Reimplemented in SimDaqMultTrigger. Definition at line 39 of file SimDaqTrigger.h. Referenced by Configure(), and Print(). |
|
|
Definition at line 36 of file SimDaqTrigger.h. Referenced by Configure(), and Print(). |
|
|
Definition at line 35 of file SimDaqTrigger.h. Referenced by Configure(), and Print(). |
1.3.9.1