From: dsilverm Date: Thu, 19 Jan 2012 13:31:49 +0000 (+0000) Subject: from F. Blanco: updating number of EMCal SuperModules in QA code X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=b8769ad2ef4c80f398a63895ccb1c4f4ce8e4839;p=u%2Fmrichter%2FAliRoot.git from F. Blanco: updating number of EMCal SuperModules in QA code --- diff --git a/EMCAL/AliEMCALQAChecker.cxx b/EMCAL/AliEMCALQAChecker.cxx index 9bad785cdee..5abb7d8e405 100644 --- a/EMCAL/AliEMCALQAChecker.cxx +++ b/EMCAL/AliEMCALQAChecker.cxx @@ -67,14 +67,16 @@ fText(new TPaveText(0.2,0.7,0.8,0.9,"NDC")) fTextSM[2]= new TText(20, 60, "SM A2"); fTextSM[3]= new TText(20, 84, "SM A3"); fTextSM[4]= new TText(20, 108,"SM A4"); + fTextSM[5]= new TText(20, 132,"SM A5"); - fTextSM[5]= new TText(64, 12, "SM C0"); - fTextSM[6]= new TText(64, 36, "SM C1"); - fTextSM[7]= new TText(64, 60, "SM C2"); - fTextSM[8]= new TText(64, 84, "SM C3"); - fTextSM[9]= new TText(64, 108,"SM C4"); + fTextSM[6]= new TText(64, 12, "SM C0"); + fTextSM[7]= new TText(64, 36, "SM C1"); + fTextSM[8]= new TText(64, 60, "SM C2"); + fTextSM[9]= new TText(64, 84, "SM C3"); + fTextSM[10]= new TText(64, 108,"SM C4"); + fTextSM[11]= new TText(64, 132,"SM C5"); - for(int i = 0; i < 4; i++) { + for(int i = 0; i < 5; i++) { fLineRow[i] = new TLine(-0.5,23.5+(24*i),95.5,23.5+(24*i)); fLineRow[i]->SetLineColor(1); fLineRow[i]->SetLineWidth(2); @@ -89,7 +91,7 @@ AliEMCALQAChecker::~AliEMCALQAChecker() /// dtor delete [] fTextSM ; delete fLineCol ; - for (Int_t i=0; i<4; ++i) delete fLineRow[i] ; + for (Int_t i=0; i<5; ++i) delete fLineRow[i] ; delete fText ; } @@ -104,7 +106,7 @@ fText(new TPaveText(0.2,0.7,0.8,0.9,"NDC")) for (Int_t sm = 0 ; sm < fgknSM ; sm++){ fTextSM[sm] = static_cast(qac.fTextSM[sm]->Clone()) ; } - for(Int_t i = 0 ; i < 4 ; i++) { + for(Int_t i = 0 ; i < 5 ; i++) { fLineRow[i] = static_cast(qac.fLineRow[i]->Clone()) ; } diff --git a/EMCAL/AliEMCALQAChecker.h b/EMCAL/AliEMCALQAChecker.h index cf2a657b468..f287caee643 100644 --- a/EMCAL/AliEMCALQAChecker.h +++ b/EMCAL/AliEMCALQAChecker.h @@ -79,12 +79,12 @@ private: //TH1F * htemp; //a tempory histrogram for getting the mean and sigma //Double_t fMean; //mean value //Double_t fWidth; //sigma of the distribution - static const Int_t fgknSM = 10; //! number of current SM + static const Int_t fgknSM = 12; //! number of current SM // TLine ** fLine ; //! line to distinguish the different SM // TLine ** fHref ; //! Line marking the average value for each SM TText ** fTextSM ; //! Text info for each SM TLine * fLineCol ; //! line to distinguish the different SM side: A side and C side - TLine * fLineRow[4] ; //! line to distinguish the different SM sectors (0-4) + TLine * fLineRow[5] ; //! line to distinguish the different SM sectors (0-5) TPaveText * fText ; //! Information text for the quality of each SM ClassDef(AliEMCALQAChecker,4) // description diff --git a/EMCAL/AliEMCALQADataMakerRec.cxx b/EMCAL/AliEMCALQADataMakerRec.cxx index ee33a5f0129..b1792f69cfb 100644 --- a/EMCAL/AliEMCALQADataMakerRec.cxx +++ b/EMCAL/AliEMCALQADataMakerRec.cxx @@ -86,7 +86,7 @@ AliEMCALQADataMakerRec::AliEMCALQADataMakerRec(fitAlgorithm fitAlgo) : fRawAnalyzer(0), fRawAnalyzerTRU(0), fGeom(0), - fSuperModules(10), // FIXME!!! number of SuperModules; 10 for 2011; update default for later runs + fSuperModules(12), // FIXME!!! number of SuperModules; 12 for 2012; update default for later runs fFirstPedestalSample(0), fLastPedestalSample(3), fFirstPedestalSampleTRU(0),