]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected list of motif types for station2 (Ivana)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Jun 2005 02:15:51 +0000 (02:15 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Jun 2005 02:15:51 +0000 (02:15 +0000)
MUON/mapping/macros/testMotifTypeIterators.C
MUON/mapping/macros/testReadMotifType.C

index 268e9e468b232a91fcb531dd3baea2446085b5a3..2058ad756618d01a42f0d7a2f03e5b27584ee553 100644 (file)
@@ -20,14 +20,14 @@ void testMotifTypeIterators(AliMpStationType station = kStation1,
       nv = 5;
     }  
     else {
-      names = "ABCDEFGHIIJKLMN";
-      names2 ="abcdefgijklmnopqrstuwvvvvvv";
-      nv = 6;
+      names = "ABCEFGHIJKLMN";
+      names2 ="abcdefgijklmnopqrstuwvvvvv";
+      nv = 5;
     }  
   Int_t nofMotifs = names.Length() + names2.Length(); 
   // cout << " nofMotifs: " << nofMotifs << endl;   
     
-  TH2C* histos[] = new TH2C* [names.Length()];
+  TH2C* histos[] = new TH2C* [nofMotifs];
   TCanvas* canv[] = new TCanvas* [1+(nofMotifs-1)/4];
   Int_t i;
   for (i=0;i<1+(nofMotifs-1)/4;++i){
@@ -56,7 +56,7 @@ void testMotifTypeIterators(AliMpStationType station = kStation1,
       else        
         mname += "1";
     }  
-    // if (i==36) continue;  
+    //if (i==36) continue;  
         // break for these motifs (St2, BP) - to be investigated
    
     AliMpMotifType *mt = r.BuildMotifType(mname);
@@ -86,7 +86,7 @@ void testMotifTypeIterators(AliMpStationType station = kStation1,
                       it.CurrentItem().GetIndices().GetSecond(),num);
     }
 
-    delete mt;
+    //delete mt;
     histos[i]->Draw("text");
     canv[i/4]->Update();
   }
index aa9ad5311dfa5a83efea99f77ec322e0aa05881d..1a108240892f279d719b65b53512b8323234f583 100644 (file)
@@ -23,9 +23,9 @@ void testReadMotifType(AliMpStationType station = kStation1,
       nv = 5;
     }  
     else {
-      names = "ABCDEFGHIIJKLMN";
+      names = "ABCEFGHIJKLMN";
       names2 ="abcdefgijklmnopqrstuwv";
-      nv = 6;
+      nv = 5;
     }  
     
   for (Int_t i=0;i<names.Length();++i){