How to access the value of branch variables?

From: Sudeep Chatterji <Sudeep.Chatterji_at_cern.ch>
Date: Fri, 4 Feb 2005 07:23:14 +0100


Dear Rooters,

I am using ExRootAnalysis for reconstructing photons. The parameter structure is given below:
Analysis (tree)
{

Photon_size
Photon (Branch)
{

	Photon.CalPT
	Photon.CalEta
	Photon.CalPhi
	Photon.VtxZ
	Photon.Isolation
	Etc.

}
}
I am able to access Photon_size variable in the rootscript file by the following command:

Analysis->SetBranchAddress("Photon_size",&Photon_size);

But, when I am trying the same with the Photon branch variables(as shown below), I am unable to do so.

Analysis->SetBranchAddress("Photon.CalPT",Photon_CalPT);

Please suggest something in this regard.

Regards,
Sudeep Chatterji Received on Fri Feb 04 2005 - 07:23:19 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET