Use GetModule and not GetDetector.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jun 1999 18:40:29 +0000 (18:40 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jun 1999 18:40:29 +0000 (18:40 +0000)
TRD/DrawTRD.C

index 9e05bee..20e84a9 100644 (file)
@@ -2,7 +2,7 @@
 {
    geant3->Gsatt("*", "seen", -1);
    geant3->Gsatt("alic", "seen", 0);
-   AliTRD *TRD = gAlice->GetDetector("TRD");
+   AliTRD *TRD = gAlice->GetModule("TRD");
    if      (TRD->IsVersion() == 0)
      gROOT->Macro("ViewTRD0.C");
    else if (TRD->IsVersion() == 1)