This macro generates with 2 views of the NA49 detector using the old obsolete geometry package.
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);
if (!nageom || nageom->
IsZombie())
return;
}
R__EXTERN TBenchmark * gBenchmark
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
A ROOT file is composed of a header, followed by consecutive data records (TKey instances) with a wel...
void Draw(Option_t *option="") override
Draw this Geometry.
virtual void SetBomb(Float_t bomb=1.4)
TObject * FindObject(const char *name) const override
Search object identified by name in the geometry tree.
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.
R__ALWAYS_INLINE Bool_t IsZombie() const
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.