TEveElementList* ll = new TEveElementList("TOF");
ll->SetTitle("TOF detector");
- ll->SetMainColor((Color_t)2);
+ ll->SetMainColor(2);
gEve->AddElement(ll);
for(Int_t iSector=0; iSector<g->NSectors(); iSector++) {
sprintf(sectorName,"Sector%2i",iSector);
TEveElementList* l = new TEveElementList(sectorName);
l->SetTitle(sectorTitle);
- l->SetMainColor((Color_t)2);
+ l->SetMainColor(2);
gEve->AddElement(l, ll);
sPlate=bsPlate;
sPlate+=iPlate;
TEveElementList* relPlate = new TEveElementList(sPlate.Data());
- relPlate->SetMainColor((Color_t)2);
+ relPlate->SetMainColor(2);
gEve->AddElement(relPlate, l);