Add all TNodes to the fNodes list
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Sep 1999 16:42:58 +0000 (16:42 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Sep 1999 16:42:58 +0000 (16:42 +0000)
MUON/AliMUON.cxx

index 3ee952e..0b611c9 100644 (file)
@@ -324,23 +324,28 @@ void AliMUON::BuildGeometry()
            sprintf(NameNode,"MUON%d",200+id);
            Node = new TNode(NameNode,"Sens. Region Node",NameSense,0,0,0,"");
            Node->SetLineColor(kColorMUON);
+           fNodes->Add(Node);
            Node->cd();
            dr=dx+rmin;
            sprintf(NameNode,"MUON%d",300+id);
            NodeF = new TNode(NameNode,"Frame0",FMUON,dr, 0, 0,rot000,"");
            NodeF->SetLineColor(kColorMUON);
+           fNodes->Add(NodeF);
            Node->cd();
            sprintf(NameNode,"MUON%d",400+id);
            NodeF = new TNode(NameNode,"Frame1",FMUON,0 ,dr,0,rot090,"");
            NodeF->SetLineColor(kColorMUON);
+           fNodes->Add(NodeF);
            Node->cd();
            sprintf(NameNode,"MUON%d",500+id);
            NodeF = new TNode(NameNode,"Frame2",FMUON,-dr,0,0,rot180,"");
            NodeF->SetLineColor(kColorMUON);
+           fNodes->Add(NodeF);
            Node  ->cd();
            sprintf(NameNode,"MUON%d",600+id);   
            NodeF = new TNode(NameNode,"Frame3",FMUON,0,-dr,0,rot270,"");
            NodeF->SetLineColor(kColorMUON);
+           fNodes->Add(NodeF);
        }
     }
 }