disabling TNamed characteristics of TNamed inherited objects

William J Deninger (deninger@uiuc.edu)
Fri, 3 Apr 1998 17:42:32 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01BD5F27.E1916F50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

Is there a method which one can use TNamed inherited objects (such as =
TH1F) without assigning a name or title such that it doesn't appear in =
any TFile::ls() or TDirectory::ls() lists and isn't serialized out with =
TFile::Write()?

I've created a calorimeter pulse shape class called TWfdPulse which =
inherits TH1F. A TCalo class is responsible for filling the TWfdPulse =
class "calo pulse". However, the TCalo class must use several TWfdPulse =
objects as member variables to find the "calo pulse". How does one =
keep the TCalo TWfdPulse data members from appearing in the TFile when =
all is serialized out with TFile::Write()?

William Deninger
deninger@uiuc.edu

------=_NextPart_000_000B_01BD5F27.E1916F50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

Hello,
 
Is there a method which one can use TNamed inherited = objects=20 (such as TH1F) without assigning a name or title such that it doesn't = appear in=20 any TFile::ls() or TDirectory::ls() lists and isn't serialized out with=20 TFile::Write()?
 
I've created a calorimeter pulse shape class called = TWfdPulse=20 which inherits TH1F.  A TCalo class is responsible for filling the=20 TWfdPulse class "calo pulse".  However, the TCalo class = must use=20 several TWfdPulse objects as member variables to find the "calo=20 pulse".  How does one  keep the TCalo TWfdPulse data = members from=20 appearing in the TFile when all is serialized out with=20 TFile::Write()?
 
William Deninger
deninger@uiuc.edu
 
 
------=_NextPart_000_000B_01BD5F27.E1916F50--