Changeset 395 for trunk/MagicSoft/include-Classes
- Timestamp:
- 05/11/00 16:08:22 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcTrig.hxx
r354 r395 11 11 #include "TObject.h" 12 12 13 #include "../Simulation/Detector/include-MTrigger/MTriggerDefine.h" 13 14 14 15 class MMcTrig : public TObject { 15 16 private: 16 Short_t nZeroLevel ; // Number of Zero Level Trigger in this Event 17 Short_t topology ; // Topology of the trigger 18 // 0 = N-1 neighbours of one pixel 19 // 1 = N neighbours 20 // 2 = N closed pack 21 Short_t multiplicity ; // Pixel multiplicity of trigger configuration 22 Float_t threshold[TRIGGER_PIXELS] ; // Threshold for trigger 23 17 24 Short_t nFirstLevel ; // Number of First Level Trigger in this Event 18 25 Short_t nSecondLevel ; // Number of Second Level Trigger in this Event 26 27 Float_t timeFirst; // Time when it triggers 28 Int_t pixelFirst; // Pixel which triggers 19 29 20 30 public: … … 27 37 void Print(Option_t *); 28 38 29 void SetZeroLevel ( Short_t nTr ) { 30 nZeroLevel = nTr ; 39 void SetTopology(Short_t nTop) { 40 topology=nTop; 41 } 42 43 void SetMultiplicity(Short_t nMul) { 44 multiplicity=nMul; 45 } 46 47 void SetThreshold(Float_t fthr[]){ 48 int i; 49 for(i=0;i<TRIGGER_PIXELS;i++){ 50 threshold[i]=fthr[i]; 51 } 31 52 } 32 53 … … 38 59 } 39 60 40 int GetZeroLevel() { 41 return ( nZeroLevel ); 61 void SetTime( Float_t t){ 62 timeFirst=t; 63 } 64 65 void SetPixel( Int_t iPix){ 66 pixelFirst=iPix; 42 67 } 43 68
Note:
See TracChangeset
for help on using the changeset viewer.