-// ---------------------------------------------------------------------- //
+// $Id$
+// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
+
+/**************************************************************************
+ * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
+ * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
+ * full copyright notice. *
+ **************************************************************************/
+
void pmd_digits(Int_t mode = 0)
{
Bool_t drawBackPolygons = kFALSE;
TString bsddl="DDL";
- AliRunLoader* rl = Alieve::Event::AssertRunLoader();
+ AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
rl->LoadDigits("PMD");
TTree* pmdt = rl->GetTreeD("PMD", false);
TEveElementList* l = new TEveElementList("PMD");
// l->SetTitle("tooltip");
- // l->SetMainColor((Color_t)3);
+ // l->SetMainColor(3);
gEve->AddElement(l);
TEveRGBAPalette* pal = new TEveRGBAPalette(20, 1000);
iendDDL = 6;
zpos = 360.;
}
-
+
TEveElementList* lplane = new TEveElementList(spl.Data());
- // l->SetMainColor((Color_t)3);
+ // l->SetMainColor(3);
gEve->AddElement(lplane, l);
-
+
for (Int_t iddl = istartDDL; iddl < iendDDL; iddl++)
{
sddl = bsddl;
sddl += iddl;
TEveElementList* lddl = new TEveElementList(sddl.Data());
- // l->SetMainColor((Color_t)3);
+ // l->SetMainColor(3);
gEve->AddElement(lddl, lplane);
modnumber = iddl*6;
for (Int_t ism = 0; ism < NSM; ism++)
{
-
- Alieve::PMDModule *lmodule = new Alieve::PMDModule();
+
+ AliEvePMDModule *lmodule = new AliEvePMDModule();
lmodule->SetPosition(0.,0.,zpos);
lmodule->DisplayDigitsData(modnumber, pmdt);
lmodule->SetPalette(pal);
{
TEveFrameBox* b = lmodule->GetFrame();
b->SetFrameWidth(1.5);
- b->SetFrameColor((Color_t) 1);
- b->SetBackColor ((Color_t) (kTeal - 9));
+ b->SetFrameColor(1);
+ b->SetBackColor (kTeal - 9);
b->SetFrameFill (kFALSE);
b->SetDrawBack (kTRUE);
}