]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
from F. Blanco: updating number of EMCal SuperModules in QA code
authordsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jan 2012 13:31:49 +0000 (13:31 +0000)
committerdsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jan 2012 13:31:49 +0000 (13:31 +0000)
EMCAL/AliEMCALQAChecker.cxx
EMCAL/AliEMCALQAChecker.h
EMCAL/AliEMCALQADataMakerRec.cxx

index 9bad785cdee61a45141785ba647648cab2976155..5abb7d8e405f3b0254b933a58d4191713c6cab7c 100644 (file)
@@ -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<TText *>(qac.fTextSM[sm]->Clone()) ;
   }
-       for(Int_t i = 0 ; i < 4 ; i++) {
+       for(Int_t i = 0 ; i < 5 ; i++) {
 
                fLineRow[i] = static_cast<TLine*>(qac.fLineRow[i]->Clone()) ; 
        }
index cf2a657b468a22889a8e2a54f0f8128c94eb06ec..f287caee6438b6e8b01911e3481cd0a1dcd0c9c9 100644 (file)
@@ -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 
 
index ee33a5f01295b88b182ecd11415c4be14e580a03..b1792f69cfb571dae3a19e0828a016954b67f2be 100644 (file)
@@ -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),