Ignore:
Timestamp:
05/11/00 16:08:22 (25 years ago)
Author:
blanch
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcTrig.hxx

    r354 r395  
    1111#include "TObject.h"
    1212
     13#include "../Simulation/Detector/include-MTrigger/MTriggerDefine.h"
    1314
    1415class MMcTrig : public TObject {
    1516 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 
    1724  Short_t nFirstLevel  ;    // Number of First Level Trigger in this Event
    1825  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
    1929
    2030 public:
     
    2737  void Print(Option_t *);
    2838
    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    }
    3152  }
    3253
     
    3859  }
    3960
    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;
    4267  }
    4368
Note: See TracChangeset for help on using the changeset viewer.