Fix for proper color type (Color_t cast)
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Aug 2008 00:27:54 +0000 (00:27 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Aug 2008 00:27:54 +0000 (00:27 +0000)
EVE/EveDet/AliEveFMDLoader.cxx

index edc1123bcad43d01594f62ef2fd15f07b4b6e671..f96fdc975bcf1b4a3297b8f0a2879b77446335ac 100644 (file)
@@ -111,6 +111,7 @@ AliEveFMDLoader::AliEveFMDLoader(const char* name, Bool_t useBoxes,
   fDigitPalette.IncRefCount();
   fMultPalette.IncRefCount();
   
+  
   // Initialize the FMD geometry manager 
   AliEveEventManager::AssertGeometry();
   AliFMDGeometry* geom = AliFMDGeometry::Instance();
@@ -171,7 +172,7 @@ AliEveFMDLoader::AliEveFMDLoader(const char* name, Bool_t useBoxes,
        er->AddElement(em);
        em->SetTransMatrix(*(detector->FindTransform(ring->GetId(), 2*m)));
        em->SetShape(ring->GetId() == 'I' ? inner : outer);
-       em->SetMainColor(kRed);
+       em->SetMainColor(Color_t(kRed));
        em->SetMainTransparency(32);
        em->IncDenyDestroy();