Changeset 2342 for trunk/MagicSoft/Simulation/Detector/include-MTrigger
- Timestamp:
- 09/15/03 12:35:38 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MTrigger.hxx
r2293 r2342 25 25 #include "Mdefine.h" 26 26 #include "MMcEvt.hxx" 27 28 #include "MGeomCam.h" 27 29 28 30 #include "MTriggerDefine.h" … … 80 82 81 83 private: 84 Int_t pixnum; 82 85 // 83 86 // then for all pixels the shape of all the analog signals 84 87 // 85 Bool_t used [TRIGGER_PIXELS]; // a boolean to indicated if the pixels is used in this event86 Int_t nphotshow[TRIGGER_PIXELS]; // count the photo electrons per pixel coming from showers87 Int_t nphotnsb[TRIGGER_PIXELS]; // count the photo electrons per pixel coming from NSB88 Int_t nphotstar[TRIGGER_PIXELS]; // count the photo electrons per pixel coming from stars89 90 Float_t * a_sig[TRIGGER_PIXELS]; // the analog signal for pixels91 92 Float_t baseline[TRIGGER_PIXELS]; // for the baseline shift88 Bool_t *used; // a boolean to indicated if the pixels is used in this event 89 Int_t *nphotshow; // count the photo electrons per pixel coming from showers 90 Int_t *nphotnsb; // count the photo electrons per pixel coming from NSB 91 Int_t *nphotstar; // count the photo electrons per pixel coming from stars 92 93 Float_t **a_sig ; // the analog signal for pixels 94 95 Float_t *baseline; // for the baseline shift 93 96 94 97 // 95 98 // then for all pixels the shape of the digital signal 96 99 // 97 Bool_t dknt [TRIGGER_PIXELS]; // a boolean to indicated if the pixels has passed the diskrminator98 Float_t * d_sig[TRIGGER_PIXELS]; // the digital signal for all pixels100 Bool_t *dknt ; // a boolean to indicated if the pixels has passed the diskrminator 101 Float_t **d_sig ; // the digital signal for all pixels 99 102 100 103 // … … 115 118 TRandom *GenElec ; // RandomGenerator for the Electronic Noise 116 119 117 Float_t noise[TRIGGER_PIXELS*TRIGGER_TIME_SLICES*101];120 Float_t *noise; 118 121 119 122 // … … 121 124 // 122 125 123 Float_t chan_thres[TRIGGER_PIXELS]; // the threshold (in mV) for each individuel pixels126 Float_t *chan_thres ; // the threshold (in mV) for each individuel pixels 124 127 Float_t gate_leng ; // the length of the digital signal if analog signal is above threshold 125 128 … … 134 137 // 135 138 136 Int_t NN[TRIGGER_PIXELS][6] ;139 Int_t *NN[6] ; 137 140 138 141 // … … 140 143 // 141 144 142 Int_t TC[TRIGGER_CELLS][TRIGGER_PIXELS] ;145 Int_t *TC[TRIGGER_CELLS] ; 143 146 144 147 // … … 168 171 public: 169 172 170 MTrigger() ; 171 172 MTrigger(float gate, float overt, float ampl, float fwhm) ; 173 MTrigger(int pix=577) ; 174 175 MTrigger(int pix, MGeomCam *camgeom, 176 float gate, float overt, float ampl, float fwhm) ; 173 177 174 178 ~MTrigger() ; … … 206 210 } 207 211 208 void CheckThreshold (float *thres );212 void CheckThreshold (float *thres, int cells); 209 213 210 214 void ReadThreshold (char name[]);
Note:
See TracChangeset
for help on using the changeset viewer.