Slash removed from histograms names (D. Elia)
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Oct 2008 07:49:57 +0000 (07:49 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Oct 2008 07:49:57 +0000 (07:49 +0000)
ITS/AliITSQASPDDataMakerRec.cxx
ITS/AliITSQASPDDataMakerSim.cxx

index 2961fed..7dca156 100644 (file)
@@ -113,7 +113,7 @@ void AliITSQASPDDataMakerRec::InitRaws()
   Char_t name[50];
   Char_t title[50];
 
-  TH1F *hlayer = new TH1F("SPD/LayPattern_SPD","Layer map - SPD",6,0.,6.);
+  TH1F *hlayer = new TH1F("SPDLayPattern_SPD","Layer map - SPD",6,0.,6.);
   hlayer->GetXaxis()->SetTitle("Layer number");
   hlayer->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerRec->Add2RawsList(hlayer, 0+fGenOffset, kTRUE);
@@ -123,7 +123,7 @@ void AliITSQASPDDataMakerRec::InitRaws()
   TH2F **hhitMap = new TH2F*[20];
   TH1F **herrors = new TH1F*[20];
   for (Int_t iLay=0; iLay<2; iLay++) {
-    sprintf(name,"SPD/ModPattern_SPD%d",iLay+1);
+    sprintf(name,"SPDModPattern_SPD%d",iLay+1);
     sprintf(title,"Module map - SPD Layer %d",iLay+1);
     hmod[iLay]=new TH1F(name,title,fgknSPDmodules,0,fgknSPDmodules);
     hmod[iLay]->GetXaxis()->SetTitle("Module number");
@@ -133,14 +133,14 @@ void AliITSQASPDDataMakerRec::InitRaws()
   }
   fAdvLogger = new AliITSRawStreamSPDErrorLog();  
   for (Int_t iDDL=0; iDDL<20; iDDL++) {
-    sprintf(name,"SPD/HitMap_SPD_DDL%d",iDDL+1);
+    sprintf(name,"SPDHitMap_SPD_DDL%d",iDDL+1);
     sprintf(title,"Hit map - SPD DDL %d",iDDL+1);
     hhitMap[iDDL]=new TH2F(name,title,320,0,10*32,1536,0,6*256);
     hhitMap[iDDL]->GetXaxis()->SetTitle("Column");
     hhitMap[iDDL]->GetYaxis()->SetTitle("Row");
     fAliITSQADataMakerRec->Add2RawsList(hhitMap[iDDL], 3+(2*iDDL)+fGenOffset, kTRUE);
     fSPDhTask++;
-    sprintf(name,"SPD/Errors_SPD_DDL%d",iDDL+1);
+    sprintf(name,"SPDErrors_SPD_DDL%d",iDDL+1);
     sprintf(title,"Error codes - SPD DDL %d",iDDL+1);
     herrors[iDDL] = new TH1F (name,title,15,0,15);
     herrors[iDDL]->SetXTitle("Error Code");
@@ -151,7 +151,7 @@ void AliITSQASPDDataMakerRec::InitRaws()
 
   TH1F** hMultSPDhits = new TH1F*[2];
   for (Int_t iLay=0; iLay<2; iLay++) {
-    sprintf(name,"SPD/HitsMultiplicity_SPD%d",iLay+1);
+    sprintf(name,"SPDHitsMultiplicity_SPD%d",iLay+1);
     sprintf(title,"Hit multiplicity - SPD Layer %d",iLay+1);
     hMultSPDhits[iLay]=new TH1F(name,title,200,0.,200.);
     hMultSPDhits[iLay]->GetXaxis()->SetTitle("Hit multiplicity");
@@ -161,7 +161,7 @@ void AliITSQASPDDataMakerRec::InitRaws()
   }
 
   TH2F *hMultSPDhits2MultSPDhits1 
-         = new TH2F("SPD/HitMultCorrelation_SPD","Hit multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
+         = new TH2F("SPDHitMultCorrelation_SPD","Hit multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
   hMultSPDhits2MultSPDhits1->GetXaxis()->SetTitle("Hit multiplicity (Layer 1)");
   hMultSPDhits2MultSPDhits1->GetYaxis()->SetTitle("Hit multiplicity (Layer 2)");
   fAliITSQADataMakerRec->Add2RawsList(hMultSPDhits2MultSPDhits1, 45+fGenOffset);
@@ -233,7 +233,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
   // Initialization for RECPOINTS - SPD -
   fGenOffset = (fAliITSQADataMakerRec->fRecPointsQAList)->GetEntries();
 
-  TH1F* hlayer= new TH1F("SPD/LayPattern_SPD","Layer map - SPD",6,0.,6.);
+  TH1F* hlayer= new TH1F("SPDLayPattern_SPD","Layer map - SPD",6,0.,6.);
   hlayer->GetXaxis()->SetTitle("Layer number");
   hlayer->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerRec->Add2RecPointsList(hlayer, 0+fGenOffset, kTRUE); 
@@ -257,7 +257,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
   Char_t name[50];
   Char_t title[50];
   for (Int_t iLay=0;iLay<2;iLay++) {
-    sprintf(name,"SPD/ModPattern_SPD%d",iLay+1);
+    sprintf(name,"SPDModPattern_SPD%d",iLay+1);
     sprintf(title,"Module map - SPD Layer %d",iLay+1);
     hmod[iLay]=new TH1F(name,title,fgknSPDmodules,0,fgknSPDmodules);
     hmod[iLay]->GetXaxis()->SetTitle("Module number");
@@ -265,7 +265,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hmod[iLay], 1+(10*iLay)+fGenOffset, kTRUE); 
     fSPDhTask++;
 
-    sprintf(name,"SPD/xLoc_SPD%d",iLay+1);
+    sprintf(name,"SPDxLoc_SPD%d",iLay+1);
     sprintf(title,"Local x coordinate - SPD Layer %d",iLay+1);
     hxl[iLay]=new TH1F(name,title,100,-4.,4.);
     hxl[iLay]->GetXaxis()->SetTitle("Local x [cm]");
@@ -273,7 +273,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hxl[iLay], 2+(10*iLay)+fGenOffset, kTRUE);
     fSPDhTask++;
 
-    sprintf(name,"SPD/zLoc_SPD%d",iLay+1);
+    sprintf(name,"SPDzLoc_SPD%d",iLay+1);
     sprintf(title,"Local z coordinate - SPD Layer %d",iLay+1);
     hzl[iLay]=new TH1F(name,title,100,-4.,4.);
     hzl[iLay]->GetXaxis()->SetTitle("Local z [cm]");
@@ -281,7 +281,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hzl[iLay], 3+(10*iLay)+fGenOffset, kTRUE); 
     fSPDhTask++;
 
-    sprintf(name,"SPD/xGlob_SPD%d",iLay+1);
+    sprintf(name,"SPDxGlob_SPD%d",iLay+1);
     sprintf(title,"Global x coordinate - SPD Layer %d",iLay+1);
     hxg[iLay]=new TH1F(name,title,100,-xlim[iLay],xlim[iLay]);
     hxg[iLay]->GetXaxis()->SetTitle("Global x [cm]");
@@ -289,7 +289,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hxg[iLay],4+(10*iLay)+fGenOffset, kTRUE);  
     fSPDhTask++;
 
-    sprintf(name,"SPD/yGlob_SPD%d",iLay+1);
+    sprintf(name,"SPDyGlob_SPD%d",iLay+1);
     sprintf(title,"Global y coordinate - SPD Layer %d",iLay+1);
     hyg[iLay]=new TH1F(name,title,100,-xlim[iLay],xlim[iLay]);
     hyg[iLay]->GetXaxis()->SetTitle("Global y [cm]");
@@ -297,7 +297,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hyg[iLay], 5+(10*iLay)+fGenOffset, kTRUE); 
     fSPDhTask++;
 
-    sprintf(name,"SPD/zGlob_SPD%d",iLay+1);
+    sprintf(name,"SPDzGlob_SPD%d",iLay+1);
     sprintf(title,"Global z coordinate - SPD Layer %d",iLay+1);
     hzg[iLay]=new TH1F(name,title,150,-zlim[iLay],zlim[iLay]);
     hzg[iLay]->GetXaxis()->SetTitle("Global z [cm]");
@@ -305,7 +305,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hzg[iLay], 6+(10*iLay)+fGenOffset, kTRUE); 
     fSPDhTask++;
 
-    sprintf(name,"SPD/r_SPD%d",iLay+1);
+    sprintf(name,"SPDr_SPD%d",iLay+1);
     sprintf(title,"Radius - SPD Layer %d",iLay+1);
     hr[iLay]=new TH1F(name,title,100,0.,10.);
     hr[iLay]->GetXaxis()->SetTitle("r [cm]");
@@ -313,7 +313,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hr[iLay], 7+(10*iLay)+fGenOffset, kTRUE);  
     fSPDhTask++;
 
-    sprintf(name,"SPD/phi_SPD%d",iLay+1);
+    sprintf(name,"SPDphi_SPD%d",iLay+1);
     sprintf(title,"#varphi - SPD Layer %d",iLay+1);
     hphi[iLay]=new TH1F(name,title,1000,0.,2*TMath::Pi());
     hphi[iLay]->GetXaxis()->SetTitle("#varphi [rad]");
@@ -321,7 +321,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hphi[iLay], 8+(10*iLay)+fGenOffset, kTRUE);
     fSPDhTask++;
     
-    sprintf(name,"SPD/SizeYvsZ_SPD%d",iLay+1);
+    sprintf(name,"SPDSizeYvsZ_SPD%d",iLay+1);
     sprintf(title,"Cluster dimension - SPD Layer %d",iLay+1);
     hNyNz[iLay]=new TH2F(name,title,100,0.,100.,100,0.,100.);
     hNyNz[iLay]->GetXaxis()->SetTitle("z length");
@@ -329,7 +329,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
     fAliITSQADataMakerRec->Add2RecPointsList(hNyNz[iLay], 9+(10*iLay)+fGenOffset, kTRUE); 
     fSPDhTask++;
 
-    sprintf(name,"SPD/phi_z_SPD%d",iLay+1);
+    sprintf(name,"SPDphi_z_SPD%d",iLay+1);
     sprintf(title,"#varphi vs z - SPD Layer %d",iLay+1);
     hPhiZ[iLay]=new TH2F(name,title,150,-zlim[iLay],zlim[iLay],200,0.,2*TMath::Pi());
     hPhiZ[iLay]->GetXaxis()->SetTitle("Global z [cm]");
@@ -339,20 +339,20 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
 
   }
 
-  TH2F *hrPhi=new TH2F("SPD/r_phi_SPD","#varphi vs r - SPD",100,0.,10.,100,0.,2*TMath::Pi());
+  TH2F *hrPhi=new TH2F("SPDr_phi_SPD","#varphi vs r - SPD",100,0.,10.,100,0.,2*TMath::Pi());
   hrPhi->GetXaxis()->SetTitle("r [cm]");
   hrPhi->GetYaxis()->SetTitle("#varphi [rad]");
   fAliITSQADataMakerRec->Add2RecPointsList(hrPhi, 21+fGenOffset, kTRUE);
   fSPDhTask++;
 
-  TH2F *hxy=new TH2F("SPD/x_y_SPD","Global y vs x - SPD",200,-10.,10.,200,-10.,10.);
+  TH2F *hxy=new TH2F("SPDx_y_SPD","Global y vs x - SPD",200,-10.,10.,200,-10.,10.);
   hxy->GetXaxis()->SetTitle("Global x [cm]");
   hxy->GetYaxis()->SetTitle("Global y [cm]");
   fAliITSQADataMakerRec->Add2RecPointsList(hxy, 22+fGenOffset);
   fSPDhTask++;
 
   for (Int_t iLay=0;iLay<2;iLay++) {
-    sprintf(name,"SPD/Multiplicity_SPD%d",iLay+1);
+    sprintf(name,"SPDMultiplicity_SPD%d",iLay+1);
     sprintf(title,"Cluster multiplicity - SPD Layer %d",iLay+1);
     hMultSPDcl[iLay]=new TH1F(name,title,200,0.,200.);
     hMultSPDcl[iLay]->GetXaxis()->SetTitle("Cluster multiplicity");
@@ -362,7 +362,7 @@ void AliITSQASPDDataMakerRec::InitRecPoints()
   } 
 
   TH2F *hMultSPDcl2MultSPDcl1 =
-        new TH2F("SPD/MultCorrelation_SPD","Cluster multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
+        new TH2F("SPDMultCorrelation_SPD","Cluster multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
   hMultSPDcl2MultSPDcl1->GetXaxis()->SetTitle("Clusters multiplicity (Layer 1)");
   hMultSPDcl2MultSPDcl1->GetYaxis()->SetTitle("Clusters multiplicity (Layer 2)"); 
   fAliITSQADataMakerRec->Add2RecPointsList(hMultSPDcl2MultSPDcl1, 25+fGenOffset, kFALSE);
index fb7fbcf..7211452 100644 (file)
@@ -106,7 +106,7 @@ void AliITSQASPDDataMakerSim::InitDigits()
   Char_t name[50];
   Char_t title[50];
 
-  TH1F *hlayer = new TH1F("SPD/LayPattern_SPD","Layer map - SPD",6,0.,6.);
+  TH1F *hlayer = new TH1F("SPDLayPattern_SPD","Layer map - SPD",6,0.,6.);
   hlayer->GetXaxis()->SetTitle("Layer number");
   hlayer->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerSim->Add2DigitsList(hlayer,fGenOffsetD,kTRUE);
@@ -114,7 +114,7 @@ void AliITSQASPDDataMakerSim::InitDigits()
   
   TH1F **hmod = new TH1F*[2];
   for (Int_t iLay=0; iLay<2; iLay++) {
-    sprintf(name,"SPD/ModPattern_SPD%d",iLay+1);
+    sprintf(name,"SPDModPattern_SPD%d",iLay+1);
     sprintf(title,"Module map - SPD Layer %d",iLay+1);
     hmod[iLay]=new TH1F(name,title,240,0,240);
     hmod[iLay]->GetXaxis()->SetTitle("Module number");
@@ -123,13 +123,13 @@ void AliITSQASPDDataMakerSim::InitDigits()
     fSPDhTask++;
   }
   
-  TH1F *hcolumns = new TH1F("SPD/Columns_SPD","Columns - SPD",160,0.,160.);
+  TH1F *hcolumns = new TH1F("SPDColumns_SPD","Columns - SPD",160,0.,160.);
   hcolumns->GetXaxis()->SetTitle("Column number");
   hcolumns->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerSim->Add2DigitsList(hcolumns,3+fGenOffsetD,kTRUE);
   fSPDhTask++;
 
-  TH1F *hrows = new TH1F("SPD/Rows_SPD","Rows - SPD",256,0.,256.);
+  TH1F *hrows = new TH1F("SPDRows_SPD","Rows - SPD",256,0.,256.);
   hrows->GetXaxis()->SetTitle("Row number");
   hrows->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerSim->Add2DigitsList(hrows,4+fGenOffsetD,kTRUE);
@@ -137,7 +137,7 @@ void AliITSQASPDDataMakerSim::InitDigits()
 
   TH1F** hMultSPDdigits = new TH1F*[2];
   for (Int_t iLay=0; iLay<2; ++iLay) {
-    sprintf(name,"SPD/DigitMultiplicity_SPD%d",iLay+1);
+    sprintf(name,"SPDDigitMultiplicity_SPD%d",iLay+1);
     sprintf(title,"Digit multiplicity - SPD Layer %d",iLay+1);
     hMultSPDdigits[iLay]=new TH1F(name,title,200,0.,200.);
     hMultSPDdigits[iLay]->GetXaxis()->SetTitle("Digit multiplicity");
@@ -147,7 +147,7 @@ void AliITSQASPDDataMakerSim::InitDigits()
   }
 
   TH2F *hMultSPDdig2MultSPDdig1 
-       = new TH2F("SPD/DigitMultCorrelation_SPD","Digit multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
+       = new TH2F("SPDDigitMultCorrelation_SPD","Digit multiplicity correlation - SPD",200,0.,200.,200,0.,200.);
   hMultSPDdig2MultSPDdig1->GetXaxis()->SetTitle("Digit multiplicity (Layer 1)");
   hMultSPDdig2MultSPDdig1->GetYaxis()->SetTitle("Digit multiplicity (Layer 2)");
   fAliITSQADataMakerSim->Add2DigitsList(hMultSPDdig2MultSPDdig1,7+fGenOffsetD);
@@ -205,7 +205,7 @@ void AliITSQASPDDataMakerSim::InitSDigits()
   Char_t name[50];
   Char_t title[50];
 
-  TH1F *hlayer = new TH1F("SPD/LayPattern_SPD","Layer map - SPD",6,0.,6.);
+  TH1F *hlayer = new TH1F("SPDLayPattern_SPD","Layer map - SPD",6,0.,6.);
   hlayer->GetXaxis()->SetTitle("Layer number");
   hlayer->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerSim->Add2SDigitsList(hlayer,fGenOffsetS,kTRUE);
@@ -213,7 +213,7 @@ void AliITSQASPDDataMakerSim::InitSDigits()
 
   TH1F **hmod = new TH1F*[2];
   for (Int_t iLay=0; iLay<2; ++iLay) {
-    sprintf(name,"SPD/ModPattern_SPD%d",iLay+1);
+    sprintf(name,"SPDModPattern_SPD%d",iLay+1);
     sprintf(title,"Module map - SPD Layer %d",iLay+1);
     hmod[iLay]=new TH1F(name,title,240,0,240);
     hmod[iLay]->GetXaxis()->SetTitle("Module number");
@@ -259,7 +259,7 @@ void AliITSQASPDDataMakerSim::InitHits()
   Char_t name[50];
   Char_t title[50];
 
-  TH1F *hlayer = new TH1F("SPD/LayPattern_SPD","Layer map - SPD",6,0.,6.);
+  TH1F *hlayer = new TH1F("SPDLayPattern_SPD","Layer map - SPD",6,0.,6.);
   hlayer->GetXaxis()->SetTitle("Layer number");
   hlayer->GetYaxis()->SetTitle("Entries");
   fAliITSQADataMakerSim->Add2HitsList(hlayer,fGenOffsetH,kTRUE);
@@ -267,7 +267,7 @@ void AliITSQASPDDataMakerSim::InitHits()
 
   TH1F **hmod = new TH1F*[2];
   for (Int_t iLay=0; iLay<2; ++iLay) {
-    sprintf(name,"SPD/ModPattern_SPD%d",iLay+1);
+    sprintf(name,"SPDModPattern_SPD%d",iLay+1);
     sprintf(title,"Module map - SPD Layer %d",iLay+1);
     hmod[iLay]=new TH1F(name,title,240,0,240);
     hmod[iLay]->GetXaxis()->SetTitle("Module number");
@@ -276,13 +276,13 @@ void AliITSQASPDDataMakerSim::InitHits()
     fSPDhTask++;
   }
 
-  TH1F *hhitlenght = new TH1F("SPD/Lenght_SPD","Hit lenght along y_{loc} coord",210,0.,210.);
+  TH1F *hhitlenght = new TH1F("SPDLenght_SPD","Hit lenght along y_{loc} coord",210,0.,210.);
   hhitlenght->GetXaxis()->SetTitle("Hit lenght [#mum]");
   hhitlenght->GetYaxis()->SetTitle("# hits");
   fAliITSQADataMakerSim->Add2HitsList(hhitlenght,3+fGenOffsetH);
   fSPDhTask++;
 
-  TH1F *hEdepos = new TH1F("SPD/EnergyDeposit_SPD","Deposited energy distribution (y_{loc}>180 #mum)",150,0.,300.); 
+  TH1F *hEdepos = new TH1F("SPDEnergyDeposit_SPD","Deposited energy distribution (y_{loc}>180 #mum)",150,0.,300.); 
   hEdepos->GetXaxis()->SetTitle("Deposited energy [keV]"); 
   hEdepos->GetYaxis()->SetTitle("# hits");
   fAliITSQADataMakerSim->Add2HitsList(hEdepos,4+fGenOffsetH);