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 a suite of consecutive data records (TKey instances) with a well defined format.
virtual TObject * FindObject(const char *name) const
Search object identified by name in the geometry tree.
virtual void SetBomb(Float_t bomb=1.4)
virtual void Draw(Option_t *option="")
Draw this Geometry.
virtual void cd(const char *path=0)
Change Current Geometry to this.
TNode * GetNode(const char *name) const
Return pointer to node with name in the geometry tree.
virtual void Draw(Option_t *option="")
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.
virtual void Draw(Option_t *option="")
Draw this pavelabel with its current attributes.