m++;
TEveGeoShape* tpc2 = (TEveGeoShape*) *m;
- tpc2->SetMainColor(kGray);
+ tpc2->SetRnrSelf(kTRUE);
tpc2->SetMainColor(1);
tpc2->SetMainTransparency(80);
m++;
TEveGeoShape* lvl1 = (TEveGeoShape*) *i;
lvl1->SetRnrSelf(kFALSE);
+ TEveElement::List_i j = lvl1->BeginChildren();
- for (TEveElement::List_i j = lvl1->BeginChildren(); j != lvl1->EndChildren(); ++j)
- {
- TEveGeoShape* lvl2 = (TEveGeoShape*) *j;
- lvl2->SetRnrSelf(kTRUE);
- lvl2->SetMainColor(1);
- lvl2->SetMainTransparency(80);
+ TEveGeoShape* trd1 = (TEveGeoShape*) *j;
+ trd1->SetRnrSelf(kTRUE);
+ trd1->SetMainColor(1);
+ trd1->SetMainTransparency(80);
+ j++;
- }
+ TEveGeoShape* tof1 = (TEveGeoShape*) *j;
+ tof1->SetRnrSelf(kTRUE);
+ tof1->SetMainColor(1);
+ tof1->SetMainTransparency(80);
//PHOS
//TPC
i++;
- i++;
TEveGeoShape* lvl1 = (TEveGeoShape*) *i;
lvl1->SetRnrSelf(kFALSE);
//PHOS
i++;
+ i++;
TEveGeoShape* lvl1 = (TEveGeoShape*) *i;
lvl1->SetRnrSelf(kFALSE);
//TPC
i++;
- i++;
TEveGeoShape* lvl1 = (TEveGeoShape*) *i;
lvl1->SetRnrSelf(kFALSE);
//PHOS
i++;
-
+ i++;
+
TEveGeoShape* lvl1 = (TEveGeoShape*) *i;
lvl1->SetRnrSelf(kFALSE);