1 CheckTOFFEElight(Char_t *fileName)
5 r.LoadFEElightConfig(fileName);
6 Int_t nch = r.ParseFEElightConfig();
7 printf("found %d channels enabled\n", nch);
9 TH1F *hDO = new TH1F("hDO", "detector-oriented (DO);index;enabled", 157248, 0, 157248);
10 TH1F *hEO = new TH1F("hEO", "electronics-oriented (EO);index;enabled", 172800, 0, 172800);
15 Int_t drm, trm, chain, tdc, channel, indexEO;
17 for (Int_t indexDO = 0; indexDO < 157248; indexDO++)
18 if (r.IsChannelEnabled(indexDO)) {
19 drm = (Int_t)ch.GetCalibMap(AliTOFcalibHisto::kDDL, indexDO);
20 trm = (Int_t)ch.GetCalibMap(AliTOFcalibHisto::kTRM, indexDO);
21 chain = (Int_t)ch.GetCalibMap(AliTOFcalibHisto::kChain, indexDO);
22 tdc = (Int_t)ch.GetCalibMap(AliTOFcalibHisto::kTDC, indexDO);
23 channel = (Int_t)ch.GetCalibMap(AliTOFcalibHisto::kChannel, indexDO);
24 indexEO = (Int_t)ch.GetIndexEO(drm, trm, chain, tdc, channel);
29 TCanvas *c = new TCanvas("c");
39 for (Int_t i = 0; i < 720; i++) {
40 TLine *l = new TLine(i * 240, 0., i * 240, 0.25);
43 for (Int_t i = 0; i < 72; i++) {
44 TLine *l = new TLine(i * 2400, 0., i * 2400, 0.5);