]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 9e05beecd0d5a913b6743f60f6310a96c3db85c9..20e84a923390adf2aaee46e1e5efc5d1556ee8cb 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)