ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TEvePad.cxx
Go to the documentation of this file.
1
// @(#)root/eve:$Id$
2
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#include "
TEvePad.h
"
13
#include "
THashList.h
"
14
15
/** \class TEvePad
16
\ingroup TEve
17
This was intended as a TPad wrapper to allow smart updates of
18
groups of pads. Uses THashList instead of TList for faster removal
19
of objects from the pad.
20
*/
21
22
23
////////////////////////////////////////////////////////////////////////////////
24
/// Default constructor.
25
26
TEvePad::TEvePad
()
27
{
28
fPrimitives
=
new
THashList
;
29
}
30
31
////////////////////////////////////////////////////////////////////////////////
32
/// Constructor.
33
34
TEvePad::TEvePad
(
const
char
*
name
,
const
char
*title,
Double_t
xlow,
35
Double_t
ylow,
Double_t
xup,
Double_t
yup,
36
Color_t
color,
Short_t
bordersize
,
Short_t
bordermode
)
37
:
TPad
(
name
,title,xlow,ylow,xup,yup,color,
bordersize
,
bordermode
)
38
{
39
delete
fPrimitives
;
40
fPrimitives
=
new
THashList
;
41
}
Color_t
short Color_t
Color number (short)
Definition
RtypesCore.h:99
Short_t
short Short_t
Signed Short integer 2 bytes (short)
Definition
RtypesCore.h:53
TEvePad.h
name
char name[80]
Definition
TGX11.cxx:110
THashList.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TEvePad::TEvePad
TEvePad()
Default constructor.
Definition
TEvePad.cxx:26
THashList
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
Definition
THashList.h:34
TPad
The most important graphics class in the ROOT system.
Definition
TPad.h:28
TPad::fPrimitives
TList * fPrimitives
->List of primitives (subpads)
Definition
TPad.h:107
double
graf3d
eve
src
TEvePad.cxx
ROOT master - Reference Guide Generated on Sun Sep 21 2025 15:07:49 (GVA Time) using Doxygen 1.10.0