1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 #include "AliMUONTriggerEfficiencyCells.h"
17 #include "AliMpConstants.h"
18 #include "AliMpDEManager.h"
23 #include "Riostream.h"
31 #include "TPaveLabel.h"
37 //-----------------------------------------------------------------------------
38 /// \class AliMUONTriggerEfficiencyCells
39 /// A class to store and give access to the trigger chamber efficiency.
41 /// Efficiency is stored per cathode on local boards, or, alternatively,
42 /// on "cells" of a given size.
44 /// The main method of this class is IsTriggered().
46 /// $ALICE_ROOT/MUON/data/TriggerChamberefficiencyCells.dat contains efficiency
47 /// for each chamber (i.e. DetElement).
49 /// In the case of local boards, efficiency is stored from left to right
50 /// per increasing board number (from 1 to 234)
52 /// Otherwise, he efficiency cells goes from right to left and
53 /// from bottom to top of the chamber, namely, the efficiencies tabulated in the
54 /// file refers to the following reference frame:
58 /// <----------------------------------|
60 /// --------------------------- |
61 /// | 0.97 | 0.97 | 0.97 | 0.97 | |
62 /// --------------------------- |
63 /// | 0.97 | 0.97 | 0.97 | 0.97 | |
64 /// --------------------------- |
65 /// | 0.97 | 0.97 | 0.97 | 0.97 | |
66 /// --------------------------- |
71 /// In both cases, the file can be edited in order to change efficiency
72 /// in a chosen local board/region of the chamber.
75 /// But please note that this object is also available from the CDB
76 /// (generated using the MUONCDB.C macro)
78 /// \author Diego Stocco; INFN Torino
79 //-----------------------------------------------------------------------------
82 ClassImp(AliMUONTriggerEfficiencyCells)
85 //__________________________________________________________________________
86 AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells()
90 fNoCountHistoList(0x0)
92 /// Default constructor.
98 //__________________________________________________________________________
99 AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells(const char* filename)
102 fCountHistoList(0x0),
103 fNoCountHistoList(0x0)
105 /// Constructor using an ASCII file.
111 AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells(TList *countHistoList,
112 TList *noCountHistoList)
115 fCountHistoList(countHistoList),
116 fNoCountHistoList(noCountHistoList)
118 /// Constructor using an ASCII file.
122 FillHistosFromList();
125 //_____________________________________________________________________________
126 AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells(const AliMUONTriggerEfficiencyCells& other)
129 fCountHistoList(other.fCountHistoList),
130 fNoCountHistoList(other.fNoCountHistoList)
134 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
135 for(Int_t slat=0; slat<fgkNslats; slat++){
136 fCellContent[chCath][slat] = other.fCellContent[chCath][slat];
138 fCellSize[chCath] = other.fCellSize[chCath];
139 fCellNumber[chCath] = other.fCellNumber[chCath];
140 fBoardEfficiency[chCath] = other.fBoardEfficiency[chCath];
141 fSlatEfficiency[chCath] = other.fSlatEfficiency[chCath];
145 //_____________________________________________________________________________
146 AliMUONTriggerEfficiencyCells& AliMUONTriggerEfficiencyCells::operator=(const AliMUONTriggerEfficiencyCells& other)
148 /// Asignment operator
149 // check assignement to self
153 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
154 for(Int_t slat=0; slat<fgkNslats; slat++){
155 fCellContent[chCath][slat] = other.fCellContent[chCath][slat];
157 fCellSize[chCath] = other.fCellSize[chCath];
158 fCellNumber[chCath] = other.fCellNumber[chCath];
159 fBoardEfficiency[chCath] = other.fBoardEfficiency[chCath];
160 fSlatEfficiency[chCath] = other.fSlatEfficiency[chCath];
163 fCountHistoList = other.fCountHistoList;
164 fNoCountHistoList = other.fNoCountHistoList;
169 //__________________________________________________________________________
170 AliMUONTriggerEfficiencyCells::~AliMUONTriggerEfficiencyCells()
176 //__________________________________________________________________________
177 void AliMUONTriggerEfficiencyCells::GetCellEfficiency(Int_t detElemId, Float_t x, Float_t y, Float_t &eff1, Float_t &eff2) const
179 /// Get the efficiencies of the 2 cathodes at a given location (x,y)
181 Int_t chamber = FindChamberIndex(detElemId);
182 Int_t slat = FindSlatIndex(detElemId);
183 TArrayI cell = CellByCoord(detElemId,x,y);
186 if(cell.At(0)>=0 && cell.At(1)>=0)
188 eff1 = fCellContent[chamber][slat][cell.At(0)][cell.At(1)];
189 eff2 = fCellContent[fgkNchambers+chamber][slat][cell.At(0)][cell.At(1)];
194 //__________________________________________________________________________
195 void AliMUONTriggerEfficiencyCells::GetCellEfficiency(Int_t detElemId, Int_t localBoard, Float_t &eff1, Float_t &eff2) const
197 /// Get the efficiencies of the 2 cathodes at a given local board
199 Int_t chamber = FindChamberIndex(detElemId);
200 Int_t bin = fBoardEfficiency[chamber]->FindBin(localBoard);
201 eff1 = fBoardEfficiency[chamber]->GetBinContent(bin);
202 eff2 = fBoardEfficiency[fgkNchambers+chamber]->GetBinContent(bin);
206 //__________________________________________________________________________
208 AliMUONTriggerEfficiencyCells::IsTriggered(Int_t detElemId, Float_t x, Float_t y, Bool_t &trig1, Bool_t &trig2) const
210 /// Whether or not a given location (x,y) has a chance to trig, on each cathode.
214 GetCellEfficiency(detElemId, x, y, eff1, eff2);
217 if(gRandom->Rndm()>eff1)trig1 = kFALSE;
218 if(gRandom->Rndm()>eff2)trig2 = kFALSE;
222 //__________________________________________________________________________
224 AliMUONTriggerEfficiencyCells::IsTriggered(Int_t detElemId, Int_t localBoard, Bool_t &trig1, Bool_t &trig2) const
226 /// Whether or not a given local board has a chance to trig, on each cathode.
230 GetCellEfficiency(detElemId, localBoard, eff1, eff2);
233 if(gRandom->Rndm()>eff1)trig1 = kFALSE;
234 if(gRandom->Rndm()>eff2)trig2 = kFALSE;
237 //__________________________________________________________________________
238 TArrayI AliMUONTriggerEfficiencyCells::CellByCoord(Int_t detElemId, Float_t x, Float_t y) const
240 /// Get the efficiencies at a given location.
242 Int_t chamber = FindChamberIndex(detElemId);
243 Int_t slat = FindSlatIndex(detElemId);
244 Int_t cell[fgkNcathodes]={-1,-1};
245 Float_t maxX = fCellSize[chamber][slat]*((Float_t)fCellNumber[chamber][slat]);
246 Float_t maxY = fCellSize[fgkNchambers+chamber][slat]*((Float_t)fCellNumber[fgkNchambers+chamber][slat]);
247 if(x>=0 & x<maxX & y>=0 & y<maxY)
249 cell[0] = (Int_t)(x/fCellSize[chamber][slat]);
250 cell[1] = (Int_t)(y/fCellSize[fgkNchambers+chamber][slat]);
252 return TArrayI(fgkNcathodes,cell);
255 //__________________________________________________________________________
256 void AliMUONTriggerEfficiencyCells::ReadFile(const char* filename)
258 /// Reads a file containing the efficiency map.
260 TString fileName = gSystem->ExpandPathName(filename);
261 if(fileName.EndsWith(".root")){
262 ReadHistoBoards(fileName.Data());
267 ifstream file(fileName.Data());
271 if(!strcmp(dat,"localBoards"))ReadFileBoards(file);
272 else ReadFileXY(file);
275 AliWarning(Form("Can't read file %s",fileName.Data()));
280 //__________________________________________________________________________
281 void AliMUONTriggerEfficiencyCells::ReadFileXY(ifstream &file)
283 /// Structure of file (.dat) containing geometrical efficency
284 Int_t datInt=0, detEl=0, chamber=0, rpc=0, chCath=0;
285 Float_t datFloat=0.0;
288 while (file >> dat) {
290 chamber = FindChamberIndex(detEl);
291 rpc = FindSlatIndex(detEl);
293 for(Int_t i=0; i<fgkNcathodes; i++){
294 chCath = fgkNchambers*i + chamber;
296 fCellNumber[chCath][rpc] = datInt;
299 for(Int_t i=0; i<fgkNcathodes; i++){
300 chCath = fgkNchambers*i + chamber;
302 fCellSize[chCath][rpc] = datFloat;
305 for(Int_t cath=0; cath<fgkNcathodes; cath++){
306 chCath = fgkNchambers*cath + chamber;
309 for(Int_t iy=0; iy<fCellNumber[fgkNchambers+chamber][rpc]; iy++){
310 for(Int_t ix=0; ix<fCellNumber[chamber][rpc]; ix++){
312 fCellContent[chCath][rpc][ix][iy] = datFloat;
319 //__________________________________________________________________________
320 void AliMUONTriggerEfficiencyCells::ReadFileBoards(ifstream &file)
322 /// Structure of file (.dat) containing local board efficency
323 Int_t datInt=0, detEl=0, chamber=0, chCath=0, bin=0;
324 Float_t datFloat=0.0;
327 while (file >> dat) {
329 chamber = FindChamberIndex(detEl);
330 //rpc = FindSlatIndex(detEl);
331 for(Int_t cath=0; cath<fgkNcathodes; cath++){
332 chCath = fgkNchambers*cath + chamber;
335 for(Int_t board=1; board<=AliMpConstants::NofLocalBoards(); board++){
337 bin = fBoardEfficiency[chCath]->FindBin(board);
338 fBoardEfficiency[chCath]->SetBinContent(bin, datFloat);
345 //__________________________________________________________________________
346 void AliMUONTriggerEfficiencyCells::ReadHistoBoards(const char *filename)
348 /// Structure of file (.root) containing local board efficency
349 TFile *file = new TFile(filename, "read");
351 AliWarning(Form("Can't read file %s",filename));
355 char *cathCode[fgkNcathodes] = {"bendPlane", "nonBendPlane"};
357 for(Int_t ch=0; ch<fgkNchambers; ch++){
358 for(Int_t cath=0; cath<fgkNcathodes; cath++){
359 sprintf(histoName, "%sBoardEffChamber%i", cathCode[cath], 11+ch);
360 if(!(TH1F *)file->Get(histoName)) {
361 AliWarning(Form("Can't find histo %s in file %s",histoName, filename));
364 Int_t chCath = fgkNchambers*cath + ch;
365 fBoardEfficiency[chCath] = (TH1F *)file->Get(histoName);
371 //_____________________________________________________________________________
372 void AliMUONTriggerEfficiencyCells::CheckConstants() const
374 /// Check consistence of redefined constants
376 assert(fgkNcathodes == AliMpConstants::NofCathodes());
377 assert(fgkNchambers == AliMpConstants::NofTriggerChambers());
378 assert(fgkNplanes == AliMpConstants::NofTriggerChambers() * fgkNcathodes);
382 //__________________________________________________________________________
383 Int_t AliMUONTriggerEfficiencyCells::FindChamberIndex(Int_t detElemId) const
385 /// From detElemId to chamber number
386 Int_t iChamber = AliMpDEManager::GetChamberId(detElemId);
387 Int_t chamber = iChamber-AliMpConstants::NofTrackingChambers();
392 //__________________________________________________________________________
393 Int_t AliMUONTriggerEfficiencyCells::FindSlatIndex(Int_t detElemId) const
395 /// From detElemId to slat index.
396 Int_t slat = detElemId%100;
401 //__________________________________________________________________________
402 TVector2 AliMUONTriggerEfficiencyCells::ChangeReferenceFrame(Float_t x, Float_t y, Float_t x0, Float_t y0)
404 /// (x0,y0) position of the local reference frame (center of the chamber)
406 Float_t x1 = x0-x;//reflection of axis
408 return TVector2(x1,y1);
411 //__________________________________________________________________________
413 AliMUONTriggerEfficiencyCells::Reset()
415 /// Sets our internal array contents to zero.
417 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
418 fCellSize[chCath].Set(fgkNslats);
419 fCellNumber[chCath].Set(fgkNslats);
420 for(Int_t slat=0; slat<fgkNslats; slat++){
421 fCellContent[chCath][slat].ResizeTo(fgkNcells,fgkNcells);
425 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
426 fCellSize[chCath].Reset();
427 fCellNumber[chCath].Reset();
428 for(Int_t slat=0; slat<fgkNslats; slat++){
429 fCellContent[chCath][slat].Zero();
433 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
434 fBoardEfficiency[chCath] = 0x0;
435 fSlatEfficiency[chCath] = 0x0;
441 //__________________________________________________________________________
443 AliMUONTriggerEfficiencyCells::InitHistos()
445 /// Sets our internal array contents to zero.
447 const Int_t kNumOfBoards = AliMpConstants::NofLocalBoards();
449 Char_t histoName[40];
451 Char_t *cathCode[fgkNcathodes] = {"bendPlane", "nonBendPlane"};
453 for(Int_t ch=0; ch<fgkNchambers; ch++){
454 for(Int_t cath=0; cath<fgkNcathodes; cath++){
455 chCath = fgkNchambers*cath + ch;
456 sprintf(histoName, "%sBoardEffChamber%i", cathCode[cath], 11+ch);
457 fBoardEfficiency[chCath] = new TH1F(histoName, histoName, kNumOfBoards, 1-0.5, kNumOfBoards+1.-0.5);
458 sprintf(histoName, "%sSlatEffChamber%i", cathCode[cath], 11+ch);
459 fSlatEfficiency[chCath] = new TH1F(histoName, histoName, fgkNslats, 0-0.5, fgkNslats-0.5);
465 //__________________________________________________________________________
467 AliMUONTriggerEfficiencyCells::FillHistosFromList()
469 /// Sets our internal array contents to zero.
472 TH1F *histoNum = 0x0, *histoDen=0x0, *currHisto = 0x0;
473 TString slatName = "Slat", boardName = "Board", histoName;
474 Int_t iHistoBoard = -1, iHistoSlat = -1;
475 Float_t efficiency, efficiencyError;
477 Int_t nentries = fCountHistoList->GetEntries();
479 for(Int_t iEntry=0; iEntry<nentries; iEntry++){
480 histoNum = (TH1F*)fCountHistoList->At(iEntry);
481 histoDen = (TH1F*)fNoCountHistoList->At(iEntry);
484 AliWarning("Histogram not found in fCountHistoList. Skip to next");
488 AliWarning("Histogram not found in fNoCountHistoList. Skip to next");
492 histoName = histoNum->GetName();
493 nHistoBins = histoNum->GetNbinsX();
495 if(histoName.Contains(boardName)){
497 currHisto = fBoardEfficiency[iHistoBoard];
499 else if(histoName.Contains(slatName)){
501 currHisto = fSlatEfficiency[iHistoSlat];
505 for(Int_t iBin=1; iBin<=nHistoBins; iBin++){
506 CalculateEfficiency((Int_t)histoNum->GetBinContent(iBin), (Int_t)histoNum->GetBinContent(iBin) + (Int_t)histoDen->GetBinContent(iBin), efficiency, efficiencyError, kFALSE);
508 currHisto->SetBinContent(iBin, efficiency);
509 currHisto->SetBinError(iBin, efficiencyError);
516 //_____________________________________________________________________________
517 void AliMUONTriggerEfficiencyCells::CalculateEfficiency(Int_t trigger44, Int_t trigger34,
518 Float_t &efficiency, Float_t &error,
519 Bool_t failuresAsInput)
522 /// Returns the efficiency.
528 efficiency=(Double_t)trigger44/((Double_t)trigger34);
529 if(failuresAsInput)efficiency=1.-(Double_t)trigger44/((Double_t)trigger34);
531 Double_t q = TMath::Abs(1-efficiency);
532 if(efficiency<0)error=0.0;
533 else error = TMath::Sqrt(efficiency*q/((Double_t)trigger34));
536 //_____________________________________________________________________________
537 void AliMUONTriggerEfficiencyCells::DisplayEfficiency(Bool_t perSlat)
540 /// Display calculated efficiency.
543 const Int_t kNumOfBoards = AliMpConstants::NofLocalBoards();
545 Bool_t isInitSlat = kFALSE, isInitBoard = kFALSE;
546 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
547 if(fBoardEfficiency[chCath]->GetEntries()>0) isInitBoard = kTRUE;
548 if(fSlatEfficiency[chCath]->GetEntries()>0) isInitSlat = kTRUE;
552 printf("Trigger efficiency not initialized per board.\nDisplay not yet implemented.\n");
555 if(!isInitSlat && perSlat){
556 printf("Trigger efficiency not initialized for slat.\nPlease try option kFALSE.\n");
560 Int_t side, col, line, nbx, slat;
561 Float_t xCenter, yCenter, zCenter, xWidth, yWidth;
562 Float_t x1Label, x2Label, y1Label, y2Label;
563 Int_t x1, y1, x2, y2, board=0;
564 Char_t name[8], text[200];
566 gStyle->SetPalette(1);
568 Char_t *cathCode[fgkNcathodes] = {"bendPlane", "nonBendPlane"};
570 Float_t boardsX = 257.00; // cm
571 Float_t boardsY = 307.00; // cm
573 TH2F *histo[fgkNplanes];
574 TPaveLabel *boardLabel[fgkNplanes][234];
575 assert(kNumOfBoards==234);
576 TArrayI boardsPerColumn[9];
577 for(Int_t iLine=0; iLine<9; iLine++){
578 boardsPerColumn[iLine].Set(7);
579 boardsPerColumn[iLine].Reset();
582 Char_t histoName[40], histoTitle[90], labelTxt[5];
584 Float_t efficiency, efficiencyError;
586 for(Int_t cath=0; cath<fgkNcathodes; cath++){
587 for(Int_t ch=0; ch<fgkNchambers; ch++){
588 Int_t chCath = fgkNchambers*cath + ch;
589 sprintf(histoName, "%sChamber%i", cathCode[cath], 11+ch);
590 sprintf(histoTitle, "Chamber %i: efficiency %s", 11+ch, cathCode[cath]);
591 histo[chCath] = new TH2F(histoName, histoTitle, (Int_t)boardsX, -boardsX, boardsX, (Int_t)boardsY, -boardsY, boardsY);
592 histo[chCath]->SetXTitle("X (cm)");
593 histo[chCath]->SetYTitle("Y (cm)");
597 TString mapspath = gSystem->Getenv("ALICE_ROOT");
598 mapspath.Append("/MUON/data");
600 sprintf(text,"%s/guimapp11.txt",mapspath.Data());
603 if(gSystem->GetPathInfo(text,fs)){
604 AliWarning(Form("Map file %s not found. Nothing done",text));
608 FILE *fmap = fopen(text,"r");
610 for (Int_t ib = 0; ib < kNumOfBoards; ib++) {
611 fscanf(fmap,"%d %d %d %d %f %f %f %f %f %s \n",&side,&col,&line,&nbx,&xCenter,&yCenter,&xWidth,&yWidth,&zCenter,&name[0]);
612 if(side==0) continue;
613 boardsPerColumn[line-1][col-1]++;
618 for (Int_t ib = 0; ib < kNumOfBoards; ib++) {
619 fscanf(fmap,"%d %d %d %d %f %f %f %f %f %s \n",&side,&col,&line,&nbx,&xCenter,&yCenter,&xWidth,&yWidth,&zCenter,&name[0]);
622 for(Int_t iCol=1; iCol<=col; iCol++){
624 if(iCol==col) lastLine = line-1;
625 for(Int_t iLine=1; iLine<=lastLine; iLine++){
626 board += boardsPerColumn[iLine-1][iCol-1];
629 if(side==0) board += kNumOfBoards/2;
632 slat = (line+13)%fgkNslats;
633 if(side==0) slat = 14-line;
635 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
636 x1 = histo[chCath]->GetXaxis()->FindBin(xCenter-xWidth/2.)+1;
637 y1 = histo[chCath]->GetYaxis()->FindBin(yCenter-yWidth/2.)+1;
638 x2 = histo[chCath]->GetXaxis()->FindBin(xCenter+xWidth/2.)-1;
639 y2 = histo[chCath]->GetYaxis()->FindBin(yCenter+yWidth/2.)-1;
641 x1Label = xCenter-xWidth/2.;
642 y1Label = yCenter-yWidth/2.;
643 x2Label = xCenter+xWidth/2.;
644 y2Label = yCenter+yWidth/2.;
645 sprintf(labelTxt,"%3d", board+1);
648 x2Label = x1Label + 40.;
649 y1Label = -285. + ((Float_t)(line - 1)) * 68;
650 y2Label = y1Label + 34.;
653 x2Label = x1Label + 40.;
655 sprintf(labelTxt,"%2d", slat);
658 boardLabel[chCath][board] = new TPaveLabel(x1Label, y1Label, x2Label, y2Label, labelTxt);
659 boardLabel[chCath][board]->SetFillStyle(0);
660 boardLabel[chCath][board]->SetBorderSize(0);
662 Int_t histoBin = board+1;
663 if(perSlat) histoBin = slat+1;
666 efficiency = fBoardEfficiency[chCath]->GetBinContent(histoBin);
667 efficiencyError = fBoardEfficiency[chCath]->GetBinError(histoBin);
670 efficiency = fSlatEfficiency[chCath]->GetBinContent(histoBin);
671 efficiencyError = fSlatEfficiency[chCath]->GetBinError(histoBin);
674 for(Int_t binX=x1; binX<=x2; binX++){
675 for(Int_t binY=y1; binY<=y2; binY++){
676 histo[chCath]->SetBinContent(binX, binY, efficiency);
677 histo[chCath]->SetBinError(binX, binY, efficiencyError);
686 for(Int_t chCath=0; chCath<fgkNplanes; chCath++){
687 sprintf(histoName, "%sCan", histo[chCath]->GetName());
688 sprintf(histoTitle, "%s", histo[chCath]->GetTitle());
689 can[chCath] = new TCanvas(histoName, histoTitle, 100+10*chCath, 10*chCath, 700, 700);
690 can[chCath]->SetRightMargin(0.14);
691 can[chCath]->SetLeftMargin(0.12);
692 histo[chCath]->GetZaxis()->SetRangeUser(0.,1.);
693 histo[chCath]->GetYaxis()->SetTitleOffset(1.4);
694 histo[chCath]->SetStats(kFALSE);
695 histo[chCath]->Draw("COLZ");
696 for (Int_t board = 0; board < kNumOfBoards; board++) {
697 boardLabel[chCath][board]->Draw("same");
703 //__________________________________________________________________________
704 Bool_t AliMUONTriggerEfficiencyCells::SumRunEfficiency(const AliMUONTriggerEfficiencyCells &other)
706 /// Sums results from different runs and gives the efficiency
707 if(!fCountHistoList || !fNoCountHistoList) {
708 AliWarning("Histograms for efficiency calculations not implemented in object");
711 if(!other.fCountHistoList || !other.fNoCountHistoList) {
712 AliWarning("Histograms for efficiency calculations not implemented in object passed as argument");
716 Int_t nentries = fCountHistoList->GetEntries();
717 TH1F *currNum = 0x0, *currDen = 0x0, *otherNum = 0x0, *otherDen = 0x0;
719 for(Int_t iEntry=0; iEntry<nentries; iEntry++){
720 currNum = (TH1F*)fCountHistoList->At(iEntry);
721 currDen = (TH1F*)fNoCountHistoList->At(iEntry);
722 otherNum = (TH1F*)other.fCountHistoList->At(iEntry);
723 otherDen = (TH1F*)other.fNoCountHistoList->At(iEntry);
724 currNum->Add(otherNum);
725 currDen->Add(otherDen);
728 FillHistosFromList();