]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/Hconfig.C
Taking into account that the default value of the beamType in the DAQ logbook
[u/mrichter/AliRoot.git] / HMPID / Hconfig.C
index 4d09b06b39b2a0b10ffb160133c2adceb5848e2a..2045572fb7b4b7d78471a3e89c4a1caf4cdd4710 100644 (file)
@@ -245,7 +245,7 @@ void HmpConfig::GuiGen(TGCompositeFrame *pMainF)
 //Chamber number  
   fGenF->AddFrame(fGenChamCO=new TGComboBox(fGenF,100)); //add chamber number combo to generator vertical frame
   fGenChamCO->AddEntry("not used",kNotUsed);
-  for(int i=1;i<=7;i++) fGenChamCO->AddEntry(Form("Chamber %i",i),i);  fGenChamCO->Resize(160,20); fGenChamCO->Select(kNotUsed);
+  for(int i=1;i<=7;i++) fGenChamCO->AddEntry(Form("Chamber %i",i-1),i);  fGenChamCO->Resize(160,20); fGenChamCO->Select(kNotUsed);
 }//GuiGen()
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 void HmpConfig::GenAddSlot(Int_t id)