This macro generates with 2 views of the NA49 detector using the old obsolete geometry package.
void na49view()
{
TPad *all =
new TPad(
"all",
"A Global view of NA49", 0.02, 0.02, 0.48, 0.82, 28);
TPad *tof =
new TPad(
"tof",
"One Time Of Flight element", 0.52, 0.02, 0.98, 0.82, 28);
return;
}
externTBenchmark * gBenchmark
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
void Draw(Option_t *option="") override
Draw this Geometry.
virtual void SetBomb(Float_t bomb=1.4)
virtual void cd(const char *path=nullptr)
Change Current Geometry to this.
TNode * GetNode(const char *name) const
Return pointer to node with name in the geometry tree.
void Draw(Option_t *option="") override
Draw Referenced node with current parameters.
The most important graphics class in the ROOT system.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
- Author
- Rene Brun
Definition in file na49view.C.