------=_NextPart_000_000A_01BD4B6B.FEDF68C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
Is it possible to have a TH1F histogram as a data member in a TTree =
branch? I remember reading something about this, but I wasn't able to =
find it in root talk previous.
//_________________________
// header file
class TRawData
{
public:
TH1F histogram;
}
//_________________________
// Cint=20
TRawData *raw =3D new TRawData;
TTree *tree =3D new TTree("traceback","Raw event data");
tree->Branch("raw","TRawData",&raw,16000,1);
William J Deninger
deninger@uiuc.edu
------=_NextPart_000_000A_01BD4B6B.FEDF68C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">