Minor fixes in SDD macros
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 12:43:52 +0000 (12:43 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 12:43:52 +0000 (12:43 +0000)
ITS/macrosSDD/CheckSDDInESD.C
ITS/macrosSDD/PlotSDDRawData.C

index e2acf35..211e108 100644 (file)
@@ -105,7 +105,7 @@ void CheckSDDInESD(TString filename="AliESDs.root", Int_t optTracks=kAll){
        if(clumap&(1<<i)) ++nPointsForPid;
       }
       //      track->PropagateTo(4.,5.);
-      htpccl->Fill(track->GetNcls(1)<70);
+      htpccl->Fill(track->GetNcls(1));
       Int_t status=track->GetStatus();
       Bool_t tpcin=0;
       hStatus->Fill(-1.);
index 444b4c2..a86f616 100644 (file)
@@ -30,11 +30,11 @@ void PlotSDDRawData(Char_t datafil[100], Int_t nDDL, Int_t firstEv=18, Int_t las
   Int_t ysiz=900;
   Int_t nHybrToPlot=24;
   Int_t iMod=-1;
+  Int_t nCarlos;
   if(nDDL>=240 && nDDL<500){
     iMod=nDDL;
     AliITSDDLModuleMapSDD* dmap=new AliITSDDLModuleMapSDD();
     dmap->SetJun09Map();
-    Int_t nCarlos;
     dmap->FindInDDLMap(iMod,nDDL,nCarlos);
     histo[nCarlos*2]->SetTitle(Form("Module %d Side 0",iMod));
     histo[nCarlos*2+1]->SetTitle(Form("Module %d Side 0",iMod));