5 printf(
" No colection have been found!\n Did you forget to run <EventRead.C> macro first ?\n");
8 TCanvas *m_TreeD =
new TCanvas(
"STAF",
"Events",10,600,200,200);
9 TFile f(
"/star/u2a/fine/WWW/STAR");
11 TGeometry *star = f.Get(
"STAR");
13 printf(
"Sorry, STAR was not found !\n");
16 TList *listOfNode = star->GetListOfNodes();
20 listOfNode->Remove(hall);
25 StHits3DPoints hitPoints(t);
27 trackShape->SetVisibility(1);
28 trackShape->SetLineColor(kYellow);
29 trackShape->SetLineStyle(1);
30 trackShape->SetLineWidth(2);
33 thisTrack =
new St_Node(
"hits",
"hits",trackShape);
37 if (!pp) printf(
" no position %d\n",ntrack);
41 gBenchmark->Stop(
"Draw time");
46 printf(
" drawing the STAR geometry sensible volumes and hits \n");
53 printf(
" drawing the HELP windows\n");
58 printf(
" Marking the current structure to create another simplified one\n");
60 shortView = (
St_NodeView *)sensible->FindByName(
"TPGV");
61 if (shortView) shortView->Mark();
66 if (strcmp(shortView->GetName(),
"ZCAL")==0)
continue;
71 printf(
" Creating a new structure simplified structure\n");
73 TCanvas *m_simpleD =
new TCanvas(
"Detector",
"Simple view and hits",500,500,400,400);
78 printf(
" Drawing the new structure simplified structure\n");
80 gBenchmark->Summary();
81 printf(
" Drawing 3d solid view of the last structure\n");
virtual TDataSet * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual void Remove(TDataSet *set)
Remiove the "set" from this TDataSet.
virtual void SetVisibility(ENodeSEEN vis=TVolume::kBothVisible)