Removed initial pixel masks.
Pixel mask comes from pedestal, is not used when looking for calibration consts.
This commit is contained in:
@ -60,18 +60,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
// calculate pixel mask
|
||||
pixelMaskObject->initialisePixelMask(pixel_mask);
|
||||
if (module_str == "028") {
|
||||
pixelMaskObject->maskChip(1, pixel_mask);
|
||||
pixelMaskObject->maskChip(2, pixel_mask);
|
||||
pixelMaskObject->maskChip(5, pixel_mask);
|
||||
pixelMaskObject->maskChip(6, pixel_mask);
|
||||
} else if (module_str == "006") {
|
||||
pixelMaskObject->maskChip(6, pixel_mask);
|
||||
pixelMaskObject->maskSupercolumn(4,1, pixel_mask);
|
||||
pixelMaskObject->maskSupercolumn(4,2, pixel_mask);
|
||||
} else if (module_str == "094") {
|
||||
pixelMaskObject->maskChip(6,pixel_mask);
|
||||
}
|
||||
|
||||
int framecounter = 0;
|
||||
while (thisfile->readNextFrame()) {
|
||||
@ -278,7 +266,6 @@ int main(int argc, char* argv[]) {
|
||||
if (framecounter%1000 == 0) {
|
||||
|
||||
for (int i = 0; i < NCH; i++) {
|
||||
if (pixel_mask[i] == true) {
|
||||
|
||||
avg_adc_g0_map[framecounter/1000 -1]->SetBinContent((i%NC)+1,(i/NC)+1,pedestalObjectG0->pedestalOfChannel(i));
|
||||
avg_adcer_g0_map[framecounter/1000 -1]->SetBinContent((i%NC)+1,(i/NC)+1,pedestalObjectG0->semOfChannel(i));
|
||||
@ -286,7 +273,6 @@ int main(int argc, char* argv[]) {
|
||||
avg_adcer_g1_map[framecounter/1000 -1]->SetBinContent((i%NC)+1,(i/NC)+1,pedestalObjectG1->semOfChannel(i));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
pedestalObjectG0->pedestalClear();
|
||||
pedestalObjectG1->pedestalClear();
|
||||
@ -390,8 +376,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
for (int i = 0; i < NCH; i++) {
|
||||
|
||||
if (pixel_mask[i] == true) {
|
||||
|
||||
vector<double> r0_adc;
|
||||
vector<double> r0_adcer;
|
||||
vector<double> r0_filter;
|
||||
@ -769,8 +753,6 @@ int main(int argc, char* argv[]) {
|
||||
delete fit_g1;
|
||||
delete grap_g0;
|
||||
delete grap_g1;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
mapcanvas->SetLeftMargin(0.1);
|
||||
|
Reference in New Issue
Block a user