31,7 → 31,7 |
#define TDC_BIN 1.0416 // 1 TDC bin in ns |
#define MIKRO_BIN 0.49609/1000. //1 mikro step in mm; stage MM3MF |
#define OFFSETX 5200 // Right edge of SiPM+Lightguide |
#define OFFSETY 4800 // Lower edge of SiPM+Lightguide |
#define OFFSETY 5300 // Lower edge of SiPM+Lightguide |
|
#define RUNREC_ID 1 |
#define ENDREC_ID 2 |
371,11 → 371,11 |
if(time >= tdcmin && time <= tdcmax) { |
h_correctedTDC->Fill((time - tdcOffset[channel]), channel); |
hnhitsx[channel]->Fill((pos.xset - OFFSETX) * MIKRO_BIN); |
hnhitsy[channel]->Fill((pos.yset - OFFSETY) * MIKRO_BIN); |
h2d[channel]->Fill((pos.xset - OFFSETX) * MIKRO_BIN, (pos.yset - OFFSETY) * MIKRO_BIN); |
hnhitsy[channel]->Fill((pos.yset - OFFSETY) * MIKRO_BIN); |
//h_threshold->Fill(channel, thr.threshold); |
//if (position(pos.xset-OFFSETX, pos.yset-OFFSETY, channel)) { |
//} |
if (position(pos.xset-OFFSETX, pos.yset-OFFSETY, channel)) { |
h2d[channel]->Fill((pos.xset - OFFSETX) * MIKRO_BIN, (pos.yset - OFFSETY) * MIKRO_BIN); |
} |
} |
//gV673A->Fill(data,channel); |
//gsumV673A[channel/16]->Fill(data); |